SF.net SVN: geany: [1118] trunk

ntrel at users.sourceforge.net ntrel at xxxxx
Mon Dec 18 12:46:36 UTC 2006


Revision: 1118
          http://svn.sourceforge.net/geany/?rev=1118&view=rev
Author:   ntrel
Date:     2006-12-18 04:46:35 -0800 (Mon, 18 Dec 2006)

Log Message:
-----------
Don't set the cursor to the start of the document when attempting to
open an already open file.

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

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2006-12-18 12:34:29 UTC (rev 1117)
+++ trunk/ChangeLog	2006-12-18 12:46:35 UTC (rev 1118)
@@ -8,6 +8,9 @@
    Scroll cursor to 50% of the view for session files at startup.
  * src/callbacks.c, src/dialogs.c:
    Always switch to the tab when showing the unsaved file dialog.
+ * src/document.c:
+   Don't set the cursor to the start of the document when attempting to
+   open an already open file.
 
 
 2006-12-17  Enrico Tröger  <enrico.troeger at uvena.de>

Modified: trunk/src/document.c
===================================================================
--- trunk/src/document.c	2006-12-18 12:34:29 UTC (rev 1117)
+++ trunk/src/document.c	2006-12-18 12:46:35 UTC (rev 1118)
@@ -582,7 +582,6 @@
 			gtk_notebook_set_current_page(GTK_NOTEBOOK(app->notebook),
 					gtk_notebook_page_num(GTK_NOTEBOOK(app->notebook),
 					(GtkWidget*) doc_list[idx].sci));
-			sci_goto_pos(doc_list[idx].sci, pos, TRUE);
 			g_free(utf8_filename);
 			g_free(locale_filename);
 			return idx;


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