Revision: 1172 http://svn.sourceforge.net/geany/?rev=1172&view=rev Author: eht16 Date: 2007-01-09 15:53:25 -0800 (Tue, 09 Jan 2007)
Log Message: ----------- Try to fix paste problems on Windows (should close #1628951).
Modified Paths: -------------- trunk/ChangeLog trunk/src/callbacks.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2007-01-09 16:53:27 UTC (rev 1171) +++ trunk/ChangeLog 2007-01-09 23:53:25 UTC (rev 1172) @@ -1,3 +1,9 @@ +2007-01-09 Enrico Tröger enrico.troeger@uvena.de + + * src/callbacks.c: + Try to fix paste problems on Windows (should close #1628951). + + 2007-01-09 Nick Treleaven nick.treleaven@btinternet.com
* src/utils.c, src/sci_cb.c, src/sciwrappers.c:
Modified: trunk/src/callbacks.c =================================================================== --- trunk/src/callbacks.c 2007-01-09 16:53:27 UTC (rev 1171) +++ trunk/src/callbacks.c 2007-01-09 23:53:25 UTC (rev 1172) @@ -383,8 +383,7 @@ gchar *content = gtk_clipboard_wait_for_text(gtk_clipboard_get(GDK_NONE)); if (content != NULL) { - sci_insert_text(doc_list[idx].sci, - sci_get_current_position(doc_list[idx].sci), content); + sci_replace_sel(doc_list[idx].sci, content); g_free(content); } }
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.