HHT | 17 Aug 2012 11:55
Picon

Highlighting Matching Word

Hi, does scintilla have a way to allow me highlight match certain
words like it does for brackets and braces?
I mean when select <div> it will highlight </div>. Any pointer to docs/
scite or anything is appreciated.
TIA,
Stefano

--

-- 
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To post to this group, send email to scintilla-interest <at> googlegroups.com.
To unsubscribe from this group, send email to scintilla-interest+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://groups.google.com/group/scintilla-interest?hl=en.

Edwin | 17 Aug 2012 12:47
Favicon

Re: Highlighting Matching Word

I'm also want to know the neat way of doing this...

On Aug 17, 5:55 pm, HHT <hosanna.higher.technolog... <at> gmail.com> wrote:
> Hi, does scintilla have a way to allow me highlight match certain
> words like it does for brackets and braces?
> I mean when select <div> it will highlight </div>. Any pointer to docs/
> scite or anything is appreciated.
> TIA,
> Stefano

--

-- 
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To post to this group, send email to scintilla-interest <at> googlegroups.com.
To unsubscribe from this group, send email to scintilla-interest+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://groups.google.com/group/scintilla-interest?hl=en.

Neil Hodgson | 18 Aug 2012 06:10

Re: Highlighting Matching Word

HHT:

> Hi, does scintilla have a way to allow me highlight match certain
> words like it does for brackets and braces?

   The bracket and brace matching features are limited to single characters.

> I mean when select <div> it will highlight </div>. Any pointer to docs/
> scite or anything is appreciated.

   Similar features can be implemented for tags by the application using indicators for the visuals. The
application should respond to the SCN_UPDATEUI notification by examining the text at the caret for a tag
then searching for its corresponding end/start. Then it should replace the current state of the
indicator with indicators on both tags if matched or with a doesn't match indicator if appropriate.

   Neil

--

-- 
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To post to this group, send email to scintilla-interest <at> googlegroups.com.
To unsubscribe from this group, send email to scintilla-interest+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://groups.google.com/group/scintilla-interest?hl=en.


Gmane