mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 02:49:46 +00:00
c6725df2db
When implementing multi-row string breaking, an extra createLine() statement, which made sense in the original code, was kept by mistake. This basically made the mechanism ineffective, because it created one row with the correct length, plus a second one with all the remaining text, which would have to be itself broken. This went undetected because the display is still correct. Additionally, this issue polluted the break cache to the extent that the hit rate could be 0%. Together, these two effects created a major slowdown with a document containing a single ~30000 characters paragraph. Fixes bug #12534. |
||
---|---|---|
.. | ||
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 |