Connexion rapide:  

Forum: VirtualDJ Plugins

Sujet VDJScript Code Editor - Page: 2

Ce topic est ancien et peut contenir des informations obselètes ou incorrectes.

2 add:

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

Posté 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.
 

Posté 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
 

Posté 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
 

Posté 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.
 

Posté 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**
 

Posté 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?
 

Posté Fri 05 Jul 13 @ 1:31 pm
no unfortunately it doesn't
 

Posté 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 ;)
 

Posté 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.
 

Posté Sun 07 Jul 13 @ 2:36 am


(Les anciens sujets et forums sont automatiquement fermés)