mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-10-27 22:42:38 +01:00
Spellcheck of one word letters is now an option in Settings.xml
git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@848 99eadd0c-20b8-1223-b5c4-2a2b2df33de2
This commit is contained in:
parent
7040e87758
commit
0b3fa60d08
@ -501,7 +501,11 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_currentWord.Trim().Length > 0 &&
|
int minLength = 2;
|
||||||
|
if (Configuration.Settings.Tools.SpellCheckOneLetterWords)
|
||||||
|
minLength = 1;
|
||||||
|
|
||||||
|
if (_currentWord.Trim().Length >= minLength &&
|
||||||
!_currentWord.Contains("0") &&
|
!_currentWord.Contains("0") &&
|
||||||
!_currentWord.Contains("1") &&
|
!_currentWord.Contains("1") &&
|
||||||
!_currentWord.Contains("2") &&
|
!_currentWord.Contains("2") &&
|
||||||
|
Loading…
Reference in New Issue
Block a user