Author: spitz
Date: Sat Aug 27 12:58:48 2011
New Revision: 39537
URL: http://www.lyx.org/trac/changeset/39537
Log:
Disable space types that are not supported in mathed (for these, a thinspace was inserted as a fallback).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39619
a592a061-630c-0410-9148-
cb99ea01b6c8
flag.setEnabled(false);
break;
+ case LFUN_SPACE_INSERT: {
+ docstring const & name = cmd.argument();
+ if (name == "protected" || name == "normal")
+ flag.setEnabled(false);
+ break;
+ }
+
case LFUN_INSET_DISSOLVE:
flag.setEnabled(!asHullInset());
break;
- Repair broken outliner display for broken references (bug 7708).
-- Fix Horizontal Space dialog when opened from within math (bug 7746).
+- Fix Horizontal Space dialog when issued from within math (bug 7746).
+
+- Disable interword and protected space lfuns in math, since these spaces
+ are not yet supported.
- Mark buffer dirty when a label is changed, so the file can be saved and
the change can be reverted (bug 7655).