Get rid of special "EndOfBlock" format in python highlighter

Change-Id: Ie02d3ae02b2453b33a3c779307f6f44348e2d0cd
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Eike Ziller
2017-05-05 20:41:43 +02:00
parent fca108c35d
commit ecbe001f2e
3 changed files with 9 additions and 8 deletions

View File

@@ -50,7 +50,7 @@ FormatToken Scanner::read()
{
setAnchor();
if (isEnd())
return FormatToken(Format_EndOfBlock, anchor(), 0);
return FormatToken();
State state;
QChar saved;