mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-01 08:13:18 +01:00
EditorMacroScript: Workaround for Mac, prevent using edx in result for TPoint
git-svn-id: trunk@39404 -
This commit is contained in:
parent
f3f3521292
commit
e3fb445130
@ -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);',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user