SciTE Hopper v1.0.5.6 : Jump to any line by one click ! Update of 26 Oct 2014


51 posts in this topic




Posted

Can't help but feeling a little confused ... although a little Jump versus Hop competition might not be a bad thing. :)

Share this post


Link to post
Share on other sites

Posted

Great idea, could be really handy for scripts with very many func's,

however on testing with many functions (at least 300) it seems to have a good few bugs :-/

It jumps to the wrong function quite often, it unfolds a random amount of functions above and below it.

If i set it to not unfold the jumped to func it looks like it get the right func (more often) but still decides to unfold other functions below.

If i set it to set selected func to the top of the scite window it more often than not fails (dont put func to top) and again decideds to unfold some other functions below it

Its a great idea, I would use it nearly all the time, just needs a little tweaking.

Share this post


Link to post
Share on other sites

Posted

wakillon,

I've already discussed with JackDinn about this, but it isn't a bug, it's the default behaviour of SciTE. To test select View >> Toggle All Folds and then use 'search and replace' the same behaviour is replicated. Of course if you can find a workaround all the better.

Share this post


Link to post
Share on other sites

Posted (edited)

Can't help but feeling a little confused ... although a little Jump versus Hop competition might not be a bad thing. :)

Try both and do your choice !

But once again i'm open to all interesting suggestions ! :)

Great idea, could be really handy for scripts with very many func's,

however on testing with many functions (at least 300) it seems to have a good few bugs :-/

It jumps to the wrong function quite often, it unfolds a random amount of functions above and below it.

If i set it to not unfold the jumped to func it looks like it get the right func (more often) but still decides to unfold other functions below.

If i set it to set selected func to the top of the scite window it more often than not fails (dont put func to top) and again decideds to unfold some other functions below it

Its a great idea, I would use it nearly all the time, just needs a little tweaking.

Folded or not folded in SciTE Editor, SciTE Hopper will Always show the clicked function.

I mean that the start of this function will be visible, not that cursor will be exactly on it.

I use WinAPIEx.au3 ( with more than 800 functions, Folded or not folded ) for my tests with always good results.

I do not say it's displayed with precision, but start of function is well showed ( with or without top setting ).

Don't forget that script file must be saved for SciTE Hopper detects changes since the last backup and be fully effective.

Thanks for feedback. ;)

wakillon,

I've already discussed with JackDinn about this, but it isn't a bug, it's the default behaviour of SciTE. To test select View >> Toggle All Folds and then use 'search and replace' the same behaviour is replicated. Of course if you can find a workaround all the better.

You're right, until we don't find a way for set precisely the first "visible" line in SciTE Editor, we can only adapt to its default behavior. :D

( Problem solved on 32 bit )

Edited by wakillon

Share this post


Link to post
Share on other sites

Posted

Updated

More precise and helpfull !

See first post.

Share this post


Link to post
Share on other sites

Posted

You're right, until we don't find a way for set precisely the first "visible" line in SciTE Editor, we can only adapt to its default behavior. :)

( Problem solved )

The problem is still present in your latest version.

Share this post


Link to post
Share on other sites

Posted

The problem is still present in your latest version.

Did you try it ?

Share this post


Link to post
Share on other sites

Posted

I tried on Windows 7 x64.

Share this post


Link to post
Share on other sites

Posted

I can't actually test on Windows 7 x64 but i can say it works well on Seven 32 bit !

I'm working to an update with new functionalities, so if you find the cause of this problem don't hesitate to say me !

Which function doesn't work correctly ? :)

Share this post


Link to post
Share on other sites

Posted (edited)

Which function doesn't work correctly?

It's not a specific function, just how SciTE works. But if it works on 7 x32 then great.

Edit: I'll see if I can find a workaround and get back to you if I do.

Edited by guinness

Share this post


Link to post
Share on other sites

Posted

wakillon

SciTE Hopper Options > Other > Automatically Expand TreeView

Better to do auto-save state when Collapse and Expand. Separately for each section

----------

Go to the center can be calculated. We must get the current position. Then calculate the number of rows in front of the function. Make adjustments depending on jump up and down. The correction depends on the height of the window and the number of visible rows. I for Notepad++ did.

Share this post


Link to post
Share on other sites

Posted

It's not a specific function, just how SciTE works. But if it works on 7 x32 then great.

Edit: I'll see if I can find a workaround and get back to you if I do.

Thanks !

I, who was reluctant to upgrade to Windows Seven 64 bit, that does not motivate me ! :)

Is there a 64 bit SciTE version ?

Share this post


Link to post
Share on other sites

Posted

I use SciTE4AutoIt which is 32-bit. It's not about the architecture, just ask JackDinn if it's fixed.

Share this post


Link to post
Share on other sites

Posted

I use SciTE4AutoIt which is 32-bit. It's not about the architecture, just ask JackDinn if it's fixed.

He answered me he was like you on 64 bit and said that was the way scite works...

So i don't understand what is in cause... :)

Share this post


Link to post
Share on other sites

Posted

wakillon

SciTE Hopper Options > Other > Automatically Expand TreeView

Better to do auto-save state when Collapse and Expand. Separately for each section

----------

Go to the center can be calculated. We must get the current position. Then calculate the number of rows in front of the function. Make adjustments depending on jump up and down. The correction depends on the height of the window and the number of visible rows. I for Notepad++ did.

So, if i well understand, you would like another options setting for collapse and expand :

one for Regions and another for Functions.

Good idea !

And it already goes to the center, when using go to line button :)

Share this post


Link to post
Share on other sites

Posted

wakillon

If you add WinActivate for SciTE when you click, you can see the selected row

Share this post


Link to post
Share on other sites

Posted

wakillon

If you add WinActivate for SciTE when you click, you can see the selected row

That's why there is _SciTEWinActivate ( ) at the end of Case $_GotoLineBtn in the main loop ! :)

Share this post


Link to post
Share on other sites

Posted

wakillon,

I don't know if you knew but for creating headers you can jump to the function line and then use >>_SciTE_Send_Command("YOURHWND", "SCITEDIRECTORHWND, "menucommand:1134")

Share this post


Link to post
Share on other sites

Posted

wakillon,

I don't know if you knew but for creating headers you can jump to the function line and then use >>_SciTE_Send_Command("YOURHWND", "SCITEDIRECTORHWND, "menucommand:1134")

It's in au3.properties, command 34 (IDM_TOOLS+34)

It can be desactived in SciTE Config Tools Selection Tab.

It's also accessible in Tools Menu (Ctrl+Alt+H).

I wanted to insert a header you can personalyze as you want without modify SciTE Config.

Talking about SciTE Config, i meet a bug.

When i click on Check for SciTEAutoit3 Updates It return "No updates available"

So i click on Ok button and it open The SelectColor gui... :)

May be already reported ? ;)

Share this post


Link to post
Share on other sites

Posted

OK, no problem, was just pointing it out.

Share this post


Link to post
Share on other sites

Posted

New Version !

Share this post


Link to post
Share on other sites

Posted

New Version !

Thanks for the update. A must have addon I use all the time.

Share this post


Link to post
Share on other sites

Posted (edited)

Thanks for the update. A must have addon I use all the time.

Glad you find it usefull !

Thanks .

Edited by wakillon

Share this post


Link to post
Share on other sites

Posted

Finally Updated !

More stable and more powerfull ! ;)

See first Post.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now