* Inset.h: try to clarify isLetter() and isChar() a bit.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37933 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2011-03-15 11:26:14 +00:00
parent 8fa96ceec8
commit ee6e5b784d

View File

@ -429,11 +429,11 @@ public:
virtual InsetLayout const & getLayout() const;
/// Is this inset's layout defined in the document's textclass?
bool undefined() const;
/// used to toggle insets
/// is the inset open?
/// should this inset be handled like a normal character
/// should this inset be handled like a normal character?
/// (a character can be a letter or punctuation)
virtual bool isChar() const { return false; }
/// is this equivalent to a letter?
/// (a letter is a character that is considered part of a word)
virtual bool isLetter() const { return false; }
/// is this equivalent to a space (which is BTW different from
/// a line separator)?