Stringscan

Check-in [6883ab21ea]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Update spacing
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 6883ab21ea9360835ce0b07da6710033db77c399bf76d3a4197ba9e005fefe8f
User & Date: kevin 2017-06-24 14:34:07
Context
2017-06-24
15:05
Fix breakage because of line deletion check-in: 11140893ca user: kevin tags: trunk
14:34
Update spacing check-in: 6883ab21ea user: kevin tags: trunk
14:18
Fix spacing in code check-in: a7d8752c26 user: kevin tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to stringscan.rb.

46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
			result = f.read
			if result =~ /#{$searchterm}/ then
				$lbox.insert('end', "#{i}")
				f.close
			end
		end
	rescue
		#puts "Search term not found.\n"
	end
end
rescue
    puts "Directory not found.\n"
    puts "Search complete.\n"
end

def drawgui 
    begin
        Tk.ip_eval("console hide")
    rescue
        puts "could not hide console.\n"







<




|







46
47
48
49
50
51
52

53
54
55
56
57
58
59
60
61
62
63
64
			result = f.read
			if result =~ /#{$searchterm}/ then
				$lbox.insert('end', "#{i}")
				f.close
			end
		end
	rescue

	end
end
rescue
    puts "Directory not found.\n"
puts "Search complete.\n"
end

def drawgui 
    begin
        Tk.ip_eval("console hide")
    rescue
        puts "could not hide console.\n"
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
end

#user help
def showHelp
    Tk.tk_call('machelp::userhelp')
end


end
#end of app class


app = StringscanApp.new
Tk.mainloop









<






<
<
263
264
265
266
267
268
269

270
271
272
273
274
275


end

#user help
def showHelp
    Tk.tk_call('machelp::userhelp')
end


end
#end of app class


app = StringscanApp.new
Tk.mainloop