Synedit, reduced amount of ranges used by highlighter (fixed for last rev)

git-svn-id: trunk@18444 -
This commit is contained in:
martin 2009-01-25 16:00:54 +00:00
parent f4ca0b1d9f
commit 799d3a721f

View File

@ -881,7 +881,7 @@ function TSynPasSyn.Func37: TtkTokenKind;
begin
if KeyComp('Begin') then begin
// if we are in an include file, we may not know the state
if (fRange * [rsImplementation, rsInterface] = []) then begin
if (fRange * [rsImplementation, rsInterface] = []) then
Include(fRange, rsImplementation);
TSynPasSynRange(CodeFoldRange).BracketNestLevel := 0; // Reset in case of partial code
if TopPascalCodeFoldBlockType=cfbtVarType then EndCodeFoldBlockLastLine;