• Jens' Script Editor - An on-calc lua editor 5 2
Currently:  

Author Topic: Jens' Script Editor - An on-calc lua editor  (Read 145838 times)

0 Members and 1 Guest are viewing this topic.

Offline AnToX98

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 107
  • Rating: +10/-0
    • View Profile
Re: Jens' Script Editor - An on-calc lua editor
« Reply #150 on: May 26, 2014, 12:08:37 pm »
The old image format still works as well.



My Lua projects :

Offline Jens_K

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 187
  • Rating: +52/-0
    • View Profile
Re: Jens' Script Editor - An on-calc lua editor
« Reply #151 on: May 27, 2014, 11:28:52 am »
Sorry, I had no time yesterday, but now here is the first v2.0 alpha release:

Improvements:
- Seperate Applications for editor, console and user script execution application (I have no idea how to call it :P )
- console:
  - logs the "print" outputs, errors and status logs of the editor (will be adjustable)
  - scroll with arrow keys
  - clear with ctrl+del
- user script executor  ::)
  - support and securety for advanced event handling
- editor
  - fixed the insert function
  - more efficient syntax colouring (still a bit buggy)



Note:
- This is a very early alpha release, there are many bugs and unfinished features, feel free to report all bugs you find!
- After hitting "run" in the menu, switch to page 1.2; there your script will get executed as soon as you switch
- To stop your program switch back to the editor and press the return-button ("the little arrow in the bottom right corner)
- You have to manually stop the running program before you can start a new version
- Starting and stopping your script will be much easier and clearer in future releases

- You can freely rearrange and resize the applications as wanted, but only the console application is ment to be copy&pasted
- If the console on the user script page gets in your way, just click on it's bar and delete it
- The whole code is muddled up, I'll tidy it up later

PS: I'm also searching for a better name; "Jens' Script Editor" is quite unhandy... Would "IDE" be a correct term to describe this program, so that I can call it "jIDE" or something like that?
« Last Edit: May 27, 2014, 11:39:18 am by Jens_K »
Sorry for nonsense.

Projects:



Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: Jens' Script Editor - An on-calc lua editor
« Reply #152 on: May 27, 2014, 11:58:49 am »
You can stick with TINCS 3.2, it will be better for at least easily support OS 3.2.
And the apilevel by default will be good enough.

Downloaded the version, will try soon :)
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline AnToX98

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 107
  • Rating: +10/-0
    • View Profile
Re: Jens' Script Editor - An on-calc lua editor
« Reply #153 on: May 27, 2014, 12:06:34 pm »
Why I can't open MENU :D ?



My Lua projects :

Offline Jens_K

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 187
  • Rating: +52/-0
    • View Profile
Re: Jens' Script Editor - An on-calc lua editor
« Reply #154 on: May 27, 2014, 12:16:24 pm »
Why I can't open MENU :D ?
Probably because you focus the console application, that happened to me too a few times ;) Just click on the editor so that it's rim is black instead of grey
Sorry for nonsense.

Projects:



Offline AnToX98

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 107
  • Rating: +10/-0
    • View Profile
Re: Jens' Script Editor - An on-calc lua editor
« Reply #155 on: May 27, 2014, 12:42:03 pm »
No I'm 100% on the editor and I can't open menu :(


EDIT : I deleted "platform.apilevel = 1.0" and replaced create by on.construction and it works :D
« Last Edit: May 27, 2014, 12:55:17 pm by AnToX98 »



My Lua projects :

Offline mdr1

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 303
  • Rating: +21/-2
    • View Profile
Re: Jens' Script Editor - An on-calc lua editor
« Reply #156 on: May 27, 2014, 02:58:01 pm »
It doesn't work on 3.1. :(



Offline Jens_K

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 187
  • Rating: +52/-0
    • View Profile
Re: Jens' Script Editor - An on-calc lua editor
« Reply #157 on: May 27, 2014, 04:59:32 pm »
No I'm 100% on the editor and I can't open menu :(


EDIT : I deleted "platform.apilevel = 1.0" and replaced create by on.construction and it works :D
Hm.. I couldn't recreate the problem, probably because you have 3.6 and I have 3.2... Thanks for the report, I'll fix it!


It doesn't work on 3.1. :(
Yes, this prerelease works only on OS>=3.2! I didn't think anybody still uses OS 3.1. Is there a special reason that you still use it? Because I'm not sure if I should still support OS3.1
Sorry for nonsense.

Projects:



Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: Jens' Script Editor - An on-calc lua editor
« Reply #158 on: May 27, 2014, 05:33:39 pm »
I plan to stick with os 3.1 because 3.6 sucks. :P Ndless 3.6 still supports it.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Jens' Script Editor - An on-calc lua editor
« Reply #159 on: May 27, 2014, 05:37:25 pm »
The only reason why I think OS 3.1 could be used is that it's smaller, so you have extra diskspace to stock games and programs. However, OS 3.6 has a much faster Lua language than previous OSes so it has more game possibilities, while still having Ndless support.

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: Jens' Script Editor - An on-calc lua editor
« Reply #160 on: May 27, 2014, 05:39:16 pm »
Nah, I heard too much crap about OS 3.6. This is definitely not going onto my calc. :P

Offline Jens_K

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 187
  • Rating: +52/-0
    • View Profile
Re: Jens' Script Editor - An on-calc lua editor
« Reply #161 on: May 27, 2014, 06:07:30 pm »
Ok I understand that you don't upgrade to 3.6 (I haven't upgraded yet too) but whats the problem with 3.2?
Sorry for nonsense.

Projects:



Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: Jens' Script Editor - An on-calc lua editor
« Reply #162 on: May 27, 2014, 06:11:07 pm »
I do dual boot 3.2 already. So it not running on 3.1 is not an issue as long as 3.2 works. ;)
The "wrong" part about 3.2 is no ndless on it.

Offline Jens_K

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 187
  • Rating: +52/-0
    • View Profile
Re: Jens' Script Editor - An on-calc lua editor
« Reply #163 on: May 27, 2014, 06:15:57 pm »
Ok, thank you! Supporting 3.1 would be much more work (as I mentioned earlier). So I'll develop for OS3.2+ for now and maybe do a 3.1 version later :)
Sorry for nonsense.

Projects:



Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: Jens' Script Editor - An on-calc lua editor
« Reply #164 on: May 27, 2014, 06:18:11 pm »
OK nice. :)