mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
remove not needed class name for enums, whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36642 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
75cb1ebdc1
commit
0c89ebd62a
@ -50,9 +50,9 @@ public:
|
||||
|
||||
/// does the spell check failed
|
||||
static bool misspelled(Result res) {
|
||||
return res != SpellChecker::WORD_OK
|
||||
&& res != SpellChecker::IGNORED_WORD
|
||||
&& res != SpellChecker::LEARNED_WORD; }
|
||||
return res != WORD_OK
|
||||
&& res != IGNORED_WORD
|
||||
&& res != LEARNED_WORD; }
|
||||
|
||||
/// check the given word of the given lang code and return the result
|
||||
virtual enum Result check(WordLangTuple const &) = 0;
|
||||
@ -90,14 +90,14 @@ public:
|
||||
|
||||
/// give an error message on messy exit
|
||||
virtual docstring const error() = 0;
|
||||
|
||||
|
||||
/// spell checker state versioning support
|
||||
typedef unsigned long int ChangeNumber ;
|
||||
ChangeNumber changeNumber() const { return change_number_; }
|
||||
void changeNumber(ChangeNumber value) { change_number_ = value; }
|
||||
void nextChangeNumber() { ++change_number_; }
|
||||
virtual void advanceChangeNumber() = 0;
|
||||
|
||||
|
||||
private:
|
||||
ChangeNumber change_number_;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user