#DOCUMENTATION by cg
authorClaus Gittinger <cg@exept.de>
Tue, 16 Jan 2018 10:27:02 +0100
changeset 5667 a213756b3b4d
parent 5666 88930c01d31b
child 5668 76978cd4220f
#DOCUMENTATION by cg class: SelectionInTree comment/format in: #indexOf:
SelectionInTree.st
--- a/SelectionInTree.st	Mon Jan 15 22:31:42 2018 +0100
+++ b/SelectionInTree.st	Tue Jan 16 10:27:02 2018 +0100
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "
  COPYRIGHT (c) 1997 by eXept Software AG / Claus Gittinger
               All Rights Reserved
@@ -748,8 +750,9 @@
 indexOf:anItem
     "returns the index of an item or 0"
 
-    ^ anItem notNil ifTrue:[list identityIndexOf:anItem]
-                   ifFalse:[0]
+    ^ anItem notNil 
+        ifTrue:[list identityIndexOf:anItem]
+        ifFalse:[0]
 
     "Modified (comment): / 04-02-2017 / 19:37:38 / cg"
 ! !