]> git.lyx.org Git - features.git/commit
Fixup the fixup d0acc3e57044: use editable()/isActive()
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 23 Jun 2017 18:32:32 +0000 (20:32 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 27 Jun 2017 14:35:39 +0000 (16:35 +0200)
commit13c3c1485b68980c51658cef8fadf804982d75ee
treed38cb80ea3db099cf956f71b982a7ac4b9e86de6
parentb8e3615492e306f6b390441428748872c433ce08
Fixup the fixup d0acc3e57044: use editable()/isActive()

While 522516d9 was too strong and broke mathed, d0acc3e57044 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.
src/DocIterator.cpp