lyx_mirror/src
Jean-Marc Lasgouttes 08010c6a5e Implement quick scroll
Replace flag parameter for updateMetrics() by a `force' boolean. When
it is false, the method keeps the metrics of paragraphs that are still
visible in WorkArea instead of computing everything afresh. All it has
to do is update their positions.

Add code to updateMetrics() to update the value of the anchor pit/ypos
(similar to the one in draw()).

Update processUpdateFlags() to use this when update flag is ForceDraw.

Modify scrollDocView() to just change the anchor paragraph position
when the scrolling operation would re-use some of the existing
paragraphs.

The time needed to update the metrics when scrolling with mouse in the
branch-test.lyx document is now divided by 20!

Part of bug #12297.
2024-04-05 13:03:22 +02:00
..
client
convert
frontends Introduce new helpers ParagraphMetrics::top/bottom 2024-04-05 13:03:22 +02:00
graphics Use docstring for preview snippet all the way down 2024-03-16 11:57:48 +01:00
insets Do not include <QDate> in InsetInfo.h 2024-04-04 17:47:33 +02:00
mathed Fix label escaping in InsetMathRef (#12980) 2024-04-02 08:15:53 +02:00
support Change the way a filepath is displayed 2023-12-29 19:20:25 +01:00
tests Amend febd1855eb: fix compilability 2022-12-28 12:57:45 +01:00
tex2lyx Using the latest commit and building lyx with cmake on macos-sonoma with 2024-03-20 11:44:22 +01:00
.gitignore
AppleSpellChecker.cpp
AppleSpellChecker.h
AspellChecker.cpp
AspellChecker.h
Author.cpp
Author.h
BiblioInfo.cpp DocBook: amend e3020a6b. 2024-03-01 13:45:28 +01:00
BiblioInfo.h DocBook: amend e3020a6b. 2024-03-01 13:45:28 +01:00
boost.cpp
Box.cpp
Box.h
BranchList.cpp
BranchList.h
buffer_funcs.cpp
buffer_funcs.h
Buffer.cpp Restore parent after buffer reload (#13031) 2024-01-19 09:09:28 +01:00
Buffer.h Fix bug #13017. 2024-01-11 17:23:52 -05:00
BufferEncodings.cpp
BufferEncodings.h
BufferList.cpp
BufferList.h
BufferParams.cpp Consider PackageOptions with parskip 2023-10-30 12:54:29 +01:00
BufferParams.h Consider PackageOptions with parskip 2023-10-30 12:54:29 +01:00
BufferView.cpp Implement quick scroll 2024-04-05 13:03:22 +02:00
BufferView.h Implement quick scroll 2024-04-05 13:03:22 +02:00
Bullet.cpp
Bullet.h
Changes.cpp Fix bug #11781. Patch from Daniel. 2022-11-27 13:20:17 -05:00
Changes.h
Chktex.cpp
Chktex.h
Citation.h
CiteEnginesList.cpp
CiteEnginesList.h
CMakeLists.txt
CmdDef.cpp
CmdDef.h
Color.cpp Introduce color_selectionmath 2023-10-04 13:10:07 +02:00
Color.h
ColorCode.h Introduce color_selectionmath 2023-10-04 13:10:07 +02:00
ColorSet.h
Compare.cpp Fix bug #11781. Patch from Daniel. 2022-11-27 13:20:17 -05:00
Compare.h Fix bug #11781. Patch from Daniel. 2022-11-27 13:20:17 -05:00
CompletionList.h
Converter.cpp Amend 12e3d46b 2023-09-23 16:18:28 +02:00
Converter.h Revert "Do not return copies of string members" 2023-05-15 17:13:41 +02:00
ConverterCache.cpp
ConverterCache.h
CoordCache.cpp Group most verbose dbg output into more intuitive categories. 2023-07-18 22:25:28 +02:00
CoordCache.h Revert a9c6fb0c. 2023-07-27 22:39:49 +02:00
Counters.cpp Fix reference to temporary 2023-07-29 14:41:22 -04:00
Counters.h New RefFormat tag for counters, and PrettyFormat for floats. 2023-07-28 17:37:13 -04:00
Cursor.cpp Remove code that has been dead for almost 20 years 2023-11-30 10:07:44 +01:00
Cursor.h Fix word selection expansion when going to the left 2023-11-06 11:53:03 +01:00
CursorSlice.cpp
CursorSlice.h
CutAndPaste.cpp Amend 3f0bb8aa43 2023-10-04 13:49:34 +02:00
CutAndPaste.h Introduce new function copyInsetToTemp 2022-11-04 21:44:24 +01:00
DepTable.cpp
DepTable.h
Dimension.cpp
Dimension.h
DispatchResult.h
DocIterator.cpp Allow using the text properties dialog in mathed 2023-11-06 18:04:44 +01:00
DocIterator.h Allow using the text properties dialog in mathed 2023-11-06 18:04:44 +01:00
DocumentClassPtr.h
EnchantChecker.cpp
EnchantChecker.h
Encoding.cpp Amend 04bfbc0f 2023-09-30 20:20:03 -04:00
Encoding.h
ErrorList.cpp
ErrorList.h
Exporter.cpp
Exporter.h
factory.cpp Rename subindex to subentry 2022-10-31 06:51:38 +01:00
factory.h
Floating.cpp
Floating.h
FloatList.cpp
FloatList.h
Font.cpp fix nested uwave 2023-09-30 13:44:03 +02:00
Font.h
FontEnums.h
FontInfo.cpp
FontInfo.h
FontList.cpp
FontList.h
Format.cpp
Format.h
FuncCode.h Correct counting 2022-12-18 14:17:29 +01:00
FuncRequest.cpp Add != operator to FuncRequest and special value FuncRequest::prefix 2022-12-10 20:30:58 +01:00
FuncRequest.h Add != operator to FuncRequest and special value FuncRequest::prefix 2022-12-10 20:30:58 +01:00
FuncStatus.cpp
FuncStatus.h
Graph.cpp
Graph.h
HunspellChecker.cpp
HunspellChecker.h
IndicesList.cpp
IndicesList.h
InsetIterator.cpp
InsetIterator.h
InsetList.cpp
InsetList.h
Intl.cpp
Intl.h
KeyMap.cpp Detect when one tries to bind a lfun to a prefix of longer commands 2023-07-22 00:01:34 +02:00
KeyMap.h Detect when one tries to bind a lfun to a prefix of longer commands 2023-07-22 00:01:34 +02:00
KeySequence.cpp
KeySequence.h
Language.cpp
Language.h
LaTeX.cpp Limit nomencl backwards support to case when old package is really used 2023-11-08 16:17:58 +01:00
LaTeX.h
LaTeXFeatures.cpp Limit nomencl backwards support to case when old package is really used 2023-11-08 16:17:58 +01:00
LaTeXFeatures.h LyXHTML: switch the doctype to (X)HTML5 and only output XML entities. 2022-12-25 20:48:14 +01:00
LaTeXFonts.cpp
LaTeXFonts.h
LaTeXPackages.cpp Introduce pkglist format 2023-01-14 10:45:57 +01:00
LaTeXPackages.h Improve LaTeX version checking 2022-12-19 15:15:41 +01:00
Layout.cpp Amend 3698281943 for the sake of the (not exceptionally bright) layout test 2023-12-03 10:36:59 +01:00
Layout.h Fix another old outliner bug (#9375) 2023-02-22 16:33:37 +01:00
LayoutEnums.h
LayoutFile.cpp
LayoutFile.h
LayoutModuleList.cpp Sync with master 2022-10-26 10:52:21 +02:00
LayoutModuleList.h Sync with master 2022-10-26 10:52:21 +02:00
Lexer.cpp Fix bug #12852. 2023-08-16 17:51:55 -04:00
Lexer.h Correct the description of Lexer::getLongString 2023-01-10 16:25:48 +01:00
lyx_commit_hash.h.in
LyX.cpp Fix support for screen fractional scaling with Wayland 2024-02-29 10:28:15 +01:00
LyX.h Fix support for screen fractional scaling with Wayland 2024-02-29 10:28:15 +01:00
LyXAction.cpp Update doc info for quote-insert 2024-04-02 12:46:36 -04:00
LyXAction.h
lyxfind.cpp Factor out shared method 2024-03-31 12:40:27 +02:00
lyxfind.h
LyXRC.cpp Implement ui style selection dialog 12832 attempt 2 2023-10-15 08:46:12 +02:00
LyXRC.h Implement ui style selection dialog 12832 attempt 2 2023-10-15 08:46:12 +02:00
LyXVC.cpp
LyXVC.h
lyxwinres.rc
main.cpp
Makefile.am Allow using the text properties dialog in mathed 2023-11-06 18:04:44 +01:00
MetricsInfo.cpp Fix display of a math hull inset in a tight inset 2024-03-22 15:40:40 +01:00
MetricsInfo.h Fix display of a math hull inset in a tight inset 2024-03-22 15:40:40 +01:00
ModuleList.cpp
ModuleList.h
Mover.cpp
Mover.h Move LYX_(BEGIN|END)_MUTE_GCC_WARNING macros to their own header. 2023-11-10 13:14:34 +01:00
output_docbook.cpp Update comment: a function was renamed. 2024-02-26 02:17:48 +01:00
output_docbook.h DocBook: add some TODOs for the future. 2022-12-27 00:03:07 +01:00
output_latex.cpp Pass a two parameters parameter by reference 2024-01-12 15:55:45 +01:00
output_latex.h
output_plaintext.cpp
output_plaintext.h
output_xhtml.cpp XHTML: support NONE as item tag when no item tag should be output. 2022-12-09 02:48:52 +01:00
output_xhtml.h
output.cpp
output.h
OutputEnums.h
OutputParams.cpp Account for babel's bidi option (#12866) 2023-08-17 14:25:33 +02:00
OutputParams.h Account for babel's bidi option (#12866) 2023-08-17 14:25:33 +02:00
paper.h
Paragraph.cpp Rename hasToString() to findUsesToString() 2024-04-02 09:22:53 +02:00
Paragraph.h Fix brokenBiblio() and fixBiblio() with change tracking (#12909) 2023-09-16 08:34:43 +02:00
ParagraphList.h
ParagraphMetrics.cpp At metrics time, store paragraph id too 2023-03-03 10:34:18 +01:00
ParagraphMetrics.h Introduce new helpers ParagraphMetrics::top/bottom 2024-04-05 13:03:22 +02:00
ParagraphParameters.cpp
ParagraphParameters.h
ParIterator.cpp
ParIterator.h
PDFOptions.cpp Extend flexible version check to packages 2022-12-19 17:42:27 +01:00
PDFOptions.h
PersonalWordList.cpp
PersonalWordList.h
Row.cpp Revert "Fix display of a math hull inset in a tight inset" 2024-03-22 15:08:26 +01:00
Row.h Avoid row breaking at inconvenient places. 2023-09-25 12:46:54 +02:00
RowFlags.h Sync with master 2022-10-26 10:52:21 +02:00
RowPainter.cpp Revert "Fix display of a math hull inset in a tight inset" 2024-03-22 15:08:26 +01:00
RowPainter.h
Server.cpp
Server.h
ServerSocket.cpp
ServerSocket.h
Session.cpp Fix compiler warning about unused string consts 2023-04-26 14:06:25 -04:00
Session.h Sync with master 2022-10-26 10:52:21 +02:00
Spacing.cpp
Spacing.h
SpellChecker.h
TexRow.cpp Sync with master 2022-10-26 10:52:21 +02:00
TexRow.h
texstream.cpp Sync with master 2022-10-26 10:52:21 +02:00
texstream.h
Text.cpp Do not enter page break in heading (#13040) 2024-03-28 18:03:54 +01:00
Text.h Avoid crash when inserting macro template in tabular inset 2024-02-27 18:21:57 +01:00
TextClass.cpp New RefFormat tag for counters, and PrettyFormat for floats. 2023-07-28 17:37:13 -04:00
TextClass.h
TextMetrics.cpp Implement quick scroll 2024-04-05 13:03:22 +02:00
TextMetrics.h Implement quick scroll 2024-04-05 13:03:22 +02:00
Thesaurus.cpp
Thesaurus.h
Toc.h
TocBackend.cpp Sync with master 2022-10-26 10:52:21 +02:00
TocBackend.h Display equation/theorem numbers in insert cross reference dialog. 2023-07-26 13:35:42 -04:00
TocBuilder.cpp Fix wrong nesting in Outline. 2023-07-28 10:31:54 +02:00
TocBuilder.h
Trans.cpp
Trans.h
Undo.cpp Implement undo coalescing 2024-04-05 12:50:20 +02:00
Undo.h
update_flags.h
VCBackend.cpp
VCBackend.h
version.cpp
version.h Introduce default box frame color (#12921) 2023-09-30 09:56:27 +02:00
VSpace.cpp Sync with master 2022-10-26 10:52:21 +02:00
VSpace.h
WordLangTuple.h
WordList.cpp
WordList.h Move LYX_(BEGIN|END)_MUTE_GCC_WARNING macros to their own header. 2023-11-10 13:14:34 +01:00
xml.cpp DocBook: fix case with emphasis at end of footnote 2023-09-25 10:41:21 -04:00
xml.h DocBook: fix case with emphasis at end of footnote 2023-09-25 10:41:21 -04:00