Hi,

   Type in the following piece of code:

  [1]      int a,b;
  [2]
  [3]      a = 0;
  [4]      b = 2;


    Than consider you've decided to add conditional logic to it. Type in "if (a < 0)" 
on the line [2]. Select lines [3] & [4] and try to invoke "Surround with" in order to 
surround it with {}. It's not possible.

    I understand that this problem's roots lie deeply in the fact, that [2] & [3] form 
one statement, but still...

    I can easily work out a work around (sigh!) to surround before typing "if", but it 
would me more natural to allow both styles of work.

---
Sincerely yours,
Mike Aizatsky
___________________________________________________________________________
Visit http://www.visto.com.
Find out  how companies are linking mobile users to the 
enterprise with Visto.


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

Reply via email to