Revision: 1116 http://svn.sourceforge.net/geany/?rev=1116&view=rev Author: ntrel Date: 2006-12-18 04:24:39 -0800 (Mon, 18 Dec 2006)
Log Message: ----------- Scroll cursor to 50% of the view for session files at startup.
Modified Paths: -------------- trunk/ChangeLog trunk/src/keyfile.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2006-12-18 12:10:58 UTC (rev 1115) +++ trunk/ChangeLog 2006-12-18 12:24:39 UTC (rev 1116) @@ -4,6 +4,8 @@ Don't log simple error messages like 'No text to find'. * src/keyfile.c: Open tabs left to right by default. + * src/keyfile.c: + Scroll cursor to 50% of the view for session files at startup.
2006-12-17 Enrico Tröger enrico.troeger@uvena.de
Modified: trunk/src/keyfile.c =================================================================== --- trunk/src/keyfile.c 2006-12-18 12:10:58 UTC (rev 1115) +++ trunk/src/keyfile.c 2006-12-18 12:24:39 UTC (rev 1116) @@ -588,7 +588,7 @@ { idx = document_get_n_idx(tabnum); if (idx < 0) break; - sci_scroll_caret(doc_list[idx].sci); + sci_scroll_to_line(doc_list[idx].sci, -1, 0.5F); tabnum++; } }
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.