EditorMacroScript: Workaround for Mac, prevent using edx in result for TPoint

git-svn-id: trunk@39404 -
This commit is contained in:
martin 2012-11-28 21:58:00 +00:00
parent f3f3521292
commit e3fb445130

View File

@ -65,10 +65,12 @@ begin
FTestSyn := TSynEdit.Create(nil);
FTestMacro := TEMSEditorMacro.Create(nil);
try
{$IFnDEF darwin}
DoTestSimple('SizeOf(TPoint)', '',
'var p: TPoint; begin if SizeOf(p) = ' +IntToStr(SizeOf(TPoint)) + ' then Caller.InsertTextAtCaret(''Y'', scamEnd); end.',
'Y'
);
{$ENDIF}
DoTestSimple('mrNone', '',
'if mrNone = ' +IntToStr(mrNone) + ' then Caller.InsertTextAtCaret(''Y'', scamEnd);',