Find in styles potential feature

"'Neil Hodgson' via scite-interest" <[email protected]>
Newsgroups gmane.editors.scite.general
Message-ID <[email protected]>
   SciTE currently has a way to search just in one style (like comment or identifier) but it only works on Windows when using dialogs instead of strips and its hidden behind the ‘advanced’ property:

find.replace.advanced=1
find.use.strip=0
replace.use.strip=0

   The feature didn’t work that well as the user has to know the numeric values for the styles.

   An alternative could use style tags (currently only provided by some lexers including C, Python, and HTML), for something like this:
https://www.scintilla.org/FindTags.png

   There are still problems with this. It uses horizontal space for a feature that not everyone will want. Maybe add a property and also make the strip handle limited space better by omitting labels or automatically adding another line of controls.

   It matches any style that contains the tag and the user may want a more complex boolean expression such as “comment or preprocessor but not documentation comment”.

   Implementation for Windows available from 
https://www.scintilla.org/FindInTags.patch

   Neil

-- 
You received this message because you are subscribed to the Google Groups "scite-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/scite-interest/4DCA98E8-DC14-44DE-B264-61CCEF4AE370%40me.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.