Does it for me on #504.  Also for this code:

  System.out.println("test" +|);

Hit Enter at the "|" and it gives this:

  System.out.println("test" +
  |);

instead of the expected:

  System.out.println("test" +
                     |);

I assumed it was because the text to the right of the cursor took precedence
over the context to the left of the cursor.


-sms

-----Original Message-----
From: Tal Dayan [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 01, 2001 8:21 PM
To: [EMAIL PROTECTED]
Subject: [Eap-list] Strange behavior of IDEA's indenting


Hello,

Consider the code

   myMethod(aaaaa,|
            bbbbb,
            ccccc);

typing Enter results in the expected indention:

   myMethod(aaaaa,
            |
            bbbbb,
            ccccc);

Howerver, typing Enter in the following case:

   myMethod(aaaaa,
            bbbbb,
            ccccc|);

results in the unexpected indenting:

 myMethod(aaaaa,
          bbbbb,
          ccccc
 |);

The same problem happens when I type a method name and args :

  myMethod(aaaaa,
            bbbbb,|

typing Enter in this case results in the unexpected indenting:

  myMethod(aaaaa,
            bbbbb,
  |


I am using IDEA #459. Is this a bug or just a misconfiguration of my
preferences ?

Thanks,

Tal

-------------------------------------------------- 
DISCLAIMER 
This e-mail, and any attachments thereto, is intended only for use by the
addressee(s) named herein and may contain legally privileged and/or
confidential information.  If you are not the intended recipient of this
e-mail, you are hereby notified that any dissemination, distribution or
copying of this e-mail, and any attachments thereto, is strictly prohibited.
If you have received this e-mail in error, please immediately notify me and
permanently delete the original and any copy of any e-mail and any printout
thereof. 

E-mail transmission cannot be guaranteed to be secure or error-free.  The
sender therefore does not accept liability for any errors or omissions in
the contents of this message which arise as a result of e-mail transmission.

NOTICE REGARDING PRIVACY AND CONFIDENTIALITY 

Knight Trading Group may, at its discretion, monitor and review the content
of all e-mail communications. 


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

Reply via email to