|
Joined: Jul 2003
Posts: 742
Hoopy frood
|
OP
Hoopy frood
Joined: Jul 2003
Posts: 742 |
i cant seem to get the 1st line in my list box to be highlighted im using /did -c si 94 and i have tried different ways of it, but all it does is put a box around it, and not highlight it as i was wanting
|
|
|
|
Joined: Dec 2002
Posts: 2,985
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 2,985 |
I would have thought that /did -c $did(si,94,1) would work but it appears that it doesn't in the tests I have done. I even tried to uncheck it with the -u switch, no go either. Maybe it is a bug if someone else doesn't have an answer?
|
|
|
|
Joined: Jul 2003
Posts: 742
Hoopy frood
|
OP
Hoopy frood
Joined: Jul 2003
Posts: 742 |
i hope not, i need this to be highlighted
|
|
|
|
Joined: Dec 2002
Posts: 2,985
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 2,985 |
I'd like to know the answer myself, so we can wait together, ay.
|
|
|
|
Joined: Dec 2002
Posts: 191
Vogon poet
|
Vogon poet
Joined: Dec 2002
Posts: 191 |
Try adding the line number in the listbox you want highlighted. did -c si 94 1
|
|
|
|
Joined: Jul 2003
Posts: 742
Hoopy frood
|
OP
Hoopy frood
Joined: Jul 2003
Posts: 742 |
|
|
|
|
Joined: Dec 2002
Posts: 2,985
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 2,985 |
Low and behold it bloody works, thankyou.
|
|
|
|
Joined: Jan 2003
Posts: 3,012
Hoopy frood
|
Hoopy frood
Joined: Jan 2003
Posts: 3,012 |
just fyi, -c works as a select for line number, no content--though imo it should allow you to type a string (like in the /cline to coloring a nicklist)
-KingTomato
|
|
|
|
Joined: Jan 2003
Posts: 2,523
Hoopy frood
|
Hoopy frood
Joined: Jan 2003
Posts: 2,523 |
That's why $didwm was added: //did -c $dname 100 $didwm($dname,100,Some text here)
However, I wouldn't mind about a new switch, if that's what you mean. Maybe /did -cw $dname 100 Some text here to select the line that matches "Some text here" and also /did -dw $dname 100 Some text here to delete the line etc
/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
|
|
|
|
Joined: May 2003
Posts: 215
Fjord artisan
|
Fjord artisan
Joined: May 2003
Posts: 215 |
I think that it would be better like this... /did -cw $dname 100 "Some text here", N Where N has the same function as N in $didwm
- Jason
|
|
|
|
Joined: Jan 2003
Posts: 3,012
Hoopy frood
|
Hoopy frood
Joined: Jan 2003
Posts: 3,012 |
comma delimieted wouldnt be practical (imo) as it would limit you from using commans in ur values.
-KingTomato
|
|
|
|
|