nano-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Nano-devel] Better tabstospaces support


From: markweston
Subject: [Nano-devel] Better tabstospaces support
Date: Thu, 10 May 2018 13:42:30 +0300
User-agent: Roundcube Webmail/1.3.6

First of all, these new behaviours should only apply when:
1. ISSET(TABS_TO_SPACES)
2. Cursor is on a multiple of tabsize (0 is a multiple too)
3. All characters before cursor are spaces

Here's the list:
1. If there are >= tabsize spaces behind cursor,
   Left should move cursor left by tabsize spaces
2. If there are >= tabsize spaces ahead of cursor,
   Right should move cursor right by tabsize spaces.
3. If there are >= tabsize spaces behind cursor,
   Backspace should remove tabsize spaces instead of just one.
4. If there are >= tabsize spaces ahead of cursor,
   Delete should remove tabsize spaces instead of just one.

What do you think?
Anything I missed?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]