mirror of https://gitlab.com/basile.b/dexed.git
deactivated custom fold, curly brackets folds and custom folds need a distinct type
This commit is contained in:
parent
fc98121147
commit
3996b4d11d
|
@ -474,18 +474,16 @@ begin
|
|||
if readDelim(reader, fTokStop, '/') then
|
||||
fTokKind := tkDDocs;
|
||||
readLine(reader, fTokStop);
|
||||
|
||||
if fTokStop - fTokStart > 4 then
|
||||
begin
|
||||
Dec(reader,4);
|
||||
Dec(fTokStop,4);
|
||||
if reader = '---+'#10 then
|
||||
StartCodeFoldBlock(nil)
|
||||
else if reader = '----'#10 then
|
||||
EndCodeFoldBlock();
|
||||
readLine(reader, fTokStop);
|
||||
end;
|
||||
|
||||
//if fTokStop - fTokStart > 4 then
|
||||
//begin
|
||||
// Dec(reader,4);
|
||||
// Dec(fTokStop,4);
|
||||
// if reader = '---+'#10 then
|
||||
// StartCodeFoldBlock(nil)
|
||||
// else if reader = '----'#10 then
|
||||
// EndCodeFoldBlock();
|
||||
// readLine(reader, fTokStop);
|
||||
//end;
|
||||
exit;
|
||||
end else readerReset;
|
||||
|
||||
|
|
Loading…
Reference in New Issue