typdef enum indentation

  • From: "silverclaw" < >
  • To:
  • Subject: typdef enum indentation
  • Date: Thu, 23 Feb 2012 17:20:36 +0000

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 Leonid Lenyashin, and has 130 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20131025.e7cbc9d). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close