Correctly set 'TextHighlighter.CanRewrite'. This really should not be a global variable!

[GB.FORM.EDITOR]
* BUG: Correctly set 'TextHighlighter.CanRewrite'. This really should not be a global variable!
This commit is contained in:
Benoît Minisini 2023-10-29 00:36:23 +02:00
parent 9f21f0c9c0
commit e815d714d3

View File

@ -958,7 +958,7 @@ Private Sub StartHighlight() As Boolean
$bHighlighting = True
TextHighlighter.CanRewrite = _Mode.Name
TextHighlighter.CanRewrite = True '_Mode.Name
If Not $bHighlightAll And If TextHighlighter.CanRewrite Then
For Each hView In GetAllViews()