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:
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:
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