mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
Let UnknownInset inherit from NestInset instead of DimInset to enable it to
store the selection while the macro name is typed. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5490 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
4109d4b208
commit
3281e30631
@ -11,7 +11,7 @@
|
||||
|
||||
|
||||
MathUnknownInset::MathUnknownInset(string const & nm, bool final, bool black)
|
||||
: name_(nm), final_(final), black_(black)
|
||||
: MathNestInset(1), name_(nm), final_(final), black_(black)
|
||||
{}
|
||||
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
#ifndef MATH_UNKNOWNINSET_H
|
||||
#define MATH_UNKNOWNINSET_H
|
||||
|
||||
#include "math_diminset.h"
|
||||
#include "math_nestinset.h"
|
||||
|
||||
#ifdef __GNUG__
|
||||
#pragma interface
|
||||
@ -11,7 +11,7 @@
|
||||
/**
|
||||
Unknowntions or LaTeX names for objects that we really don't know
|
||||
*/
|
||||
class MathUnknownInset : public MathDimInset {
|
||||
class MathUnknownInset : public MathNestInset {
|
||||
public:
|
||||
///
|
||||
explicit MathUnknownInset(string const & name,
|
||||
|
Loading…
Reference in New Issue
Block a user