diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-util/visual-regexp/files/visual-regexp-3.0-help-font-fix.patch |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-util/visual-regexp/files/visual-regexp-3.0-help-font-fix.patch')
-rw-r--r-- | dev-util/visual-regexp/files/visual-regexp-3.0-help-font-fix.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/dev-util/visual-regexp/files/visual-regexp-3.0-help-font-fix.patch b/dev-util/visual-regexp/files/visual-regexp-3.0-help-font-fix.patch new file mode 100644 index 000000000000..ec3763cc9dd1 --- /dev/null +++ b/dev-util/visual-regexp/files/visual-regexp-3.0-help-font-fix.patch @@ -0,0 +1,26 @@ +diff -ur a/visual_regexp.tcl b/visual_regexp.tcl +--- a/visual_regexp.tcl 2013-11-10 01:35:49.959609478 +0100 ++++ b/visual_regexp.tcl 2013-11-10 01:34:10.491151352 +0100 +@@ -494,15 +494,18 @@ + pack .help.l -side top -padx 10 -pady 10 + # help text + if {$tcl_platform(platform) == "windows"} { +- text .help.t -bd 2 -relief groove -font {Courier 10} ++ set hfont {Courier 10} ++ set hbfont {Courier 10 bold} + } else { +- text .help.t -bd 2 -relief groove ++ set hfont {9x15} ++ set hbfont {9x15bold} + } ++ text .help.t -bd 2 -relief groove -font $hfont + pack .help.t -side top -padx 20 +- .help.t tag configure bold -font "[.help.t cget -font] bold" ++ .help.t tag configure bold -font $hbfont + .help.t insert 1.0 "Version:" bold " $::version + +-" normal "Usage:" bold " tkregexp <sampleFile> ++" normal "Usage:" bold " [file tail $::argv0] <sampleFile> + + " normal "Key bindings:" bold " Alt-q exit + Alt-a toggle 'all' flag |