On Sun, 10 Oct 2010 20:50:56 +0100, Martin <[email protected]> wrote:
> On 10/10/2010 20:29, Bo Berglund wrote: >> In Lazarus after selecting a group of code lines: >> ------------------------------------------------- >> Ctrl-k-u or Ctrl-k-i does exactly nothing. >you can assign them, or maybe select a different keymap-scheme... >> Ctrl-Shift-i and Ctrl-Shift-u (the Delphi keys) does nothing >> >> TAB indents 2 spaces at a time >> >> Shift-TAB unindents 2 spaces at a time but only to the original >> position >I think that is only the appearance you get. > >unindent works until all spaces are gone. But of course only, if it is >all indented by spaces. > >Because (other than delphi) unindent does not substitute any tabs by >spaces => so if the first char on the line is a tab, then unindent does >nothing. > >And yes, some kind of solution for this would be good => feel free to >add a feature request on our bugtracker, so it will not get forgotten > >> In Delphi 7: >> ------------ >> Ctrl-k-i indents 2 spaces >> >> Ctrl-k-u does nothing >> >> Ctrl-Shift-i indents 2 spaces >> >> Ctrl-Shift-u unindents 2 spaces until the text reaches left edge. >It does more, it replaces all tabs by spaces. >That is why it can unindent > And which is what is needed.... Why can't Lazarus replace any whitespace at the front of the lines??? -- Bo Berglund Developer in Sweden -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
