File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ class DocumentationViewController: NSViewController {
9090
9191 // MARK:- Page search
9292
93- @IBAction func searchDocumentation ( _ sender: NSSearchField ) {
93+ @IBAction func searchPageContents ( _ sender: NSSearchField ) {
9494 let argsBytes = try ! JSONSerialization . data ( withJSONObject: [ " term " : sender. stringValue] )
9595 let args = NSString ( data: argsBytes, encoding: String . Encoding. utf8. rawValue) ! as String
9696 webView. evaluateJavaScript ( " search( ( \( args) )[ \" term \" ] ); " )
Original file line number Diff line number Diff line change 4040 <color key =" backgroundColor" name =" textBackgroundColor" catalog =" System" colorSpace =" catalog" />
4141 </searchFieldCell >
4242 <connections >
43- <action selector =" searchDocumentation :" target =" f61-KY-zVD" id =" ZAe-5r-fMu" />
43+ <action selector =" searchPageContents :" target =" f61-KY-zVD" id =" ZAe-5r-fMu" />
4444 <outlet property =" delegate" destination =" f61-KY-zVD" id =" 6cm-hv-cR5" />
4545 </connections >
4646 </searchField >
You can’t perform that action at this time.
0 commit comments