mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-28 14:57:17 +01:00
SrcEditIntf: start removing deprecated methods
git-svn-id: trunk@30122 -
This commit is contained in:
parent
80a5180691
commit
a9c20a95df
@ -323,9 +323,6 @@ type
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
function SourceEditorWindow: TSourceEditorWindowInterface; // Returns the active window
|
|
||||||
deprecated {$IFDEF VER2_5}'use SourceEditorManagerIntf'{$ENDIF}; // deprecated in 0.9.29 March 2010
|
|
||||||
|
|
||||||
var
|
var
|
||||||
SourceEditorManagerIntf: TSourceEditorManagerInterface= nil; // set by the IDE
|
SourceEditorManagerIntf: TSourceEditorManagerInterface= nil; // set by the IDE
|
||||||
|
|
||||||
@ -475,14 +472,6 @@ var
|
|||||||
|
|
||||||
implementation
|
implementation
|
||||||
|
|
||||||
function SourceEditorWindow: TSourceEditorWindowInterface;
|
|
||||||
begin
|
|
||||||
if SourceEditorManagerIntf = nil then
|
|
||||||
result := nil
|
|
||||||
else
|
|
||||||
Result := SourceEditorManagerIntf.ActiveSourceWindow;
|
|
||||||
end;
|
|
||||||
|
|
||||||
function RegisterCodeMacro(const Name: string; const ShortDescription,
|
function RegisterCodeMacro(const Name: string; const ShortDescription,
|
||||||
LongDescription: string; OnGetValueProc: TIDECodeMacroGetValueProc;
|
LongDescription: string; OnGetValueProc: TIDECodeMacroGetValueProc;
|
||||||
OnGetValueMethod: TIDECodeMacroGetValueMethod): TIDECodeMacro;
|
OnGetValueMethod: TIDECodeMacroGetValueMethod): TIDECodeMacro;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user