ide: Spellchecking comments

git-svn-id: svn://ultimatepp.org/upp/trunk@10384 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2016-10-30 10:41:05 +00:00
parent 68b953002b
commit 62d921fcb0
26 changed files with 443 additions and 320 deletions

View file

@ -17,6 +17,7 @@ One<EditorSyntax> CodeEditor::GetSyntax(int line)
{
CTIMING("GetSyntax");
One<EditorSyntax> syntax = EditorSyntax::Create(highlight);
syntax->SpellCheckComments(spellcheck_comments);
int ln = 0;
for(int i = 0; i < __countof(syntax_cache); i++)
if(line >= syntax_cache[i].line && syntax_cache[i].line > 0) {