Commit Graph

56 Commits

Author SHA1 Message Date
Bert Münnich
e4dbde31ed Small alignment adjustments 2015-03-28 13:53:30 +01:00
Sebastian Schmidt
cc8e579de0 url-select: Unset underline flag after partial redraw
This fixes the behaviour where after redraw of only parts of the line
the underline flag was still being set even though the new line doesn't
match anymore. This can be simulated for example by starting an editor,
typing a URL and changing e.g. the http:// part to xttp:// without
changing the line length (vim: rx) where the part beginning with ttp://
keeps being underlined.

This commit sets the 3rd custom rendition bit (starting at 0) of a cell
iff the underline was being added as a result of the cell being part of
a match. If so, on a line update these underline flags get cleared again
(together with the custom rendition bit) to be then re-set after a
(possible) successful match.
2015-03-23 19:24:15 +01:00
Stanislav Seletskiy
10c64a552f compatibility with urxvt 9.21+ 2015-01-22 22:28:44 +06:00
Bert Münnich
e68375c3d4 url-select: catch button presses, fixes issue #54 2014-11-05 22:13:23 +01:00
komar
25c42de9e8 matcher.pattern. starts from 0 2014-05-24 09:44:54 +02:00
komar
5419db7608 copy from 'matcher'. allow comments and spaces in patterns 2014-05-24 09:44:35 +02:00
Bert Münnich
34ae181a0a url-select: fixed underlining of URLs, fixes issue #47 2014-04-07 21:01:29 +02:00
Bert Münnich
a4eed96cc6 url-select: New default regex, fixes issue #47 2014-04-06 11:34:24 +02:00
Bert Münnich
e54f4c238e Abort keyboard & url selection modes with Ctrl-c; fixes issue #46 2014-03-20 21:44:28 +01:00
Bert Münnich
6481d92137 Nicer living 2014-01-21 22:26:25 +01:00
woky
cbed482f73 Allow button modifiers in url-select
Almost verbatim copy from matcher.
2013-12-15 17:01:33 +01:00
Bastien Dejean
adacf7920d Add support for the Git URL scheme 2013-01-14 11:58:29 +01:00
Bert Münnich
c05d319ba6 Removed version number from extensions 2012-09-13 21:50:22 +02:00
Bert Münnich
af715b615d Stable version 2.0, released as bundle 2012-08-19 13:56:32 +02:00
Bert Münnich
c34082d99f Made all options namespaced 2012-08-16 11:41:33 +02:00
Bert Münnich
6139557a85 Merge remote-tracking branch 'meh/options'
Conflicts:
	README.md
	url-select
2012-08-16 11:33:25 +02:00
Bert Münnich
53cbf53540 Merge remote-tracking branch 'vifon/master'
Conflicts:
	url-select
2012-08-16 11:29:48 +02:00
meh
8d8d6e4a00 url-select: make options namespaced 2012-08-12 13:27:05 +02:00
Andrew Wong
19da7013ce url-select: fix typo from previous merge 2012-07-27 01:32:02 +10:00
Bert Münnich
6fd697e297 Mentioned support for matcher.pattern resources in README 2012-07-10 21:57:03 +02:00
meh
b5631d1d90 url-select: support matcher configurations 2012-07-10 21:41:26 +02:00
Wojciech Siewierski
21ed78a650 url-select: new selection method
see: https://github.com/muennich/urxvt-perls/issues/18
2012-04-02 11:20:44 +02:00
Wojciech Siewierski
c3977f5565 updated README.md 2012-04-01 00:14:06 +02:00
Wojciech Siewierski
9a9f84b31f Merge remote-tracking branch 'upstream/master' 2012-03-27 01:15:25 +02:00
Bert Münnich
b438097350 url-select: increased version number 2012-01-20 23:26:58 +01:00
Tim Smart
447842ee48 Use selection_make instead of selection_grab.
For some reason selection_grab was not working with my urxvt setup,
however the selection_beg, selection_end and selection_make trio worked
fine.

Signed-off-by: Tim Smart <tim@fostle.com>
2012-01-18 19:40:38 +13:00
Wojciech Siewierski
48762bc273 url-select: much cleaner URL autocopy 2012-01-13 11:29:22 +01:00
Wojciech Siewierski
1380bad3d2 url-select: selected URLs are automatically copied
When an URL is selected, it is copied to the clipboard using the selected tool.
2012-01-13 02:14:04 +01:00
Bert Münnich
eb9b7a606a Fixed issue #16
Handle mouse button events on URLs only, if no cursor movement occurs between
press and release events.
2011-12-24 12:00:08 +01:00
Bert Münnich
530853ccb3 Updated doc 2011-11-05 13:18:49 +01:00
Billy Lamberta
b7dc52cb27 Added alternate link navigation using arrow keys and home/end. 2011-11-04 16:11:59 -03:00
Bert
35acc02354 Discard line cache when using g/G mappings 2011-08-03 10:19:51 +02:00
Bert
95c1029b64 url-select: g/G mappings to select first/last URL 2011-08-03 10:14:22 +02:00
Bert
b3249e81dd Updated doc 2011-05-28 12:52:44 +02:00
Bert
7a7e77ce52 url-select: version 1.5 2011-04-27 19:12:38 +02:00
Bert
ef4343a85c url-select: nicer splitting of urlLauncher value 2011-04-23 15:32:34 +02:00
Bert
e1141ccb01 url-select: fixed argument handling in urlLauncher resource 2011-04-23 15:26:57 +02:00
Bert
f3357d9b7e url-select: slightly refactored 2011-04-20 11:19:25 +02:00
Steven Merrill
944e6bd953 Adding configurable mouse button setting. 2011-04-15 01:56:07 -04:00
Bert
1ac89b1d8c url-select: version 1.4 2010-09-12 20:44:19 +02:00
Bert
cbdbb7927e url-select: fixed matching of URLs with umlauts 2010-08-29 22:08:22 +02:00
Bert
07623a60fc made status area more compact 2010-08-20 20:02:41 +02:00
Bert
f63af26b81 nicer status area, fixed [fF;,] in keyboard-select 2010-08-20 16:58:37 +02:00
Bert
ec0f6210f4 url-select: updated README, on_line_update -> line_update 2010-08-17 20:41:12 +02:00
Bert
91cd34f1a1 url-select: new o/q keyboard mappings
https://bbs.archlinux.org/viewtopic.php?pid=810493#p810493
2010-08-17 17:04:58 +02:00
Bert
61f4a686ca url-select: version 1.3 2010-08-16 19:50:58 +02:00
Bert
4a7de6ccaa url-select: made status area more vim-like 2010-08-16 17:24:27 +02:00
Bert
73cb4ef3bf url-select: version 1.2 2010-08-15 15:31:08 +02:00
Bert
5c7b3bab22 url-select: added overlay showing index of current url 2010-08-15 15:28:19 +02:00
Bert
d797dfb717 url-select: version 1.1 2010-08-13 22:06:40 +02:00