ListView.st
changeset 3312 99dd80bb9ba8
parent 3309 81827acb15cd
child 3314 c486911eea21
equal deleted inserted replaced
3311:3ff8f877bb2b 3312:99dd80bb9ba8
  2121     nLinesShown := 1.     "just any value"
  2121     nLinesShown := 1.     "just any value"
  2122     partialLines := true.
  2122     partialLines := true.
  2123     tabPositions := UserDefaultTabPositions ? DefaultTabPositions.
  2123     tabPositions := UserDefaultTabPositions ? DefaultTabPositions.
  2124     includesNonStrings := false.
  2124     includesNonStrings := false.
  2125     self getFontParameters.
  2125     self getFontParameters.
       
  2126     self initializeWordCheckAction.
       
  2127     scrollWhenUpdating := #keep. "/ #beginOfText.
       
  2128 
       
  2129     autoScroll := true.
       
  2130 
       
  2131     "Modified: / 03-07-2006 / 17:03:59 / cg"
       
  2132 !
       
  2133 
       
  2134 initializeWordCheckAction
  2126     UserPreferences current extendedWordSelectMode ifTrue:[
  2135     UserPreferences current extendedWordSelectMode ifTrue:[
  2127         wordCheck := [:char | char isNationalAlphaNumeric or:[char == $_] ].
  2136         wordCheck := [:char | char isNationalAlphaNumeric or:[char == $_] ].
  2128     ] ifFalse:[
  2137     ] ifFalse:[
  2129         wordCheck := [:char | char isNationalAlphaNumeric ].
  2138         wordCheck := [:char | char isNationalAlphaNumeric ].
  2130     ].
  2139     ].
  2131     scrollWhenUpdating := #keep. "/ #beginOfText.
  2140 
  2132 
  2141     "Created: / 03-07-2006 / 17:03:50 / cg"
  2133     autoScroll := true.
       
  2134 
       
  2135     "Modified: / 03-07-2006 / 16:57:25 / cg"
       
  2136 !
  2142 !
  2137 
  2143 
  2138 realize
  2144 realize
  2139     |sz|
  2145     |sz|
  2140 
  2146 
  4442 ! !
  4448 ! !
  4443 
  4449 
  4444 !ListView class methodsFor:'documentation'!
  4450 !ListView class methodsFor:'documentation'!
  4445 
  4451 
  4446 version
  4452 version
  4447     ^ '$Header: /cvs/stx/stx/libwidg/ListView.st,v 1.307 2006-07-03 14:57:59 cg Exp $'
  4453     ^ '$Header: /cvs/stx/stx/libwidg/ListView.st,v 1.308 2006-07-03 15:14:40 cg Exp $'
  4448 ! !
  4454 ! !