I've been able to reproduce a surround with bug consistently.
copy the following method into a class and follow its intsructions.
public static void testSurround(){
// Put the cursor at the end of this line ->
// And then hit return, then select from the first comment line
// to the last, and Ctl-Alt-T and do not select anything
// you will see that in the background the selection will
// 'grow' to include invalid symbols for selection
// This is causing the internal assertion when completing the surround with
// As you cannot surround incomplete statements
// I believe this has to do with whitespace on an empty line.
// If you cursor through the blank line after the failed operation,
// you will see that there is no more extra whitespace.
}
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Friday, March 01, 2002 10:46 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [Eap-list] Surround with is buggy in build 607
>
>
>
> When the exception happened to me, I think the selection had changed
> also.
> I always select entire lines and after the surround with exception, a
> part of the first line wasn't selected.
>
> As I couldn't reproduce the error - retrying the surround worked - I
> was not entirely sure about that.
>
> Carlos
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: sexta-feira, 1 de Mar�o de 2002 13:32
> To: [EMAIL PROTECTED]
> Subject: RE: [Eap-list] Surround with is buggy in build 607
>
>
>
>
> Hi Valentin,
>
> This is similar to the bug I reported with surroundwith and also the
> one reported by Gary Evesson ([Eap-list] Internal error and exception
> when using ctrl-alt-T)
>
> Just got it again, after the Internal Error the selection is
> different
> to what I had selected before pressing CTRL-ALT-T
>
> regards
>
> kevin
>
> -----Original Message-----
> From: Valentin Kipiatkov [mailto:[EMAIL PROTECTED]]
> Sent: Friday, March 01, 2002 1:18 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [Eap-list] Surround with is buggy in build 607
>
>
> Could you please give us a more detailed description of the problem?
> Any way to reproduce it?
>
> Best regards,
> Valentin Kipiatkov
> -----------------------------------------------------------
> IntelliJ Software, http://www.intellij.com/
> "Develop with pleasure"
> -----------------------------------------------------------
>
> ----- Original Message -----
> From: Fennessey, Steve
> To: '[EMAIL PROTECTED]'
> Sent: Friday, March 01, 2002 4:14 AM
> Subject: [Eap-list] Surround with is buggy in build 607
>
>
> The Surround with was working with no problems before this build. In
> build 607
> it seems to have trouble keeping the highlighted code focused before
> you can
> select a choice like try/catch/finally.
>
> Steven M. Fennessey
> Programmer Analyst
> MTC-Web Development
> *636.827.4193
> Mailto:[EMAIL PROTECTED]
>
>
>
>
> Confidentiality Warning: This e-mail contains information
> intended only
> for the use of the individual or entity named above. If the reader of
> this e-mail is not the intended recipient or the employee or agent
> responsible for delivering it to the intended recipient, any
> dissemination, publication or copying of this e-mail is strictly
> prohibited. The sender does not accept any responsibility for
> any loss,
> disruption or damage to your data or computer system that may occur
> while using data contained in, or transmitted with, this
> e-mail. If you
> have received this e-mail in error, please immediately notify us by
> return e-mail. Thank you.
>
>
>
>
> This footnote confirms that this email message has been swept by
> MIMEsweeper for the presence of computer viruses.
>
>
>
>
> --------------------------------------------------------------
> ----------
> -----
> Baltimore Technologies plc will not be liable for direct, special,
> indirect
> or consequential damages arising from alteration of the
> contents of this
> message by a third party or as a result of any virus being passed on.
>
> This footnote confirms that this email message has been swept by
> Baltimore MIMEsweeper for Content Security threats, including
> computer viruses.
> http://www.baltimore.com
>
>
>
>
>
>
> _______________________________________________
> Eap-list mailing list
> [EMAIL PROTECTED]
> http://www.intellij.com/mailman/listinfo/eap-list
>
