A small problem that has become apparent with Boa is that the
wxStyledTextCtrl is a bit flickery. Open up a source file and drag a
selection over a line of text while watching the bottom of the selection. It
jiggles up and down. This could be my fault but it doesn't happen in SciTE
on Windows or GTK+.
Another difference is that the caret is two pixels wide in wxSTC. This
could be Robin's preference (I do plan on a settable width for the caret)
but my guess is that where Scintilla is asking for a semi exclusive
rectangle to be drawn, wxSTC is actually drawing an inclusive rectangle. On
Windows and the Macintosh, rectangles include the pixels on their top and
left sides but exclude the pixels on their bottom and right sides so filling
the rectangle (0,0,1,1) colours one pixel, not four. Scintilla follows this
convention, it could be that wxWindows uses a different convention.
A small problem that has become apparent with Boa is that the
wxStyledTextCtrl is a bit flickery. Open up a source file and drag a
selection over a line of text while watching the bottom of the selection.
It
jiggles up and down. This could be my fault but it doesn't happen in SciTE
on Windows or GTK+.
Another difference is that the caret is two pixels wide in wxSTC. This
could be Robin's preference (I do plan on a settable width for the caret)
but my guess is that where Scintilla is asking for a semi exclusive
rectangle to be drawn, wxSTC is actually drawing an inclusive rectangle.
On
Windows and the Macintosh, rectangles include the pixels on their top and
left sides but exclude the pixels on their bottom and right sides so
filling
the rectangle (0,0,1,1) colours one pixel, not four. Scintilla follows
this
convention, it could be that wxWindows uses a different convention.
I've known for a while that there was some off-by-one errors in the wxGTK
version, but just assumed that there was a problem in wxGTK and didn't
relish the thought of digging through all that to try and track it down.
When you mentioned the caret width I realized that the problem is on wxMSW
also, just not as noticable. I did some digging and found the problems in
PlatWX.cpp translating to/from PRectangles and wxRects.
There is still a problem on wxGTK when the AutoComplete listbox is shown.
When the caret is redrawn and the line is refreshed the upper part of the
listbox is overdrawn which I didn't think would be possible... After I get
updated to the newest Scintilla I'll have to take this up with Robert if it
is still happening.