SF.net SVN: geany:[5088] trunk/src/editor.c

ntrel at users.sourceforge.net ntrel at xxxxx
Mon Jul 5 11:59:08 UTC 2010


Revision: 5088
          http://geany.svn.sourceforge.net/geany/?rev=5088&view=rev
Author:   ntrel
Date:     2010-07-05 11:59:08 +0000 (Mon, 05 Jul 2010)

Log Message:
-----------
Tidy comment; remove unnecessary assignment.

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

Modified: trunk/src/editor.c
===================================================================
--- trunk/src/editor.c	2010-07-05 11:55:44 UTC (rev 5087)
+++ trunk/src/editor.c	2010-07-05 11:59:08 UTC (rev 5088)
@@ -401,7 +401,8 @@
 	if (editor->scroll_percent > 0.0F)
 	{
 		editor_scroll_to_line(editor, -1, editor->scroll_percent);
-		editor->scroll_percent = -1.0F;	/* disable further scrolling */
+		/* disable further scrolling */
+		editor->scroll_percent = -1.0F;
 	}
 #if 0
 	/** experimental code for inverting selections */
@@ -1909,7 +1910,6 @@
 	if (!words)
 	{
 		scintilla_send_message(sci, SCI_AUTOCCANCEL, 0, 0);
-		autocompletion_mode = AUTOC_CANCELLED;
 		return FALSE;
 	}
 


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