Re: Jens' Script Editor, un éditeur Lua oncalc qui promet !
Posté: 10 Juin 2014, 16:56
Et précisons qu'il fonctionne à nouveau pour OS 3.1.
News, programmes, tutoriaux, forum sur les calculatrices TI !
https://tiplanet.org/forum/
function on.paint(gc)
-- all the init + stuff --
on.paint = onpaint
end
function onpaint(gc)
gc:......
end
New:
- settings menu
- adjustable amount of spaces per indent
- activatable unicode mode (replaces some string functions by their unicode representive)
- activatable autoregistered menu (OS>3.1) on user script page which offers to:
- stop and restart current script
- pause and resume current script
- show/hide ipad keyboard
- shift++/shift+- now lets you scroll pagewise through your script
- insert saved files (menu=>"File"=>"Insert") (to insert saved headers and other stuff) *lazy solution *
Improvements:
- rewrote some safety functions
- You can do everything with the "on"-table now; the user script page wont crash, even on OS 3.1!
- eventhandling with on's metatable is now possible with nearly no restrictions and crashes
- still "on" is only for eventhandling. For table library functions, it acts like an empty table!
- don't write on=yourTable, do setmetatable(on,{_index=yourTable}) instead!
- improved dialogues (default cursor, customizable color, click outside = escape key)
- the editor now registeres an error handler on OS>3.1 so that it shouldn't crash
- the editor now searches for saved files instead of remembering them => less lost files
Fixes:
- print function now handles nil values correctly
- recalling saved settings now works
- added table and coroutine libraries to autocompletion list
- fixed that some scriptnames (e.g. starting with letter "e") were not possible