]> git.lyx.org Git - lyx.git/blob - src/mathed/math_scriptinset.h
fix pullArg when pressing <Delete> at the end of an cell
[lyx.git] / src / mathed / math_scriptinset.h
1 // -*- C++ -*-
2 #ifndef MATH_SCRIPTINSET_H
3 #define MATH_SCRIPTINSET_H
4
5 #include "math_updowninset.h"
6
7 #ifdef __GNUG__
8 #pragma interface
9 #endif
10
11 /** Inset for super- and subscripts
12     \author André Pönitz
13  */
14
15 class MathScriptInset : public MathUpDownInset {
16 public:
17         ///
18         MathScriptInset(bool up, bool down);
19         ///
20         MathInset * clone() const;
21         ///
22         void WriteNormal(std::ostream &) const;
23         /// Identifies ScriptInsets
24         bool isUpDownInset() const { return true; }
25         ///
26         void idxDelete(int & idx, bool & popit, bool & deleteit);
27 };
28
29 #endif