User defined language - contractions vs single quotes
-
Hey all,
So I’ve got a user defined language I’m using for a custom language we script in at work.
In this case one of the operator’s styles I’ve set is this: Open: ’ Close: ’ Up to this point setting a single quote to open/close has worked. However, I am now at a point where I need to verify text on a webpage and the word “you’re” is in it. This causes all the text in the script below this line to be the same color since NP++ sees the apostrophe in that word to be an open single quote with no end.
Ideally I’d like to check for both scenarios but not sure if that’s possible.Has anyone encountered this and found a workaround?
Thanks for any help!
-
@JBird1977 Have you tried using delimiter 1 style for “strings” and delimiter 2 style for ‘strings’?
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