SF.net SVN: geany: [2030] trunk

ntrel at users.sourceforge.net ntrel at xxxxx
Tue Nov 6 17:29:52 UTC 2007


Revision: 2030
          http://geany.svn.sourceforge.net/geany/?rev=2030&view=rev
Author:   ntrel
Date:     2007-11-06 09:29:51 -0800 (Tue, 06 Nov 2007)

Log Message:
-----------
Allow scrolling past end of document, so the user can append text
with the last lines drawn at the top of the view.

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

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2007-11-06 17:22:25 UTC (rev 2029)
+++ trunk/ChangeLog	2007-11-06 17:29:51 UTC (rev 2030)
@@ -28,6 +28,9 @@
    Move navigation items into a new Other keybindings group.
  * HACKING, data/filetypes.restructuredtext:
    Add a default configuration file for reStructuredText.
+ * src/document.c:
+   Allow scrolling past end of document, so the user can append text
+   with the last lines drawn at the top of the view.
 
 
 2007-11-05  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>

Modified: trunk/src/document.c
===================================================================
--- trunk/src/document.c	2007-11-06 17:22:25 UTC (rev 2029)
+++ trunk/src/document.c	2007-11-06 17:29:51 UTC (rev 2030)
@@ -411,6 +411,7 @@
 	sci_set_caret_policy_x(sci, CARET_JUMPS | CARET_EVEN, 0);
 	//sci_set_caret_policy_y(sci, CARET_JUMPS | CARET_EVEN, 0);
 	SSM(sci, SCI_AUTOCSETSEPARATOR, '\n', 0);
+	SSM(sci, SCI_SETENDATLASTLINE, FALSE, 0);	// allow scrolling past end of document
 
 	// signal for insert-key(works without too, but to update the right status bar)
 	//g_signal_connect((GtkWidget*) sci, "key-press-event",


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