lyx_mirror/src/frontends
Jean-Marc Lasgouttes c6725df2db Fixup d723b903: Fix slow display of large paragraphs
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.
2022-05-19 16:18:24 +02:00
..
qt Fixup d723b903: Fix slow display of large paragraphs 2022-05-19 16:18:24 +02:00
tests Revert "Amend 3093789e for cmake build" 2020-11-30 10:19:22 +01:00
.gitignore
alert.h Remove redundant const & for primitive types 2020-10-19 12:50:07 +03:00
Application.h Add method to check whether LyX runs in dark mode 2021-01-19 09:21:36 +01:00
CaretGeometry.h Forgot this. 2020-11-24 21:20:25 +01:00
Clipboard.h #8055 add support for system-wide find buffer on Mac 2021-02-14 18:56:25 +01:00
CMakeLists.txt prevent Qt6 from defining UNICODE (Qt6.1.1 and upwards) 2021-06-19 10:48:49 +02:00
Delegates.h Remove unused forward declarations 2020-10-13 09:57:36 +03:00
FontLoader.h
FontMetrics.h Fix crash with countExpanders in Qt6 2022-04-08 12:14:41 +02:00
KeyModifier.h Simplify KeyModifier 2020-11-30 10:44:28 +02:00
KeySymbol.h
Makefile.am Use new signal library nod instead of boost::signals2 2020-12-13 23:11:19 +02:00
mouse_state.h
NullPainter.h Fix bug #12169 2021-02-27 13:27:05 -05:00
Painter.h Fix bug #12169 2021-02-27 13:27:05 -05:00
Selection.h Make primary-selection unknown when not supported 2021-11-22 10:30:43 +01:00
WorkArea.h Remove unused forward declarations 2020-10-13 09:57:36 +03:00
WorkAreaManager.cpp Constify 2020-10-25 09:28:34 +02:00
WorkAreaManager.h Constify 2020-10-25 09:28:34 +02:00