deactivated custom fold, curly brackets folds and custom folds need a distinct type

This commit is contained in:
Basile Burg 2014-11-27 15:20:01 +01:00
parent fc98121147
commit 3996b4d11d
1 changed files with 10 additions and 12 deletions

View File

@ -474,18 +474,16 @@ begin
if readDelim(reader, fTokStop, '/') then if readDelim(reader, fTokStop, '/') then
fTokKind := tkDDocs; fTokKind := tkDDocs;
readLine(reader, fTokStop); readLine(reader, fTokStop);
//if fTokStop - fTokStart > 4 then
if fTokStop - fTokStart > 4 then //begin
begin // Dec(reader,4);
Dec(reader,4); // Dec(fTokStop,4);
Dec(fTokStop,4); // if reader = '---+'#10 then
if reader = '---+'#10 then // StartCodeFoldBlock(nil)
StartCodeFoldBlock(nil) // else if reader = '----'#10 then
else if reader = '----'#10 then // EndCodeFoldBlock();
EndCodeFoldBlock(); // readLine(reader, fTokStop);
readLine(reader, fTokStop); //end;
end;
exit; exit;
end else readerReset; end else readerReset;