LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Midnight Commander TAB-BACKSPACE shifting of arrows-highlighted block (https://www.linuxquestions.org/questions/linux-software-2/midnight-commander-tab-backspace-shifting-of-arrows-highlighted-block-651064/)

vit_r 06-23-2008 10:25 AM

Midnight Commander TAB-BACKSPACE shifting of arrows-highlighted block
 
47064283987f324bda26b9aed01ad4ed_
_Slackware-12.1-mc-4.6.1_20050723-i486-2-utf8+tab-0.1.SlackBuild.tar.gz
- its for UTF-8 locale with my patch for block-shifting.
8 Kb PKG is on this public file hosting: 128mb.ru/151855, or Google PKG.

it affects only arrows-touched lines, F3 highlighting should be as it goes.
when «TAB», «B-E», «Save» or «Save_As» are pressed highlight is still on,
any other key press should unmark highlighted area.

«B-E» moves them to the left
deleting at the begining of highlighted lines all (' ' or '\t').

by default «TAB/B-E» shifting is
'edit/edit.c: option_arrows_highlight_lines_tab_spacing = 4' spaces
or optional: = 1; = 2; = 3; etc.

Common «TAB» ('\t') = option_tab_spacing = 8;.

Question:
Would be better
option_arrows_highlight_lines_tab_spacing = option_tab_spacing; ?


my name is Vit <vit_r@list.ru>

Enjoy

~~~~
----


All times are GMT -5. The time now is 09:21 PM.