Kaydet (Commit) f6b04480 authored tarafından Colomban Wendling's avatar Colomban Wendling Kaydeden (comit) elextr

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.
üst d551765d
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment