Icon View Thread

The following is the text of the current message along with any replies.
Messages 11 to 20 of 22 total
Thread If there was one thing...
Fri, Jul 12 2013 12:49 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Ronald,

<< After installing version build 2 I get the error: Illegal argument at
Line 1. Even if I comment out all my code it still exists. If I install
build 1 there is no error. >>

It's a bug in the image resizing.  The workaround is to set the
TImage.Center property to True, or replace this code:

procedure TImage.UpdateImageBounds;
var
  TempTop: Integer;
  TempLeft: Integer;
  TempHeight: Integer;
  TempWidth: Integer;
  TempAspectRatio: Double;
begin
  if FLoaded and (Height > 0) and (Width > 0) then
     begin
     TempHeight:=FImage.height;
     TempWidth:=FImage.width;
     if (not FAutoSize) and (not Docked) and
        (FStretch or (FProportional and ((TempWidth > Width) or (TempHeight
> Height)))) then
        begin
        if FProportional and (TempWidth > 0) and (TempHeight > 0) then
           begin
           TempAspectRatio:=(TempWidth/TempHeight);
           if (TempWidth > TempHeight) then
              begin
              TempWidth:=Width;
              TempHeight:=Round(Width/TempAspectRatio);
              if (TempHeight > Height) then
                 begin
                 TempHeight:=Height;
                 TempWidth:=Round(Height*TempAspectRatio);
                 end;
              end
           else
              begin
              TempHeight:=Height;
              TempWidth:=Round(Height*TempAspectRatio);
              if (TempWidth > Width) then
                 begin
                 TempWidth:=Width;
                 TempHeight:=Round(Width/TempAspectRatio);
                 end;
              end;
           end
        else
           begin
           TempWidth:=Width;
           TempHeight:=Height;
           end;
        end;
     if FCenter then
        begin
        TempTop:=((Height-TempHeight) div 2);
        TempLeft:=((Width-TempWidth) div 2);
        end
     else
        begin
        TempTop:=0;
        TempLeft:=0;
        end;
     SetElementBounds(FImage,TempTop,TempLeft,TempHeight,TempWidth);
     end;
end;

I'm adding a new compiler warning for this - the compiler should have caught
this and it would have saved me the trouble of a new build.

Tim Young
Elevate Software
www.elevatesoft.com
Fri, Jul 12 2013 1:04 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Matthew,

<< At the moment, I find I often find I want to go to the location of a
function or reference, so I need to search for it. The easiest way is to
copy the selection to the clipboard with Ctrl-C, then Ctrl-F for find, then
Ctrl-V to paste it. I then have to move to the top, and search. Now, this
works, but it would be so much better without the copy so that I can use the
clipboard for better things.  >>

Are you referring to finding the text at the cursor ?  If so, then this was
added in 1.02 B2.  You can also bounce back and forth between method
declarations and implementations in 1.02 B2 using Ctrl-Shift-Up/Down arrows.

Tim Young
Elevate Software
www.elevatesoft.com
Fri, Jul 12 2013 3:43 PMPermanent Link

Matthew Jones

"Tim Young [Elevate Software]" <timyoung@elevatesoft.com> wrote:
> Matthew,
>
> << At the moment, I find I often find I want to go to the location of a
> function or reference, so I need to search for it. The easiest way is to
> copy the selection to the clipboard with Ctrl-C, then Ctrl-F for find,
> then Ctrl-V to paste it. I then have to move to the top, and search. Now,
> this works, but it would be so much better without the copy so that I can
> use the clipboard for better things.  >>
>
> Are you referring to finding the text at the cursor ?  If so, then this
> was added in 1.02 B2.  You can also bounce back and forth between method
> declarations and implementations in 1.02 B2 using Ctrl-Shift-Up/Down arrows.

OOoooooohhh... Can't wait until Monday now. Thanks!


--
Matthew Jones
Sun, Jul 14 2013 6:15 PMPermanent Link

Steve Gill

Avatar

<< You can also bounce back and forth between method declarations and implementations in 1.02 B2 using Ctrl-Shift-Up/Down arrows. >>

I didn't even know that was there.  Thanks Tim, it was becoming very tedious without that.
Mon, Jul 15 2013 4:56 AMPermanent Link

Matthew Jones

> Are you referring to finding the text at the cursor ?  If so, then
> this was added in 1.02 B2.  

I can't find a way to get this to work. I select a word, hit Ctrl-F, I am at the
empty find prompt.

> You can also bounce back and forth
> between method declarations and implementations in 1.02 B2 using
> Ctrl-Shift-Up/Down arrows.

This works though - super improvement.

/Matthew Jones/
Mon, Jul 15 2013 10:10 AMPermanent Link

Raul

Globestar Systems

Team Elevate Team Elevate

On 7/15/2013 4:56 AM, (Matthew Jones) wrote:
> I can't find a way to get this to work. I select a word, hit Ctrl-F, I am at the
> empty find prompt.

Did you check the "Find text at Cursor" option in settings?

Also it seems to literally look for under the cursor so don't select the
word but just place the cursor inside the keyword - that works for me.

I'm guessing when selecting the word the cursor might be outside the
word and hence the issue

Raul
Mon, Jul 15 2013 10:21 AMPermanent Link

Uli Becker

In addition: I still can't find a way for a global search in all units.
That would be really helpful. Smile

Uli
Mon, Jul 15 2013 11:51 AMPermanent Link

Matthew Jones

> Did you check the "Find text at Cursor" option in settings?

[fx: Click. Bang]

Thank you.

/Matthew Jones/
Mon, Jul 15 2013 1:08 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Uli,

<< In addition: I still can't find a way for a global search in all units.
That would be really helpful. Smile>>

I'm working in IDE/code editor improvements little by little, so it
shouldn't be very long until I get to that.

Tim Young
Elevate Software
www.elevatesoft.com
Mon, Jul 15 2013 1:13 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Raul,

<< Also it seems to literally look for under the cursor so don't select the
word but just place the cursor inside the keyword - that works for me. >>

I'm fixing this so that it grabs the current selection also.  I just missed
it when I did this feature.

Can you tell that I don't use this feature ? Wink

Tim Young
Elevate Software
www.elevatesoft.com
Previous PagePage 2 of 3Next Page
Jump to Page:  1 2 3
Image