Revision: 570 Author: eht16 Date: 2006-07-16 14:31:09 -0700 (Sun, 16 Jul 2006) ViewCVS: http://svn.sourceforge.net/geany/?rev=570&view=rev
Log Message: ----------- Removed code for alternative scrolling(it was not better).
Modified Paths: -------------- trunk/ChangeLog trunk/src/document.c trunk/src/geany.h trunk/src/main.c Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2006-07-16 19:28:13 UTC (rev 569) +++ trunk/ChangeLog 2006-07-16 21:31:09 UTC (rev 570) @@ -6,6 +6,8 @@ * src/document.c: Added filename to an error message. * src/encodings.c: Removed function encodings_get_encodings(). * src/utils.c: Simplified locale detection and little speed up. + * src/main.c, src/document.c, src/geany.h: + Removed code for alternative scrolling(it was not better).
2006-07-16 Nick Treleaven nick.treleaven@btinternet.com
Modified: trunk/src/document.c =================================================================== --- trunk/src/document.c 2006-07-16 19:28:13 UTC (rev 569) +++ trunk/src/document.c 2006-07-16 21:31:09 UTC (rev 570) @@ -239,13 +239,6 @@ pango_font_description_free(pfd); g_free(fname);
- // this is only for testing, should be tested seriously, could speed up scrolling - if (alternative_scrolling) - { - SSM(sci, SCI_SETBUFFEREDDRAW, 0, 0); - SSM(sci, SCI_SETTWOPHASEDRAW, 0, 0); - } - title = (filename) ? g_path_get_basename(filename) : g_strdup(GEANY_STRING_UNTITLED);
tabnum = notebook_new_tab(new_idx, title, GTK_WIDGET(sci));
Modified: trunk/src/geany.h =================================================================== --- trunk/src/geany.h 2006-07-16 19:28:13 UTC (rev 569) +++ trunk/src/geany.h 2006-07-16 21:31:09 UTC (rev 570) @@ -241,10 +241,7 @@
MyApp *app;
-/// TODO remove me -gboolean alternative_scrolling;
- // small struct to track tag name and type together typedef struct GeanySymbol {
Modified: trunk/src/main.c =================================================================== --- trunk/src/main.c 2006-07-16 19:28:13 UTC (rev 569) +++ trunk/src/main.c 2006-07-16 21:31:09 UTC (rev 570) @@ -82,9 +82,6 @@ { "vte-lib", 'l', 0, G_OPTION_ARG_FILENAME, &lib_vte, N_("filename of libvte.so"), NULL }, #endif { "version", 'v', 0, G_OPTION_ARG_NONE, &show_version, N_("show version and exit"), NULL }, -#ifndef GEANY_DEBUG - { "alt-scroll", 's', 0, G_OPTION_ARG_NONE, &alternative_scrolling, "use alternative scrolling, only for testing purposes", NULL }, -#endif { NULL, 0, 0, 0, NULL, NULL, NULL } };
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.