mIRC Home    About    Download    Register    News    Help

Print Thread
Selecting text #220473 15/04/10 03:44 PM
Joined: Jul 2006
Posts: 3,729
W
Wims Offline OP
Hoopy frood
OP Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 3,729
I've recently discovered a good feature, often implemented on text editors : column mode selection.
It allow you to select the text by column instead of by line (clearer).
It would be a great addition to the channel/query/etc/ windows and to the script editor, not sure which key combinaison could be used to activate this though because mIRC already assign a feature to a lot of them but it would be a really useful feature !


Looking for a good help channel about mIRC? Check #mircscripting @ irc.swiftirc.net
Re: Selecting text [Re: Wims] #220474 15/04/10 03:50 PM
Joined: Oct 2004
Posts: 8,330
Riamus2 Offline
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
I might have a couple ideas where this might be slightly useful, but nothing to really make it worth adding. In what way do you think this would be useful to have?


Invision Support
#Invision on irc.irchighway.net
Re: Selecting text [Re: Riamus2] #220475 15/04/10 04:00 PM
Joined: Jan 2003
Posts: 2,523
Q
qwerty Offline
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
I support the suggestion. Column selection is a great feature in various environments (not just text/code editors), including mirc: more often than I can remember, I have needed to copy a bunch of lines from one person (eg somebody pasting code) without including the "[HH:nn] <nick>" part. Similarly, since mirc supports tabbed text in custom windows (/window -t), column selection is a natural feature to have (what if I want to copy an entire column from that window).


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
Re: Selecting text [Re: Riamus2] #220476 15/04/10 04:13 PM
Joined: Jul 2006
Posts: 3,729
W
Wims Offline OP
Hoopy frood
OP Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 3,729
Qwerty answered wink


Looking for a good help channel about mIRC? Check #mircscripting @ irc.swiftirc.net
Re: Selecting text [Re: qwerty] #220477 15/04/10 04:34 PM
Joined: Oct 2004
Posts: 8,330
Riamus2 Offline
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Yeah, I considered both of those. The tabs in custom windows would make column selection useful, though that's mostly limited to custom windows rather than channel/query. As far as code, that also came to mind. The reason I didn't really think it was more than a minor convenience is because you are limited by line wrapping, which can happen often in scripts. Now, if it were possible to disable line wrapping AND have column highlighting, then I can see a real benefit to it. Otherwise, you gain a slight benefit in that you can copy some pasted scripts, but not others.

Anyhow, I just wanted to see what the reasons behind the original post were. It helps to show why it's wanted and what benefit there is so Khaled can decide if the benefits are worth it. Of course, I don't think adding column highlighting is a major undertaking.

The only real problem that it would have to solve is control codes. If you're on line 2 of a wrapped text and are not copying the end of the line before or the beginning of line 2, the highlighting would have to figure out what color or bold/underline/etc is needed on line 2.


Invision Support
#Invision on irc.irchighway.net
Re: Selecting text [Re: Riamus2] #220478 15/04/10 04:44 PM
Joined: Jul 2006
Posts: 3,729
W
Wims Offline OP
Hoopy frood
OP Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 3,729
Quote:
The only real problem that it would have to solve is control codes. If you're on line 2 of a wrapped text and are not copying the end of the line before or the beginning of line 2, the highlighting would have to figure out what color or bold/underline/etc is needed on line 2.
Hum ? I don't really understand what's the problem you're describing, but the feature is just about selecting, whatever the text is


Looking for a good help channel about mIRC? Check #mircscripting @ irc.swiftirc.net
Re: Selecting text [Re: Wims] #220481 15/04/10 05:04 PM
Joined: Sep 2005
Posts: 2,881
H
hixxy Offline
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
I think he means like this..

12345<BOLD>6789<WRAP TO NEXT LINE>
12345<BOLD>6789

Let's say you just wanted to copy "6789" from both lines, mIRC would have to be smart enough to figure out that the first line should be bold and the second shouldn't.

I'm sure Khaled is more than capable of coding that though laugh

Re: Selecting text [Re: hixxy] #220487 15/04/10 05:37 PM
Joined: Oct 2004
Posts: 8,330
Riamus2 Offline
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Yes, exactly. And, yes, I'm sure Khaled could do that. I was just meaning that it would be the only thing that would be difficult in adding the feature (I think).


Invision Support
#Invision on irc.irchighway.net
Re: Selecting text [Re: Riamus2] #220590 19/04/10 08:22 AM
Joined: Jan 2009
Posts: 116
Knoeki Offline
Vogon poet
Offline
Vogon poet
Joined: Jan 2009
Posts: 116
Would definately be a cool feature to have. It's not something I want often, but when I do, I miss it :_)


http://zowb.net

/server -m irc.p2p-network.net -j #zomgwtfbbq
(ssl on port 6697 and 7000)