]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetSpecialChar.cpp
#7379 avoid the wrap spell check question when buffer is empty
[lyx.git] / src / insets / InsetSpecialChar.cpp
index 6550ac90940ec6984999b034fd12c3fcc15c3ee6..1fe6840df59f20cbe69af8a86b51dbf71d2dc84b 100644 (file)
@@ -342,13 +342,8 @@ void InsetSpecialChar::validate(LaTeXFeatures & features) const
 
 bool InsetSpecialChar::isLetter() const
 {
-       return kind_ == HYPHENATION || kind_ == LIGATURE_BREAK;
-}
-
-
-bool InsetSpecialChar::skipOnSearch() const
-{
-       return kind_ == HYPHENATION || kind_ == LIGATURE_BREAK;
+       return kind_ == HYPHENATION || kind_ == LIGATURE_BREAK
+               || kind_ == NOBREAKDASH;
 }
 
 
@@ -359,7 +354,8 @@ bool InsetSpecialChar::isLineSeparator() const
        // Paragraph::stripLeadingSpaces nukes the characters which
        // have this property. I leave the code here, since it should
        // eventually be made to work. (JMarc 20020327)
-       return kind_ == HYPHENATION || kind_ == MENU_SEPARATOR;
+       return kind_ == HYPHENATION || kind_ == MENU_SEPARATOR
+               || kind_ == SLASH;
 #else
        return false;
 #endif