-
Notifications
You must be signed in to change notification settings - Fork 388
Highlighting regular expression %TODO does not work correctly #3398
Copy link
Copy link
Closed
Description
Environment
- TeXstudio: 4.7.0
- Qt: 6.6.1
- OS: Windows 10)
- TeX distribution: miktex
Expected behavior
With Version 4.6.3 every character after the %TODO key got highlighted for the whole document.
Actual behavior
With Version 4.7.0 just the %TODO key before the \begin{document} command are highlighted.
Commenting out %\begin{document}, saving the file, opening it again, leads to all %TODO keys being highlighted.
The same behaviour occurs with other environment like \begin{figure}. %TODO keys in those environments are not highlighted after opening a .tex file.
Newly added %TODO keys are highlighted in all cases.
Therefore the issue is connected to opening a file.
How to reproduce
Open a .tex-file which contains %TODO keys before and after the \begin{document} or in another environment command.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels