Kaydet (Commit) 77ef6652 authored tarafından Enrico Tröger's avatar Enrico Tröger

Removed code for alternative scrolling(it was not better).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@570 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst f481b55f
......@@ -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>
......
......@@ -239,13 +239,6 @@ gint document_create_new_sci(const gchar *filename)
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));
......
......@@ -241,9 +241,6 @@ typedef struct MyApp
MyApp *app;
/// TODO remove me
gboolean alternative_scrolling;
// small struct to track tag name and type together
typedef struct GeanySymbol
......
......@@ -82,9 +82,6 @@ static GOptionEntry entries[] =
{ "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 }
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment