- November 18, 2010 at 12:27 am #9099
In terms of highlighting
strings enclosed by quotation marks takes precedence over highlighted words.
So if a highlighted words is surrounded by quotes it will loose the look of a highlighted word.
Is there anyway to keep the highlighted words even if they are surrounded by quotes?
StevenNovember 18, 2010 at 4:29 am #9100
The only way I can think of is to disable the highlight of quoted strings.
Thanks,November 18, 2010 at 7:29 am #9101
I would think a custom field, for blocking quote hilighting might work.
Don’t consider quotes a string (when matches):
Otherwise you have to disable quote hilighting.
There’s also a bit of a bug in that regard, when you have a custom highlighter and do something like:
EmEditor thinks “” is the start and end of a string, and “” is the start/end of a string.
Possibly, as well:
Ignore Escaped quotes:November 18, 2010 at 2:21 pm #9102
The only way I can think of is to disable the highlight of quoted strings
How ?November 18, 2010 at 2:32 pm #9103
Never mind, i see how to disable it.
thanks for your reply.
Can you explain what you mean, i am not sure .
What i did was disable quotes and added 2 highlighted regex words
and then the other one I am working with.
this worked because it seems that it uses the later word to to override the earlier highlight word.November 18, 2010 at 5:58 pm #9106
I was talking about possible new features,
1) Allow a custom regex to be used to indicate when “” quote string hilighting shouldn’t be done.
2) Allow a custom input field for notifying EmEditor what leading characters before a quotation-mark should indicate that the quotation-mark is part of a string (is escaped).
e.g, RegexMatch(Foo, “This is a “string” that has embedded quotes. The string hilighter shouldn’t end after ‘This is a’ as the quote is escaped.”)
Currently EmEditor only allows you to list a single character as an escape for a string (quote). In autohotkey for instance, I would need two. ` andNovember 19, 2010 at 2:31 am #9109
Thanks for your help
You must be logged in to reply to this topic.