I found the code folding shortcut keys in the preferences, but I haven't been able to make them work on any code. Is there a certain group of keywords or comments it works with? I'm using a MySQL connection, not in word wrap mode.
Thanks!
I found the code folding shortcut keys in the preferences, but I haven't been able to make them work on any code. Is there a certain group of keywords or comments it works with? I'm using a MySQL connection, not in word wrap mode.
Thanks!
I use it quite a bit to jump around long scripts.
My scripts generally look like this:
line 5 : #region link news and posts
line 56 : #endregion
line 58 : #region link news and pictures
line 102: #endregion
line 103: #region cross-reference posts and pictures
line 137: #endregion
I assign a hotkey to collapse all, then I can click or hotkey GotoLine to jump into the right section. I didn't see a way to jump to a certain line number in HeidiSQL though.
Thank you
I have to add some code to activate folding in SynEdit. For example I have to define what starts a folding region, and what ends it. I just overtook your proposal and get this:
Note the horizontal scrollbar in spite of the pressed "Word wrap" button. SynEdit does not support wordwrap when code folding is active.
If you file a feature request I will attempt to add that code to one of the next builds.
Please login to leave a reply, or register at first.