Closed lozn00 closed 5 years ago
If you mean that whether the editor supports js or java style comment,it doesn't. Use lua style comment instead.@qssq
I found a lot of versions of textwarrior from the Internet, and I didn't find the answer. I can't display comments using the lua version.
//https://github.com/luoyesiqiu/simpleC/tree/master/app/src/main/java/com/myopicmobile/textwarrior/common //https://github.com/LingSaTuo/CreateJS //https://github.com/brnogz/TextWarriorLibrary //https://github.com/qtiuto/lua-for-android english //https://github.com/XsJIONG/VIDE //https://github.com/fengdeyingzi/CodeEditor //https://github.com/nirenr/AndroLua_pro
My ability is not enough, a lot of code inside can't understand
There is a part of the code inside.
Can't understand, don't know how to modify it to be compatible with js, realize // turn green
/**
/**
/**
can you hellp me? 😔
Long comment in lua is this style --[[ this comment can be multi-line ]]
, and short comment starts with --
. @qssq
I know, I mean, I want to change it to js ide, then support // and /**/, I am having problems and can’t start.
It's not an easy task to convert the lua lexer to js lexer cause its definition is hard to change and many attributes is hard coded. I suggest you finding out another proper lexer to do so. Actually, I just copy the editor from another project for short. @qssq
ide support js language comment ?