SF.net SVN: geany:[5343] trunk

ntrel at users.sourceforge.net ntrel at xxxxx
Fri Oct 29 15:00:42 UTC 2010


Revision: 5343
          http://geany.svn.sourceforge.net/geany/?rev=5343&view=rev
Author:   ntrel
Date:     2010-10-29 15:00:42 +0000 (Fri, 29 Oct 2010)

Log Message:
-----------
Fix not autocompleting when breaking lines.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/src/editor.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2010-10-29 14:59:32 UTC (rev 5342)
+++ trunk/ChangeLog	2010-10-29 15:00:42 UTC (rev 5343)
@@ -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>

Modified: trunk/src/editor.c
===================================================================
--- trunk/src/editor.c	2010-10-29 14:59:32 UTC (rev 5342)
+++ trunk/src/editor.c	2010-10-29 15:00:42 UTC (rev 5343)
@@ -547,6 +547,7 @@
 
 			/* 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++;
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list