[Lazarus] Block unindent does not work in Lazarus like in Delphi7....

Leonardo M. Ramé l.rame at griensu.com
Sun Oct 10 20:01:47 CEST 2010


On 2010-10-10 19:24:51 +0200, Bo Berglund wrote:
> I have tried to fix indentation problems that were not visible when
> the unit was edited in Delphi7, but now shows up as massive block
> indents.
> 
> But I cannot get anything to work, not Tab and Shift-Tab or Ctrl-i and
> Ctrl-u...
> They seem only to work as follows:
> 
> - Select a block of text
> - Use TAB or Ctrl-i to indent and the block moves to the right
> - Use Shift-TAB or Ctrl-u to unindent and the block moves left
> 
> BUT it moves right only to the original position of the text before
> the indentaion commands were given!
> I want to move the block left because it has too much indentaion
> caused by Lazarus translating TAB characters too widely before I had
> time to change the tab indentation width to 2.
> 
> So how can I unindent in Lazarus in the same way as is possible in
> Delphi???
> 
> 
> -- 
> Bo Berglund
> Developer in Sweden
> 

In both, Delphi and Lazarus I allways used "ctrl+k i" to indent and
"ctrl+k u" to unindent. Just tested on Lazarus and it works ok.

-- 
Leonardo M. Ramé
http://leonardorame.blogspot.com




More information about the Lazarus mailing list