Oops, I meant [3] and [4]. Best regards,
Eugene Belyaev IntelliJ Software, http://www.intellij.com "Develop with pleasure" > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On Behalf Of Eugene Belyaev > Sent: Tuesday, November 20, 2001 10:10 PM > To: [EMAIL PROTECTED] > Subject: RE: [Eap-list] "Surround with" problem > > > > 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. > > Or you can select lines [2] and [3] and choose Surround with > if. And there is no need to first type the "if" statement. > > Best regards, > > Eugene Belyaev > IntelliJ Software, http://www.intellij.com > "Develop with pleasure" > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED]] On Behalf Of Mike Aizatsky > > Sent: Tuesday, November 20, 2001 7:28 PM > > To: [EMAIL PROTECTED] > > Subject: [Eap-list] "Surround with" problem > > > > > > 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 > > > > > _______________________________________________ > Eap-list mailing list > [EMAIL PROTECTED] > http://www.intellij.com/mailman/listinfo/eap-list > _______________________________________________ Eap-list mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-list
