Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 10 of 12 total
Thread endless loop ide
Sat, Jan 9 2016 6:27 AMPermanent Link

Ronald

Hi,

If I try to replace a piece of text with the same piece of text (but with different capitalization) in the editor, it freezes, I think it is in an ebless loop.

Greetings,
Ronald
Sat, Jan 9 2016 7:33 AMPermanent Link

Uli Becker

Ronald,

> If I try to replace a piece of text with the same piece of text (but with different capitalization) in the editor, it freezes, I think it is in an ebless loop.

I just tried that here without any problems. (2.04)

What exactly are you doing and which search settings are you using? And:
can you reprodcuce the problem?

Uli
Sat, Jan 9 2016 11:01 AMPermanent Link

Trinione

<< What exactly are you doing and which search settings are you using? And: can you reprodcuce the problem? >>

I just tested and can Confirm this issue.

Version: 2.04

Steps: 1) Hit Ctrl+R
Step: 2 - Enter 'with' and 'WITH'
Step 3: Hit 'Enter'
Step 4: Confirm Prompt appears, select 'All'

INFINITE LOOP time.

Even without the 'Prompt' option the app crippling loop occurs.
Sat, Jan 9 2016 11:43 AMPermanent Link

Uli Becker

Trinione,


> Steps: 1) Hit Ctrl+R
> Step: 2 - Enter 'with' and 'WITH'
> Step 3: Hit 'Enter'
> Step 4: Confirm Prompt appears, select 'All'
>
> INFINITE LOOP time.

I tested that again and yes: I see the loop now when I set the option
"CaseInsensitve" to false (was true before).

Uli
Mon, Jan 11 2016 8:00 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

<< I just tested and can Confirm this issue. >>

I'll check it out.

Tim Young
Elevate Software
www.elevatesoft.com
Mon, Jan 11 2016 12:21 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com


<< I just tested and can Confirm this issue. >>

I cannot reproduce this here using the steps that you indicated.

I'm using:

Same words: 'with' replaced with 'WITH'

Case-Sensitive:  Un-Checked
Forward: Checked
Entire Scope: Un-Checked
Prompt: Checked
Replace All: Un-Checked

I tried toggling Replace All and some other combinations, but they all seem to work fine here.

Does it happen with a specific unit ?  I'm using the WebCtrls unit because it has a lot of "with" occurrences in it.

Thanks,

Tim Young
Elevate Software
www.elevatesoft.com
Mon, Jan 11 2016 12:40 PMPermanent Link

Raul

Team Elevate Team Elevate

On 1/11/2016 12:21 PM, Tim Young [Elevate Software] wrote:
> I cannot reproduce this here using the steps that you indicated.
> I'm using:
>
> Same words: 'with' replaced with 'WITH'

I can duplicate it here. Just picked random unit i had - happened to be
the font demo (beating heart font icon).

I did throw in some fake with statements so replace has something to do.
Two instances of :

with Icon1 do
begin
  //
end;



> Replace All: Un-Checked

In my case this is CHECKED

When i hit enter i get the prompt and say "All"

and then the IDE will get busy (for first bit it switches between normal
cursor and the circle busy cursor. But then it remains busy circle
cursor, app stops responding and i have to kill from task manager

IN case you need it my entrire unit code is below :



unit fMain;

interface

uses WebCore, WebUI, WebForms, WebCtrls, WebDOM, WebIcons, WebBtns,
WebHTTP, WebGrids;

type

   TForm1 = class(TDialog)
      Icon1: TIcon;
      procedure Icon1AnimationsComplete(Sender: TObject);
   private
      { Private declarations }
      procedure l(s:string);
   public
      { Public declarations }
   end;

var
   Form1: TForm1;

implementation

procedure TForm1.l(s:string);
begin
   LogOutput(s,'http://localhost:8080/log');
end;

procedure TForm1.Icon1AnimationsComplete(Sender: TObject);
begin
   with Icon1 do
   begin
      //
   end;
   with Icon1 do
   begin
      //
   end;

   if (Icon1.height = 120) and (Icon1.width = 120) then
   begin
      Icon1.beginUpdate;
      try
         Icon1.height := 60;
         Icon1.width := 60;
      finally
         Icon1.EndUpdate;
      end;
   end
   else
   begin
      Icon1.beginUpdate;
      try
         Icon1.height := 120;
         Icon1.width := 120;
      finally
         Icon1.EndUpdate;
      end;
   end;
end;

end.






Raul
Mon, Jan 11 2016 1:00 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Raul,

<< I can duplicate it here. Just picked random unit i had - happened to be the font demo (beating heart font icon). >>

I just tried it here with the exact same unit text and the exact same 2.04 binary, and it just won't fail.

What happens if you un-check Replace All and step through ?  Does it lock up after the second "with" replacement ?

Thanks,

Tim Young
Elevate Software
www.elevatesoft.com
Mon, Jan 11 2016 1:07 PMPermanent Link

Raul

Team Elevate Team Elevate

On 1/11/2016 1:00 PM, Tim Young [Elevate Software] wrote:
> What happens if you un-check Replace All and step through ?  Does it lock up after the second "with" replacement ?

If i uncheck "replace all" then after prompting for the 1st occurrence
and after responding Yes it stops.

if i leave "replace all" checked but keep responding with Yes to every
prompt then it keeps jumping between the 2 with statements.

Similarly with No - keeps jumping between 2 with statements.

Responding with All at any time causes IDE to remain busy and not
responding.

It looks from here that it's not stopping after going thru the document
once.

Raul
Mon, Jan 11 2016 1:11 PMPermanent Link

Raul

Team Elevate Team Elevate

On 1/11/2016 1:07 PM, Raul wrote:
> It looks from here that it's not stopping after going thru the document
> once.

It's the environment Editor setting "Find Wrap Around" - if checked it
locks up the IDE.

if unchecked all is OK

Raul
Page 1 of 2Next Page »
Jump to Page:  1 2
Image