SynEdit, PasHighlighter: The matching "End" for "Unit" was no longer found. Bug since revision 18443 #f4ca0b1d9f

git-svn-id: trunk@18571 -
This commit is contained in:
martin 2009-02-04 22:11:27 +00:00
parent 200a245fa6
commit d156b92d1b

View File

@ -799,7 +799,7 @@ begin
end
else if TopPascalCodeFoldBlockType = cfbtUnitSection then begin
EndCodeFoldBlockLastLine;
if TopPascalCodeFoldBlockType = cfbtBeginEnd then // "Unit".."end."
if TopPascalCodeFoldBlockType = cfbtUnit then // "Unit".."end."
EndCodeFoldBlock;
end else begin
if TopPascalCodeFoldBlockType = cfbtClassSection then