Kaydet (Commit) b449de93 authored tarafından Nick Treleaven's avatar Nick Treleaven

Cancel any autocompletion list when completing a snippet.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2634 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst 1cbbb727
......@@ -16,6 +16,8 @@
(waiting was not related to the now fixed reload-colourise problem).
* src/document.c:
Fix possible document double-colourise after reloading a file.
* src/editor.c:
Cancel any autocompletion list when completing a snippet.
2008-05-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
......
......@@ -1474,6 +1474,8 @@ gboolean editor_complete_snippet(gint idx, gint pos)
sci_start_undo_action(sci); /* needed because we insert a space separately from construct */
result = snippets_complete_constructs(idx, pos, current_word);
sci_end_undo_action(sci);
if (result)
SSM(sci, SCI_CANCEL, 0, 0); /* cancel any autocompletion list, etc */
}
g_free(wc);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment