Ignore:
Timestamp:
May 17, 2019, 10:06:59 PM (6 years ago)
Author:
chronos
Message:
  • Modified: Redraw output form content only if output instruction was used in interpretter mode.
  • Modified: Redraw memory form content only if memory was written in interpretter mode.
  • Fixed: Replace windows newlines by unix newlines in interpretter output under Linux.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormOutput.pas

    r100 r112  
    3737  if Core.CurrentTarget is TTargetInterpretter then
    3838  with TTargetInterpretter(Core.CurrentTarget) do begin
    39     MemoOutput.Lines.Text := Output;
     39    if OutputChanged then begin
     40      OutputChanged := False;
     41      {$IFDEF LINUX}
     42      MemoOutput.Lines.Text := StringReplace(Output, #10#13, LineEnding, [rfReplaceAll])
     43      {$ELSE}
     44      MemoOutput.Lines.Text := Output;
     45      {$ENDIF}
     46    end;
    4047  end;
    4148end;
Note: See TracChangeset for help on using the changeset viewer.