Screenshot 1: ![snippets1](https://cloud.githubusercontent.com/assets/7548378/10271058/17d38e74-6afc-11...)
Screenshot 2: ![snippets2](https://cloud.githubusercontent.com/assets/7548378/10271059/17d83f5a-6afc-11...)
In Screenshot(1) I used the snippet feature on line 1 to convert aa+tab into a bold <b><big>a</big></b>. I then drew a virtual spaces line through the next five lines (2-6) to repeat the procedure over these five lines. When I pushed tab however, the snippet feature did not engage as per Screenshot(2) and all I got was a tab repeated across the five lines. Should the snippet feature engage in these circumstances to ensure consistency?
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/676
Snippets are triggered by keypress notifications to be sure that the user typed the snippet, otherwise they could be triggered by pastes as well.
Unfortunately when doing multiple insertions Scintilla does not report the keys typed, it appears to report it as insertions, which sort of makes sense. But that does not trigger snippets.
Not sure how to distinguish multiple insertions from user typing and multiple insertions from other causes.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/676#issuecomment-145404253
github-comments@lists.geany.org