Line breaks possible in Custom Defined Language?
-
Hi all,
first of all I’d like to say that I really like npp. In my opinion it’s the best editor available.
And now… my problem :D
I’m working with a language called DMIS. After 80 characters normally a line break is entered which actually ‘breaks’ my syntax highlighting because I also made syntax highlighting for quotes (‘random text’).
Is it possible to get npp notice this?Example:
$$TEXT/OUTFIL,‘Just some random text just some random text just some rand$
Just some random text Just some random text Just some random text Just so$
Just some random text’‘$$’ at the start of the line indicates that it is a comment (that works fine in syntax highlighting).
the single $ at the end of the line indicates the line break.
Because of the single quote (') in the 3rd line the rest of the program is coloured because the quote is not complete afterwards.
I’d really like to keep the colour for the quoted text but at some programs (where line breaks are inside) it’s really annoying to manually delete the line breaks.Thanks for your help.
-
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