Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
About
Team
Rules
Stats
Status
Sitemap
Chat
Downloads
Forum
News
Our Projects
Major Community Projects
Recent Posts
Unread Posts
Replies
Tools
SourceCoder3
Other Things...
Omnimaga Radio
TI-83 Plus ASM File Unsquisher
Z80 Conversion Tools
IES TI File Editor
Free RAM areas
Comprehensive Getkeyr table
URL Shortener
Online Axe Tilemap Editor
Help
Contact Us
Change Request
Report Issue/Bug
Team
Articles
Members
View the memberlist
Search For Members
Buddies
Login
Register
Omnimaga
»
Forum
»
Calculator Community
»
Other Calc-Related Projects and Ideas
»
TI-Nspire
»
Jens' Script Editor - An on-calc lua editor
« previous
next »
Print
Pages:
1
...
7
8
[
9
]
10
11
...
16
Go Down
Author
Topic: Jens' Script Editor - An on-calc lua editor (Read 145880 times)
0 Members and 2 Guests are viewing this topic.
Jens_K
LV4
Regular (Next: 200)
Posts: 187
Rating: +52/-0
Re: Jens' Script Editor - An on-calc lua editor
«
Reply #120 on:
September 06, 2013, 08:18:53 am »
Indeed, I dont know where to get a list of all keywords to mark... If you find more I forgot please report it! Here are the lists of the keywords I got now:
Spoiler
For
Purple
:
"'",'"',"[[","]]","nil","true","false"
Spoiler
For
Blue
:
"function","return","end","for","in","do","if","then","else","elseif","while","and","or","not","local","repeat","break"
Spoiler
For
Pink
:
"assert","collectgarbage","error","_G","getfenv","getmetatable","ipairs","load","loadstring","next","pairs","pcall","print","rawequal","rawget","rawset","select","setfenv","setmetatable","tonumber","tostring","type","unpack","_VERSION","xpcall","require","class"
«
Last Edit: September 06, 2013, 08:19:52 am by Jens_K
»
Logged
+1/-0 karm for this message
Sorry for nonsense.
Projects:
AnToX98
LV4
Regular (Next: 200)
Posts: 107
Rating: +10/-0
Re: Jens' Script Editor - An on-calc lua editor
«
Reply #121 on:
September 26, 2013, 01:24:03 pm »
Would be super interesting to custom the color synthaxing, or simply improve it (like, puting number input in green)
Logged
My Lua projects :
Jens_K
LV4
Regular (Next: 200)
Posts: 187
Rating: +52/-0
Re: Jens' Script Editor - An on-calc lua editor
«
Reply #122 on:
September 26, 2013, 04:03:51 pm »
Ah, good idea, I'll add that to the list. The most work will be developing a gui for that
Logged
Sorry for nonsense.
Projects:
Roondak
LV3
Member (Next: 100)
Posts: 54
Rating: +4/-3
Re: Jens' Script Editor - An on-calc lua editor
«
Reply #123 on:
September 28, 2013, 11:47:36 am »
I've been using this script editor, it's really good.
Logged
Jens_K
LV4
Regular (Next: 200)
Posts: 187
Rating: +52/-0
Re: Jens' Script Editor - An on-calc lua editor
«
Reply #124 on:
September 29, 2013, 08:12:53 am »
Small Update: Version 1.0.1 is now attached to the first Post
It only contains some Bugfixes, missing syntax colorations and
huge performance optimisations!
It now runs superfast on handheld device because of partially frame updates!
Logged
+2/-0 karm for this message
Sorry for nonsense.
Projects:
Adriweb
Editor
LV10
31337 u53r (Next: 2000)
Posts: 1708
Rating: +229/-17
Re: Jens' Script Editor - An on-calc lua editor
«
Reply #125 on:
September 29, 2013, 08:23:18 am »
Very nice
Not so much of a small update, then
Logged
My calculator programs
TI-Planet.org
co-admin.
TI-Nspire Lua programming
:
Tutorials
|
API Documentation
AnToX98
LV4
Regular (Next: 200)
Posts: 107
Rating: +10/-0
Re: Jens' Script Editor - An on-calc lua editor
«
Reply #126 on:
October 01, 2013, 10:29:27 am »
That's a very nice update (I tested it and it works fine) but there's some bugs :
- When you add a new line with enter, all the code dissapear
That's is an all versions bug, but it's very annoying :
- Running TI-images on code slow down very much the editor (If there's no way to correct this, maybe create a different editor page only for TI-images ?)
Logged
My Lua projects :
LDStudios
Coder Of Tomorrow
LV6
Super Member (Next: 500)
Posts: 388
Rating: +41/-1
Re: Jens' Script Editor - An on-calc lua editor
«
Reply #127 on:
October 01, 2013, 09:23:04 pm »
I really like this program. The one issue is that long scripts cause the program to run slow, but there is not a whole lot that can be done about this. It is MUCH faster with the update though, Nice job!
«
Last Edit: October 01, 2013, 09:24:05 pm by LDStudios
»
Logged
Jens_K
LV4
Regular (Next: 200)
Posts: 187
Rating: +52/-0
Re: Jens' Script Editor - An on-calc lua editor
«
Reply #128 on:
October 02, 2013, 07:27:32 am »
Thank you all for your nice feedback!
@AnToX98: Indeed, these are serious bugs which I have to fix soon, thanks for the report!
Logged
Sorry for nonsense.
Projects:
Jens_K
LV4
Regular (Next: 200)
Posts: 187
Rating: +52/-0
Re: Jens' Script Editor - An on-calc lua editor
«
Reply #129 on:
October 09, 2013, 01:42:23 pm »
Another tiny Update:
Version 1.0.2 is now attached to the first Post
Fixes:
- program won't crash now if you try to copy an empty line
- all lines will now be visible if you press enter on an indented line
- syntax colouring is now limited to 250 chars/line
- correct description of image:rotate in the Reference Guide
Very long lines of code will still vastly slow the editor down but not as much as before
But I know what the problem is now and I'll try to solve it for v2.0!
Logged
+1/-0 karm for this message
Sorry for nonsense.
Projects:
AnToX98
LV4
Regular (Next: 200)
Posts: 107
Rating: +10/-0
Re: Jens' Script Editor - An on-calc lua editor
«
Reply #130 on:
October 30, 2013, 06:04:54 am »
Working on insert function ? Because we really need that, coding oncalc is not very confonrtable with the non-azerty keyboard
Logged
My Lua projects :
The_King
LV5
Advanced (Next: 300)
Posts: 247
Rating: +6/-2
Ⓣⓗⓔ Ⓖⓐⓜⓔ ⓍⒹ
Re: Jens' Script Editor - An on-calc lua editor
«
Reply #131 on:
November 03, 2013, 02:02:53 pm »
jens
this is great
i am a beginner @ lua
yet this helping a lot
but i have a request
can u make separate document for lua directory with greater explanation
Logged
LDStudios
Coder Of Tomorrow
LV6
Super Member (Next: 500)
Posts: 388
Rating: +41/-1
Re: Jens' Script Editor - An on-calc lua editor
«
Reply #132 on:
November 03, 2013, 02:06:29 pm »
Always nice to see another lua programmer
Logged
Jens_K
LV4
Regular (Next: 200)
Posts: 187
Rating: +52/-0
Re: Jens' Script Editor - An on-calc lua editor
«
Reply #133 on:
November 03, 2013, 04:54:30 pm »
@hking1: Hi and welcome to omnimaga! Im glad to see that my program helps newcomer to get into nspire lua programming
The included reference guide is the
official scripting api guide
. I think once you understood the basics it's enough information to use those functions properly. To get into nspire lua programming,
here
is a very useful wiki. To understand the structure of a nspire program just download a random program
at ticalc.org
and look through the code (That's how I learned lua programming
) I hope this helps a bit; I'm not that good at writing guides (in english)...
@AnToX98: Well, I'm very busy with Minecraft 2D and school right now, I don't know when I'll be able to come back to work on the script editor. But I promise to work on the insert function first
Logged
Sorry for nonsense.
Projects:
The_King
LV5
Advanced (Next: 300)
Posts: 247
Rating: +6/-2
Ⓣⓗⓔ Ⓖⓐⓜⓔ ⓍⒹ
Re: Jens' Script Editor - An on-calc lua editor
«
Reply #134 on:
November 06, 2013, 10:00:20 pm »
i have a problem
when you want to publish a program i can save the document as something else. but pressing the [EE] button just opens the code again.
hope someone will help
thanks in advance.
Logged
Print
Pages:
1
...
7
8
[
9
]
10
11
...
16
Go Up
« previous
next »
Omnimaga
»
Forum
»
Calculator Community
»
Other Calc-Related Projects and Ideas
»
TI-Nspire
»
Jens' Script Editor - An on-calc lua editor