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

cannot toggle highlight for some files. #70

Closed jiacai-wang closed 2 years ago

jiacai-wang commented 2 years ago

failed to toggle highlight in .txt, .txt.1 files, got the following warning. toggling highlight in .log files is ok. it worked well for those files until I upgraded VS Code from 1.61 to 1.62.2 today.

[2021-11-12 14:39:47.024] [exthost] [warning] Cannot execute textmarker.toggleHighlight because there is no active text editor.

VS Code version: 版本: 1.62.2 (user setup) 提交: 3a6960b964327f0e3882ce18fcebd07ed191b316 日期: 2021-11-11T20:56:38.428Z Electron: 13.5.2 Chrome: 91.0.4472.164 Node.js: 14.16.0 V8: 9.1.269.39-electron.0 OS: Windows_NT x64 10.0.19043

jiacai-wang commented 2 years ago

seems to be problem caused by large files. when the text file grows up to 350000 lines (50000000 chars approximately), I will get the warning.