lyx_mirror/src/frontends
Jean-Marc Lasgouttes da590925cd Work around bug in QTextLine::xToCursor
With RtL text, the method can be non-monotonic wrt x value (which is a
Qt bug). To work around this, we check whether positions adjacent to
those returned by xToCursor look better. Depending on whether the new
x position is too small or too large, we look backward or forward for
a better solution.

The performance is probably not great, but this is only needed for
user interactions, so the performance penalty should not be a problem.

Fixes #10569.
2017-03-31 16:56:06 +02:00
..
qt4 Work around bug in QTextLine::xToCursor 2017-03-31 16:56:06 +02:00
tests Cmake build: Project names *should* be uniq 2017-03-30 14:01:56 +02:00
.gitignore
alert.h GuiAlert: Convert html to plain text on console output 2016-12-04 18:28:03 +01:00
Application.h Simplifications, mainly removal of boost::function and useless std::bind 2016-07-03 01:39:32 +02:00
Clipboard.h Remove using directives from headers 2016-06-26 18:22:59 +02:00
CMakeLists.txt
Delegates.h
FontLoader.h
FontMetrics.h On-screen justification: stretch in proportion with the em, up to a limit 2016-11-06 12:20:00 +01:00
KeyModifier.h
KeySymbol.h
Makefile.am Configure included iconv with autotools 2016-05-29 17:55:43 -04:00
mouse_state.h
Painter.h Remove obviously wrong documentation in Painter.h 2016-07-18 16:17:38 +02:00
Selection.h
WorkArea.h
WorkAreaManager.cpp Display externally modified status 2017-03-11 00:50:57 +01:00
WorkAreaManager.h Display externally modified status 2017-03-11 00:50:57 +01:00