mIRC Homepage
Posted By: Wims Selecting text - 15/04/10 03:44 PM
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 !
Posted By: Riamus2 Re: Selecting text - 15/04/10 03:50 PM
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?
Posted By: qwerty Re: Selecting text - 15/04/10 04:00 PM
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).
Posted By: Wims Re: Selecting text - 15/04/10 04:13 PM
Qwerty answered wink
Posted By: Riamus2 Re: Selecting text - 15/04/10 04:34 PM
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.
Posted By: Wims Re: Selecting text - 15/04/10 04:44 PM
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
Posted By: hixxy Re: Selecting text - 15/04/10 05:04 PM
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
Posted By: Riamus2 Re: Selecting text - 15/04/10 05:37 PM
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).
Posted By: Knoeki Re: Selecting text - 19/04/10 08:22 AM
Would definately be a cool feature to have. It's not something I want often, but when I do, I miss it :_)
© mIRC Discussion Forums