*** empty log message ***
authorroot <root>
Wed, 8 Mar 2006 15:43:02 +0000 (15:43 +0000)
committerroot <root>
Wed, 8 Mar 2006 15:43:02 +0000 (15:43 +0000)
src/perl/selection-popup

index 2db8a90c33a7babb4dd870048fb3b47803a77740..56b43c4dcff564d533d4bc75a3741b3074f091fa 100644 (file)
@@ -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/ });