projects
/
dana
/
urxvt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f06042e
)
*** empty log message ***
author
root
<root>
Wed, 8 Mar 2006 15:43:02 +0000
(15:43 +0000)
committer
root
<root>
Wed, 8 Mar 2006 15:43:02 +0000
(15:43 +0000)
src/perl/selection-popup
patch
|
blob
|
history
diff --git
a/src/perl/selection-popup
b/src/perl/selection-popup
index 2db8a90c33a7babb4dd870048fb3b47803a77740..56b43c4dcff564d533d4bc75a3741b3074f091fa 100644
(file)
--- a/
src/perl/selection-popup
+++ b/
src/perl/selection-popup
@@
-62,6
+62,9
@@
sub on_button_press {
/./
and $add_button->("eval perl expression" => sub { no warnings; $_ = eval $_ });
+ /./
+ and $add_button->((sprintf "to unicode hex index (%x)", ord) => sub { $_ = sprintf "%x", ord });
+
/^(\S+):(\d+):?$/
and $add_button->("vi-commands to load '$1'" => sub { s/^(\S+):(\d+):?$/\x1b:e $1\x0d:$2\x0d/ });