lyx_mirror/src
Jean-Marc Lasgouttes 4b69f5efa7 Fix setting of row pos/endpos (overlapping rows)
In TextMetrics::breakParagraph, get rid of the fragile `pos' local
variable, which was not correctly updated. Rely on the endpos of the
last element in row instead.

Rewrite cleanupRow to rely on the endpos of last the row element to
set row endpos, instead of a `pos' parameter.
2021-12-07 17:04:47 +01: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 Handle the case where breakAt cuts after trailing space 2021-12-07 17:04:47 +01:00
graphics prevent Qt6 from defining UNICODE (Qt6.1.1 and upwards) 2021-06-19 10:48:49 +02:00
insets Implement Row::Element::row_flags 2021-12-07 17:04:47 +01:00
mathed Implement Row::Element::row_flags 2021-12-07 17:04:47 +01:00
support Refactor file-name sanitisation. 2021-10-19 09:15:44 +02:00
tests gzstream is able to read uncompressed files too 2021-11-24 11:44:53 +01:00
tex2lyx gzstream is able to read uncompressed files too 2021-11-24 11:44:53 +01: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 Remove useless casts reported by GCC with -Wuseless-cast option 2021-09-30 10:37:24 +03:00
BiblioInfo.h Change name in source files 2020-12-05 17:17:02 -05: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 Reduce includes in header files 2020-10-19 17:33:51 +03:00
buffer_funcs.h Remove unused forward declarations 2020-10-13 09:57:36 +03:00
Buffer.cpp Factor out Buffer::requestSpellcheck() function 2021-11-25 17:04:17 +01:00
Buffer.h Factor out Buffer::requestSpellcheck() function 2021-11-25 17:04:17 +01:00
BufferEncodings.cpp Make InsetIterator compatible with range-based loops 2020-11-29 00:25:19 +02:00
BufferEncodings.h Clean includes using the output of iwyu tool 2020-10-20 11:38:55 +03:00
BufferList.cpp Fix compilation for clang 3.7 with libc++ 2021-04-06 12:07:42 +02:00
BufferList.h Clean includes using the output of iwyu tool 2020-10-20 11:38:55 +03:00
BufferParams.cpp Provide proper fallback if a bibliography processor is not found 2021-10-17 17:14:14 +02:00
BufferParams.h Provide proper fallback if a bibliography processor is not found 2021-10-17 17:14:14 +02:00
BufferView.cpp Fixup 1cbbe5c3: fix scrollbar with page down 2021-11-13 19:24:05 +01:00
BufferView.h Rename BufferView::updateScrollbar to show what does 2021-10-29 17:45:51 +02:00
Bullet.cpp Make master compilable again with older gcc. 2020-10-21 00:01:03 +02:00
Bullet.h Use SVG icons in itemize bullet selector 2021-02-09 10:32:16 +01:00
Changes.cpp Make color description "changed" rather than "added" 2021-11-01 12:47:11 +01:00
Changes.h More enums & includes refactoring 2020-12-06 18:26:41 +02:00
Chktex.cpp
Chktex.h
Citation.h Remove unused forward declarations 2020-10-13 09:57:36 +03:00
CiteEnginesList.cpp Change name in source files 2020-12-05 17:17:02 -05: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 Reduce includes in header files 2020-10-19 17:33:51 +03:00
CmdDef.h Reduce includes in header files 2020-10-19 17:33:51 +03:00
Color.cpp Make color description "changed" rather than "added" 2021-11-01 12:47:11 +01:00
Color.h Branch: Implement separate static colors in dark mode 2021-01-19 17:04:04 +01:00
ColorCode.h Make color description "changed" rather than "added" 2021-11-01 12:47:11 +01:00
ColorSet.h Set GUI name for local greyedouttext color (#12130) 2021-02-11 09:05:42 +01:00
Compare.cpp Allow to call cap::switchBetweenClasses without an ErrorList. 2021-02-25 21:49:50 -05:00
Compare.h Reduce includes in header files 2020-10-19 17:33:51 +03:00
CompletionList.h
Converter.cpp Provide proper fallback if a bibliography processor is not found 2021-10-17 17:14:14 +02:00
Converter.h Better naming for enums 2020-12-01 00:46:21 +02:00
ConverterCache.cpp Refactor checksum calculation 2020-11-21 20:32:43 +02:00
ConverterCache.h
CoordCache.cpp Clean includes using the output of iwyu tool 2020-10-20 11:38:55 +03:00
CoordCache.h Make CoordCache assertions less annoying. 2021-10-09 12:25:29 +02:00
Counters.cpp Change name in source files 2020-12-05 17:17:02 -05:00
Counters.h LaTeXName tag for counters. Layout format change. 2020-12-05 16:46:33 -05:00
Cursor.cpp Always remove selection after cursor up/down 2021-06-30 16:51:58 +02:00
Cursor.h Always remove selection after cursor up/down 2021-06-30 16:51:58 +02: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 Mark c&p buffers internal. Cures assertion (#12246) 2021-04-11 17:25:17 +02:00
CutAndPaste.h Allow to call cap::switchBetweenClasses without an ErrorList. 2021-02-25 21:49:50 -05:00
DepTable.cpp Clean includes using the output of iwyu tool 2020-10-20 11:38:55 +03:00
DepTable.h Reduce includes in header files 2020-10-19 17:33:51 +03:00
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 Simplify DocIterator 2020-11-30 13:04:58 +02:00
DocIterator.h Factor out the list of macro definitions for InsetPreview. 2021-10-13 19:26:49 +02: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 Clean includes using the output of iwyu tool 2020-10-20 11:38:55 +03:00
Encoding.h Fix compilation on cygwin 2020-10-23 15:00:23 +02:00
ErrorList.cpp Refactoring 2020-10-05 14:55:00 +02:00
ErrorList.h Clean includes using the output of iwyu tool 2020-10-20 11:38:55 +03:00
Exporter.cpp
Exporter.h
factory.cpp Use const references 2020-11-01 22:23:26 +02:00
factory.h
Floating.cpp DocBook: recognise Tufte's float types (margin*). 2021-12-05 22:54:51 +01:00
Floating.h Fix a few warnings in Floating. 2021-09-24 01:19:28 +02:00
FloatList.cpp
FloatList.h
Font.cpp Do not \cprotect \textcolor 2020-11-24 15:19:56 +01:00
Font.h Improve some debug messages 2020-11-26 11:09:17 +01:00
FontEnums.h
FontInfo.cpp Simplify Changers 2020-11-12 14:22:00 +02:00
FontInfo.h Fix display of emphasize in slanted text 2021-03-07 13:32:34 +01:00
FontList.cpp Clean includes using the output of iwyu tool 2020-10-20 11:38:55 +03:00
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 Always remove selection after cursor up/down 2021-06-30 16:51:58 +02:00
FuncRequest.cpp Simplify FuncRequest constructors 2020-12-03 00:38:12 +02:00
FuncRequest.h Simplify FuncRequest constructors 2020-12-03 00:38:12 +02:00
FuncStatus.cpp
FuncStatus.h Make master compilable again with older gcc. 2020-10-21 00:01:03 +02:00
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 Use range-based loops 2020-11-21 20:32:16 +02:00
KeyMap.h
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 Match header/source function argument naming 2020-11-01 22:23:44 +02:00
Language.h Fix compilation on cygwin 2020-10-23 15:00:23 +02:00
LaTeX.cpp Provide proper fallback if a bibliography processor is not found 2021-10-17 17:14:14 +02:00
LaTeX.h Merge namespace signals2 into namespace lyx 2020-12-19 22:52:51 +02:00
LaTeXFeatures.cpp Make color description "changed" rather than "added" 2021-11-01 12:47:11 +01:00
LaTeXFeatures.h Fix compilation on cygwin 2020-11-30 11:32:35 +01:00
LaTeXFonts.cpp Constify LaTeXFont 2020-11-01 22:25:08 +02:00
LaTeXFonts.h Constify LaTeXFont 2020-11-01 22:25:08 +02:00
LaTeXPackages.cpp
LaTeXPackages.h
Layout.cpp DocBook: add support for DocBookArgumentAfterMainTag. 2021-02-17 21:09:21 +01:00
Layout.h DocBook: add support for DocBookArgumentAfterMainTag. 2021-02-17 21:09:21 +01:00
LayoutEnums.h
LayoutFile.cpp Include standard <regex> 2020-11-29 15:27:28 +02:00
LayoutFile.h Change name in source files 2020-12-05 17:17:02 -05:00
LayoutModuleList.cpp
LayoutModuleList.h Change name in source files 2020-12-05 17:17:02 -05:00
Lexer.cpp gzstream is able to read uncompressed files too 2021-11-24 11:44:53 +01:00
Lexer.h Match header/source function argument naming 2020-11-01 22:23:44 +02:00
lyx_commit_hash.h.in
LyX.cpp Produce an error on bad debug level values 2021-03-26 17:55:54 +01:00
LyX.h
LyXAction.cpp Make primary-selection unknown when not supported 2021-11-22 10:30:43 +01:00
LyXAction.h Use range-based loops 2020-11-21 20:32:16 +02:00
lyxfind.cpp FindAdv: Added handling of 0x019b 2021-11-12 13:29:22 +01:00
lyxfind.h refactor: keep meaning of a variable consistent 2021-07-16 15:50:30 -04:00
LyXRC.cpp #12201 force open document in tabs on Mac when user preference is Always 2021-10-23 13:34:18 +02:00
LyXRC.h Remove redundant semicolons reported by GCC with -Wextra-semi option 2021-09-28 11:28:43 +03: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 Implement Row::Element::row_flags 2021-12-07 17:04:47 +01:00
MetricsInfo.cpp Rework display of numbers in margins of hull insets 2021-07-09 23:46:16 +02:00
MetricsInfo.h Rework display of numbers in margins of hull insets 2021-07-09 23:46:16 +02:00
ModuleList.cpp Change name in source files 2020-12-05 17:17:02 -05:00
ModuleList.h Change name in source files 2020-12-05 17:17:02 -05:00
Mover.cpp
Mover.h Add override specifiers to improve code maintainability 2020-10-03 12:43:48 +02:00
output_docbook.cpp Fix sign-compare warning 2021-10-14 23:50:08 -04:00
output_docbook.h Change name in source files 2020-12-05 17:17:02 -05:00
output_latex.cpp Support non-default styles in multirow 2021-01-23 14:53:51 +01:00
output_latex.h More enums & includes refactoring 2020-12-06 18:26:41 +02: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 Change name in source files 2020-12-05 17:17:02 -05: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 Better naming for enums 2020-12-01 00:46:21 +02:00
OutputParams.h \\noindent in a paragraph that starts with \\vspace is possible 2021-10-31 11:56:53 +01:00
paper.h
Paragraph.cpp Whitespace 2021-11-25 18:47:23 +01:00
Paragraph.h Factor out Paragraph::isPartOfTextSequence 2021-10-31 09:26:57 +01:00
ParagraphList.h Simplify code to generate only one paragraph at a time. 2020-09-19 20:43:37 +02:00
ParagraphMetrics.cpp More enums & includes refactoring 2020-12-06 18:26:41 +02:00
ParagraphMetrics.h Small Row cleanups 2021-12-07 17:04:46 +01:00
ParagraphParameters.cpp Match header/source function argument naming 2020-11-01 22:23:44 +02:00
ParagraphParameters.h Use const references 2020-11-01 22:23:26 +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 Better naming for enums 2020-12-01 00:46:21 +02:00
PDFOptions.h Clean includes using the output of iwyu tool 2020-10-20 11:38:55 +03:00
PersonalWordList.cpp Clean includes using the output of iwyu tool 2020-10-20 11:38:55 +03:00
PersonalWordList.h
Row.cpp Fix setting of row pos/endpos (overlapping rows) 2021-12-07 17:04:47 +01:00
Row.h Centralize the code that removes trailing spaces from end row element. 2021-12-07 17:04:47 +01:00
RowFlags.h Implement Row::Element::row_flags 2021-12-07 17:04:47 +01:00
RowPainter.cpp Small Row cleanups 2021-12-07 17:04:46 +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 Clean includes using the output of iwyu tool 2020-10-20 11:38:55 +03:00
ServerSocket.h
Session.cpp Adjust bookmark position when inserting/deleting from paragraph 2021-03-11 16:00:32 +01:00
Session.h Remove redundant semicolons reported by GCC with -Wextra-semi option 2021-09-28 11:28:43 +03: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 Move include of own header to the top. Fix dependencies 2020-10-25 19:58:57 +02:00
TexRow.h Move several common types to support/types.h 2020-11-27 12:16:22 +02:00
texstream.cpp
texstream.h
Text2.cpp Amend d3c335a5d5 2021-10-05 17:10:51 +03:00
Text3.cpp Factor out Buffer::requestSpellcheck() function 2021-11-25 17:04:17 +01:00
Text.cpp Improve display of META_INSET in status bar. 2021-10-15 11:11:57 +02:00
Text.h Consider selection scope when DEPM after CT acceptance/rejection (#2166) 2021-03-02 09:15:33 +01:00
TextClass.cpp DocBook: add the DocBookRenderAsImage tag. 2021-10-13 19:26:48 +02:00
TextClass.h Fix bug #12068 2021-01-14 01:15:19 -05:00
TextMetrics.cpp Fix setting of row pos/endpos (overlapping rows) 2021-12-07 17:04:47 +01:00
TextMetrics.h Last step of transition: use sortenIfNeeded again. 2021-12-07 17:04:47 +01:00
Thesaurus.cpp Use const references 2020-11-01 22:23:26 +02:00
Thesaurus.h Clean includes using the output of iwyu tool 2020-10-20 11:38:55 +03:00
Toc.h
TocBackend.cpp Replace calls from make_unique to lyx::make_unique 2021-01-15 11:36:14 +01:00
TocBackend.h Constify 2020-10-25 09:28:34 +02:00
TocBuilder.cpp Clean includes using the output of iwyu tool 2020-10-20 11:38:55 +03:00
TocBuilder.h Clean includes using the output of iwyu tool 2020-10-20 11:38:55 +03:00
Trans.cpp Clean includes using the output of iwyu tool 2020-10-20 11:38:55 +03:00
Trans.h Add override specifiers to improve code maintainability 2020-10-03 12:43:48 +02:00
Undo.cpp Allow to call cap::switchBetweenClasses without an ErrorList. 2021-02-25 21:49:50 -05:00
Undo.h Fixup 3aab9ad2: improve UndoGroupHelper docs again. 2021-11-14 19:14:31 +01:00
update_flags.h Force redraw of all bufferviews after zoom in/out 2021-02-03 15:42:11 +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 Amend 0f782b0d: add the required changes to lyx2lyx. 2021-03-23 21:12:45 +01:00
VSpace.cpp Amend d3c335a5d5 2021-10-05 17:10:51 +03: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
xml.cpp XML: add a check for a typical case in the xml name space. 2021-09-21 01:21:25 +02:00
xml.h Remove redundant declarations reported by GCC with -Wredundant-decls option 2021-09-28 20:59:21 +03:00