Fix crash in TabulationHighlighter when wrapping just after a tab

This commit is contained in:
Maxime Coste 2023-01-23 17:39:40 +11:00
parent f5d5274c5f
commit 5097884608
4 changed files with 6 additions and 0 deletions

View File

@ -1017,6 +1017,9 @@ struct TabulationHighlighter : Highlighter
++atom_it;
}
}
if (atom_it == line.end())
break;
}
}
}

View File

@ -0,0 +1 @@

View File

@ -0,0 +1 @@
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx wrapped

View File

@ -0,0 +1 @@
addhl global/ wrap