Author: spitz
Date: Tue Mar 15 12:26:14 2011
New Revision: 37933
URL: http://www.lyx.org/trac/changeset/37933
Log:
* Inset.h: try to clarify isLetter() and isChar() a bit.
Modified:
lyx-devel/trunk/src/insets/Inset.h
Modified: lyx-devel/trunk/src/insets/Inset.h
==============================================================================
--- lyx-devel/trunk/src/insets/Inset.h Tue Mar 15 11:46:14 2011 (r37932)
+++ lyx-devel/trunk/src/insets/Inset.h Tue Mar 15 12:26:14 2011 (r37933)
@@ -429,11 +429,11 @@
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)?