481
OmnomIRC Development / Re: OmnomIRC changelog and suggestions
« on: July 24, 2013, 03:53:33 pm »
Yup, I'd like mouse wheel support by default too
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to. 481
OmnomIRC Development / Re: OmnomIRC changelog and suggestions« on: July 24, 2013, 03:53:33 pm »
Yup, I'd like mouse wheel support by default too
482
TI-Nspire / Re: Jens' Script Editor - An on-calc lua editor« on: July 24, 2013, 03:40:48 pm »
Well, most of apilevel 1 are in apilevel 2. The contrary is false, of course.
Some things I came across while testing : - Can you also alphabetize the documentation ? (http://alphabetizer.flap.tv/ might even work as expected) - So, now that the computer view works fine (except some dialogs), the thing missing so that it works on the iPad is.... the keyboard showing up In fact, on the iPad, the keyboard doesn't apprear in Lua until you specifically make it pop up. Look at the apilevel "2.2" functions (as usual, don't force the apilevel in your script, and test if the "touch" table is present. If it is, then do the tablet-related stuff.) Edit : Example : Code: [Select] if platform.isTabletModeRendering then Edit2 : that could be in your on.mouseUp routine. Also, the iPad would require another key/something to go back to the editor... any ideas ? Edit 3 : When you paste, you are waiting for an event like a click to occur, what about just showing the pasted text as soon as it's done ? Edit 4 : HA ! I made it work on the iPad, it's Awesome ! I'm gonna make a little video sometime (or well, when it fully works ^^) (Well, there is still that back-to-editor issue but still ) Edit 5 : You should put copy/paste in an "Edit" toolpalette. (also, there is an issue on the iPad version, you may have to put that somewhere : "platform.window:setFocus(false) platform.window:setFocus(true)" . 483
TI-Nspire / Re: Jens' Script Editor - An on-calc lua editor« on: July 24, 2013, 03:07:06 pm »
Ah, very nice update
Edit : also, what about apilevel 2 documention ? (without the physics stuff, though) 484
News / Re: Classpad II fx-CP400 hardware - a hidden SD card reader ?« on: July 24, 2013, 02:54:44 pm »Some corrections: Very nice (and welcome here), where did you find all that ? 485
TI-Nspire / Re: Jens' Script Editor - An on-calc lua editor« on: July 24, 2013, 08:56:40 am »- How to check and delete those variables?Usually, in a math page, to see them : press the var button, or Ctrl-L. To delete them : just do a bunch of "Delvar xxxx". But seeing the amount of variables you have here, you should just create a new .tns and copy/paste the lua page onto the new one, so there won't be a single basic variable anymore (until your scripts makes some) - Yeah, I thought about mouse-based selection but then I thought: "Why would anyone use the ported Script Editor when he could just use the original one on the PC?!"Well, then it'd work on the iPad too, for example - The problem here is that when I reduce the space between the letters even one pixel, Upper-case characters like "W" or "G" or "M" would overlap each other and the code wouldn't be readable anymore...Ok - I've set apilevel='1.0' for compatibility reasons, the new withGC doesn't work here (?)... But maybe I'll make a 3.2 Version of the Editor some day...If you "compile" your lua code with Luna and don't set an apilevel, then the script will work under all 3.x OSes. Then it's yoru job to detect what features are available. For example, detecting if we are on 3.2 (apilevel "2.0") is easy : if platform.withGC then .... end or : if platform.registerErrorHandler .... So that way you can have things that work on all platforms and newer versions can have more features if available - I like the Idea an autocompletion, but that is huge function and I think I actually used EVERY user-caused eventWell, still, it'd be uber cool (and it's not even done correctly (pretty much the same as if there were none) in the computer software !) PS: I know the code is far from perfect, I am still new to lua (and even to programming in general) and I'm still far from knowing all opportunities of lua. You may like posting some improvement proposal on the code. Thanks for the feedback!It's pretty good core already, especially if you're new to Lua 486
TI-Nspire / Re: Jens' Script Editor - An on-calc lua editor« on: July 23, 2013, 05:00:57 pm »
Congrats, quite awesome
Feedback : - There are a few useless bits like "if xxxx == nil" and "if xxxx == true" etc. (can be replaced respectively bu "if not xxxx" and "if xxxx") - The .tns file contains a large amount of debug/useless variables in Basic, you should clean that up - What about making the selection mouse-based too ? (it'd feed more natural on all platforms, then, in addition to what's available now) - Awwww you put all the sizes/coordinates in absolute values So, in Computer View on the software, it's still calculator-sized When you have some time, don't hesitate to convert all that to relative values (fractions of pww and pwh (platform.window:width()/height()) - I haven't yet looked very well at how you handle the font but could you think about making all the letters even-spaced (still monospaced, sure, however a bit less space in general between the letters ?). Also : you should add "S" to the list of letters to add an offset. - For compatibility reasons, you should try to avoid gc=platform.gc() and look at this replacement for 3.2 (in conjunction to this for 3.1) - Some autocompletion would be very nice too, maybe with a "popup" list as you type, that completes when you [tab] ? 487
Lua / Re: Creating/formating an evaluated Math Box from Lua script?« on: July 22, 2013, 04:05:50 pm »
What about tmp = tostring(math.eval(yourCalculation)) and then setExpression('\\0el {'..tmp..'} ') ?
488
HP Calculators / Re: HP Prime CAS: Error reports, request, etc :« on: July 22, 2013, 03:04:12 pm »Yeah IIRC for the calc itself they're under NDA until September, as does anyone else who received a sample of the calc, so they might not be allowed to showcase it until then. Of course, some people already did, but it's best that others respect HP's wishes to not show things before they want you to, else in the future they will feel more relunctant about giving people the chance to test samples of their products.^ This exactly. Edit : btw, I "posted" to this forum but my message apparently didn't get past validation... 489
Miscellaneous / Re: Post your typing speed« on: July 22, 2013, 05:54:48 am »
I've done 109 in the past but today ...
490
TI-Nspire / Re: Jens' Script Editor - An on-calc lua editor« on: July 22, 2013, 05:33:17 am »
A direct example is here : http://ourl.ca/18733/345285
Also, we have asked TI to give us more control ( / easier way) to access files like that, since it ca be useful for loading external data .. 491
TI-Nspire / Re: TI-nspire Hold 'em - Basic and Lua« on: July 10, 2013, 05:39:00 am »
Epita's logic....
492
TI Z80 / Re: TI84+C Buttonz« on: July 05, 2013, 03:12:43 am »
Awesome !
Pretty amazing speed actually (I wonder how the heck TI made their b&w-looking OS go so slow on scrolling menus then.... ?) 493
Lua / Re: Nspire-Lua IDE : plugin for Intellij IDEA« on: July 03, 2013, 09:19:47 am »
I haven't figured out a way to get args hemp 100% of the time.
It' pretty much because things that are passed by the functions aren't really recognized as external elements (gc for example) that it can look up for help. Try not passing (temporarily, while you write) gc as an argument, for example, and start typing 'gc:drawS' for example. Sometimes with "gc." I'm not sure. The Lua addon is great but not so wonderful with external APIs that have objects stuff like this... Anyway, my setup instructions is nothing more than what I've written in the first post of this topic 494
Lua / Re: Nspire-Lua IDE : plugin for Intellij IDEA« on: June 30, 2013, 05:26:49 am »
Hmm, seeing activity on this topic reeminded me that I had a 2.1 version of the plugin that I just uploaded : http://tiplanet.org/forum/archives_voir.php?id=8182
No major things but improvements here and there. Also, depending on IDEA's version (apparently), some autocompletions get better, some "worse" (not so bad but...), meh, it's still very helpful BTW, I have set up in the IDE a special "tool" that makes me able to directly launch TINCS with the script (it saves the .lua file, calls Luna on it, and launches it.) It's a simple one-liner, and can trivially be ported to a Mac command. As for Linux (and actually nspire_emu, it would require a bit more work, yes...) 495
General Calculator Help / Re: What to do about the TI Nspire?« on: June 28, 2013, 07:01:23 am »
Nope
(well, AFAIK) |
|