lyx_mirror/src
Jean-Marc Lasgouttes a4d9315bc4 Avoid full metrics computation with Update:FitCursor
The handling of Update::FitCursor traditionnally recomputes all
metrics once or twice. Now that updateMetrics(false) ensures that all
paragraphs that require it have a metrics, we might as well use that.

Take this occasion to move handling of Update::SinglePar earlier,
before the check for Update::ForceDraw.
2024-04-30 15:18:13 +02:00
..
client Cmake build Qt6: Remove some redundant statements. 2021-03-24 11:42:39 +01:00
convert Use bool literals 2020-11-01 22:24:48 +02:00
frontends Fix up 'Reduce metrics updates from 4 to 1 when loading file' 2024-04-29 18:02:14 +02:00
graphics Convert $${python} placeholder for graphic conversions 2024-04-14 21:30:02 +01:00
insets Move Lexer to support/ directory (and lyx::support namespace) 2024-04-28 12:23:13 +02:00
mathed Move Lexer to support/ directory (and lyx::support namespace) 2024-04-28 12:23:13 +02:00
support Remove unused #include 2024-04-28 12:33:33 +02:00
tests CMake: adapt to new location of Lexer 2024-04-28 09:13:55 -04:00
tex2lyx CMake: adapt to new location of Lexer 2024-04-28 09:13:55 -04:00
.gitignore
AppleSpellChecker.cpp Add way to remove items from document dictionary 2021-03-07 18:23:07 +01:00
AppleSpellChecker.h Meet per-document spelling dictionaries (fixes #86 [sic!]) 2021-03-06 16:53:33 +01:00
AspellChecker.cpp Add way to remove items from document dictionary 2021-03-07 18:23:07 +01:00
AspellChecker.h Meet per-document spelling dictionaries (fixes #86 [sic!]) 2021-03-06 16:53:33 +01:00
Author.cpp Revert "Fix a number of signedness warnings" 2020-11-02 17:09:59 -05:00
Author.h Revert "Fix a number of signedness warnings" 2020-11-02 17:09:59 -05:00
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 Constify 2020-10-25 09:28:34 +02:00
Box.h Constify 2020-10-25 09:28:34 +02:00
BranchList.cpp Copy/paste error in BranchList::setColors 2021-01-29 18:51:19 +01:00
BranchList.h Fix compilation for clang 3.7 with libc++ 2021-04-06 12:07:42 +02:00
buffer_funcs.cpp
buffer_funcs.h
Buffer.cpp Move Lexer to support/ directory (and lyx::support namespace) 2024-04-28 12:23:13 +02:00
Buffer.h Move Lexer to support/ directory (and lyx::support namespace) 2024-04-28 12:23:13 +02:00
BufferEncodings.cpp CharInfo: allow to store several commands (both text and math) for each character. 2022-02-20 01:33:03 +01:00
BufferEncodings.h
BufferList.cpp Fix compilation for clang 3.7 with libc++ 2021-04-06 12:07:42 +02:00
BufferList.h
BufferParams.cpp Move Lexer to support/ directory (and lyx::support namespace) 2024-04-28 12:23:13 +02:00
BufferParams.h Move Lexer to support/ directory (and lyx::support namespace) 2024-04-28 12:23:13 +02:00
BufferView.cpp Avoid full metrics computation with Update:FitCursor 2024-04-30 15:18:13 +02:00
BufferView.h Improve stats update times for buffer switches and toolbar toggles. 2024-04-05 22:59:07 +02:00
Bullet.cpp Whitespace 2022-03-05 13:45:27 +01:00
Bullet.h Use a more transparent lexic for bullet label functions 2022-03-05 09:00:47 +01:00
Changes.cpp Fix bug #11781. Patch from Daniel. 2022-11-27 13:20:17 -05:00
Changes.h More enums & includes refactoring 2020-12-06 18:26:41 +02:00
Chktex.cpp
Chktex.h
Citation.h
CiteEnginesList.cpp Move Lexer to support/ directory (and lyx::support namespace) 2024-04-28 12:23:13 +02:00
CiteEnginesList.h Change name in source files 2020-12-05 17:17:02 -05:00
CMakeLists.txt prevent Qt6 from defining UNICODE (Qt6.1.1 and upwards) 2021-06-19 10:48:49 +02:00
CmdDef.cpp Move Lexer to support/ directory (and lyx::support namespace) 2024-04-28 12:23:13 +02:00
CmdDef.h
Color.cpp Introduce color_selectionmath 2023-10-04 13:10:07 +02:00
Color.h Branch: Implement separate static colors in dark mode 2021-01-19 17:04:04 +01:00
ColorCode.h Introduce color_selectionmath 2023-10-04 13:10:07 +02:00
ColorSet.h Set GUI name for local greyedouttext color (#12130) 2021-02-11 09:05:42 +01:00
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 Move Lexer to support/ directory (and lyx::support namespace) 2024-04-28 12:23:13 +02:00
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 Move Lexer to support/ directory (and lyx::support namespace) 2024-04-28 12:23:13 +02:00
Counters.h Move Lexer to support/ directory (and lyx::support namespace) 2024-04-28 12:23:13 +02:00
Cursor.cpp Force a Buffer * argument to math insets constructor 2024-04-24 16:27:04 +02:00
Cursor.h Fix word selection expansion when going to the left 2023-11-06 11:53:03 +01:00
CursorSlice.cpp Move several common types to support/types.h 2020-11-27 12:16:22 +02:00
CursorSlice.h Move several common types to support/types.h 2020-11-27 12:16:22 +02:00
CutAndPaste.cpp Fix crash when deleting inset with backspace 2024-04-07 19:29:53 +02:00
CutAndPaste.h Introduce new function copyInsetToTemp 2022-11-04 21:44:24 +01:00
DepTable.cpp
DepTable.h
Dimension.cpp
Dimension.h Simplify constructors 2020-11-20 15:57:26 +02:00
DispatchResult.h Simplify DispatchResult ctors 2020-10-29 15:52:38 +02:00
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 Change name in source files 2020-12-05 17:17:02 -05:00
EnchantChecker.cpp Add way to remove items from document dictionary 2021-03-07 18:23:07 +01:00
EnchantChecker.h Meet per-document spelling dictionaries (fixes #86 [sic!]) 2021-03-06 16:53:33 +01:00
Encoding.cpp Move Lexer to support/ directory (and lyx::support namespace) 2024-04-28 12:23:13 +02:00
Encoding.h Amend 3f9e21b8 2022-03-06 23:01:56 +01:00
ErrorList.cpp
ErrorList.h
Exporter.cpp
Exporter.h
factory.cpp Move Lexer to support/ directory (and lyx::support namespace) 2024-04-28 12:23:13 +02:00
factory.h Move Lexer to support/ directory (and lyx::support namespace) 2024-04-28 12:23:13 +02:00
Floating.cpp Rename LATEX debug level to OUTFILE and use it for DocBook, HTML, and XML messages. 2022-03-01 16:05:42 +01:00
Floating.h Another indentation fix 2022-02-27 14:53:01 +01:00
FloatList.cpp
FloatList.h
Font.cpp Move Lexer to support/ directory (and lyx::support namespace) 2024-04-28 12:23:13 +02:00
Font.h Improve some debug messages 2020-11-26 11:09:17 +01:00
FontEnums.h
FontInfo.cpp Move Lexer to support/ directory (and lyx::support namespace) 2024-04-28 12:23:13 +02:00
FontInfo.h Move Lexer to support/ directory (and lyx::support namespace) 2024-04-28 12:23:13 +02:00
FontList.cpp
FontList.h
Format.cpp Fix bug #3205. 2021-01-10 00:43:01 -05:00
Format.h Better naming for enums 2020-12-01 00:46:21 +02:00
FuncCode.h Allow relative statistics values in statusbar. 2024-04-05 19:36:23 +02: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 Change name in source files 2020-12-05 17:17:02 -05:00
Graph.h Change name in source files 2020-12-05 17:17:02 -05:00
HunspellChecker.cpp Use a central typedef for vectors of WordLangTuple. 2021-07-16 16:39:05 +02:00
HunspellChecker.h Meet per-document spelling dictionaries (fixes #86 [sic!]) 2021-03-06 16:53:33 +01:00
IndicesList.cpp
IndicesList.h
InsetIterator.cpp Make InsetIterator compatible with range-based loops 2020-11-29 00:25:19 +02:00
InsetIterator.h Make InsetIterator compatible with range-based loops 2020-11-29 00:25:19 +02:00
InsetList.cpp
InsetList.h
Intl.cpp
Intl.h
KeyMap.cpp Move Lexer to support/ directory (and lyx::support namespace) 2024-04-28 12:23:13 +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 Cleanup included headers 2020-11-30 13:04:54 +02:00
KeySequence.h Match header/source function argument naming 2020-11-01 22:23:44 +02:00
Language.cpp Move Lexer to support/ directory (and lyx::support namespace) 2024-04-28 12:23:13 +02:00
Language.h Move Lexer to support/ directory (and lyx::support namespace) 2024-04-28 12:23:13 +02:00
LaTeX.cpp Limit nomencl backwards support to case when old package is really used 2023-11-08 16:17:58 +01:00
LaTeX.h Merge namespace signals2 into namespace lyx 2020-12-19 22:52:51 +02:00
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 Move Lexer to support/ directory (and lyx::support namespace) 2024-04-28 12:23:13 +02:00
LaTeXFonts.h Move Lexer to support/ directory (and lyx::support namespace) 2024-04-28 12:23:13 +02:00
LaTeXPackages.cpp Move Lexer to support/ directory (and lyx::support namespace) 2024-04-28 12:23:13 +02:00
LaTeXPackages.h Handle the case of outdated chkconfig.ltx in user directory 2024-04-20 14:57:12 +02:00
Layout.cpp Move Lexer to support/ directory (and lyx::support namespace) 2024-04-28 12:23:13 +02:00
Layout.h Move Lexer to support/ directory (and lyx::support namespace) 2024-04-28 12:23:13 +02:00
LayoutEnums.h
LayoutFile.cpp Move Lexer to support/ directory (and lyx::support namespace) 2024-04-28 12:23:13 +02:00
LayoutFile.h Change name in source files 2020-12-05 17:17:02 -05:00
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
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 * quote-insert lfun description 2024-04-05 19:47:20 +02:00
LyXAction.h Use range-based loops 2020-11-21 20:32:16 +02:00
lyxfind.cpp Force a Buffer * argument to MathData constructor 2024-04-24 16:26:57 +02:00
lyxfind.h refactor: keep meaning of a variable consistent 2021-07-16 15:50:30 -04:00
LyXRC.cpp Move Lexer to support/ directory (and lyx::support namespace) 2024-04-28 12:23:13 +02:00
LyXRC.h Move Lexer to support/ directory (and lyx::support namespace) 2024-04-28 12:23:13 +02:00
LyXVC.cpp Typo 2020-12-19 18:29:10 +01:00
LyXVC.h Use right style for private member 2020-12-18 14:30:21 -05:00
lyxwinres.rc
main.cpp Set correct Windows console code page since all LyX output is in UTF-8 2021-03-12 18:15:33 +02:00
Makefile.am Move Lexer to support/ directory (and lyx::support namespace) 2024-04-28 12:23:13 +02:00
MetricsInfo.cpp Little bit more debug info for unset Buffer members. 2024-04-18 18:25:47 -04:00
MetricsInfo.h Fix display of a math hull inset in a tight inset 2024-03-22 15:40:40 +01:00
ModuleList.cpp Move Lexer to support/ directory (and lyx::support namespace) 2024-04-28 12:23:13 +02:00
ModuleList.h Change name in source files 2020-12-05 17:17:02 -05:00
Mover.cpp Add new placeholder $${python} to configure 2022-01-04 00:21:34 +00:00
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 Do not try to pop from an empty stack 2022-02-04 17:23:52 +01:00
output_plaintext.cpp Refactor InsetQuotes.h enums 2020-12-01 00:46:09 +02:00
output_plaintext.h Match header/source function argument naming 2020-11-01 22:23:44 +02:00
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 Change name in source files 2020-12-05 17:17:02 -05:00
output.cpp
output.h
OutputEnums.h Change name in source files 2020-12-05 17:17:02 -05:00
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 Move Lexer to support/ directory (and lyx::support namespace) 2024-04-28 12:23:13 +02:00
ParagraphParameters.h Move Lexer to support/ directory (and lyx::support namespace) 2024-04-28 12:23:13 +02:00
ParIterator.cpp Remove useless casts reported by GCC with -Wuseless-cast option 2021-09-30 10:37:24 +03:00
ParIterator.h Get rid of std::iterator 2021-10-15 18:13:09 +02:00
PDFOptions.cpp Move Lexer to support/ directory (and lyx::support namespace) 2024-04-28 12:23:13 +02:00
PDFOptions.h Move Lexer to support/ directory (and lyx::support namespace) 2024-04-28 12:23:13 +02:00
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 Display bookmarks in the workarea (take 2). 2021-02-26 19:09:25 +01:00
Server.cpp Use specialized WINAPI functions for specialized arguments 2021-06-19 10:48:15 +02:00
Server.h Add missing header include 2020-12-20 12:42:04 +01:00
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 Use iround function, amend c0ce79452f 2020-11-27 12:16:50 +02:00
Spacing.h
SpellChecker.h Add way to remove items from document dictionary 2021-03-07 18:23:07 +01:00
TexRow.cpp Sync with master 2022-10-26 10:52:21 +02:00
TexRow.h Move several common types to support/types.h 2020-11-27 12:16:22 +02:00
texstream.cpp Sync with master 2022-10-26 10:52:21 +02:00
texstream.h
Text.cpp Move Lexer to support/ directory (and lyx::support namespace) 2024-04-28 12:23:13 +02:00
Text.h Move Lexer to support/ directory (and lyx::support namespace) 2024-04-28 12:23:13 +02:00
TextClass.cpp Move Lexer to support/ directory (and lyx::support namespace) 2024-04-28 12:23:13 +02:00
TextClass.h Move Lexer to support/ directory (and lyx::support namespace) 2024-04-28 12:23:13 +02:00
TextMetrics.cpp Comment out too verbose debug output 2024-04-10 14:06:30 +02:00
TextMetrics.h Improve the code that limits scrolling at top/bottom 2024-04-05 13:03:22 +02:00
Thesaurus.cpp Use const references 2020-11-01 22:23:26 +02:00
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 Move Lexer to support/ directory (and lyx::support namespace) 2024-04-28 12:23:13 +02:00
Trans.h Move Lexer to support/ directory (and lyx::support namespace) 2024-04-28 12:23:13 +02:00
Undo.cpp Implement undo coalescing 2024-04-05 12:50:20 +02:00
Undo.h Fixup 3aab9ad2: improve UndoGroupHelper docs again. 2021-11-14 19:14:31 +01:00
update_flags.h Next runtime messages to be ommitted if compiled with clang using flag '-fsanitize'. 2022-01-23 20:13:26 +01:00
VCBackend.cpp * better wording 2021-10-21 16:01:57 +02:00
VCBackend.h Remove redundant semicolons reported by GCC with -Wextra-semi option 2021-09-28 11:28:43 +03:00
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 Use a central typedef for vectors of WordLangTuple. 2021-07-16 16:39:05 +02:00
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