mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 12:19:28 +02: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;
|
||||
|
||||
|
||||
function SourceEditorWindow: TSourceEditorWindowInterface; // Returns the active window
|
||||
deprecated {$IFDEF VER2_5}'use SourceEditorManagerIntf'{$ENDIF}; // deprecated in 0.9.29 March 2010
|
||||
|
||||
var
|
||||
SourceEditorManagerIntf: TSourceEditorManagerInterface= nil; // set by the IDE
|
||||
|
||||
@ -475,14 +472,6 @@ var
|
||||
|
||||
implementation
|
||||
|
||||
function SourceEditorWindow: TSourceEditorWindowInterface;
|
||||
begin
|
||||
if SourceEditorManagerIntf = nil then
|
||||
result := nil
|
||||
else
|
||||
Result := SourceEditorManagerIntf.ActiveSourceWindow;
|
||||
end;
|
||||
|
||||
function RegisterCodeMacro(const Name: string; const ShortDescription,
|
||||
LongDescription: string; OnGetValueProc: TIDECodeMacroGetValueProc;
|
||||
OnGetValueMethod: TIDECodeMacroGetValueMethod): TIDECodeMacro;
|
||||
|
Loading…
Reference in New Issue
Block a user