Menu

#114 Out-of-line formatting /* */ markup tags don't always indent properly.

v1.0.25
closed
nobody
None
5
2016-07-16
2014-06-13
No

Out-of-line formatting /* */ markup tags adds extra spaces at the beginning of the line instead of using the Default indent for /* */ blocks.

The following

/*
Zero

 One

  Two
*/

is formatted as

/*
  Zero

   One

    Two
*/

assuming a 2 space default setting for /* */ blocks.

The expected result is

/*
  Zero

  One

  Two
*/

Steps:

  1. Menu Edit->Select All Ctrl-a
  2. Menu Selection->Rewrap Selection
1 Attachments

Discussion

  • hannne

    hannne - 2016-07-16

    The /* ... */ markup is supposed to preserve relative indentation and add whatever your setting is for /* ... */. So I believe it works as it should, but your expectation is wrong. It sounds like you're looking for /# ... #/ instead.

     
  • hannne

    hannne - 2016-07-16
    • status: open --> closed
     
  • Richard Tonsing

    Richard Tonsing - 2016-07-16

    I concur. I've no idea what I was thinking 2 years ago.

     

Anonymous
Anonymous

Add attachments
Cancel