SF.net SVN: geany: [2316] trunk
eht16 at users.sourceforge.net
eht16 at xxxxx
Sun Mar 9 16:30:01 UTC 2008
Revision: 2316
http://geany.svn.sourceforge.net/geany/?rev=2316&view=rev
Author: eht16
Date: 2008-03-09 09:30:01 -0700 (Sun, 09 Mar 2008)
Log Message:
-----------
Use SCI_SETSCROLLWIDTHTRACKING to improve horizontal scrollbar behaviour by always adjusting to the longest line (part of #1905141).
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/document.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2008-03-07 18:00:22 UTC (rev 2315)
+++ trunk/ChangeLog 2008-03-09 16:30:01 UTC (rev 2316)
@@ -1,3 +1,10 @@
+2008-03-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
+
+ * src/document.c:
+ Use SCI_SETSCROLLWIDTHTRACKING to improve horizontal scrollbar
+ behaviour by always adjusting to the longest line (part of #1905141).
+
+
2008-03-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/Doxyfile.in, doc/Makefile.am:
Modified: trunk/src/document.c
===================================================================
--- trunk/src/document.c 2008-03-07 18:00:22 UTC (rev 2315)
+++ trunk/src/document.c 2008-03-09 16:30:01 UTC (rev 2316)
@@ -454,6 +454,7 @@
SSM(sci, SCI_AUTOCSETSEPARATOR, '\n', 0);
/* (dis)allow scrolling past end of document */
SSM(sci, SCI_SETENDATLASTLINE, editor_prefs.scroll_stop_at_last_line, 0);
+ SSM(sci, SCI_SETSCROLLWIDTHTRACKING, 1, 0);
/* 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