|
@@ -173,6 +173,7 @@ type
|
|
TerminateButton: TToolButton;
|
|
TerminateButton: TToolButton;
|
|
ToolBarImageCollection: TImageCollection;
|
|
ToolBarImageCollection: TImageCollection;
|
|
ToolBarVirtualImageList: TVirtualImageList;
|
|
ToolBarVirtualImageList: TVirtualImageList;
|
|
|
|
+ PListSelectAll: TMenuItem;
|
|
procedure FormCloseQuery(Sender: TObject; var CanClose: Boolean);
|
|
procedure FormCloseQuery(Sender: TObject; var CanClose: Boolean);
|
|
procedure FExitClick(Sender: TObject);
|
|
procedure FExitClick(Sender: TObject);
|
|
procedure FOpenClick(Sender: TObject);
|
|
procedure FOpenClick(Sender: TObject);
|
|
@@ -253,6 +254,7 @@ type
|
|
Rect: TRect; State: TOwnerDrawState);
|
|
Rect: TRect; State: TOwnerDrawState);
|
|
procedure FormAfterMonitorDpiChanged(Sender: TObject; OldDPI,
|
|
procedure FormAfterMonitorDpiChanged(Sender: TObject; OldDPI,
|
|
NewDPI: Integer);
|
|
NewDPI: Integer);
|
|
|
|
+ procedure PListSelectAllClick(Sender: TObject);
|
|
private
|
|
private
|
|
{ Private declarations }
|
|
{ Private declarations }
|
|
FCompilerVersion: PCompilerVersionInfo;
|
|
FCompilerVersion: PCompilerVersionInfo;
|
|
@@ -896,7 +898,7 @@ begin
|
|
SetFakeShortCutText(VZoomOut, SmkcCtrl + 'Num -');
|
|
SetFakeShortCutText(VZoomOut, SmkcCtrl + 'Num -');
|
|
SetFakeShortCutText(VZoomReset, SmkcCtrl + 'Num /');
|
|
SetFakeShortCutText(VZoomReset, SmkcCtrl + 'Num /');
|
|
{ Use fake Esc shortcut for Stop Compile so it doesn't conflict with the
|
|
{ Use fake Esc shortcut for Stop Compile so it doesn't conflict with the
|
|
- editor's autocompletion list }
|
|
|
|
|
|
+ editor's autocompletion list }
|
|
SetFakeShortCut(BStopCompile, VK_ESCAPE, []);
|
|
SetFakeShortCut(BStopCompile, VK_ESCAPE, []);
|
|
|
|
|
|
{$IFNDEF IS_D103RIO}
|
|
{$IFNDEF IS_D103RIO}
|
|
@@ -3874,8 +3876,44 @@ begin
|
|
end;
|
|
end;
|
|
|
|
|
|
procedure TCompileForm.PListCopyClick(Sender: TObject);
|
|
procedure TCompileForm.PListCopyClick(Sender: TObject);
|
|
|
|
+var
|
|
|
|
+ ListBox: TListBox;
|
|
|
|
+ Text: String;
|
|
|
|
+ I: Integer;
|
|
begin
|
|
begin
|
|
- Clipboard.AsText := (ListPopupMenu.PopupComponent as TListBox).Items.Text;
|
|
|
|
|
|
+ if CompilerOutputList.Visible then
|
|
|
|
+ ListBox := CompilerOutputList
|
|
|
|
+ else
|
|
|
|
+ ListBox := DebugOutputList;
|
|
|
|
+ Text := '';
|
|
|
|
+ if ListBox.SelCount > 0 then begin
|
|
|
|
+ for I := 0 to ListBox.Items.Count-1 do begin
|
|
|
|
+ if ListBox.Selected[I] then begin
|
|
|
|
+ if Text <> '' then
|
|
|
|
+ Text := Text + SNewLine;
|
|
|
|
+ Text := Text + ListBox.Items[I];
|
|
|
|
+ end;
|
|
|
|
+ end;
|
|
|
|
+ end;
|
|
|
|
+ Clipboard.AsText := Text;
|
|
|
|
+end;
|
|
|
|
+
|
|
|
|
+procedure TCompileForm.PListSelectAllClick(Sender: TObject);
|
|
|
|
+var
|
|
|
|
+ ListBox: TListBox;
|
|
|
|
+ I: Integer;
|
|
|
|
+begin
|
|
|
|
+ if CompilerOutputList.Visible then
|
|
|
|
+ ListBox := CompilerOutputList
|
|
|
|
+ else
|
|
|
|
+ ListBox := DebugOutputList;
|
|
|
|
+ ListBox.Items.BeginUpdate;
|
|
|
|
+ try
|
|
|
|
+ for I := 0 to ListBox.Items.Count-1 do
|
|
|
|
+ ListBox.Selected[I] := True;
|
|
|
|
+ finally
|
|
|
|
+ ListBox.Items.EndUpdate;
|
|
|
|
+ end;
|
|
end;
|
|
end;
|
|
|
|
|
|
procedure TCompileForm.AppOnIdle(Sender: TObject; var Done: Boolean);
|
|
procedure TCompileForm.AppOnIdle(Sender: TObject; var Done: Boolean);
|