]> git.lyx.org Git - lyx.git/blobdiff - src/DocIterator.cpp
Kill LFUN_PARAGRAPH_SPACING in favour of LFUN_PARAGRAPH_PARAMS.
[lyx.git] / src / DocIterator.cpp
index 49705bc96b0fce1d29113a092c610ea2f9ea3f21..63e9e7be9968518096507a343eee3dd4e6d68c6e 100644 (file)
@@ -610,16 +610,4 @@ bool operator==(StableDocIterator const & dit1, StableDocIterator const & dit2)
 }
 
 
-bool isLetter(DocIterator const & dit)
-{
-       return dit.inTexted()
-               && dit.inset().allowSpellCheck()
-               && dit.pos() != dit.lastpos()
-               && (dit.paragraph().isLetter(dit.pos())
-                   // We want to pass the ' and escape chars to ispell
-                   || contains(from_utf8(lyxrc.spellchecker_esc_chars + '\''),
-                               dit.paragraph().getChar(dit.pos())))
-               && !dit.paragraph().isDeleted(dit.pos());
-}
-
 } // namespace lyx