cnCalc计算器论坛

 找回密码
 注册
搜索
查看: 14268|回复: 34

[TI-Nspire系列] [多彩更新]ZSE:最好的lua代码编辑器

[复制链接]
发表于 2018-1-20 21:02:37 | 显示全部楼层 |阅读模式
计算器程序
程序名称: Z’s script editor
平台: TI-Nspire 
系统/软件要求: OS3.6
版本号: 1.1
类型: 其他 
作者: MrZ
大小(K): 10
更新日期: 2018-10-03
描述: 超级超级超级好用的lua代码编辑器!
已知缺陷: 没有撤销和重做
源代码: 开源/部分开源 » 其它许可协议(请注明)
本帖最后由 zqqyyy 于 2020-5-7 01:31 编辑

本次更新:颜色风格设置(暂时只有两种)快捷重复上一命令,快速填充下一行,自动“补全”,语法检测,错误返回,以及超多的细节修改!
另外,文档还附带了我收集的NS特殊字符页面,和Jens的新版API说明书(已经过同意)!


隆重献上一个超赞的Lua机上编辑器!高效,舒适,安全(?)
在机上做lua小程序的朋友们一定一定一定要下载本编辑器!!!
(灵感来自Jens的Lua编辑器)用Jens的编辑器做程序的时候感觉文字显示怪怪的,操作速度还慢,没有查找替换(新版有了),行间距和字体大小都不能设置,看着也累,于是就用Jens的编辑器的主要设计自己做了一个的编辑器!

New:
查找替换功能
更多快捷键(%;#这几个常用符号的快捷键也加入了,使用更方便)
更多快捷输入
字体,字体大小设置
缩进长度设置
行间距设置
api设置“自动”完成
下一行填充

自然文字显示
更流畅的操作
……


程序开源,不过请勿抄袭喔,谢谢~

声明一下,没有用Jens的源代码!!!只是界面,返回方式借鉴了一下Jens的做的编辑器(方便使用???)
下面这些就是文件第二页里的介绍,其实也不太需要看……就是一些更新日志快捷键看得懂就行,设计得很人性化的!
(Forgive for my poor poor poor English↓)
You can write and run LUA code in this editor!
Making this editor with lots of time......sad.
Special thanks to Jens,I used his(her?) editor to write my own editor.And I added many things.


New features:1:Shortcut Keys:
(-)→:          e^(,10^(→[ ]          ln,log→{ }
shift+[+]→#     shift+[-]→;      ctrl+[÷]→%
ctrl+[^]→>     ctrl+[^(2)]→<    ctrl+(space)→_
sto→Add comment
:=→Remove comment
Ans→Auto fill the next row
≈→repeat last command
↵→Auto complete(see help in menu)
2:Search and replace(case sensitive):In menu,you can find or replace a string(without space)
3:Selecting:press ctrl+click to select!
You can copy or cut selected string.Or paste something to replace them.Only can pressing esc quit selecting.
4:Natural cursor moving:you can move the cursor more naturally.
5:Command row:press ctrl+menu to input commands.All codes in menu,or you can input them in your own too.Example:"find 123".In command row ,restore last command with key "up",or press ctrl+var directly.
6:Add/Remove comment:In menu or shortcut key,add comment("--") to SELECTED ROWS.You can debugging with this.
7:Auto Completing:Input the 3-len string,like "gfr",then press the return key(↵).Details in menu.
8:Row fill:Press ctrl+(-)(Ans),next row will be filled with this row.You can create a big if/elseif block with this.
9:Font&Rowheight setting:You can set font in menu!And you can resizing the window freely.
10:Indent length setting:You can set Indent length in menu.
11:File manage:All functions in menu.Explore it by your self~
12:Return to editor by key "EE" at the bottom of the keyboard.--Tip:If you redefined on.charIn in your program,call "t_G.back()" to return to the editor.

Attention!No undo or redo!This may exist in the next version?I don't know...but I'll try it.(NO)

2018/2/26 Cursor moving update to get better using experience.
2018/3/18 Arrowkey bug fixed.Better codes to save cache.2018/5/13 Add:Api 2.2 supporting,Easy Chinese inputing,changed some shortcut key(see up)
2018/5/20 Add:Syntax Error Recall!!!!! Fixed:Copying problem,Changed shortcut key again(see up),changed preset codes
2018/10/2 Add:Api 2.4 supporting,Syntax Error Checking,Auto Completing,row filling
Fixed:Arrowkey's invaliding,timer.gMSC()'s spelling error,clear oprating changed

下一版预告:还没想好

Jens的新版API说明书,不过没有翻译

Jens的新版API说明书,不过没有翻译

护眼配色

护眼配色

夜间配色

夜间配色
01-20-2018 Image005.jpg

Hellow world!

Hellow world!

字体大小和行间距可调

字体大小和行间距可调
05-13-2018 Image001.jpg

我找到的特殊字符,注意下面的字母是角标符号,比小号字符还要小的

我找到的特殊字符,注意下面的字母是角标符号,比小号字符还要小的

更多设置!

更多设置!

新的键盘布局参考

新的键盘布局参考
10-03-2018 Image003.jpg
10-03-2018 Image002.jpg
10-03-2018 Image001.jpg

Z's Script editor V1.1.tns

29.91 KB, 阅读权限: 1, 下载次数: 80, 下载积分: 金钱 -1

多彩更新

发表于 2018-1-20 23:57:21 | 显示全部楼层

回帖奖励 +3 金钱

支持大佬
发表于 2018-1-21 20:27:32 | 显示全部楼层

回帖奖励 +3 金钱

不错很棒
发表于 2018-1-24 12:17:46 | 显示全部楼层

回帖奖励 +3 金钱

膜拜大神
发表于 2018-1-26 16:51:42 | 显示全部楼层

回帖奖励 +3 金钱

同龄人啊,大佬,我就是个渣渣
发表于 2018-1-26 21:23:58 | 显示全部楼层
有自动缩进吗
 楼主| 发表于 2018-1-27 12:17:09 | 显示全部楼层

缩进有的,tab缩进长度也可以设置
发表于 2018-2-20 17:14:51 | 显示全部楼层

回帖奖励 +3 金钱

好好的帖,要支持一下。
发表于 2018-2-22 15:10:32 | 显示全部楼层

回帖奖励 +3 金钱

数学类软件越多越好
发表于 2018-2-22 19:42:27 | 显示全部楼层

回帖奖励 +3 金钱

靠谱嘛。。
 楼主| 发表于 2018-2-26 10:08:52 | 显示全部楼层

很靠谱的不过还有一些不影响使用的小BUG会修复的
发表于 2018-4-4 19:45:35 | 显示全部楼层

回帖奖励 +3 金钱

lua初学者瑟瑟发抖
发表于 2018-4-21 09:47:27 | 显示全部楼层

回帖奖励 +3 金钱

好高端的样子。作为初学者从何入手呢
 楼主| 发表于 2018-4-22 09:45:55 | 显示全部楼层
mag_kummel 发表于 2018-4-21 09:47
好高端的样子。作为初学者从何入手呢

找helloworld,然后lua官方手册,还有那个jens的lua编辑器附带了一个api查询工具,这三个我觉得还行吧?
 楼主| 发表于 2018-5-13 13:09:22 | 显示全部楼层
中文输入已更新!
发表于 2018-5-19 23:16:44 | 显示全部楼层
你好,有源码供学习吗,
发表于 2018-5-19 23:17:31 | 显示全部楼层
非常支持的!
发表于 2018-5-19 23:41:33 | 显示全部楼层
中文输入是个好东西
 楼主| 发表于 2018-5-20 08:12:57 | 显示全部楼层
sandyzhang 发表于 2018-5-19 23:41
中文输入是个好东西

你下载下来用学生软件就能看了
 楼主| 发表于 2018-5-20 13:28:18 | 显示全部楼层
大更新!!!修复1.08的复制失效,增加语法错误显示功能!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|cnCalc计算器论坛

GMT+8, 2024-3-29 02:57 , Processed in 0.059413 second(s), 24 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表