90 |
90 |
91 This will be totally rewritten ... so dont depend on the internals; especially the scrolling |
91 This will be totally rewritten ... so dont depend on the internals; especially the scrolling |
92 code will be totally removed here and the inherited functionality be used in the next version. |
92 code will be totally removed here and the inherited functionality be used in the next version. |
93 |
93 |
94 |
94 |
95 Instance variables: |
95 [Instance variables:] |
96 |
96 |
97 list <aCollection> the text strings |
97 list <aCollection> the text strings |
98 |
98 |
99 firstLineShown <Number> the index of the 1st visible line (1 ..) |
99 firstLineShown <Number> the index of the 1st visible line (1 ..) |
100 leftOffset <Number> left offset for horizontal scroll |
100 leftOffset <Number> left offset for horizontal scroll |
101 |
101 |
102 nFullLinesShown <Number> the number of unclipped lines in visible area |
102 nFullLinesShown <Number> the number of unclipped lines in visible area |
103 (internal; updated on size changes) |
103 (internal; updated on size changes) |
104 nLinesShown <Number> the number of lines in visible area, incl. partial |
104 nLinesShown <Number> the number of lines in visible area, incl. partial |
105 (internal; updated on size changes) |
105 (internal; updated on size changes) |
106 |
106 |
107 fgColor <Color> color to draw characters |
107 fgColor <Color> color to draw characters |
108 bgColor <Color> the background |
108 bgColor <Color> the background |
109 |
109 |
110 partialLines <Boolean> allow last line to be partial displayed |
110 partialLines <Boolean> allow last line to be partial displayed |
119 fontIsFixed <Boolean> true if its a fixed font (internal) |
119 fontIsFixed <Boolean> true if its a fixed font (internal) |
120 fontWidth <Number> width of space (internal) |
120 fontWidth <Number> width of space (internal) |
121 lineSpacing <Number> pixels between lines |
121 lineSpacing <Number> pixels between lines |
122 searchPattern <String> last pattern for searching |
122 searchPattern <String> last pattern for searching |
123 wordCheck <Block> rule used for check for word boundaries in word select |
123 wordCheck <Block> rule used for check for word boundaries in word select |
124 The default rule is to return true for alphaNumeric characters. |
124 The default rule is to return true for alphaNumeric characters. |
125 (can be changed to allow for underscore and other |
125 (can be changed to allow for underscore and other |
126 characters to be treated as alphaCharacters) |
126 characters to be treated as alphaCharacters) |
127 |
127 |
128 autoScrollBlock <Block> block installed as timeoutBlock when doing an |
128 autoScrollBlock <Block> block installed as timeoutBlock when doing an |
129 autoScroll (internal) |
129 autoScroll (internal) |
130 autoScrollDeltaT computed scroll time delta in seconds (internal) |
130 autoScrollDeltaT computed scroll time delta in seconds (internal) |
131 |
131 |
132 includesNonStrings cached flag if any non-strings are in list |
132 includesNonStrings cached flag if any non-strings are in list |
133 widthOfWidestLine cached width of widest line |
133 widthOfWidestLine cached width of widest line |
134 listMsg if view has a model and listMsg is non-nil, |
134 listMsg if view has a model and listMsg is non-nil, |
135 this is sent to the model to aquired a new contents |
135 this is sent to the model to aquired a new contents |
136 whenever a change of the aspect (aspectMsg) occurs. |
136 whenever a change of the aspect (aspectMsg) occurs. |
137 |
137 |
138 viewOrigin the current origin |
138 viewOrigin the current origin |
139 |
139 |
140 menuHolder who has a menu |
140 menuHolder who has a menu |
141 (default: nil or model here, self in textViews) |
141 (default: nil or model here, self in textViews) |
142 menuPerformer who performs menu actions |
142 menuPerformer who performs menu actions |
143 (default: nil or model here, self in textViews) |
143 (default: nil or model here, self in textViews) |
144 |
144 |
145 StyleSheet parameters: |
145 [StyleSheet parameters:] |
146 |
146 |
147 textForegroundColor defaults to Black |
147 textForegroundColor defaults to Black |
148 textBackgroundColor defaults to White |
148 textBackgroundColor defaults to White |
149 textFont defaults to defaultFont |
149 textFont defaults to defaultFont |
150 textTabPositions defaults to #(1 9 17 25 ...) |
150 textTabPositions defaults to #(1 9 17 25 ...) |
|
151 |
|
152 [author:] |
|
153 Claus Gittinger |
|
154 |
|
155 [see also:] |
|
156 TextView EditTextView |
|
157 |
151 " |
158 " |
152 ! |
159 ! |
153 |
160 |
154 examples |
161 examples |
155 " |
162 " |