Fix not autocompleting when breaking lines.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5343 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Nick Treleaven 2010-10-29 15:00:42 +00:00
parent f3a7e11fe0
commit dbb9a1b2b8
2 changed files with 3 additions and 0 deletions

View File

@ -3,6 +3,8 @@
* Makefile.am:
Add install-data-only target to only install data/* to speed up
testing.
* src/editor.c:
Fix not autocompleting when breaking lines.
2010-10-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>

View File

@ -547,6 +547,7 @@ static void check_line_breaking(GeanyEditor *editor, gint pos, gchar c)
/* break the line after the space */
sci_set_current_position(sci, pos + 1, FALSE);
sci_cancel(sci); /* don't select from completion list */
sci_send_command(sci, SCI_NEWLINE);
line++;