mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-05 18:18:02 +02:00
IDEMessages: add OpenSelection function
This commit is contained in:
parent
ba918c5eb2
commit
cc81fa77a5
@ -91,6 +91,7 @@ type
|
||||
WithSrcPos: boolean): boolean; virtual; abstract;
|
||||
function SelectNextUrgentMessage(aMinUrgency: TMessageLineUrgency;
|
||||
WithSrcPos, Downwards: boolean): boolean; virtual; abstract;
|
||||
function OpenSelection: Boolean; virtual; abstract;
|
||||
|
||||
function AddCustomMessage(TheUrgency: TMessageLineUrgency; Msg: string;
|
||||
aSrcFilename: string = ''; LineNumber: integer = 0; Column: integer = 0;
|
||||
|
@ -81,6 +81,7 @@ type
|
||||
function AddCustomMessage(TheUrgency: TMessageLineUrgency; Msg: string;
|
||||
aSrcFilename: string=''; LineNumber: integer=0; Column: integer=0;
|
||||
const ViewCaption: string=''): TMessageLine; override;
|
||||
function OpenSelection: Boolean; override;
|
||||
|
||||
// misc
|
||||
procedure SourceEditorPopup(MarkLine: TSynEditMarkLine; const LogicalCaretXY: TPoint);
|
||||
@ -142,6 +143,11 @@ begin
|
||||
end;
|
||||
end;
|
||||
|
||||
function TMessagesView.OpenSelection: Boolean;
|
||||
begin
|
||||
Result := MessagesFrame1.MessagesCtrl.OpenSelection;
|
||||
end;
|
||||
|
||||
procedure TMessagesView.SetDblClickJumps(AValue: boolean);
|
||||
begin
|
||||
if AValue then
|
||||
|
Loading…
Reference in New Issue
Block a user