lyx_mirror/src
Jean-Marc Lasgouttes 869174e295 Fixup the fixup 4499680b: use editable()/isActive()
While 1c07c0dc was too strong and broke mathed, 4499680b is too
lenient and can accept insets (mathed/CommandInset, InsetInfo) that
have a positive nargs() but are not editable (because they encapsulate
something).

Therefore the best solution for now is to use editable() in text and
isActive() in mathed, until those two things are merged.

Part of #10667.

(cherry picked from commit 13c3c1485b)
2017-07-03 11:59:24 +02:00
..
client Make monolithic build code portable to Mac OS 2016-06-15 22:32:52 +01:00
frontends Cache QTextLayout objects with Qt/Mac 2017-06-01 10:54:28 +02:00
graphics Revert part of c053a9394d 2016-04-25 20:59:25 +02:00
insets Fix bug #10705 2017-06-26 23:10:30 +02:00
mathed Set cursor properly after double/triple click in mathed 2017-06-15 10:21:18 +02:00
support backport fix for bug #10440 2017-04-20 22:20:50 +02:00
tests backport fix for bug #10440 2017-04-20 22:20:50 +02:00
tex2lyx backport fix for bug #10440 2017-04-20 22:20:50 +02:00
.gitignore
AppleSpellChecker.cpp
AppleSpellChecker.h
AspellChecker.cpp
AspellChecker.h
Author.cpp GuiChanges: provide feedback when there are no more changes 2016-06-15 22:32:53 +01:00
Author.h GuiChanges: provide feedback when there are no more changes 2016-06-15 22:32:53 +01:00
BiblioInfo.cpp Consider text-mode accents of the form {\v a} in BiblioInfo 2017-03-19 16:53:12 +01:00
BiblioInfo.h Improve info display for biblatex databases, part II 2016-10-23 08:11:14 +02:00
boost.cpp
Box.cpp
Box.h
BranchList.cpp
BranchList.h
buffer_funcs.cpp Allow LyX to open empty files (created, e.g., via "touch"). 2017-01-19 15:37:08 -05:00
buffer_funcs.h
Buffer.cpp Fix crash with full view source (#10560 and #10617) 2017-06-17 20:05:59 +02:00
Buffer.h Automatically show the review toolbar if the document has tracked changes 2016-06-15 22:32:53 +01:00
BufferEncodings.cpp
BufferEncodings.h
BufferList.cpp Simple cache for information on exportable formats, since we seem 2017-05-24 21:39:22 -04:00
BufferList.h Simple cache for information on exportable formats, since we seem 2017-05-24 21:39:22 -04:00
BufferParams.cpp These two routines are now redundant. 2017-05-24 23:44:03 -04:00
BufferParams.h These two routines are now redundant. 2017-05-24 23:44:03 -04:00
BufferView.cpp Fix height of cursor inside insets 2016-11-04 17:58:32 +01:00
BufferView.h
Bullet.cpp
Bullet.h
Changes.cpp Strike out (in the output) deleted display math with track-changes 2016-11-05 21:31:09 +01:00
Changes.h Automatically show the review toolbar if the document has tracked changes 2016-06-15 22:32:53 +01:00
Chktex.cpp
Chktex.h
Citation.h
CMakeLists.txt
CmdDef.cpp
CmdDef.h
Color.cpp Color.cpp: backport fix for bug #10656 2017-05-16 23:47:35 +02:00
Color.h
ColorCode.h
ColorSet.h
Compare.cpp Fix bug #10295. 2017-06-04 18:32:33 -04:00
Compare.h
CompletionList.h
Converter.cpp Use a typedef for vector<Format const *>, which is what gets used 2017-05-24 23:35:51 -04:00
Converter.h Use a typedef for vector<Format const *>, which is what gets used 2017-05-24 23:35:51 -04:00
ConverterCache.cpp
ConverterCache.h
CoordCache.cpp
CoordCache.h
Counters.cpp When a counter is stepped, reset recursively all slaves 2016-05-28 17:41:20 -04:00
Counters.h When a counter is stepped, reset recursively all slaves 2016-05-28 17:41:20 -04:00
Cursor.cpp Make sanitize more robust to dangling pointers. 2017-02-02 13:57:12 +01:00
Cursor.h
CursorSlice.cpp
CursorSlice.h
CutAndPaste.cpp Make insertInset use a temporary cut-and-paste area. 2016-11-23 12:26:05 +01:00
CutAndPaste.h Make insertInset use a temporary cut-and-paste area. 2016-11-23 12:26:05 +01:00
DepTable.cpp
DepTable.h
Dimension.cpp
Dimension.h
DispatchResult.h Automatically show the review toolbar if the document has tracked changes 2016-06-15 22:32:53 +01:00
DocIterator.cpp Fixup the fixup 4499680b: use editable()/isActive() 2017-07-03 11:59:24 +02:00
DocIterator.h
DocumentClassPtr.h
EnchantChecker.cpp
EnchantChecker.h
Encoding.cpp Do not add symbols twice to Encoding::symbolsList() 2017-05-16 13:37:29 +02:00
Encoding.h
ErrorList.cpp
ErrorList.h
Exporter.cpp
Exporter.h
factory.cpp Introduce the latexpar separator. 2016-04-06 05:25:27 +02:00
factory.h
Floating.cpp Simplify CSS classes for floats. 2016-07-31 03:45:05 -04:00
Floating.h
FloatList.cpp
FloatList.h
Font.cpp Fix bug #10685 2017-06-06 00:01:14 +02:00
Font.h Fix bugs #9598 and #10650 2017-06-05 23:14:48 +02:00
FontEnums.h
FontInfo.cpp
FontInfo.h
FontList.cpp
FontList.h
Format.cpp Better title for ViewSource 2016-10-22 20:07:42 +02:00
Format.h
FuncCode.h Add the icon-size to the toolbar menu 2016-11-25 10:33:21 +01:00
FuncRequest.cpp
FuncRequest.h
FuncStatus.cpp
FuncStatus.h
Graph.cpp
Graph.h
HSpace.cpp
HSpace.h
HunspellChecker.cpp Correct path names were to look for RPM based dictionaries for hunspell on Linux. 2016-06-12 14:02:35 +02:00
HunspellChecker.h
IndicesList.cpp
IndicesList.h
InsetIterator.cpp
InsetIterator.h
InsetList.cpp
InsetList.h
Intl.cpp
Intl.h
KeyMap.cpp
KeyMap.h
KeySequence.cpp
KeySequence.h
Language.cpp Issue an error message if conflicting languages are used 2016-10-31 10:26:35 +01:00
Language.h Issue an error message if conflicting languages are used 2016-10-31 10:26:35 +01:00
LaTeX.cpp Catch "! Incomplete \\if[x]" error 2017-06-16 10:05:12 +02:00
LaTeX.h
LaTeXFeatures.cpp Output Preamble code of InPreamble styles before the styles themselves. 2017-02-23 10:53:30 +01:00
LaTeXFeatures.h Strike out (in the output) deleted display math with track-changes 2016-11-05 21:31:09 +01:00
LaTeXFonts.cpp
LaTeXFonts.h
LaTeXPackages.cpp
LaTeXPackages.h
Layout.cpp Fix bug #10320. 2016-08-04 17:10:39 -04:00
Layout.h
LayoutEnums.h
LayoutFile.cpp Allow Input of local includes from local layout files 2017-03-01 14:55:00 -05:00
LayoutFile.h
LayoutModuleList.cpp
LayoutModuleList.h
Length.cpp Introduce proper integer rounding function 2016-02-17 21:42:37 +01:00
Length.h
lengthcommon.cpp
Lexer.cpp
Lexer.h
lyx_commit_hash.h.in
LyX.cpp
LyX.h
LyXAction.cpp Add the icon-size to the toolbar menu 2016-11-25 10:33:21 +01:00
LyXAction.h New LFUN tabular-feature: update prefs2prefs.py 2016-01-27 18:20:53 +01:00
lyxfind.cpp Implement wrapping in next-change (#10388). 2016-10-22 19:25:07 +02:00
lyxfind.h
LyXRC.cpp Simple cache for information on exportable formats, since we seem 2017-05-24 21:39:22 -04:00
LyXRC.h Raise the maxlastfiles cap 2016-06-15 22:32:11 +01:00
LyXVC.cpp Do some caching of window title and related UI 2016-10-19 17:34:54 +02:00
LyXVC.h Do some caching of window title and related UI 2016-10-19 17:34:54 +02:00
lyxwinres.rc
main.cpp backport fix for bug #10440 2017-04-20 22:20:50 +02:00
Makefile.am Make monolithic build code portable to Mac OS 2016-06-15 22:32:52 +01:00
MetricsInfo.cpp Show on screen font changes for text-in-math 2016-10-25 20:24:26 +02:00
MetricsInfo.h
ModuleList.cpp Fix indentation. 2016-07-25 15:07:03 -04:00
ModuleList.h
Mover.cpp
Mover.h
output_docbook.cpp Call lyx::next and lyx::prev explicitely. In case libc++ provides 2016-01-10 18:06:15 +01:00
output_docbook.h
output_latex.cpp Fix bug #10685 2017-06-06 00:01:14 +02:00
output_latex.h Fix bug #10685 2017-06-06 00:01:14 +02:00
output_plaintext.cpp
output_plaintext.h
output_xhtml.cpp Fix XHTML export of German Additional Features manual. 2016-08-04 22:47:32 -04:00
output_xhtml.h
output.cpp
output.h
OutputEnums.h
OutputParams.cpp Strike out (in the output) deleted display math with track-changes 2016-11-05 21:31:09 +01:00
OutputParams.h Strike out (in the output) deleted display math with track-changes 2016-11-05 21:31:09 +01:00
paper.h
Paragraph.cpp Fix bug #10685 2017-06-06 00:01:14 +02:00
Paragraph.h Fix problem with branch handling. The problem was that we were not 2016-07-29 23:50:13 -04:00
ParagraphList.h
ParagraphMetrics.cpp Take inset dimension into account in row signature 2016-06-15 22:32:53 +01:00
ParagraphMetrics.h Take inset dimension into account in row signature 2016-06-15 22:32:53 +01:00
ParagraphParameters.cpp
ParagraphParameters.h
ParIterator.cpp
ParIterator.h
PDFOptions.cpp
PDFOptions.h
PersonalWordList.cpp
PersonalWordList.h
PrinterParams.cpp
PrinterParams.h
Row.cpp Row::Element::x2pos: go to nearest point also over insets 2017-05-23 11:02:06 +02:00
Row.h Fix flushing of row that was cut after an hyphen 2017-02-06 10:39:38 +01:00
RowPainter.cpp Avoid rounding issue when painting selection 2017-06-12 14:47:32 +02:00
RowPainter.h
Server.cpp
Server.h
ServerSocket.cpp
ServerSocket.h
Session.cpp
Session.h
sgml.cpp
sgml.h
Spacing.cpp
Spacing.h
SpellChecker.h
TexRow.cpp Fix bug #10195 2016-06-21 01:51:42 +01:00
TexRow.h
texstream.cpp
texstream.h
Text2.cpp When entering an inset by cursor, reset boundary 2017-06-15 10:31:14 +02:00
Text3.cpp Fix two hyperlink-insert problems 2016-12-29 19:30:36 +01:00
Text.cpp Allow inserting consecutive dashes 2017-02-25 21:00:25 +01:00
Text.h
TextClass.cpp Allow Input of local includes from local layout files 2017-03-01 14:55:00 -05:00
TextClass.h Allow Input of local includes from local layout files 2017-03-01 14:55:00 -05:00
TextMetrics.cpp Fix bad cursor positioning when entering an inset 2017-06-12 13:57:46 +02:00
TextMetrics.h Fix bad cursor positioning when entering an inset 2017-06-12 13:57:46 +02:00
Thesaurus.cpp
Thesaurus.h
TocBackend.cpp
TocBackend.h Fix compilation error with clang's libc++ 2016-01-11 11:18:20 +01:00
Trans.cpp
Trans.h
Undo.cpp Update all paragraphs layouts when undoing bufferparams 2016-01-20 15:20:51 +01:00
Undo.h
update_flags.h
VCBackend.cpp #9940 VCS now toggles buffer read-only state if locking is not active and it is enabled by VC backend 2016-02-20 07:32:56 +01:00
VCBackend.h Set window title according to platform UI 2016-10-17 10:51:46 +02:00
version.cpp
version.h Introduce the latexpar separator. 2016-04-06 05:25:27 +02:00
VSpace.cpp
VSpace.h
WordLangTuple.h
WordList.cpp
WordList.h