Re: typdef enum indentation

  • From: "Paulo R. Panhoto" < >
  • To:
  • Subject: Re: typdef enum indentation
  • Date: Mon, 27 Feb 2012 00:17:12 -0300
  • Authentication-results: mr.google.com; spf=pass (google.com: domain of designates 10.229.77.78 as permitted sender) smtp.mail= ; dkim=pass header.i=

In the Options dialog, Formatting tab (select Editor first), select C language and check the parameter "Statement Continuation". Your problem could be there.

On 23/02/12 15:20, silverclaw wrote:
Before I submit a bug on this, I just waentd to make sure this isn't only me.

Consider this declaration in C:


Code:

typedef enum _ERR_CODE_
{
        ERR_OK,
        ERR_OUT_OF_MEMORY,
        UFC_UNKNOWN
} ErrorCode;




When trying to add a new entry to this enum, NetBeans always over-indents my 
cursor. If I press backspace to bring it into alignement with the previous 
declaration, when I start typing, I am thrown again into twice the 
indentation it should have.

Can anyone reproduce this?







typdef enum indentation

silverclaw 02/23/2012

Re: typdef enum indentation

Paulo R. Panhoto 02/27/2012

Project Features

About this Project

CND was started in November 2009, is owned by DimaZh, and has 131 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close