F8 line jump in editor

Ideas for new features & functions

Moderators: Dorian (MJT support), JRL

Post Reply
User avatar
JRL
Automation Wizard
Posts: 3501
Joined: Mon Jan 10, 2005 6:22 pm
Location: Iowa

F8 line jump in editor

Post by JRL » Tue Nov 06, 2007 10:16 pm

So I'm testing a few lines of code in the middle of a large script. I place the cursor on the line that I want to start debugging and I press F8 to begin. The selected line immediately jumps to the bottom of the screen. I can continue pressing F8 and the screen will scroll up one line at a time but I will instead usually move the scroll bar so that the lines of code I'm watching are visible.

Is there a reason the editor screen has to place the current line at the bottom of the page when F8 is first pressed? If it has to move I'd rather see the current line jump to the top of the page, at least that way I can see the upcoming lines. My preference would be that the initial press of F8 did nothing to change the positioning of the editor screen.

Thanks for listening,
Dick

User avatar
Marcus Tettmar
Site Admin
Posts: 7380
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Wed Nov 07, 2007 9:03 am

Erm. When I press f8 the line doesn't go anywhere. It stays where it was. If I step past the visible display then the editor is scrolled one line, just as if you'd pressed the down arrow. Is that what you mean?
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

User avatar
JRL
Automation Wizard
Posts: 3501
Joined: Mon Jan 10, 2005 6:22 pm
Location: Iowa

Post by JRL » Wed Nov 07, 2007 1:17 pm

My cursor is sitting on a line that is in the middle of the screen. I'm on line 300 of 600. If I press F8 the current line immediately becomes the line at the bottom of the screen. After that pressing F8 is like pressing the down arrow. Once I'm in debug mode, I can use the scroll bar to reposition the current line in the center of the screen and there is no more "jumping".

Hope this makes sense.

If you're not having this issue, I'll tinker with some of my settings to see if I've caused this.

User avatar
Marcus Tettmar
Site Admin
Posts: 7380
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Wed Nov 07, 2007 1:34 pm

If my cursor is on a line in the middle of the screen when I hit F8 the cursor goes to the next line, and so on until it reaches the line at the bottom. Thereafter the page is scrolled one line at a time. It certainly doesn't jump immediately to the bottom. It has to get there first. If you see what I mean.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

User avatar
JRL
Automation Wizard
Posts: 3501
Joined: Mon Jan 10, 2005 6:22 pm
Location: Iowa

Post by JRL » Wed Nov 07, 2007 1:38 pm

I see what you mean and that is how I would like mine to behave. I'll take a look at settings to see if I can umake and remake the issue. Thanks for your response.

User avatar
JRL
Automation Wizard
Posts: 3501
Joined: Mon Jan 10, 2005 6:22 pm
Location: Iowa

Post by JRL » Wed Nov 07, 2007 3:14 pm

Just went to a new Win XP SP2 PC. It has only a few apps loaded, Acrobat Reader, Pegasus Mail, Mozilla fireFox, possibly a few other minor utilities. Otherwise a fresh off the CD Windows Operating System only one day old and never touched by a "normal" human being... just Keller....;-)

- I installed Macro Scheduler Standard version 9.2.
- Opened the sample Calculator script in the Advanced Editor.
- Scrolled down to where line 80 shows in the middle of the screen.
- Pressed F8......
- Line 80 jumps to the bottom of the screen.
- Uninstalled for ethical reasons.

Thanks for listening,
Dick

User avatar
Marcus Tettmar
Site Admin
Posts: 7380
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Wed Nov 07, 2007 3:22 pm

Odd, I just tried the same. Didn't jump to end. Anyone else?
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Me_again
Automation Wizard
Posts: 1101
Joined: Fri Jan 07, 2005 5:55 pm
Location: Somewhere else on the planet

Post by Me_again » Wed Nov 07, 2007 4:30 pm

Yep, that's exactly what I see.

You have the calculator script open in advanced editor.

Scroll so line 80 is near the top of the screen

Place cursor on line 80

Hit F8

Line 80 and the Green Caret is now the last but one line on the screen.

Need screenshots?

9.1.02 and XP Pro on this laptop.

User avatar
Marcus Tettmar
Site Admin
Posts: 7380
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Wed Nov 07, 2007 4:34 pm

Ok - I just tried it in XP and I now see the same thing. The line is not the last one but certainly very near the bottom after pressing F8. For some reason I don't get the same behaviour in Vista.

Well, I'll try to find out a reason and if it's within my control I will "fix" it.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Me_again
Automation Wizard
Posts: 1101
Joined: Fri Jan 07, 2005 5:55 pm
Location: Somewhere else on the planet

Post by Me_again » Wed Nov 07, 2007 4:38 pm

I'm on a laptop with a 800 pixel high screen, so that may factor into just where it lands relative to the bottom of the window.

User avatar
JRL
Automation Wizard
Posts: 3501
Joined: Mon Jan 10, 2005 6:22 pm
Location: Iowa

Post by JRL » Thu Nov 08, 2007 5:30 am

Well, I'll try to find out a reason and if it's within my control I will "fix" it.
Couldn't ask for a better response than that.
Thank you Marcus.

Thanks for your help Me_again. Without your confirmation I was simply a whiner.

What a great forum :D

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Thu Nov 08, 2007 6:34 am

Hello Dick.

I am seeing the same response. Was not able to duplicate with the first instructions. But once I did not start the Step process, and placed the focus on line 80, then pressing F8 did put line 80 on the bottom of the window.

This happens when window is maximized and when it is made much smaller.
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

User avatar
Rain
Automation Wizard
Posts: 550
Joined: Tue Aug 09, 2005 5:02 pm
Contact:

Post by Rain » Sat Nov 10, 2007 5:11 pm

Working fine on my XP Pro machine

User avatar
JRL
Automation Wizard
Posts: 3501
Joined: Mon Jan 10, 2005 6:22 pm
Location: Iowa

Post by JRL » Wed Nov 28, 2007 3:28 pm

Editor behavior changed in version 10 so that this is no longer an issue.

Thank you... :D

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts