SF.net SVN: geany: [1720] trunk

ntrel at users.sourceforge.net ntrel at xxxxx
Wed Jul 18 12:16:08 UTC 2007


Revision: 1720
          http://geany.svn.sourceforge.net/geany/?rev=1720&view=rev
Author:   ntrel
Date:     2007-07-18 05:16:07 -0700 (Wed, 18 Jul 2007)

Log Message:
-----------
Fix gcc warning, add comment for editor_scroll_to_line().

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

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2007-07-17 16:27:49 UTC (rev 1719)
+++ trunk/ChangeLog	2007-07-18 12:16:07 UTC (rev 1720)
@@ -1,3 +1,9 @@
+2007-07-18  Nick Treleaven  <nick.treleaven at btinternet.com>
+
+ * src/editor.c:
+   Fix gcc warning, add comment for editor_scroll_to_line().
+
+
 2007-07-17  Nick Treleaven  <nick.treleaven at btinternet.com>
 
  * src/dialogs.c, src/callbacks.c, src/callbacks.h, src/document.c,

Modified: trunk/src/editor.c
===================================================================
--- trunk/src/editor.c	2007-07-17 16:27:49 UTC (rev 1719)
+++ trunk/src/editor.c	2007-07-18 12:16:07 UTC (rev 1720)
@@ -65,7 +65,6 @@
 static void get_indent(ScintillaObject *sci, gint pos, gboolean use_this_line);
 static void auto_multiline(ScintillaObject *sci, gint pos);
 static gboolean is_comment(gint lexer, gint style);
-static void scroll_to_line(ScintillaObject *sci, gint line, gfloat percent_of_view);
 static void auto_close_bracket(ScintillaObject *sci, gint pos, gchar c);
 
 
@@ -2260,7 +2259,8 @@
 }
 
 
-/* Scroll the view to make line appear at percent_of_view.
+/* Note: If the editor is pending a redraw, set document::scroll_percent instead.
+ * Scroll the view to make line appear at percent_of_view.
  * line can be -1 to use the current position. */
 void editor_scroll_to_line(ScintillaObject *sci, gint line, gfloat percent_of_view)
 {


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