[geany/geany-plugins] ac6d18: Undo workaround for rectange selection cancel bug
Dimitar Toshkov Zhekov
git-noreply at xxxxx
Sun Mar 31 14:58:15 UTC 2019
Branch: refs/heads/master
Author: Dimitar Toshkov Zhekov <dimitar.zhekov at gmail.com>
Committer: Dimitar Toshkov Zhekov <dimitar.zhekov at gmail.com>
Date: Mon, 31 Dec 2018 16:32:27 UTC
Commit: ac6d18407a3df378a13ccb06eba0846f88b3b6e6
https://github.com/geany/geany-plugins/commit/ac6d18407a3df378a13ccb06eba0846f88b3b6e6
Log Message:
-----------
Undo workaround for rectange selection cancel bug
The workaround seems unneeded now, and even causes problems.
Modified Paths:
--------------
geanyextrasel/src/extrasel.c
Modified: geanyextrasel/src/extrasel.c
7 lines changed, 1 insertions(+), 6 deletions(-)
===================================================================
@@ -104,12 +104,7 @@ static void create_selection(ScintillaObject *sci, int anchor, int anchor_space,
sci_set_anchor_space(sci, anchor_space);
sci_set_cursor_space(sci, cursor_space);
-
- /* SCI bug: CANCEL may reduce a rectangle selection to a single line */
- if (rectangle)
- sci_set_selection_mode(sci, SC_SEL_RECTANGLE);
- else
- sci_send_command(sci, SCI_CANCEL);
+ sci_send_command(sci, SCI_CANCEL);
}
static void convert_selection(ScintillaObject *sci, gboolean rectangle)
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Plugins-Commits
mailing list