mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-01 13:40:23 +02:00
EditorMacroScript: clean up hints
git-svn-id: trunk@58528 -
This commit is contained in:
parent
d69361c79d
commit
7a19d55904
@ -4,7 +4,7 @@ unit EMScriptClasses;
|
||||
}
|
||||
|
||||
{$mode objfpc}{$H+}
|
||||
|
||||
{$WARN 4055 off : Conversion between ordinals and pointers is not portable} // PtrInt is ok
|
||||
interface
|
||||
|
||||
{$IFDEF darwin}
|
||||
|
@ -296,10 +296,10 @@ begin
|
||||
Compile;
|
||||
if IsInvalid then exit;
|
||||
|
||||
Compiler.GetOutput({%H-}s);
|
||||
Compiler.GetOutput(s{%H-});
|
||||
if not Exec.LoadData(s) then // Load the data from the Data string.
|
||||
exit;
|
||||
Compiler.GetDebugOutput({%H-}s2);
|
||||
Compiler.GetDebugOutput(s2{%H-});
|
||||
Exec.LoadDebugData(s2);
|
||||
|
||||
Exec.SynEdit := aEditor as TCustomSynEdit;
|
||||
|
@ -1,7 +1,8 @@
|
||||
unit EMSIdeOptions;
|
||||
|
||||
{$mode objfpc}{$H+}
|
||||
|
||||
{$WARN 5024 off : Parameter "$1" not used}
|
||||
{$WARN 6018 off : unreachable code}
|
||||
interface
|
||||
|
||||
uses
|
||||
|
@ -9,9 +9,9 @@ interface
|
||||
{$ENDIF}
|
||||
|
||||
uses
|
||||
Classes, SysUtils, SynEdit, SynEditTypes, SynEditKeyCmds, LazLoggerBase,
|
||||
Classes, SysUtils, SynEdit, LazLoggerBase,
|
||||
IDECommands, EMScriptClasses, EMScriptMacro, Clipbrd, Dialogs, Controls,
|
||||
uPSCompiler, uPSRuntime, uPSUtils, uPSDebugger, uPSR_std, uPSC_std;
|
||||
uPSCompiler, uPSRuntime, uPSUtils;
|
||||
|
||||
type
|
||||
|
||||
@ -56,7 +56,7 @@ type TPoint2 = record x,y,a,b,c: Longint; end;
|
||||
{%region RegisterSelfTests}
|
||||
|
||||
var
|
||||
TestResultA: integer;
|
||||
{%H-}TestResultA: integer;
|
||||
TestResultInt1, TestResultInt2: integer;
|
||||
TestInputInt1, TestInputInt2: integer;
|
||||
TestResultBool1, TestResultBool2: boolean;
|
||||
|
@ -27,7 +27,7 @@ begin
|
||||
RegisterIDEOptionsGroup(OptionsGroup, TEMSConfig);
|
||||
RegisterIDEOptionsEditor(OptionsGroup, TEMSIdeOptionsFrame, 1);
|
||||
|
||||
if not EMSSupported then exit;
|
||||
if not EMSSupported then {%H-}exit;
|
||||
|
||||
conf := GetEMSConf;
|
||||
try
|
||||
|
Loading…
Reference in New Issue
Block a user