[QScintilla] wrong cursor moving
Phil Thompson
phil at riverbankcomputing.com
Sat Nov 6 11:45:44 GMT 2010
On Fri, 5 Nov 2010 09:03:56 -0500, David Hess <dhess at fishsoftware.com>
wrote:
> I tried applying that patch in our environment and still see problems
with
> cursor positioning.
>
> I'm using QScintilla with the Python lexer and setting the font to
Courier
> New, 13 points and bold.
>
> The cursor positioning works with plain text that is not colorized.
> Anything that gets colorized is being rendered squashed horizontally by
> just a fraction.
>
> On top of that, the horizontal layout of colorized and non-colorized
text
> changes if you highlight it via selection.
>
> So it seems not to just be a cursor positioning issue but also a layout
> problem.
>
> Would be glad to help get this fixed.
Out of curiosity, if the patch did...
qRound(ceil(width));
...is it any better?
Even if the patch isn't exactly correct, is it a definite improvement?
Phil
More information about the QScintilla
mailing list