Code tab in GP
Posted: May 29th, '18, 06:42
What do you think about this additional tab which I've added to GP.
I am still working on the possibility to save back the code in its class at my new tab.
What I've already done:
> added "Code" tab to the TabsBar (based on the NoteView)
> the text updates now automaticaly on switching to an other class
What I have to add:
> save feature (maybe a button or a context menu option)
> DoIt feature (run a marked code for the currently selected instance)
What I probably can't add:
> maybe Syntax Highlighting
> code validation
The last two features are not posible (nut sure but I think) because it is not posible to give a string-part in a textBox a different color. A textBox has a defined font, color and size.
It shows the code of the current class. I would like to create a better text-based script editor, because in my opinion the current implementation is not well implemented.I am still working on the possibility to save back the code in its class at my new tab.
What I've already done:
> added "Code" tab to the TabsBar (based on the NoteView)
> the text updates now automaticaly on switching to an other class
What I have to add:
> save feature (maybe a button or a context menu option)
> DoIt feature (run a marked code for the currently selected instance)
What I probably can't add:
> maybe Syntax Highlighting
> code validation
The last two features are not posible (nut sure but I think) because it is not posible to give a string-part in a textBox a different color. A textBox has a defined font, color and size.