ryu1kn / vscode-text-marker

Visual Studio Code Extension. Select text in your code and mark all matches. The marking colour is configurable
https://marketplace.visualstudio.com/items?itemName=ryu1kn.text-marker
MIT License
87 stars 17 forks source link

Highlighting doesn't work with big files #33

Open onurv13 opened 5 years ago

onurv13 commented 5 years ago

I have a log file with ~750k lines (~150 MB) and the highlighting doesn't work for this file. No problems with other files though.

ryu1kn commented 5 years ago

Tested with ~145 MB text. Interesting, I see this message on Dev tools console. toggleHighlight command is not even triggered by Code.

[Extension Host] Cannot execute textmarker.toggleHighlight because there is no active text editor.
ryu1kn commented 5 years ago

Actually, Code says this when I open the file.

image

ryu1kn commented 5 years ago

Even if I "Forcefully enable features", I still get the "because there is no active text editor" message

phillipvillaver commented 2 years ago

Experienced the same issue as well with a 2359-liner log file (84289KB). Already "Forcefully enable features" but still not working. Text Marker v1.11.0 and VS Code 1.62.3 (system setup) running as administrator