Address PR feedback
This commit is contained in:
parent
52664e2928
commit
34124479f0
|
@ -150,13 +150,10 @@ namespace OpenLiveWriter.PostEditor
|
||||||
preferencesPanelTypeTable["accounts"] = type;
|
preferencesPanelTypeTable["accounts"] = type;
|
||||||
types.Add(type);
|
types.Add(type);
|
||||||
|
|
||||||
//if (SpellingSettings.CanSpellCheck)
|
// Spelling preferences.
|
||||||
//{
|
type = typeof(SpellingPreferencesPanel);
|
||||||
// Spelling preferences.
|
preferencesPanelTypeTable["spelling"] = type;
|
||||||
type = typeof(SpellingPreferencesPanel);
|
types.Add(type);
|
||||||
preferencesPanelTypeTable["spelling"] = type;
|
|
||||||
types.Add(type);
|
|
||||||
//}
|
|
||||||
|
|
||||||
//glossary management
|
//glossary management
|
||||||
type = typeof(GlossaryPreferencesPanel);
|
type = typeof(GlossaryPreferencesPanel);
|
||||||
|
|
|
@ -41,7 +41,7 @@ namespace OpenLiveWriter.SpellChecker
|
||||||
if (string.IsNullOrEmpty(word))
|
if (string.IsNullOrEmpty(word))
|
||||||
{
|
{
|
||||||
offset = 0;
|
offset = 0;
|
||||||
length = word.Length;
|
length = 0;
|
||||||
return SpellCheckResult.Correct;
|
return SpellCheckResult.Correct;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -49,8 +49,8 @@ namespace OpenLiveWriter.SpellChecker
|
||||||
|
|
||||||
if (spellerStatus == null)
|
if (spellerStatus == null)
|
||||||
{
|
{
|
||||||
offset = -1;
|
offset = 0;
|
||||||
length = -1;
|
length = word.Length;
|
||||||
return SpellCheckResult.Correct;
|
return SpellCheckResult.Correct;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue