Unverified Kaydet (Commit) baa88de7 authored tarafından elextr's avatar elextr Kaydeden (comit) GitHub

Fix broken line breaking on existing lines

sci_get_position_from_col() takes line number, not position of start of line.
üst 4452b365
......@@ -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)
{
......
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