Using the demo Grid_MegaExample.py, if you run it on Linux (in my case Fedora 23) when you edit a cell, and use your mouse to select some of the text I would normally expect the text to be highlighted with a blue background, this is what happens with the same code on windows, however on Linux, you can just about see that it seems to be highlighting using black on white ie the same as the unhighlighted colours. How do i set the correct colours for selected text?
I assume you're using Classic? Are you using the Fedora packages?
If so, then I see what you're talking about.
Scott
···
On Mon, 9 May 2016, mnfield@gmail.com wrote:
Using the demo Grid_MegaExample.py, if you run it on Linux (in my case
Fedora 23) when you edit a cell, and use your mouse to select some of the
text I would normally expect the text to be highlighted with a blue
background, this is what happens with the same code on windows, however on
Linux, you can just about see that it seems to be highlighting using black
on white ie the same as the unhighlighted colours. How do i set the correct
colours for selected text?
Using the demo Grid_MegaExample.py, if you run it on Linux (in my case
Fedora 23) when you edit a cell, and use your mouse to select some of the
text I would normally expect the text to be highlighted with a blue
background, this is what happens with the same code on windows, however on
Linux, you can just about see that it seems to be highlighting using black
on white ie the same as the unhighlighted colours. How do i set the correct
colours for selected text?
I assume you're using Classic? Are you using the Fedora packages?
I am indeed using the classic version and wxGTK3 (fedora defaults), at
least I’m not going mad. I’ve got a work around by setting TE_MULTILINE on the editors textctrl, which gives the correct highlighting behaviour, but does need more code to make it behave something like a
single line text editor. I keep an eye on the ticket.
Mark
On 10 May 2016 12:59 am, “Scott Talbert” swt@techie.net wrote:
On Mon, 9 May 2016, Scott Talbert wrote:
Using the demo Grid_MegaExample.py, if you run it on Linux (in my case
Fedora 23) when you edit a cell, and use your mouse to select some of the
text I would normally expect the text to be highlighted with a blue
background, this is what happens with the same code on windows, however on
Linux, you can just about see that it seems to be highlighting using black
on white ie the same as the unhighlighted colours. How do i set the correct
colours for selected text?
I assume you’re using Classic? Are you using the Fedora packages?
If so, then I see what you’re talking about.
Assuming you’re using GTK3 (it seems to work correctly with GTK2), this appears to be a wxWidgets bug. I filed: