0 Members and 1 Guest are viewing this topic.
I'm not quite sure what you mean by commands in this case. Care to elaborate?
while (i < 32);i++;endwhile
while (i < 32) i++endwhile
Oh man, JetScript highlighting would've been sweeeeet types: int, bool, fixed, stringkeywords: global, readonly, free, if, else, elseif, endif, while, endwhile, debug, enddebug, //Operators: =, +, -, *, /, %, +=, -=, *=, /=, %=, ++, --, !, ==, !=, &&, ||, <, >, >=, <=, [, ]
This might not be possible, but is there a way to automatically space and indent a single line of code using semicolon as the newline delimiter?e.g. inserting:Code: [Select]while (i < 32);i++;endwhilewould become:Code: [Select]while (i < 32) i++endwhileand can be copied as a single string again?Because copying and pasting the code line by line can be a pain in the ass, and I'm creating a script exporter/importer inside the JetScript editor which takes and returns code in that format.
Ok, it seems a piece of cake. Just one question... Jetscript supports escape keywords?? for example: to insert a quote character in a text in php you use "\" :"He said \"hello\""
No promises... but I'll check if I can insert a conditional in the highlightning code to do that.
JetScript does not support escape characters. Instead, quote and linebreak characters must be inserted with function calls.
If it's not doable, I could add it as part of the MapString Converter.
Could you please give a hand with the supported function names?I'd like in this format:Code: PHP'exit', 'continue', 'break'If you want the functions categorized, please group them with the respective html color an style.I still haven't achieved the ; replacement, but still I have a possible idea about how to do it.
Started by moyack
Started by magos
Started by sonofjay