mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 17:20:55 +00:00
Fix bug #6270: Bug in parsing selection as math macro argument
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31594 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
731d84f8b0
commit
ee2bbb8d89
@ -1448,7 +1448,8 @@ bool Cursor::macroModeClose()
|
||||
InsetMathUnknown * p = activeMacro();
|
||||
p->finalize();
|
||||
MathData selection;
|
||||
asArray(p->selection(), selection);
|
||||
// enclose selection in braces (bug #6270)
|
||||
asArray('{' + p->selection() + '}', selection);
|
||||
docstring const s = p->name();
|
||||
--pos();
|
||||
cell().erase(pos());
|
||||
|
@ -186,6 +186,8 @@ What's new
|
||||
|
||||
- Fix undo of removed script in mathed when both super- and subscript
|
||||
are present (bug 6264).
|
||||
|
||||
- Fix parsing of selection when used as argument of a math macro (bug 6270).
|
||||
|
||||
|
||||
* DOCUMENTATION AND LOCALIZATION
|
||||
|
Loading…
Reference in New Issue
Block a user