Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Tweaks for WindowS |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
72deeb91ec0fb17e82ce812f2994c926 |
User & Date: | kevin 2020-05-01 13:11:48 |
Context
2020-05-01
| ||
13:55 | Tweaks for Windows check-in: 493de1fdc7 user: kevin tags: trunk | |
13:11 | Tweaks for WindowS check-in: 72deeb91ec user: kevin tags: trunk | |
2020-04-30
| ||
13:48 | Remove obsolete files check-in: 4219e36ec2 user: kevin tags: trunk | |
Changes
Changes to stringscan.rb.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | #Stringscan: grep-like tool, written in Ruby-Tk. (c) 2019 Kevin Walzer/WordTech Communications LLC. License: MIT license. #encoding: UTF-8 require 'tk' #find additional Tcl libraries Tk::AUTO_PATH.list <<= File.dirname(__FILE__) require_relative 'tkballoonhelp' require 'tkextlib/tile' require 'find' require 'tkextlib/tkDND' $platform = Tk.windowingsystem if $platform == 'aqua' require 'tk/tk_mac' end if $platform == 'win32' require 'tk/winpkg' Tk::WinDDE.servername('Stringscan') | > > > > > > > > > > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | # coding: utf-8 #Stringscan: grep-like tool, written in Ruby-Tk. (c) 2019 Kevin Walzer/WordTech Communications LLC. License: MIT license. #encoding: UTF-8 require 'tk' #find additional Tcl libraries Tk::AUTO_PATH.list <<= File.dirname(__FILE__) require ‘rbconfig’ include Config case CONFIG[‘host_os’] when /mswin|windows/i if ENV["OCRA_EXECUTABLE"] != "" begin FileUtils.cp_r(File.dirname(__FILE__) + '/lib/tcl8.6/.', File.dirname(File.dirname(File.dirname(__FILE__))) + '/lib/tcl8.6', remove_destination: true) FileUtils.cp_r(File.dirname(__FILE__) + '/lib/tcl8/.', File.dirname(File.dirname(File.dirname(__FILE__))) + '/lib/tcl8', remove_destination: true) FileUtils.cp_r(File.dirname(__FILE__) + '/lib/tk8.6/.', File.dirname(File.dirname(File.dirname(__FILE__))) + '/lib/tk8.6', remove_destination: true) rescue raise end end end require_relative 'tkballoonhelp' require 'tkextlib/tile' require 'find' require 'tkextlib/tkDND' require 'fileutils' $platform = Tk.windowingsystem if $platform == 'aqua' require 'tk/tk_mac' end if $platform == 'win32' require 'tk/winpkg' Tk::WinDDE.servername('Stringscan') |
︙ | ︙ |