Menu

#368 Unessesarry line wraps are not removed

As_Designed
closed-wont-fix
None
5
2024-02-25
2024-02-20
pustekuchen
No

WrapLongLines (100 chars)

Input

procedure TSampleClass.functionx;
var
  test: string;
begin
  test := 'this is just a very long string 12345678789012345'  + 'this is another very long string for '

  + 'example';
end;

Output

procedure TSampleClass.functionx;
var
  test: string;
begin
  test := 'this is just a very long string 12345678789012345' +
    'this is another very long string for '

  + 'example';
end;

Expected (Indend + Remove uncessesary line wrap)

procedure TSampleClass.functionx;
var
  test: string;
begin
  test := 'this is just a very long string 12345678789012345' +
    'this is another very long string for ' + 'example';
end;

Discussion

  • Thomas Mueller

    Thomas Mueller - 2024-02-25
    • status: open --> closed-wont-fix
    • assigned_to: Thomas Mueller
    • Group: New --> As_Designed
     
  • Thomas Mueller

    Thomas Mueller - 2024-02-25

    This is not a bug. Wrap long lines only adds new line breaks, it does not remove them.

    Feel free to file this functionality as a feature request (Actually there might already be one, I haven't checked.)

     

Log in to post a comment.

Monday.com Logo