[geany/geany-plugins] 996307: Merge pull request #806 from zhekov/un-workaround-for-sci-rect-bug
Frank Lanitz
git-noreply at xxxxx
Sun Mar 31 14:58:10 UTC 2019
Branch: refs/heads/master
Author: Frank Lanitz <frank at frank.uvena.de>
Committer: GitHub <noreply at github.com>
Date: Sun, 31 Mar 2019 14:58:10 UTC
Commit: 996307f3ee66cb6b1af4840a17c0f4d8e9f87f3d
https://github.com/geany/geany-plugins/commit/996307f3ee66cb6b1af4840a17c0f4d8e9f87f3d
Log Message:
-----------
Merge pull request #806 from zhekov/un-workaround-for-sci-rect-bug
Undo workaround for rectange selection cancel bug
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