Merge pull request #2027 from geany/elextr-patch-4

Fix broken line breaking on existing lines
This commit is contained in:
Colomban Wendling 2019-01-02 22:42:16 +01:00
commit 969e00a03f

View File

@ -556,7 +556,7 @@ static void check_line_breaking(GeanyEditor *editor, gint pos)
return;
/* look for the last space before line_break_column */
pos = sci_get_position_from_col(sci, lstart, get_project_pref(line_break_column));
pos = sci_get_position_from_col(sci, line, get_project_pref(line_break_column));
while (pos > lstart)
{