Jump to content


Swarm not respecting tab stops


  • Please log in to reply
1 reply to this topic

#1 AlexH

AlexH

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 17 February 2017 - 04:55 AM

We are using SWARM/2016.1/1400259 (2016/06/13).  When reviewing a file with tabs, unfortunately Swarm seems to use a constant spacing for each tab character.  This causes text to misalign compared to every other text editor (including Visual Studio, Sublime, Notepad++, ...).

For example:

hello\tthere
hi\t\tthere

with 4-space tabs, the "there" text should line up.  In swarm however, we would see four spaces in the first line, and 8 spaces in the second line (there should be the equivalent of three spaces in the first line, and six spaces in the second line).

This is a serious issue as it makes certain commenting styles difficult to read in Swarm (and impossible to review the correctness of the commenting style!)

#2 AlexH

AlexH

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 17 February 2017 - 05:41 AM

Attached a screenshot demonstrating the problem with a real review.  The comments should be aligned.

Capture.PNG


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users