summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/doc_src_qtxmlpatterns.cpp
diff options
context:
space:
mode:
authorJiang Jiang <jiang.jiang@nokia.com>2011-05-19 08:29:49 (GMT)
committerJiang Jiang <jiang.jiang@nokia.com>2011-05-23 13:55:03 (GMT)
commite5f38bb543696813a70995c90cd5450602c0356c (patch)
tree05390f3a3507cc999e05c7526333fd9c5e7f879b /doc/src/snippets/code/doc_src_qtxmlpatterns.cpp
parentd80949eee06ff464d58bd97a6c89bae7e961f3c8 (diff)
downloadQt-e5f38bb543696813a70995c90cd5450602c0356c.zip
Qt-e5f38bb543696813a70995c90cd5450602c0356c.tar.gz
Qt-e5f38bb543696813a70995c90cd5450602c0356c.tar.bz2
Support placing cursor in ligature with mouse or touch
We need to find out the closest element in the ligature to the point we clicked (or tapped), currently we do this by dividing the width of that ligature glyph evenly by the number of characters it covered. We only support Common and Greek script at this point, ligatures in other scripts are still handled as a whole. Task-number: QTBUG-19260 Reviewed-by: Eskil
Diffstat (limited to 'doc/src/snippets/code/doc_src_qtxmlpatterns.cpp')
0 files changed, 0 insertions, 0 deletions