aboutsummaryrefslogtreecommitdiffhomepage
path: root/qt/ScintillaEditBase/Notes.txt
diff options
context:
space:
mode:
authornyamatongwe <unknown>2012-05-17 12:46:29 +1000
committernyamatongwe <unknown>2012-05-17 12:46:29 +1000
commitbf8b35542c4be4b8eebb71ca2ad518da2e12b850 (patch)
treeeab094df23f84c33c7ed03f3412a63a060d31eac /qt/ScintillaEditBase/Notes.txt
parent29c92749f25f24795ecd9fec2b6705129ebbd654 (diff)
downloadscintilla-mirror-bf8b35542c4be4b8eebb71ca2ad518da2e12b850.tar.gz
Qt platform layer added. Based on an implementation from Jason Haslam
at Scientific Toolworks, Inc. with additions performed for Wingware.
Diffstat (limited to 'qt/ScintillaEditBase/Notes.txt')
-rw-r--r--qt/ScintillaEditBase/Notes.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/qt/ScintillaEditBase/Notes.txt b/qt/ScintillaEditBase/Notes.txt
new file mode 100644
index 000000000..6658aaa7a
--- /dev/null
+++ b/qt/ScintillaEditBase/Notes.txt
@@ -0,0 +1,18 @@
+
+Issues with Scintilla for Qt
+
+Qt reports character descenders are 1 pixel shorter than they really are.
+There is a tweak in the code to add a pixel in. This may have to be reviewed for Qt 5.
+There's a comment in the Qt code for Windows:
+ // ### we substract 1 to even out the historical +1 in QFontMetrics's
+ // ### height=asc+desc+1 equation. Fix in Qt5.
+
+The clocks used aren't great. QTime is a time since midnight clock so wraps around and
+is only accurate to, at best, milliseconds.
+
+On OS X drawing text into a pixmap moves it around 1 pixel to the right compared to drawing
+it directly onto a window. Buffered drawing turned off by default to avoid this.
+Reported as QTBUG-19483.
+
+Only one QPainter can be active on any widget at a time. Scintilla only draws into one
+widget but reenters for measurement.