CSVLint icon indicating copy to clipboard operation
CSVLint copied to clipboard

Color doesn't work when changing View

Open sergeminator opened this issue 2 years ago • 1 comments

When you move a CSV to "other view" using the right click option on the title of the CSV in NotePad++, the color is not applied correctly on the CSV.

If you move back to the 1st view the CSV the color works correctly again.

sergeminator avatar Jul 06 '22 13:07 sergeminator

Thanks for mentioning, I don't use the Other View feature so I wasn't aware of this bug. Like you say, it can be started using right mouse click on the file tab and selecting Move to Other View. Or from the menu View -> Move/Clone Current Document -> Move to Other View.

csv_lint_issue_32

I can reproduce it but for example when the separator character is the same in both files, then it doesn't happen. But even worse, when you get this situation and then switch focus between the two Views sometimes it will just crash Notepad++.

I suspect that it has to do with the fact that the plugin creates only one Lexer object. I'll have to look into this one.

BdR76 avatar Jul 22 '22 22:07 BdR76