Changeset 706
- Timestamp:
- 10/25/07 17:20:02 (6 years ago)
- Location:
- lang/ruby/Chemr
- Files:
-
- 5 modified
-
AppController.rb (modified) (2 diffs)
-
CHMDocument.rb (modified) (2 diffs)
-
English.lproj/CHMDocument.nib/keyedobjects.nib (modified) (previous)
-
English.lproj/MainMenu.nib/classes.nib (modified) (1 diff)
-
English.lproj/MainMenu.nib/objects.nib (modified) (previous)
Legend:
- Unmodified
- Added
- Removed
-
lang/ruby/Chemr/AppController.rb
r697 r706 107 107 end 108 108 109 ib_action :find do |sender| 110 # やってもらう 111 cd = NSDocumentController.sharedDocumentController.currentDocument 112 cd.windowControllers.first.performFindPanelAction(sender) 113 end 114 109 115 def awakeFromNib 110 116 end … … 114 120 log "Register: #{r}" 115 121 116 # "/Users/cho45/tmp/ruby-refm-rdp-1.9.0-ja-htmlhelp_css/rubymanjp.chm"117 122 end 118 123 -
lang/ruby/Chemr/CHMDocument.rb
r696 r706 265 265 266 266 def performFindPanelAction(sender) 267 @webview.performFindPanelAction(sender) 267 log "performFindPanelAction" 268 # @webview.performFindPanelAction(sender) # なぜかうごかない 269 text = @search.stringValue 270 @webview.objc_send( 271 :searchFor, text, 272 :direction, true, 273 :caseSensitive, false, 274 :wrap, false 275 ) 268 276 end 269 277 … … 361 369 end 362 370 371 # webview loading delegate 372 def webView_resource_didFinishLoadingFromDataSource(sender, id, datasource) 373 # log "loaded" 374 end 375 363 376 364 377 end -
lang/ruby/Chemr/English.lproj/MainMenu.nib/classes.nib
r678 r706 2 2 IBClasses = ( 3 3 { 4 ACTIONS = {about = id; };4 ACTIONS = {about = id; find = id; }; 5 5 CLASS = AppController; 6 6 LANGUAGE = ObjC;
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)