Kaydet (Commit) 7c231b23 authored tarafından Enrico Tröger's avatar Enrico Tröger

Try to fix paste problems on Windows (should close #1628951).

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1172 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst 15fb5028
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:
......
......@@ -383,8 +383,7 @@ on_paste1_activate (GtkMenuItem *menuitem,
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);
}
}
......
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