NB: I am not sure this escape character preference is something useful to keep. If some language has some special escape characters beside the single quote one we should support that out of the box and not asking the user to define it or them in the preference dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30210
a592a061-630c-0410-9148-
cb99ea01b6c8
// We want to pass the ' and escape chars to the spellchecker
static docstring const quote = from_utf8(lyxrc.spellchecker_esc_chars + '\'');
return (isLetterChar(c) || isDigit(c) || contains(quote, c))
- && (!d->inset_owner_ || d->inset_owner_->allowSpellCheck())
&& pos != size()
&& !isDeleted(pos);
}