No subject

Vit R vit_r at list.ru
Sun Jun 22 17:54:15 UTC 2008



    Good morning to the mc-users !

Subject:
 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: http://128mb.ru/151855.

 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 at list.ru> 

Enjoy

8/06/22

#
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 47064283987f324bda26b9aed01ad4ed__Slackware-12.1-mc-4.6.1_20050723-i486-2-utf8+tab-0.1.SlackBuild.tar.gz
Type: application/gzip
Size: 8423 bytes
Desc: not available
URL: <http://lists.midnight-commander.org/pipermail/mc/attachments/20080622/f740aed1/attachment.bin>


More information about the mc mailing list