Sign in to follow this  
Followers 0
SRAutomater

Collapsing #regions

5 posts in this topic

Hi,

I've been searching through the help files and google all day, looking for a keyboard shortcut or menu item that will collapse all the defined #regions. I have not been able to find anything. Do any of the gurus here know of a way to do this?

Thanks.

Share this post


Link to post
Share on other sites



In SciTE:

View-->Toggle all folds

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Expand or contract a fold point. Ctrl+Keypad*

For a single fold tree.. not sure if there is one for all...

:D

Edited by Jos

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

Thank you so much for the replies you two. That was exactly what I was looking for. I am a little dismayed that folding a single region requires the use of a numpad key... I am using a laptop and it is effectively inaccessible. (the numlocked keys are multiplexed with the qwerty keys)

Does Scite have a configuration file to change the keyboard shortcut to fold a single region?

Share this post


Link to post
Share on other sites

You can define shortcuts by specifying them in your User properties. something like this will set Ctrl+Shift+F as the toggle shortcut for folds:

user.shortcuts=\
Ctrl+Shift+V|IDM_PASTEANDDOWN|\
Ctrl+PageUp|IDM_PREVFILE|\
Ctrl+PageDown|IDM_NEXTFILE|\
KeypadPlus|IDM_EXPAND|\
KeypadMinus|IDM_BLOCK_COMMENT|\
Ctrl+F1|IDM_HELP_SCITE|\
Ctrl+Shift+F|IDM_TOGGLE_FOLDRECURSIVE|

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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
Sign in to follow this  
Followers 0