If I selected the anonymous class instance:

        // listen for changes in the pointer set
        this.session.getPointerSet().addChangeListener(new ChangeListener()
        {
            public void stateChanged(ChangeEvent e)
            {
                pointersUpdated();
            }
        });

and select Introduce Field, choosing to initialize in the field declaration,
the field looks as follows:

    private ChangeListener listener = new ChangeListener()
            {
                public void stateChanged(ChangeEvent e)
                {
                    pointersUpdated();
                }
            };

i.e. the class body is indented too far.
This is particularly shown if I use Auto-indent Lines to indent the field:

    private ChangeListener listener = new ChangeListener()
    {
        public void stateChanged(ChangeEvent e)
        {
            pointersUpdated();
        }
    };

So, the initial Introduce Field should indent the field according to what
Auto-indent Lines would do.
Calum
CONFIDENTIALITY NOTICE: This message is confidential and for the use only of
the intended recipient. If you receive the message in error you are not
entitled to disseminate, copy or use the contents in any way. In such
circumstances please forward the message back to the sender or contact IT
Services at the group's parent company - Aspects Software Ltd, by telephone
on +44 (0) 131 225 9500.  WARNING: While Aspects Software Ltd and all its
subsidiaries take steps to prevent computer viruses from being transmitted
via electronic mail attachements we cannot guarentee that attachments do not
contain computer virus code. You are therefore strongly advised to undertake
anti virus checks prior to accessing the attachement to this electronic
mail. Neither Aspects Software Ltd nor any of its subsidiaries grants any
warrenties regarding performance use or quality of any attachment and
undertakes no liability for loss or damage howsoever caused. 

_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to