Hi!

I've noticed matcher plugin break text selection inside urls:
- start urxvt with default plugins
- type `echo start http://google.com/ end`
- click button 1 somewhere outside of url
- now try to select anything inside url, like word "google" - when you
  press button 1 inside url text large area from point of previous
  selection or previous button 1 click position to current mouse position
  is selected, and if you release button 1 inside url - it will be opened
  in browser

The fix is trivial - just delete "return 1" in on_button_press() handler
of matcher extension. This makes selection works as usually and url opens
in browser only if no more than one symbol inside url will be selected
(which just compensate unintentional mouse move while clicking inside url).

Question is, that "return 1" probably was there not without a reason, so
why/when it needed, what will break because of removing it?

-- 
                        WBR, Alex.

_______________________________________________
rxvt-unicode mailing list
[email protected]
http://lists.schmorp.de/mailman/listinfo/rxvt-unicode

Reply via email to