You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The search currently does not support matches across multiple text blocks (i.e. paragraphs).
This seems to be an issue with Qt/QML first and foremost, as calling QTextDocment::find() with a regex containing \s, \u2029, \r or \n does not result in matches being found. It's quite possible that Qt/QML escapes the backslashes before passing them on to FormattableTextArea, which would explain why they're not working, but it's also possible there is another problem at work.
The TextHighlighter also currently does not support highlighting across multiple blocks, but that part at least is easy to implement. But before it can be implemented, QTextDocument::find() needs to return the right ranges.
The text was updated successfully, but these errors were encountered:
The search currently does not support matches across multiple text blocks (i.e. paragraphs).
This seems to be an issue with Qt/QML first and foremost, as calling
QTextDocment::find()
with a regex containing\s
,\u2029
,\r
or\n
does not result in matches being found. It's quite possible that Qt/QML escapes the backslashes before passing them on toFormattableTextArea
, which would explain why they're not working, but it's also possible there is another problem at work.The
TextHighlighter
also currently does not support highlighting across multiple blocks, but that part at least is easy to implement. But before it can be implemented,QTextDocument::find()
needs to return the right ranges.The text was updated successfully, but these errors were encountered: