mIRC Home    About    Download    Register    News    Help

Print Thread
Double-click word-selecting (minor issue) #214181 22/07/09 12:13 AM
Joined: Nov 2006
Posts: 1,559
H
Horstl Offline OP
Hoopy frood
OP Offline
Hoopy frood
H
Joined: Nov 2006
Posts: 1,559
If you double-click a word in the editbox of a channnel/@window or in the scripts editor, this word (and consecutive spaces) is selected. However, if the word ends in a '-char, mIRC will select the '-char (and consecutive spaces) only.

To test/reproduce:
Quote:
Put 'this text' into some editbox, then dclick the word »text'«
mIRC selects the '-char...even if you clicked a preceeding letter of the word. (It's even more puzzling for consecutive ''''')

I'm aware this is no question of "right" or "wrong"; different apps may have a differing click-select behaviour. Many browsers for example will treat a trailing '-char as "discrete", and a '-char within a word as a "separator". But I didn't see the depicted behaviour in any other app as yet. And the whole word (including the '-char) is selected if you click in a dialog edit (options dialog/custom dialogs).
Is this by design, or a minor bug?

Last edited by Horstl; 22/07/09 12:22 AM.
Re: Double-click word-selecting (minor issue) [Re: Horstl] #214182 22/07/09 02:42 AM
Joined: Oct 2003
Posts: 3,918
A
argv0 Offline
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
Confirmed, that's unintuitive behaviour indeed.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
Re: Double-click word-selecting (minor issue) [Re: Horstl] #214189 22/07/09 12:03 PM
Joined: Jul 2006
Posts: 3,702
W
Wims Offline
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 3,702
Don't know if it's a bug but this is an old behavior, it probably always worked this way


Looking for a good help channel about mIRC? Check #mircscripting @ irc.swiftirc.net