[QScintilla] Main selection color is not changed properly in some cases

Scener Spanish spscener84 at gmail.com
Tue May 14 22:59:22 BST 2019


That's a good advice, I'll try to allocate some time this week with all the
steps and where I've got stuck, in the meantime... I'm sure you're following
the other thread but if you don't Neil has explained a little bit about the
meaning of that variable, pasting literally here:

 X has the concept of a ‘primary selection’ which is the most recently
> selected text in any application and which can be pasted by clicking the
> middle mouse button.
>    selBackground2 is the colour used for the background of a
> non-primary-selection on X. It should never be seen on Windows or macOS
> which don’t have primary selections.
>    When the user makes a selection on X, this is the primary selection but
> it should be displayed similarly to other platforms with the colours
> defined by SCI_SETSELBACK. But you still want a visual distinction between
> the primary selection and non-primary-selections (so you see which text
> will be used for a middle-click). Therefore the colour of this selection
> changes to selBackground2 once a new primary selection is made, commonly in
> a different application.
>    Neil


Hope this helps... so yeah, this clarifies this indeed a QScintilla bug
afterall ;)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/qscintilla/attachments/20190514/04dedee5/attachment.html>


More information about the QScintilla mailing list