Ignore:
Timestamp:
Oct 14, 2020, 7:34:55 PM (4 years ago)
Author:
chronos
Message:
  • Modified: Improved assembler parsing.
  • Modified: TParser moved to separate unit.
Location:
branches/CpuSingleSize
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/CpuSingleSize

    • Property svn:ignore set to
      heaptrclog.trc
      lib
      CpuSingleSize
      CpuSingleSize.lps
      CpuSingleSize.res
      CpuSingleSize.dbg
  • branches/CpuSingleSize/Forms/UFormMessages.pas

    r216 r217  
    1515    ListView1: TListView;
    1616    procedure ListView1Data(Sender: TObject; Item: TListItem);
     17    procedure ListView1DblClick(Sender: TObject);
    1718  private
    1819  public
     
    2930
    3031uses
    31   UCore, UMessages;
     32  UCore, UMessages, UFormAssembler;
    3233
    3334{ TFormMessages }
     
    4445end;
    4546
     47procedure TFormMessages.ListView1DblClick(Sender: TObject);
     48begin
     49  if Assigned(ListView1.Selected) then begin
     50    FormAssembler.SynEdit1.CaretXY := TMessage(ListView1.Selected.Data).Position;
     51    FormAssembler.SynEdit1.SetFocus;
     52    FormAssembler.Show;
     53  end;
     54end;
     55
    4656procedure TFormMessages.Reload;
    4757begin
Note: See TracChangeset for help on using the changeset viewer.