From 2a06cda429fa9fcf399b033578421595992ccd19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Wed, 6 Nov 2002 11:09:19 +0000 Subject: [PATCH] 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 --- src/mathed/math_scriptinset.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mathed/math_scriptinset.h b/src/mathed/math_scriptinset.h index baf9099f7f..5c39f638a7 100644 --- a/src/mathed/math_scriptinset.h +++ b/src/mathed/math_scriptinset.h @@ -56,7 +56,7 @@ public: /// Target pos when we enter the inset from the right by pressing "Left" bool idxLast(idx_type & idx, pos_type & pos) const; /// 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 MathScriptInset const * asScriptInset() const;