mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-15 23:49:37 +00:00
6e6976fbc5
In this case, the extra element returned should empty but valid. The row flag BreakAfter is set to indicate that we have a break there (this principle will be used more generally in a forthcoming commit). To detect that we cut at the trailing space, it is necessary to rely on the difference between QTextLine::horizontalAdvance() and QTextLine::naturalTextWidth() when the flag QTextOption::IncludeTrailingSpaces is used: the trailing space is taken into account in the later, but not in the former. Somme comments have been added to make code intent clearer. |
||
---|---|---|
.. | ||
qt | ||
tests | ||
.gitignore | ||
alert.h | ||
Application.h | ||
CaretGeometry.h | ||
Clipboard.h | ||
CMakeLists.txt | ||
Delegates.h | ||
FontLoader.h | ||
FontMetrics.h | ||
KeyModifier.h | ||
KeySymbol.h | ||
Makefile.am | ||
mouse_state.h | ||
NullPainter.h | ||
Painter.h | ||
Selection.h | ||
WorkArea.h | ||
WorkAreaManager.cpp | ||
WorkAreaManager.h |