New Script Editor
-
@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.
-
@Christoph-Hart Perfect! And mini-map always on :) I don't know how we lived without it.
-
@d-healey said in New Script Editor:
@Christoph-Hart Perfect! And mini-map always on :) I don't know how we lived without it.
-- oh grief no!!!
-
@Lindon Ok, how about persistent to the last on/off state selected by the user?
-
@d-healey said in New Script Editor:
@Lindon Ok, how about persistent to the last on/off state selected by the user?
Great idea… Yes, please! +1
-
@Christoph-Hart Is it possible to make block comments closing chars to check if he's the last one, so it's working with block comment encapsulation?
Another idea could be to add the number of stars needed to include other comments (or the opposite):
/** /* */ **/
-
One important problem I've noticed with the new editor is it doesn't report some common errors.
For example, putting
g.setColour(colous.white);
in a paint routine doesn't generate an error and leaves me scratching my head until I discover thatcolous
is not a thing.