08-26-2008, 04:41 AM
Function Disable_Text
Trigger CSa
Function Enable_Text
Trigger CSAa
This is what I've got so far...is there any better way to do this?
Mainly the big problem is that this spits it out line by line...which eats up a lot of undo steps.
It'd be better if it set text as one block chunk.
Trigger CSa
str s.getsel()
ARRAY(str) arr = s
for(int'i 0 arr.len)
,s.format(";_%s[]" arr[i])
,key (s)
Function Enable_Text
Trigger CSAa
str s.getsel()
ARRAY(str) arr = s
for(int'i 0 arr.len)
,arr[i].findreplace(";_")
,key (arr[i])
,outp "[]"
This is what I've got so far...is there any better way to do this?
Mainly the big problem is that this spits it out line by line...which eats up a lot of undo steps.
It'd be better if it set text as one block chunk.