From bac3fbe8a9846592029c29e3966cbdb3791edac9 Mon Sep 17 00:00:00 2001 From: Ilia Maslakov Date: Fri, 10 Dec 2010 10:53:15 +0300 Subject: [PATCH] Ticket #2238 (mcedit: do not reset selection after copy to clipboard) In mcedit, when the selected text is copied to the clipboard, the selection disappears. This behavior contradicts to the traditional behavior of all modern text editors and is highly annoying. Now selection don't reset after the text is copied into the clipboard. Signed-off-by: Ilia Maslakov --- src/editor/editcmd.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/editor/editcmd.c b/src/editor/editcmd.c index e05df2d50..bba13992c 100644 --- a/src/editor/editcmd.c +++ b/src/editor/editcmd.c @@ -2461,7 +2461,6 @@ edit_copy_to_X_buf_cmd (WEdit * edit) /* try use external clipboard utility */ copy_file_to_ext_clip (); - edit_mark_cmd (edit, 1); return 0; } -- 2.11.4.GIT