Comment Line and Comment Block starting with same character
-
Hey all. Appreciate any help.
I’m defining a language for highlighting, etc. Ran into a problem with Comment Lines.
A comment line begins with ;
A comment block begins with ;/ and ends with /;
How do I use both? If I enter it that way, Notepad++ ignores the comment block. If I leave the comment line blank, then the comment block works perfectly.
Is there any solution? I’ve tried including a space after the ; but apparently I don’t know how to escape a space character properly?
Thanks!
-
Instead of using comment, use delimiter but make sure the block is defined before the
line comment
-
Works perfectly! Thanks so much!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login