qt6-bb10/src
Zhang Hao 33238ea2c6 Fix QTextEdit cursor rectangle vertical positioning
When there are characters with different pointsize in QScriptLine,
the value of si.descent is less than sl.descent, which will cause
the y value of the cursor rectangle to be too large.
If si.descent is less than sl.descent, the height of the cursor
rectangle is equal to base plus si.descent.
Amends e99a883bd3

Fixes: QTBUG-96288
Done-with: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Pick-to: 6.1 6.2
Change-Id: I4a8566b32cfa75d8ca1a584f5e8e577c5c9caf0d
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2021-09-18 00:55:36 +00:00
..
3rdparty Fix invalid JSON due to missing comma after value 2021-09-10 00:11:13 +10:00
android Android: Add information about who launched this activity to intents 2021-08-26 15:44:12 +00:00
concurrent Fix QtConcurrent::blockingMapped to work with non-template sequences 2021-09-08 15:05:32 +02:00
corelib QVersionNumber: fix iterator/pointer mistake 2021-09-17 17:29:24 +00:00
dbus Doc: Add version and description to Qt-DBus documentation 2021-09-17 17:54:09 +02:00
entrypoint Adjust the EntryPoint target name according to the internal module naming policy 2021-06-15 12:51:49 +02:00
gui Fix QTextEdit cursor rectangle vertical positioning 2021-09-18 00:55:36 +00:00
network Doc: Centralize RFC documentation-links in rfc.qdoc 2021-09-16 15:52:27 +02:00
opengl CMake: Make WrapVulkanHeaders target optional for QtGui consumers 2021-07-29 16:38:50 +02:00
openglwidgets Migrate to autogenerated cpp exports 2021-06-25 19:33:12 +02:00
platformsupport Fix button type to update coordinates when dragging 2021-08-11 12:38:35 +00:00
plugins Remove conditioning on Android embedded 2021-09-17 17:30:14 +02:00
printsupport Doc: Remove unsupported customFilters 2021-09-03 15:14:59 +00:00
sql Doc: Remove unsupported customFilters 2021-09-03 15:14:59 +00:00
testlib testlib: Gracefully handle messages outside of test function in JUnit reporter 2021-09-16 11:22:50 +02:00
tools Support deploying of libraries from a build tree when building android apk 2021-09-09 21:49:37 +02:00
widgets Deduplicate maybeQuitOnLastWindowClosed handling 2021-09-17 14:56:19 +02:00
xml Doc: Remove unsupported customFilters 2021-09-03 15:14:59 +00:00
CMakeLists.txt Make it possible to disable the PrintSupport module 2021-02-09 09:17:21 +01:00