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