Allow disabling of strings in comments

Ideas for new features

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
mzk
Posts: 11
Joined: Wed Sep 10, 2003 3:11 pm
Location: Sentori, Inc.

Allow disabling of strings in comments

Post by mzk »

I hope this isn't considered a covered topic. I did try to check.

When I do an end-of-line comment such as:

<!-- don't separate -->

The text after the quote and the rest of the text for several lines is
highlighted as a quote. Could we allow comments to override quotes?

Thanks,
mzk

P.S. I know about the multi-line highlighting option, but it's more trouble if I turn it off. (4.7.1 of course)
User avatar
webmasta
Posts: 169
Joined: Mon Jul 28, 2003 8:16 pm
Location: Toronto

Post by webmasta »

http://www.textpad.com/forum/viewtopic.php?t=4338

<!-- don't separate '-->

<keith>keeps both TextPad and html happy</keith>

webM
mzk
Posts: 11
Joined: Wed Sep 10, 2003 3:11 pm
Location: Sentori, Inc.

Post by mzk »

Ah, I did see that one, but got lost in it. However, is this really complex (to turn off all parsing for comments as you do for strings)?

I still think (personally) that it would be a good option to have, to allow for english grammar.

I will use your suggestion, of course.

Thanks,
mzk

P.S. Turning on multi-line helped a lot on a similar problem. Thanks to keith for that.
User avatar
webmasta
Posts: 169
Joined: Mon Jul 28, 2003 8:16 pm
Location: Toronto

Post by webmasta »

Want to make the comments the same as the editor bgcolor??

webM
mzk
Posts: 11
Joined: Wed Sep 10, 2003 3:11 pm
Location: Sentori, Inc.

Post by mzk »

No, then they would be invisible.

I just mean that just like keywords within strings aren't highlighted,
so strings within comments should (optionally) not be. Otherwise the
English language suffers (i.e., apostrophes).
Post Reply