#OTHER by cg
authorClaus Gittinger <cg@exept.de>
Fri, 13 May 2016 14:39:30 +0200
changeset 16576 dec4e8eb5e7c
parent 16575 75ddd50aad18
child 16577 57afbd99e827
#OTHER by cg class: Tools::NewSystemBrowser changed: #flyByHelpTextFor:at: #searchUsingSearcher:direction:startLine:startCol:ifFound:ifNotFound: leftover debug print
Tools__NewSystemBrowser.st
--- a/Tools__NewSystemBrowser.st	Fri May 13 14:36:06 2016 +0200
+++ b/Tools__NewSystemBrowser.st	Fri May 13 14:39:30 2016 +0200
@@ -25029,7 +25029,7 @@
     
     aWidget = (navigationState canvas builder componentAt:'InfoLabel') ifTrue:[
         action := aWidget actionAt:aPoint.
-        Transcript showCR:action.
+        "/ Transcript show:'action under info label:'; showCR:action.
         info := action perform:#info ifNotUnderstood:nil.
         info notNil ifTrue:[
             ^ info value
@@ -54644,12 +54644,14 @@
     "common helper, used by autosearchAction.
      Does a language-aware search."
      
-    |codeTree nodes searchStartPos prevNode|
+    |source codeTree nodes searchStartPos prevNode|
 
     RBParser isNil ifTrue:[^ self].
+    
+    source := self codeView contents.
 
     codeTree := RBParser
-                    parseSearchMethod:self codeView contents
+                    parseSearchMethod:source
                     onError: [:str :pos | "Transcript showCR:str. Transcript showCR:pos." nil].
 
     codeTree notNil ifTrue:[