Quoting Joerg Fischer <[EMAIL PROTECTED]>:

> Tony Balinski wrote:
> > ... code ...
>
> Just four lines changed a little!  Nice trick, thanks.
>
> > Now the question: why?
>
> Because it was/is all there?  One 'only' needs to understand how it
> works, which I didn't.
>
> Btw, I think the answers to whether SH background coloring should be
> implemented like this back then missed that nothing is lost.  If one
> likes the style to stop before the newline, simply use $ versus \n in
> the regex pattern for the style.

An interesting point. I suppose it depends how you want to see multiline
patterns, like /* comments */, if you add a background color for them.
I suppose if you really don't like the bgcolor extending to the right, you
can make a subpattern for the newlines!

Tony
-- 
NEdit Develop mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/develop

Reply via email to