Open severach opened 4 years ago
Chris,
Notepadqq is trying to interpret what's between the dollar signs as math notation. You can obtain the expected behavior by deactivating Math Rendering from the "View" menu. Let me know if it works.
I will edit the title and leave this issue open because we should add some basic logic to detect whether what's inside the dollar signs is actually math
That works. Why does Math Rendering default on? Why does it only happen in comments?
You can take a look here for a brief intro to Math Rendering and its motivations: https://notepadqq.com/wp/2018/04/introducing-math-rendering-in-notepadqq-1-4/
It was enabled by default only in the latest prerelease version of Nqq.
Describe the bug VBScript comments are interpreting $ codes and causing unusual formatting including Math, Fonts, and Subscript. I can't edit comments with all the strange messages in the way.
To Reproduce Set Language to VBScript. Put in this code.
Expected behavior All comments should have the same font and no strange messages.
Screenshots
Environment (please complete the following information):
Additional context $ are all over the code but the unwanted reformatting only happens in comments. I have downgraded to previous Notepadqq versions and the behaviour doesn't change. The source seems to be in some other qt5 component.