lyx_mirror/src
Jean-Marc Lasgouttes 048f9ee08e Rewrite the code that sets caret height in mathed
Instead of remembering the caret ascent and descent for the cell that contains the cursor, the new code remembers caret dimension for each MathRow object. This makes the code much less fragile (ans slightly smaller).

This fixes caret size issues when the Update::SinglePar flag is active.

Fixes bug #11541.
2019-04-16 15:58:51 +02:00
..
client Add -headerpad_max_install_names option to linker calls and make run path configuration consistent. 2018-09-21 21:46:47 +02:00
convert Add -headerpad_max_install_names option to linker calls and make run path configuration consistent. 2018-09-21 21:46:47 +02:00
frontends Listings: language updates 2019-04-15 11:55:46 +02:00
graphics Move all python shebangs from /usr/bin/env to python3. 2018-12-29 19:14:41 +00:00
insets Listings: language updates 2019-04-15 11:55:46 +02:00
mathed Rewrite the code that sets caret height in mathed 2019-04-16 15:58:51 +02:00
support Indentation 2019-03-25 16:46:03 +01:00
tests Cmake build: Use test/dummy_functions.cpp instead of support/tests/dummy_functions.cpp 2018-01-08 12:58:28 +01:00
tex2lyx Amend e55ed79d: Extend handling of Noto fonts 2019-04-08 11:44:53 +02:00
.gitignore
AppleSpellChecker.cpp Fix editorial whitespace error 2017-07-30 09:30:58 +02:00
AppleSpellChecker.h
AspellChecker.cpp Fix editorial whitespace issues, e.g. extra space before semicolon 2017-07-30 00:54:12 +02:00
AspellChecker.h
Author.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
Author.h GuiChanges: provide feedback when there are no more changes 2016-05-29 17:55:42 -04:00
BiblioInfo.cpp Differentiate Buffer strings and GUI strings in citeengines 2018-01-27 14:29:41 +01:00
BiblioInfo.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
boost.cpp
Box.cpp
Box.h
BranchList.cpp Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
BranchList.h
buffer_funcs.cpp Disambiguate dialog buttons 2018-08-14 17:05:40 +02:00
buffer_funcs.h
Buffer.cpp Improve error message 2019-04-03 17:58:20 +02:00
Buffer.h Add support for mixed-encoded biblatex files 2019-03-29 15:45:55 +01:00
BufferEncodings.cpp unicodesymbols: add general way to require a feature only for specific encodings 2018-04-28 13:31:29 +02:00
BufferEncodings.h
BufferList.cpp Use range-based loops in BufferList 2019-02-25 15:19:58 +01:00
BufferList.h Use range-based loops in BufferList 2019-02-25 15:19:58 +01:00
BufferParams.cpp Do not switch the input encoding inside documents using platex. 2019-04-12 18:08:17 +02:00
BufferParams.h Add support for mixed-encoded biblatex files 2019-03-29 15:45:55 +01:00
BufferView.cpp Rewrite the code that sets caret height in mathed 2019-04-16 15:58:51 +02:00
BufferView.h Rewrite the code that sets caret height in mathed 2019-04-16 15:58:51 +02:00
Bullet.cpp
Bullet.h
Changes.cpp Amend bd21aa9 2018-12-06 10:30:58 +01:00
Changes.h Make the generation of children's tocs more robust 2017-01-14 23:13:14 +01:00
Chktex.cpp grammar 2018-02-18 09:19:03 +01:00
Chktex.h Remove boost/format support 2016-05-29 17:55:45 -04:00
Citation.h Support for "qualified citation lists" 2017-01-21 14:25:17 +01:00
CiteEnginesList.cpp Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
CiteEnginesList.h Fix bug #10901. 2018-02-23 23:17:57 -05:00
CMakeLists.txt Cmake build: Only use the new lyxconvert on MAC 2017-10-03 22:12:23 +02:00
CmdDef.cpp Fix bug #10909. 2018-02-23 23:38:31 -05:00
CmdDef.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
Color.cpp Collapsable -> Collapsible (part 2) 2017-10-16 10:12:21 +02:00
Color.h
ColorCode.h Collapsable -> Collapsible (part 2) 2017-10-16 10:12:21 +02:00
ColorSet.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
Compare.cpp Rename Paragraph::setBuffer to Paragraph::setInsetBuffers, to avoid 2017-10-16 15:48:47 -04:00
Compare.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
CompletionList.h
Converter.cpp Use a copy of BufferParams 2018-05-05 15:26:58 +02:00
Converter.h Fix some problems with background cancellation. 2018-04-16 14:02:20 -04:00
ConverterCache.cpp Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
ConverterCache.h
CoordCache.cpp Improve debug message 2015-11-20 22:43:45 +01:00
CoordCache.h Get rid of ParagraphMetrics::insetDimension 2015-10-19 13:17:16 +02:00
Counters.cpp Revert "Use swap in InsetText::updateBuffer for notes ad friends" 2018-09-18 23:07:48 +02:00
Counters.h Revert "Use swap in InsetText::updateBuffer for notes ad friends" 2018-09-18 23:07:48 +02:00
Cursor.cpp Allow to undo partly math autocorrect 2019-04-16 14:12:34 +02:00
Cursor.h Allow to undo partly math autocorrect 2019-04-16 14:12:34 +02:00
CursorSlice.cpp Rename some macro-related insets 2017-07-05 14:46:34 +02:00
CursorSlice.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
CutAndPaste.cpp Do not check for duplicates when pasting a label into a non-outputting inset. 2019-01-25 14:40:30 +01:00
CutAndPaste.h Do not remove character at start of paragraph when cutting 2018-07-22 23:20:21 +02:00
DepTable.cpp Use FileName::lastModified() intead of stat() in DepTable 2017-03-13 17:06:42 +01:00
DepTable.h Fix compilation warning in DepTable.cpp 2017-03-20 15:38:08 +01:00
Dimension.cpp Fix LASSERT correction 2015-10-10 21:38:17 +02:00
Dimension.h Fix embarrassing typo 2018-12-17 15:33:47 +01:00
DispatchResult.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
DocIterator.cpp Remove special code for CJK that is no longer required (amends e665715fc4). 2019-03-13 11:13:44 +01:00
DocIterator.h Remove unused mathod (CursorSlice::at_cell_end is the same) 2019-01-04 13:55:57 +01:00
DocumentClassPtr.h Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
EnchantChecker.cpp Add support for enchant 2.x 2018-01-30 12:11:22 +01:00
EnchantChecker.h
Encoding.cpp platex input encodings: move handling of some "force" exceptions to unicodesymbols. 2019-04-12 18:08:17 +02:00
Encoding.h Fix remainder of #9681 (textcyrillic and textgreek handling). 2019-03-19 22:46:33 +01:00
ErrorList.cpp Initialize pointer class member 2017-03-01 16:34:01 +01:00
ErrorList.h Move class definitions inside main class 2016-10-22 23:24:01 +02:00
Exporter.cpp
Exporter.h
factory.cpp Fix bug #10932. 2018-02-24 00:30:24 -05:00
factory.h
Floating.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
Floating.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
FloatList.cpp Add more Float tags to allow to disable wide and sideways feature 2015-05-22 18:59:17 +02:00
FloatList.h Add more Float tags to allow to disable wide and sideways feature 2015-05-22 18:59:17 +02:00
Font.cpp Treat math style a bit more like other font features 2019-03-22 16:19:05 +01:00
Font.h Give textstyle-apply a history 2018-12-26 15:46:14 +01:00
FontEnums.h Treat math style a bit more like other font features 2019-03-22 16:19:05 +01:00
FontInfo.cpp Treat math style a bit more like other font features 2019-03-22 16:19:05 +01:00
FontInfo.h Treat math style a bit more like other font features 2019-03-22 16:19:05 +01:00
FontList.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
FontList.h Rewrite setRowHeight using row information 2016-05-30 14:55:41 +02:00
Format.cpp Fix bug #9622 2018-12-14 11:41:16 +01:00
Format.h Move the global formats and system_formats variables into the 2017-03-13 23:40:29 -04:00
FuncCode.h Introducing table templates 2019-03-26 13:43:33 +01:00
FuncRequest.cpp Fix #8338. 2018-04-20 23:37:58 -04:00
FuncRequest.h Comment: buffer-forall should be run synchronously 2018-04-21 23:05:21 -04:00
FuncStatus.cpp
FuncStatus.h
Graph.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
Graph.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
HunspellChecker.cpp Adapt to new hunspell C++ ABI 2018-03-29 18:43:11 +02:00
HunspellChecker.h
IndicesList.cpp Fix bug #10915. 2018-02-23 23:47:05 -05:00
IndicesList.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
InsetIterator.cpp
InsetIterator.h
InsetList.cpp Cosmetics 2018-05-28 12:33:17 +02:00
InsetList.h Cosmetics 2018-05-28 12:33:17 +02:00
Intl.cpp
Intl.h
KeyMap.cpp Do not use GUI language for shortcut info inset if no translation is available 2019-03-09 12:00:40 +01:00
KeyMap.h Do not use GUI language for shortcut info inset if no translation is available 2019-03-09 12:00:40 +01:00
KeySequence.cpp Do not use GUI language for shortcut info inset if no translation is available 2019-03-09 12:00:40 +01:00
KeySequence.h Do not use GUI language for shortcut info inset if no translation is available 2019-03-09 12:00:40 +01:00
Language.cpp Add date-related info insets 2018-08-05 10:01:36 +02:00
Language.h Add date-related info insets 2018-08-05 10:01:36 +02:00
LaTeX.cpp Consider sub-subfiles on log file parsing. 2018-04-14 14:33:21 +02:00
LaTeX.h Allow makeindex, nomencl, and bibtex runs to be canceled, too. 2017-12-21 18:55:39 -05:00
LaTeXFeatures.cpp Do not switch the input encoding inside documents using platex. 2019-04-12 18:08:17 +02:00
LaTeXFeatures.h Proper logos with RTL 2018-07-15 20:56:55 +02:00
LaTeXFonts.cpp Align fontenc with document fonts 2018-04-22 19:06:46 +02:00
LaTeXFonts.h Add T1 fontenc as fallback for no font 2018-04-23 18:35:11 +02:00
LaTeXPackages.cpp
LaTeXPackages.h
Layout.cpp Add NeedMBoxProtect [inset]layout option 2019-03-12 14:08:05 +01:00
Layout.h Add NeedMBoxProtect [inset]layout option 2019-03-12 14:08:05 +01:00
LayoutEnums.h Implement PassThru option to arguments. 2016-10-21 10:39:55 +02:00
LayoutFile.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
LayoutFile.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
LayoutModuleList.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
LayoutModuleList.h Fix bug #11055. 2018-01-28 23:37:20 -05:00
Length.cpp Move the inPixels(MetricsBase) help from Length to MetricsBase. 2018-01-05 20:14:04 +01:00
Length.h Move the inPixels(MetricsBase) help from Length to MetricsBase. 2018-01-05 20:14:04 +01:00
lengthcommon.cpp Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
Lexer.cpp Fix Lexer::getLongString prefix pruning logic 2017-08-29 15:30:44 +02:00
Lexer.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
lyx_commit_hash.h.in
LyX.cpp Reorganize templates and example folders 2019-03-19 07:13:18 +01:00
LyX.h Move the global formats and system_formats variables into the 2017-03-13 23:40:29 -04:00
LyXAction.cpp booktabs: support for \cmidrule trimming 2019-04-03 07:59:52 +02:00
LyXAction.h Add prefs2prefs code for vcs info inset renaming 2018-08-18 16:11:08 +02:00
lyxfind.cpp FindAdv: Cosmetics 2019-03-21 12:58:16 +01:00
lyxfind.h Fix #11505. Count and display number of replaced strings in FindAdv 2019-03-13 14:06:18 +01:00
LyXRC.cpp Silence compiler warning 2019-03-08 16:48:49 +01:00
LyXRC.h Remove support for pixmap cache 2018-10-07 14:56:55 +02:00
LyXVC.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
LyXVC.h Do some caching of window title and related UI 2016-10-19 11:59:47 +02:00
lyxwinres.rc
main.cpp Avoid an assertion when compiling in debug mode with MSVC 2015 2017-04-12 21:19:42 +02:00
Makefile.am Make callstack printing useful and optional 2019-02-25 17:58:06 +01:00
MetricsInfo.cpp Treat math style a bit more like other font features 2019-03-22 16:19:05 +01:00
MetricsInfo.h Use a unicode character for menu separator on screen 2018-07-19 23:05:00 +02:00
ModuleList.cpp Fix indentation 2016-06-26 14:26:35 +02:00
ModuleList.h Make module categories (almost) great again 2019-04-04 18:43:29 +02:00
Mover.cpp
Mover.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
output_docbook.cpp Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
output_docbook.h
output_latex.cpp Do not switch the input encoding inside documents using platex. 2019-04-12 18:08:17 +02:00
output_latex.h Group the switch of encoding for listings in utf8 documents 2018-05-01 14:21:05 +02:00
output_plaintext.cpp Fix bracket output in RTL languages 2018-07-15 14:26:29 +02:00
output_plaintext.h
output_xhtml.cpp Revert "ABOVE and CENTERED labels need special treatment." 2017-10-16 21:28:44 -04:00
output_xhtml.h Add support to cross out characters 2017-04-05 00:01:19 +02:00
output.cpp Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
output.h
OutputEnums.h
OutputParams.cpp Move labels and insets out of moving arguments 2019-03-14 14:24:43 +01:00
OutputParams.h Move labels and insets out of moving arguments 2019-03-14 14:24:43 +01:00
paper.h Convert remaining C++ files to UTF-8 2015-12-05 19:33:24 +00:00
Paragraph.cpp Fix remainder of #9681 (textcyrillic and textgreek handling). 2019-03-19 22:46:33 +01:00
Paragraph.h Fix bracket output in RTL languages 2018-07-15 14:26:29 +02:00
ParagraphList.h
ParagraphMetrics.cpp Remove row crc computation 2017-11-11 13:24:08 +01:00
ParagraphMetrics.h Remove row crc computation 2017-11-11 13:24:08 +01:00
ParagraphParameters.cpp
ParagraphParameters.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
ParIterator.cpp
ParIterator.h
PDFOptions.cpp Load hyperref with a suitable driver 2018-04-08 19:02:01 +02:00
PDFOptions.h Add some missing member variable initializations 2015-09-13 19:47:21 +02:00
PersonalWordList.cpp
PersonalWordList.h
PrinterParams.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
PrinterParams.h
Row.cpp Try to compute row height like it should be done 2019-01-16 11:04:53 +01:00
Row.h Rename Row::dimension() to dim() 2019-02-18 15:47:27 +01:00
RowPainter.cpp Put end label on own row after display inset 2019-04-03 11:17:14 +02:00
RowPainter.h Paint underline for insets too. 2018-09-20 11:58:08 +02:00
Server.cpp Fix LyX server on Windows 2018-08-07 17:56:07 +02:00
Server.h Properly track the lifetime of signals2::slots (#8261) 2017-06-11 19:51:17 +02:00
ServerSocket.cpp Fix missing include for file i/o prototypes after header cleanup in change 489dca71cd 2016-07-04 10:30:19 +02:00
ServerSocket.h Replace support/shared_ptr.h and boost::shared_ptr with std::shared_ptr 2016-06-09 15:21:39 +01:00
Session.cpp Avoid asserting when reading the session file 2017-12-02 10:46:46 +01:00
Session.h The shell escape patch 2017-08-03 13:07:41 +02:00
sgml.cpp Make static counters atomic 2016-07-31 18:34:33 +01:00
sgml.h
Spacing.cpp Fix switch of language and line spacing in InTitle commands. 2017-12-23 13:27:10 +01:00
Spacing.h Fix switch of language and line spacing in InTitle commands. 2017-12-23 13:27:10 +01:00
SpellChecker.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
TexRow.cpp Improvement to the reverse-search algorithm 2016-10-22 23:24:01 +02:00
TexRow.h Fix compilation on cygwin & others 2016-10-23 00:25:05 +02:00
texstream.cpp Use HAVE_LONG_LONG_INT instead of LYX_USE_LONG_LONG 2019-03-21 14:18:17 +01:00
texstream.h Amend bd21aa9 2018-12-06 10:30:58 +01:00
Text2.cpp Do a round of DEPM after changing layout 2019-02-18 15:36:21 +01:00
Text3.cpp tabular-style-insert: add rows also for 1x and 2x tables 2019-04-07 12:10:03 +02:00
Text.cpp Put end label on own row after display inset 2019-04-03 11:17:14 +02:00
Text.h Put end label on own row after display inset 2019-04-03 11:17:14 +02:00
TextClass.cpp Add TableStyle layout tag 2019-03-26 17:42:56 +01:00
TextClass.h Add TableStyle layout tag 2019-03-26 17:42:56 +01:00
TextMetrics.cpp Fixup 283ac91a: Forgotten test for null pointer 2019-04-03 12:13:13 +02:00
TextMetrics.h Make TextMetrics noncopyable 2019-03-12 16:03:22 +01:00
Thesaurus.cpp Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
Thesaurus.h Forbid wrong compiler generated copy constructors 2015-09-20 19:43:06 +02:00
Toc.h Replace support/shared_ptr.h and boost::shared_ptr with std::shared_ptr 2016-06-09 15:21:39 +01:00
TocBackend.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
TocBackend.h Collect the outliner names for the children's tocs 2017-01-14 23:13:14 +01:00
TocBuilder.cpp Reorganise and simplify 2017-01-09 23:15:16 +01:00
TocBuilder.h Reorganise and simplify 2017-01-09 23:15:16 +01:00
Trans.cpp Fix bug #10930. 2018-02-24 00:28:37 -05:00
Trans.h Add missing intializations 2015-10-10 21:04:28 +02:00
Undo.cpp Allow to undo partly math autocorrect 2019-04-16 14:12:34 +02:00
Undo.h Allow to undo partly math autocorrect 2019-04-16 14:12:34 +02:00
update_flags.h Revert "Update documentation" 2018-05-02 12:38:40 +02:00
VCBackend.cpp RCS: commit undo allowed only in unlocked state. 2018-01-10 10:47:48 +01:00
VCBackend.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
version.cpp
version.h Extend handling of Noto fonts 2019-04-07 11:05:42 +02:00
VSpace.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
VSpace.h
WordLangTuple.h #9496 factor out getting language from LFUN args or cursor position in speller LFUNs 2015-07-16 21:59:15 +02:00
WordList.cpp Fix trailing whitespace in cpp files. 2017-07-03 13:53:14 -04:00
WordList.h Fix memory leak with WordLists 2016-12-31 15:29:43 +01:00