Error Message useless

Mike vertex at gmx.at
Mon May 12 13:18:53 PDT 2008


On Mon, 12 May 2008 13:06:45 +0200, Frits van Bommel  
<fvbommel at REMwOVExCAPSs.nl> wrote:

> Robert Fraser wrote:

> I think I know what he means: unfortunately, Descent doesn't seem to pay  
> attention to that setting when you're just typing code. If I try to type
> ---
> void foo(int bar) {
>      switch (bar) {
>          case 1:
>      }
> }
> ---
> I instead get:
> ---
> void foo(int bar) {
>      switch (bar) {
>      case 1:
>      }
> }
> ---
> Note the indenting of 'case'. This is with the checkbox for [Indent]  
> "'case'/'default' statements within 'switch'" turned on. And it happens  
> whether or not I press 'tab' before typing 'case'. (If I use tab to  
> manually indent the 'case', it *unindents* the moment I hit 'e'!)
>
> Pressing Ctrl-Shift-F fixes the indentation; this seems to be an  
> auto-indenting issue, not a formatter issue.
>
> (Descent 0.5.2.20080501, Eclipse 3.2.2 / M20070212-1330 (Ubuntu version:  
> 3.2.2-5ubuntu2))

Exactly. It seems to do it only with the first case, however.

-Mike



-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/



More information about the Digitalmars-d mailing list