Re: Problem with highlighting selected text during replace

"[email protected]" <[email protected]>
Newsgroups gmane.editors.scite.general
Message-ID <[email protected]>
Neil:

Thanks for the explanation. I should have read your documentation a little 
better.

ed

On Monday, July 5, 2021 at 6:16:21 PM UTC-5 Neil Hodgson wrote:

> ed.ada:
>
> > selection.layer=1
> > selection.fore="FFFFFF"
> > selection.back="000000"
>
> It doesn’t affect the result but they are expected to be: 
> selection.fore=#FFFFFF
> selection.back=#000000
> The quoted form working is an accident and could change behaviour in the 
> future.
>
> > When I perform a search it renders the selection in white text on a 
> black background. I noticed that when I perform a replace and click on Find 
> Next that this does not apply and it reverts back to a light-grey 
> foreground.
>
> There are more selection properties now. When the replace strip is opened, 
> it gains the keyboard focus (so you can type some search text) and the edit 
> pane loses focus, displaying its selection in ‘inactive’ colours.
>
> Try setting the inactive selection colours like
> selection.inactive.fore=#FFFFFF
> selection.inactive.back=#008000
> This will show when selections are inactive with a green background.
>
> After seeing the effect, you may then choose to use
> selection.inactive.back=#000000
>
> If the desire is for always the same selection colours then there are also 
> the secondary colours (like selection.secondary.back) which may occur. To 
> see secondary colours, select some text in SciTE; open another application 
> (like Firefox) and select some text in it; then activate SciTE without 
> selecting text. The different colours indicates that SciTE has focus but 
> does not control the primary selection so will not be the source for 
> middle-mouse-button primary selection paste.
>
> 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/89c37a39-7e33-4e8c-9496-6604ee2a67f7n%40googlegroups.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.