[Lazarus] Column-Selection-Mode and tabs (selecting half a tab)

Mattias Gaertner nc-gaertnma at netcologne.de
Tue Jul 8 09:38:22 CEST 2008


On Tue, 08 Jul 2008 07:03:16 +0100
Martin Friebe <lazarus at mfriebe.de> wrote:

> There is an "oddity", and I am trying to find out the correct
> behaviour:
> 
> Set your editor options to:
> Tabs to spaces: NO
> smart tabs: NO
> tabs indent block:NO
> show special chars: Yes
> alt-key sets column mode: yes
> 
> have a text like [------- is *one* tab]
> 
> abcdefghij
> --------1234
> mnopqrstuv
> 
> Now hold the alt key and use the mouse to select a column of one
> char. Starting in front of the "b", ending after the "n"
> 
> In this case there is no block highlight in the middle line (1234),
> but in other cases there will be (select "gh", "st").
> 
> Pressing ctrl-x will cut "b", "1", "d"

The 1 is wrong. I don't know, if copying spaces, one tab or nothing is
good here. I vote for the tab.

 
> The block should have gone through the tab, but then half of the tab 
> would be selected.  Besides the optical issues, on pressing ctrl-x, 
> which char(s) of the middle line should be cut?
> Or should the block highlight the "1" ? IMHO not.


Mattias



More information about the Lazarus mailing list