[Haskell-cafe] Layout rule (was Re: PrefixMap: code reviewreque st)

Steve Schafer steve at fenestra.com
Wed Mar 1 19:24:39 EST 2006


On Wed, 1 Mar 2006 12:35:44 -0000, "Brian Hulley" <brianh at metamilk.com>
wrote:

>The only thing then is what happens when you type backspace or left
>arrow to get back out to a previous indentation?

The Borland IDEs have long supported various "smart" indentation
features, which can each be individually turned on or off (see the third
one for the answer to your specific question):

* Auto indent mode - Positions the cursor under the first nonblank
  character of the preceding nonblank line when you press ENTER in
  the Code Editor.

* Smart tab - Tabs to the first non-whitespace character in the
  preceding line. If "Use tab character" is enabled, this option
  is off.

* Backspace unindents - Aligns the insertion point to the previous
  indentation level (outdents it) when you press BACKSPACE, if the
  cursor is on the first nonblank character of a line.

There are a number of other tab-related options as well.

Steve Schafer
Fenestra Technologies Corp.
http://www.fenestra.com/


More information about the Haskell-Cafe mailing list