[QScintilla] Symbian highlighting bug

Phil Thompson phil at riverbankcomputing.com
Wed Dec 28 18:29:55 GMT 2011


On Wed, 28 Dec 2011 14:35:46 +0000, Matt Lewis-Garner
<riverbankcomputing at openglobal.co.uk> wrote:
> I'm using QScintilla for a Symbian-based App and I've come across a 
> strange problem with highlighting/selecting text. Basically, if any text

> is selected, it tends to get deleted upon a various actions. The main 
> problem is that one of those actions is opening the menu. If I open the 
> menu to perform an action on some text, the first thing that happens is 
> the selected text gets deleted.
> 
> I'm also trying to use gestures to perform actions, but the gestures 
> also selects some of the text behind. Upon processing some of the 
> gestures, the selected text gets deleted.
> 
> I assume that it's something to do with re-drawing the screen with 
> selected text. I'm only seeing this issue on the Symbian platform. Is 
> there any special behaviour when re-drawing the screen with regards to 
> selected text? I might be able to sort out a symbian-specific
workaround.

At the level where the drawing of text is done there is no concept of
selected text - just text with different foreground and background.

Phil


More information about the QScintilla mailing list