SynEdit's Pascal highligher: added keyword "mwpascal".
Original Reporter info from Mantis: skalogryyz
-
Reporter name: Dmitry Boyarintsev
Original Reporter info from Mantis: skalogryyz
- Reporter name: Dmitry Boyarintsev
Description:
mwpascal is metroworks pascal compatible calling convertion.
It's used mainly in OSX/Carbon units.
Index: synhighlighterpas.pp
===================================================================
--- synhighlighterpas.pp (revision 21307)
+++ synhighlighterpas.pp (working copy)
@@ -1371,7 +1371,8 @@
fRange := fRange - [rsInterface] + [rsImplementation];
if TopPascalCodeFoldBlockType=cfbtNone then StartPascalCodeFoldBlock(cfbtProgram);
Result := tkKey;
- end
+ end else if KeyComp('Mwpascal') then
+ Result := tkKey
else Result := tkIdentifier;
end;
Mantis conversion info:
- Mantis ID: 14392
- Fixed in version: 0.9.29 (SVN)
- Fixed in revision: 21350 (#9a8706ae)
- Target version: 0.9.30