快速登录:  

Forum: VirtualDJ Plugins

话题: VDJScript Code Editor - Page: 2

由于该帖子已年深日久,可能包含陈旧过时或描述错误的信息。

2 add:

- Search replace
- Search for string and add a marker in the tree to mark the mappings where the string is found
 

发表时间 Thu 04 Jul 13 @ 6:46 pm
Just downloaded the new version... I like what you did with the syntax highlighter, in no longer has to redraw after every character input which was causing it to flash, now it seems more responsive.

I'm not seeing where we can use find and replace, I tried [ctrl + f] and [ctrl + h] in all four sections but no love.. Also my edit menu is dulled out and inaccessible.
 

发表时间 Fri 05 Jul 13 @ 12:56 am
nono, this was an emergency bugfix for reloading the code after editing. Search repleace is up in my wishlisdt
 

发表时间 Fri 05 Jul 13 @ 1:19 am
The performance is smthing ill look at eventually, ill need to overwrite standard redraw routines, that will be a bit of a bitch
 

发表时间 Fri 05 Jul 13 @ 1:20 am
I'm not sure you need to keep worrying about the performance, it is running great on my PC at the moment.
 

发表时间 Fri 05 Jul 13 @ 1:57 am
I was just thinking...

//comments would be cool aswell

the regex for it is

if(string.match(/\/\/.*$/)){
string.replace(/\/\/.*$/, /[$&$&]/);
}

**It's using forward slash delimiters**
 

发表时间 Fri 05 Jul 13 @ 4:11 am
synthet1c wrote :
I was just thinking...

//comments would be cool aswell

the regex for it is

if(string.match(/\/\/.*$/)){
string.replace(/\/\/.*$/, /[$&$&]/);
}

**It's using forward slash delimiters**


Does VDJScript itself support comments?
 

发表时间 Fri 05 Jul 13 @ 1:31 pm
no unfortunately it doesn't
 

发表时间 Fri 05 Jul 13 @ 1:54 pm
mmm yeah that difficult than, right now I dont store the editor text, I only convert it on the fly and convert it back. But i'll think of something ;)
 

发表时间 Fri 05 Jul 13 @ 2:13 pm
sup JB.. I have been playing with your app, another issue I am having is I cant use [TAB] to format my scripts nicely, and it wont auto format until you exit the program and reload.
 

发表时间 Sun 07 Jul 13 @ 2:36 am


(陈旧帖子或论坛版块会自动关闭)