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
This commit is contained in:
parent
15fb502837
commit
7c231b2361
@ -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>
|
2007-01-09 Nick Treleaven <nick.treleaven@btinternet.com>
|
||||||
|
|
||||||
* src/utils.c, src/sci_cb.c, src/sciwrappers.c:
|
* 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));
|
gchar *content = gtk_clipboard_wait_for_text(gtk_clipboard_get(GDK_NONE));
|
||||||
if (content != NULL)
|
if (content != NULL)
|
||||||
{
|
{
|
||||||
sci_insert_text(doc_list[idx].sci,
|
sci_replace_sel(doc_list[idx].sci, content);
|
||||||
sci_get_current_position(doc_list[idx].sci), content);
|
|
||||||
g_free(content);
|
g_free(content);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user