- per-tool preference for CodeView2
authorvrany
Tue, 26 Jul 2011 11:50:24 +0200
changeset 10395 31d440ef9a6f
parent 10394 402cb432bd94
child 10396 1fef9bc97b89
- per-tool preference for CodeView2
Tools_NavigationState.st
--- a/Tools_NavigationState.st	Tue Jul 26 11:49:56 2011 +0200
+++ b/Tools_NavigationState.st	Tue Jul 26 11:50:24 2011 +0200
@@ -445,7 +445,7 @@
 setUpScrollableCodeView
     |v aScrollableCodeView codeView |
 
-    UserPreferences current useCodeView2InTools ifTrue:[
+    (UserPreferences current useCodeView2In: #Browser) ifTrue:[
         codeView := aScrollableCodeView := CodeView2 new.
         codeView mode: #method.
         codeView methodHolder: self theSingleSelectedMethodHolder
@@ -489,8 +489,8 @@
 
    ^aScrollableCodeView
 
-    "Modified: / 17-06-2011 / 12:39:44 / Jan Vrany <jan.vrany@fit.cvut.cz>"
     "Modified: / 05-07-2011 / 10:34:33 / cg"
+    "Modified: / 26-07-2011 / 10:29:47 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
 specialEditorCanvasClassForResourceType:resourceTypeSymbol
@@ -1601,5 +1601,9 @@
 !NavigationState class methodsFor:'documentation'!
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libtool/Tools_NavigationState.st,v 1.35 2011-07-05 08:59:34 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/Tools_NavigationState.st,v 1.36 2011-07-26 09:50:24 vrany Exp $'
+!
+
+version_SVN
+    ^ '§Id§'
 ! !