Nv: Customizable tab width

Created on 24 May 2011  ·  9Comments  ·  Source: ttscoff/nv

Somewhere along the line the tab width reverted from 8 spaces to 5. Changing it again seems like just messing with people more, so I think a preference item would make sense.

featurerequest

Most helpful comment

@untidey There's a hidden preference for it:

defaults write net.elasticthreads.nv NumberOfSpacesInTab -int 2

All 9 comments

Actually nothing changed, there is no bug. Pretty sure the user who reported this just had the “Soft Tabs(Spaces)” option, in Prefs>>Editing, checked. If its checked, you get 5 (soft spaces). If its unchecked you (should) get 8 spaces, a proper “tab” or “t”.

we could still add a preference setting to customize width of soft tabs (Spaces). But the official NV and nvALT do this the same way.

Yep, saw your comment regarding this on the blog. Good to know, but I'll leave the issue open (and assigned to me) for a preference option. Just not for the 2.1 milestone...

In my case the "Soft Tabs" option is/was always unchecked but I get the "5 spaces tab width" anyways. I didn't change any settings after upgrading to nvALT v2.0.

Here's an illustration: http://dl.dropbox.com/u/504455/nvALT-tabs.png
The font I'm using: Monaco 10. Rows:

  1. just numbered columns.
  2. tutu with ST unchecked.
  3. few u's to show strange character's shift, they are not in the same column as in above line.
  4. tctc with ST checked.
  5. few c's to check if the tabbed c's are shifted too.
    My nvALT's editing preferences: http://dl.dropbox.com/u/504455/nvALT-editing-prefs.png
    Please let me know how can I further help to debug this unexpected behaviour.

Do you get the same behavior with the official NV release (NVb5 available at
http://notational.net/)?

On Wed, May 25, 2011 at 2:06 PM, m6m8 <
[email protected]>wrote:

In my case the "Soft Tabs" option is/was always unchecked but I get the "5
spaces tab width" anyways. I didn't change any settings after upgrading to
nvALT v2.0.

Here's an illustration: http://dl.dropbox.com/u/504455/nvALT-tabs.png
The font I'm using: Monaco 10. Rows:

  1. just numbered columns.
  2. tutu with ST unchecked.
  3. few u's to show strange character's shift, they are not in the same
    column as in above line.
  4. tctc with ST checked.
  5. few c's to check if the tabbed c's are shifted too.
    My nvALT's editing preferences:
    http://dl.dropbox.com/u/504455/nvALT-editing-prefs.png
    Please let me know how can I further help to debug this unexpected
    behaviour.

Reply to this email directly or view it on GitHub:
https://github.com/ttscoff/nv/issues/4#comment_1237062

Test note in NV:
http://dl.dropbox.com/u/504455/nv-tabs-test.png
The same note edited in nvALT:
http://dl.dropbox.com/u/504455/nvALT-tabs-test.png
(2 last lines added, with ST off).

Weird. We didn't change anything to the tabbing, so I assumed it was on
Scrod's end. I'll take a look and fix. Thanks for the report.

On Wed, May 25, 2011 at 3:45 PM, m6m8 <
[email protected]>wrote:

Test note in NV:
http://dl.dropbox.com/u/504455/nv-tabs-test.png
The same note edited in nvALT:
http://dl.dropbox.com/u/504455/nvALT-tabs-test.png
(2 last lines added, with ST off).

Reply to this email directly or view it on GitHub:
https://github.com/ttscoff/nv/issues/4#comment_1237814

Not sure what the current status is on this, but I'd love a setting to set the soft tab width.

@untidey There's a hidden preference for it:

defaults write net.elasticthreads.nv NumberOfSpacesInTab -int 2

Would love so be able to set the width of real tabs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gouch picture gouch  ·  9Comments

bunk3m picture bunk3m  ·  11Comments

frankrausch picture frankrausch  ·  9Comments

mongobuggy picture mongobuggy  ·  9Comments

arel picture arel  ·  4Comments