Re: Fwd: Selecting URLs opens them



Hi Daniel!

Am 28.06.2001 00:20:13 schrieb(en) Daniel Foster:
> I put this on the list, but just to make sure you get it, since I'm not
> sure if you noticed it upon your return.
> 
> Ah the price of writing a useful bit of Balsa :-)

Hey, it's nice to get feedback :-))

[snip]
> Selecting all or part of a highlighted URL in a message, for example to
> copy it for pasting somewhere else, is treated as a click on the URL and a
> browser is opened.

Well, actually balsa calls the url upon releasing the mouse button if you are
still over the url. So (if this does not cause any trouble for you), here are
two tricks which might help:

* if the url is the only text in this line: drag with the mouse button pressed
over the whole URL, and move the pointer behind it or into the window frame
(== outside the text area) In both cases you will notice that the cursor
changes back from the "hand" to the "arrow". Then you release the mouse button
outside the url, and you end up with the url marked, but no browser call
happens.

* If there is at least a space befroe or behind the url, you do the same
trick: you drag the mouse so you can release the button over the space (again,
the pointer should have changed. If you hand is "fine tuned", you don't even
mark the space!). The drawback in this case is that you may have one
additional character in the output if you press the middle mouse button.

> Balsa needs to realise that the mouse has moved and not open the link.

Hmm, I could also catch the button-press-event and define a threshold to
decide if it's a drag (==mark some text), or a simple click. I'll think over
that...

Thanks again, Albrecht.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Albrecht Dreß  -  Monschauer Straße 22  -  D-53121 Bonn (Germany)
      Phone (+49) 228 6199571  -  E-Mail albrecht.dress@arcormail.de
_________________________________________________________________________




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]