Branch: refs/heads/master Author: Colomban Wendling ban@herbesfolles.org Committer: elextr elextr@gmail.com Date: Sat, 27 Apr 2019 23:37:18 UTC Commit: f6b04480c8b09942da11f4e59f542eddf881ef81 https://github.com/geany/geany/commit/f6b04480c8b09942da11f4e59f542eddf881ef...
Log Message: ----------- Don't perform line breaking in rectangular selection mode (#2135)
Doing so drops the rectangular selection, and there is no obvious correct behavior for line breaking with a rectangular selection. So, just don't do line breaking in this case.
Fixes #2051.
Modified Paths: -------------- src/editor.c
Modified: src/editor.c 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -540,7 +540,7 @@ static void check_line_breaking(GeanyEditor *editor, gint pos) gint line, lstart, col; gchar c;
- if (!editor->line_breaking) + if (!editor->line_breaking || sci_get_selection_mode(editor->sci) != SC_SEL_STREAM) return;
col = sci_get_col_from_position(sci, pos);
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).