New Script Editor
-
Shortcut key (CTRL+R I think is what Sublime uses) to open/close the bookmarks list, would also be good to give the list keyboard focus when it's opened via the shortcut and allow navigation with arrow keys and enter button :D
-
@Christoph-Hart I know you want to stay far from any tabulation grievances but when compensating for weird tabs, you can't select the second last or last char separately:
What makes the difference with the old simple editor since it was working flawlessly? I suppose it's not that simple, but I don't understand why such basic behaviour couldn't be ported to the new editor... Because in the end, these small flaws are making the experience not so good when working 10h a day in Hise
-
@Christoph-Hart CMD+F on mac doesn't work anymore to find all occurrences. It's only in the context menu.
But there's a CTRL+F that shows up a smaller version at the bottom.
Find next/prev in this one places the token at top/bottom instead of page centre, but I don't know if this should replace the old search popup anyway, which was better with its occurrence list...F8 (autocomplete stuff) on mac doesn't work, the system takes the priority (notification bar)
-
@ustk said in New Script Editor:
CMD+F
It's Cmd+Shift+F now.
BTW I took a last attempt of fixing the tabs (and with a bit of luck, the "fix weird tab" is not required anymore). Can you check on your system if the tab issues are gone?
-
@Christoph-Hart Cool! Building now...
-
Seeing weird little tab characters (I assume for testing purposes?)
Shift+Tab still isn't working 100%. It will work if you select a block of text and your cursor is within or at the start of the text, but if the cursor is at the beginning of the line (before the text) it doesn't work. It also doesn't work on single lines.
I saw you also implemented the bookmarks shortcut :) very nice! I notice when you click to open the bookmarks list it closes the minimap, but it doesn't do it with the shortcut.
-
@Christoph-Hart I'm not seeing @d-healey strange chars on mac...
Great, the tab now works, fix the weird tab enabled or not.
Although when a line contains a tab somewhere in the middle (not at the beginning), you cannot select anymore the last char (usually the semicolon for instance).
Also notice the semicolon colour... -
@d-healey said in New Script Editor:
I notice when you click to open the bookmarks list it closes the minimap, but it doesn't do it with the shortcut.
Yes this is intentional - if you use the shortcut, it's supposed to be a "modal" overlay (you'll notice that in this case it will also not rebuild the line layout (if line breaks are enabled). This prevents the lines from jumping around if you toggle it with the shortcut.
And no, the weird tab characters are not for testing purposes, but I might have an idea why they are there. At least it's now consistent for all of us.
-
For the love of god, please tell me that it works now...
-
@Christoph-Hart Building... :crossed_fingers:
-
Shitf+tab still not quite there but I don't have the weird characters any more :) Poor Christoph, you need another holiday after this.
-
@Christoph-Hart YEEEEEEHAAAAAAA!!!!!
-
@d-healey fixing Shift+Tab was easy mode...
-
@Christoph-Hart You're a wizard!
Doesn't work on single lines, but I can live without it :)
Actually shift+tab on a single line is moving focus to the callback dropdown menu.
-
@d-healey Yeah. Shift+Tab was actually working yesterday, now it's gone!
-
What I find super nice, is the wrapping brackets when you insert them at the end of a word/whatever... But it doesn't work the other way round yet...
-
-
Enable line breaks, Show whitespace, and Autoshow autocomplete are still enabled each time Hise is opened no matter what you set as @d-healey suggested previously.
-
I imagine Fix weird tab can be removed since it has no action... And that's because you rock ChrisBoy !
-
-
@ustk said in New Script Editor:
Enable line breaks, Show whitespace, and Autoshow autocomplete are still enabled each time Hise is opened no matter what you set.
I've found that sometimes it sticks and sometimes it doesn't. I'd rather have this as a global preference like the code editor size.
-
@d-healey +1 for global :)
-
Yes, I'll probably change that to a JSON file in the app data directory that can be edited to set global editor settings.