Fix cursor positioning problem in scriptinsets with "complex" base...

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5588 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2002-11-06 11:09:19 +00:00
parent c5e3dde14a
commit 2a06cda429

View File

@ -56,7 +56,7 @@ public:
/// Target pos when we enter the inset from the right by pressing "Left" /// Target pos when we enter the inset from the right by pressing "Left"
bool idxLast(idx_type & idx, pos_type & pos) const; bool idxLast(idx_type & idx, pos_type & pos) const;
/// can we enter this cell? /// can we enter this cell?
bool validCell(idx_type i) const { return script_[i]; } bool validCell(idx_type i) const { return i == 2 || script_[i]; }
/// identifies scriptinsets /// identifies scriptinsets
MathScriptInset const * asScriptInset() const; MathScriptInset const * asScriptInset() const;