author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Thu, 14 Jun 2018 22:19:39 +0100 | |
branch | jv |
changeset 18227 | d25a407ba86d |
parent 18226 | 346376844040 |
permissions | -rw-r--r-- |
10025 | 1 |
" |
2 |
COPYRIGHT (c) 2006 by eXept Software AG |
|
18226 | 3 |
COPYRIGHT (c) 2016 Jan Vrany |
10025 | 4 |
All Rights Reserved |
5 |
||
6 |
This software is furnished under a license and may be used |
|
7 |
only in accordance with the terms of that license and with the |
|
8 |
inclusion of the above copyright notice. This software may not |
|
9 |
be provided or otherwise made available to, or used by, any |
|
10 |
other person. No title to or ownership of the software is |
|
11 |
hereby transferred. |
|
12 |
" |
|
13 |
"{ Package: 'stx:libtool' }" |
|
14 |
||
16433 | 15 |
"{ NameSpace: Smalltalk }" |
16 |
||
10025 | 17 |
EditField subclass:#EditFieldWithCompletion |
16728 | 18 |
instanceVariableNames:'showOptions optionsHolder optionsView optionsWindow completionJob |
19 |
tabCompletionJob' |
|
10025 | 20 |
classVariableNames:'' |
21 |
poolDictionaries:'' |
|
22 |
category:'Views-Text' |
|
23 |
! |
|
24 |
||
25 |
!EditFieldWithCompletion class methodsFor:'documentation'! |
|
26 |
||
27 |
copyright |
|
28 |
" |
|
29 |
COPYRIGHT (c) 2006 by eXept Software AG |
|
18226 | 30 |
COPYRIGHT (c) 2016 Jan Vrany |
10025 | 31 |
All Rights Reserved |
32 |
||
33 |
This software is furnished under a license and may be used |
|
34 |
only in accordance with the terms of that license and with the |
|
35 |
inclusion of the above copyright notice. This software may not |
|
36 |
be provided or otherwise made available to, or used by, any |
|
37 |
other person. No title to or ownership of the software is |
|
38 |
hereby transferred. |
|
39 |
" |
|
40 |
! |
|
41 |
||
42 |
documentation |
|
43 |
" |
|
17280 | 44 |
an editfield, which does some completion on the Tab key. |
10025 | 45 |
|
46 |
[author:] |
|
47 |
Jan Vrany (janfrog@bruxa) |
|
48 |
||
49 |
[instance variables:] |
|
50 |
||
51 |
[class variables:] |
|
52 |
||
53 |
[see also:] |
|
54 |
||
55 |
" |
|
56 |
! |
|
57 |
||
58 |
example_1 |
|
59 |
|top field label value| |
|
60 |
||
61 |
top := StandardSystemView new. |
|
62 |
top |
|
63 |
extent:300 @ 300; |
|
64 |
label:'Live class completion field'. |
|
65 |
value := '' asValue. |
|
17206 | 66 |
field := self new |
10025 | 67 |
origin:10 @ 135 corner:280 @ 165; |
68 |
entryCompletionBlock:[:content | Smalltalk classnameCompletion:content ]; |
|
69 |
model:value. |
|
17206 | 70 |
label := Label new |
10025 | 71 |
origin:10 @ 95 corner:280 @ 115; |
72 |
labelChannel:value. |
|
73 |
top |
|
74 |
add:field; |
|
17206 | 75 |
add:label; |
76 |
open |
|
10025 | 77 |
! |
78 |
||
79 |
examples |
|
80 |
" |
|
81 |
Opens a LiveCompletionEditField on a class name |
|
82 |
[exBegin] |
|
83 |
LiveCompletionEditField example_1 |
|
84 |
[exEnd] |
|
85 |
" |
|
86 |
! ! |
|
87 |
||
88 |
!EditFieldWithCompletion methodsFor:'accepting'! |
|
89 |
||
90 |
accept |
|
91 |
||
92 |
self unselect. |
|
93 |
super accept. |
|
94 |
||
95 |
"Created: / 27-07-2009 / 09:38:45 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
96 |
"Modified: / 12-02-2010 / 11:56:33 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
97 |
! ! |
|
98 |
||
99 |
!EditFieldWithCompletion methodsFor:'accessing-behavior'! |
|
100 |
||
101 |
showOptions |
|
102 |
^ showOptions |
|
103 |
! |
|
104 |
||
105 |
showOptions:aBoolean |
|
106 |
showOptions := aBoolean. |
|
107 |
! ! |
|
108 |
||
109 |
!EditFieldWithCompletion methodsFor:'accessing-dimensions'! |
|
110 |
||
111 |
absoluteLeft |
|
112 |
||
113 |
| absoluteLeft view | |
|
114 |
absoluteLeft := 1. |
|
115 |
view := self. |
|
116 |
[ view notNil ] whileTrue: |
|
117 |
[absoluteLeft := absoluteLeft + view left - 1. |
|
118 |
view := view superView]. |
|
119 |
^absoluteLeft |
|
120 |
||
121 |
"Created: / 08-08-2009 / 22:30:07 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
122 |
! |
|
123 |
||
124 |
absoluteTop |
|
125 |
||
126 |
| absoluteTop view | |
|
127 |
absoluteTop := 1. |
|
128 |
view := self. |
|
129 |
[ view notNil ] whileTrue: |
|
130 |
[absoluteTop := absoluteTop + view top - 1. |
|
131 |
view := view superView]. |
|
132 |
^absoluteTop |
|
133 |
||
134 |
"Created: / 08-08-2009 / 22:30:16 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
135 |
! ! |
|
136 |
||
137 |
!EditFieldWithCompletion methodsFor:'accessing-mvc'! |
|
138 |
||
139 |
optionsHolder |
|
140 |
||
141 |
^ optionsHolder |
|
142 |
||
143 |
"Created: / 09-08-2009 / 08:14:02 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
144 |
! |
|
145 |
||
146 |
optionsHolder:aValueHolder |
|
147 |
"set the 'options' value holder (automatically generated)" |
|
148 |
||
149 |
optionsHolder := aValueHolder. |
|
150 |
||
151 |
"Created: / 09-08-2009 / 08:14:24 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
152 |
! ! |
|
153 |
||
154 |
!EditFieldWithCompletion methodsFor:'event handling'! |
|
155 |
||
156 |
completion:best options:options |
|
157 |
|newContent oldContent| |
|
158 |
" |
|
159 |
oldContent := ((self contents ? '') asString). |
|
160 |
newContent := ((best isNil or:[ best = oldContent ]) |
|
161 |
and:[ options isNilOrEmptyCollection not ]) |
|
162 |
ifTrue:[ |
|
163 |
options first |
|
164 |
""options inject:options anyOne |
|
165 |
into:[:shortest :each | |
|
166 |
shortest asString size > each asString size ifTrue:[ |
|
167 |
each |
|
168 |
] ifFalse:[ shortest ] |
|
169 |
]"" |
|
170 |
] |
|
171 |
ifFalse:[ best ]. |
|
172 |
self contents:newContent asString. |
|
173 |
self cursorCol:oldContent size + 1. |
|
174 |
oldContent size < newContent size ifTrue:[ |
|
175 |
self |
|
176 |
selectFromLine:1 |
|
177 |
col:oldContent size + 1 |
|
178 |
toLine:1 |
|
179 |
col:newContent size |
|
180 |
]. |
|
181 |
" |
|
16433 | 182 |
true "options size > 1" ifTrue:[ |
10025 | 183 |
optionsHolder value:options. |
184 |
self showOptionsWindow |
|
185 |
] |
|
186 |
||
187 |
"Created: / 08-08-2009 / 22:02:29 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
188 |
"Modified: / 09-08-2009 / 08:16:41 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
189 |
"Modified: / 13-02-2010 / 09:51:11 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
190 |
! |
|
191 |
||
192 |
handleNonCommandKey: char |
|
193 |
super handleNonCommandKey: char. |
|
194 |
self startCompletion |
|
195 |
||
196 |
"Modified: / 26-07-2009 / 17:41:22 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
197 |
! |
|
198 |
||
199 |
handlesKeyPress:key inView:aView |
|
12110
7231e996222a
changed: #keyPress:x:y:view:
Claus Gittinger <cg@exept.de>
parents:
10913
diff
changeset
|
200 |
<resource: #keyboard (#CursorDown #CursorUp)> |
7231e996222a
changed: #keyPress:x:y:view:
Claus Gittinger <cg@exept.de>
parents:
10913
diff
changeset
|
201 |
|
16728 | 202 |
^ aView == optionsView and:[(#(CursorDown CursorUp) includes:key) not]. |
10025 | 203 |
|
204 |
"Created: / 09-12-2010 / 21:31:51 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
205 |
! |
|
206 |
||
16728 | 207 |
hasKeyboardFocus:gotFocusBoolean |
208 |
hasKeyboardFocus == gotFocusBoolean ifTrue:[ |
|
209 |
"no change" |
|
210 |
^ self |
|
10025 | 211 |
]. |
212 |
||
16728 | 213 |
gotFocusBoolean ifTrue:[ |
214 |
"position cursor behind of already typed chars" |
|
215 |
self selectAll. |
|
216 |
] ifFalse:[ |
|
217 |
(self hasFocus not and:[optionsWindow notNil and:[optionsWindow hasFocus not]]) ifTrue:[ |
|
218 |
self unselect. |
|
219 |
self hideOptionsWindow. |
|
220 |
]. |
|
221 |
]. |
|
222 |
^ super hasKeyboardFocus:gotFocusBoolean |
|
10025 | 223 |
|
224 |
"Created: / 08-08-2009 / 23:28:50 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
225 |
"Modified: / 09-08-2009 / 10:14:25 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
226 |
"Modified: / 09-12-2010 / 22:05:28 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
227 |
! |
|
228 |
||
229 |
keyPress:key x:x y:y |
|
12110
7231e996222a
changed: #keyPress:x:y:view:
Claus Gittinger <cg@exept.de>
parents:
10913
diff
changeset
|
230 |
"Forward certain events to optionsView if any" |
10025 | 231 |
|
12389
83d4d24d847c
class: EditFieldWithCompletion
Stefan Vogel <sv@exept.de>
parents:
12110
diff
changeset
|
232 |
<resource: #keyboard (#CursorDown #CursorUp #Accept #Return #Escape #BackSpace #Delete)> |
16728 | 233 |
|
16982 | 234 |
(key isCharacter or:[#(Paste Copy Cut) includesIdentical:key]) ifTrue:[ |
16728 | 235 |
super keyPress:key x:x y:y. |
236 |
^ self. |
|
237 |
]. |
|
238 |
||
12389
83d4d24d847c
class: EditFieldWithCompletion
Stefan Vogel <sv@exept.de>
parents:
12110
diff
changeset
|
239 |
(optionsView notNil |
16433 | 240 |
and:[#(CursorDown CursorUp) includesIdentical:key]) ifTrue:[ |
12389
83d4d24d847c
class: EditFieldWithCompletion
Stefan Vogel <sv@exept.de>
parents:
12110
diff
changeset
|
241 |
optionsView keyPress:key x:x y:y. |
83d4d24d847c
class: EditFieldWithCompletion
Stefan Vogel <sv@exept.de>
parents:
12110
diff
changeset
|
242 |
^ self. |
83d4d24d847c
class: EditFieldWithCompletion
Stefan Vogel <sv@exept.de>
parents:
12110
diff
changeset
|
243 |
]. |
10025 | 244 |
|
16728 | 245 |
key == #Accept ifTrue:[self hideOptionsWindow; accept]. |
246 |
key == #Return ifTrue:[self hideOptionsWindow; accept]. |
|
16433 | 247 |
key == #Escape ifTrue:[self hideOptionsWindow]. |
248 |
(key == #BackSpace or:[key == #Delete or:[key == #Tab]]) ifTrue:[ |
|
12389
83d4d24d847c
class: EditFieldWithCompletion
Stefan Vogel <sv@exept.de>
parents:
12110
diff
changeset
|
249 |
super keyPress:key x:x y:y. |
16433 | 250 |
key == #Tab ifTrue:[ |
251 |
self startTabCompletion |
|
252 |
] ifFalse:[ |
|
253 |
self startCompletion. |
|
254 |
]. |
|
12389
83d4d24d847c
class: EditFieldWithCompletion
Stefan Vogel <sv@exept.de>
parents:
12110
diff
changeset
|
255 |
^ self. |
83d4d24d847c
class: EditFieldWithCompletion
Stefan Vogel <sv@exept.de>
parents:
12110
diff
changeset
|
256 |
]. |
10025 | 257 |
|
258 |
||
259 |
"Created: / 08-08-2009 / 22:02:13 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
260 |
"Modified: / 09-08-2009 / 14:06:43 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
261 |
"Modified: / 09-02-2010 / 20:47:59 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
262 |
! |
|
263 |
||
264 |
keyPress:key x:x y:y view:aView |
|
265 |
self keyPress: key x:x y:y |
|
266 |
||
267 |
"Created: / 09-12-2010 / 21:32:20 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
16433 | 268 |
! |
269 |
||
270 |
tabCompletion:best options:options |
|
271 |
self updateContentsForLongest:best options:options. |
|
272 |
||
273 |
true "options size > 1" ifTrue:[ |
|
274 |
optionsHolder value:options. |
|
275 |
self showOptionsWindow |
|
276 |
]. |
|
277 |
"/ start another job, to update the list |
|
278 |
self doCompletion. |
|
279 |
! |
|
280 |
||
281 |
updateContentsForLongest:best options:options |
|
282 |
|newContent oldContent| |
|
283 |
||
284 |
oldContent := ((self contents ? '') asString). |
|
285 |
newContent := best ? oldContent. |
|
286 |
newContent ~= oldContent ifTrue:[ |
|
287 |
self contents:newContent asString. |
|
288 |
self cursorCol:oldContent size + 1. |
|
289 |
oldContent size < newContent size ifTrue:[ |
|
290 |
self |
|
291 |
selectFromLine:1 col:oldContent size + 1 |
|
292 |
toLine:1 col:newContent size. |
|
293 |
typeOfSelection := #paste |
|
294 |
]. |
|
295 |
]. |
|
10025 | 296 |
! ! |
297 |
||
298 |
!EditFieldWithCompletion methodsFor:'initialization & release'! |
|
299 |
||
300 |
destroy |
|
301 |
self hideOptionsWindow. |
|
302 |
super destroy. |
|
303 |
||
304 |
"Created: / 08-08-2009 / 22:16:17 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
305 |
"Modified: / 09-08-2009 / 08:50:04 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
306 |
! |
|
307 |
||
308 |
initialize |
|
309 |
super initialize. |
|
310 |
showOptions := true. |
|
311 |
optionsHolder := ValueHolder new. |
|
16433 | 312 |
|
10443 | 313 |
completionJob := BackgroundJob |
314 |
named: 'Edit Field Completion Job' |
|
315 |
on:[self doCompletion]. |
|
16433 | 316 |
tabCompletionJob := BackgroundJob |
16728 | 317 |
named: 'Edit Field Tab Completion Job' |
16433 | 318 |
on:[self doTabCompletion]. |
10025 | 319 |
|
320 |
"Created: / 08-08-2009 / 20:24:05 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
321 |
"Modified: / 09-08-2009 / 08:17:09 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
10443 | 322 |
"Modified: / 03-08-2011 / 17:50:15 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
10025 | 323 |
! ! |
324 |
||
325 |
!EditFieldWithCompletion methodsFor:'private'! |
|
326 |
||
327 |
doCompletion |
|
16433 | 328 |
self doCompletionThenSend:#completion:options: |
329 |
! |
|
330 |
||
331 |
doCompletionThenSend:selector |
|
332 |
|oldContents completionInfo options best| |
|
10025 | 333 |
|
334 |
oldContents := (self contents ? '') asString. |
|
16433 | 335 |
completionInfo := self entryCompletionBlock |
336 |
valueWithOptionalArgument:oldContents |
|
337 |
and:self. |
|
338 |
completionInfo isNil ifTrue:[ |
|
10885 | 339 |
^ self |
340 |
]. |
|
16433 | 341 |
|
342 |
best := completionInfo first. |
|
343 |
options := completionInfo second. |
|
16766
974c719caa4f
Removed leftover halt in EditFieldWitnCompletion >> doCompletionThenSend:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16729
diff
changeset
|
344 |
"/ best isNil ifTrue:[self halt ]. |
974c719caa4f
Removed leftover halt in EditFieldWitnCompletion >> doCompletionThenSend:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16729
diff
changeset
|
345 |
(options includes:best) ifFalse:[ |
974c719caa4f
Removed leftover halt in EditFieldWitnCompletion >> doCompletionThenSend:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16729
diff
changeset
|
346 |
best := options |
974c719caa4f
Removed leftover halt in EditFieldWitnCompletion >> doCompletionThenSend:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16729
diff
changeset
|
347 |
detect:[:e | e asString startsWith:best asString ] |
974c719caa4f
Removed leftover halt in EditFieldWitnCompletion >> doCompletionThenSend:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16729
diff
changeset
|
348 |
ifNone:[ best ] |
974c719caa4f
Removed leftover halt in EditFieldWitnCompletion >> doCompletionThenSend:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16729
diff
changeset
|
349 |
]. |
974c719caa4f
Removed leftover halt in EditFieldWitnCompletion >> doCompletionThenSend:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16729
diff
changeset
|
350 |
options isSortedCollection ifFalse:[ |
974c719caa4f
Removed leftover halt in EditFieldWitnCompletion >> doCompletionThenSend:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16729
diff
changeset
|
351 |
options := options asSortedCollection:[:a :b | a displayString < b displayString ] |
974c719caa4f
Removed leftover halt in EditFieldWitnCompletion >> doCompletionThenSend:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16729
diff
changeset
|
352 |
]. |
10025 | 353 |
self sensor |
16433 | 354 |
pushUserEvent:selector |
10885 | 355 |
for:self |
356 |
withArguments:(Array with:best with:options). |
|
10025 | 357 |
|
358 |
"Created: / 26-07-2009 / 17:45:09 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
359 |
"Modified: / 09-08-2009 / 02:51:44 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
10885 | 360 |
"Modified: / 18-11-2011 / 14:33:56 / cg" |
361 |
"Modified (format): / 20-11-2011 / 09:42:25 / cg" |
|
16766
974c719caa4f
Removed leftover halt in EditFieldWitnCompletion >> doCompletionThenSend:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16729
diff
changeset
|
362 |
"Modified: / 25-07-2016 / 07:55:26 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
10025 | 363 |
! |
364 |
||
16433 | 365 |
doTabCompletion |
366 |
self doCompletionThenSend:#tabCompletion:options: |
|
367 |
! |
|
368 |
||
10025 | 369 |
hideOptionsWindow |
10913 | 370 |
optionsWindow notNil ifTrue:[ |
371 |
optionsWindow destroy. |
|
16728 | 372 |
optionsView := optionsWindow := nil. |
10913 | 373 |
] |
10025 | 374 |
|
375 |
"Created: / 08-08-2009 / 23:23:45 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
376 |
"Modified: / 09-08-2009 / 09:00:00 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
10913 | 377 |
"Modified: / 29-11-2011 / 11:27:03 / cg" |
10025 | 378 |
! |
379 |
||
380 |
showOptionsWindow |
|
13871 | 381 |
| x y w | |
382 |
||
10025 | 383 |
showOptions ifFalse:[^ self]. |
16433 | 384 |
optionsWindow notNil ifTrue:[ |
385 |
optionsWindow raise. |
|
386 |
^ self |
|
387 |
]. |
|
10025 | 388 |
|
389 |
optionsView := SelectionInListModelView new |
|
390 |
textStartLeft: textStartLeft - 2; |
|
391 |
listHolder: optionsHolder; |
|
16728 | 392 |
action:[:value | value notNil ifTrue:[self contents:value asString]]; |
10445 | 393 |
doubleClickAction:[:index | |
394 |
self contents:(optionsView at:index) asString. |
|
395 |
self hideOptionsWindow. |
|
396 |
self accept |
|
397 |
]; |
|
10025 | 398 |
useIndex: false; |
399 |
" JV: Looks good to me " |
|
400 |
highlightMode: #line; |
|
401 |
font:self font; |
|
402 |
backgroundColor:self backgroundColor; |
|
13871 | 403 |
delegate: self; |
404 |
yourself. |
|
405 |
||
406 |
x := self absoluteLeft + 5" - optionsView textStartLeft". |
|
407 |
y := self absoluteTop + self height + 1 + 5. |
|
408 |
w := (width * 2) + 0"((optionsView textStartLeft) * 2)". |
|
10025 | 409 |
|
410 |
optionsWindow := StandardSystemView new |
|
411 |
bePopUpView; |
|
412 |
beSlave; |
|
13871 | 413 |
origin:x @ y |
16728 | 414 |
extent:(w min: ((Screen current monitorBoundsAt:(x@y)) corner x - x)) @ (fontHeight * 10); |
13871 | 415 |
yourself. |
10025 | 416 |
|
417 |
ScrollableView |
|
418 |
forView:optionsView |
|
419 |
hasHorizontalScrollBar:false |
|
420 |
hasVerticalScrollBar:true |
|
421 |
miniScrollerH:true |
|
422 |
miniScrollerV:false |
|
423 |
origin:0.0@0.0 |
|
424 |
corner:1.0@1.0 |
|
425 |
in:optionsWindow. |
|
426 |
||
427 |
optionsWindow open. |
|
428 |
||
429 |
"Created: / 09-08-2009 / 08:12:21 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
430 |
"Modified: / 09-08-2009 / 09:28:47 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
10913 | 431 |
"Modified: / 29-11-2011 / 11:27:13 / cg" |
13871 | 432 |
"Modified: / 04-04-2012 / 13:08:45 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
10025 | 433 |
! |
434 |
||
435 |
startCompletion |
|
436 |
||
10443 | 437 |
completionJob restart. |
10025 | 438 |
|
439 |
"Created: / 26-07-2009 / 17:41:41 / Jan Vrany <vranyj1@fel.cvut.cz>" |
|
10443 | 440 |
"Modified (format): / 03-08-2011 / 17:50:53 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
16433 | 441 |
! |
442 |
||
443 |
startTabCompletion |
|
444 |
||
445 |
tabCompletionJob restart. |
|
10025 | 446 |
! ! |
447 |
||
448 |
!EditFieldWithCompletion class methodsFor:'documentation'! |
|
449 |
||
450 |
version_CVS |
|
16433 | 451 |
^ '$Header$' |
10025 | 452 |
! |
453 |
||
16766
974c719caa4f
Removed leftover halt in EditFieldWitnCompletion >> doCompletionThenSend:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16729
diff
changeset
|
454 |
version_HG |
974c719caa4f
Removed leftover halt in EditFieldWitnCompletion >> doCompletionThenSend:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16729
diff
changeset
|
455 |
|
974c719caa4f
Removed leftover halt in EditFieldWitnCompletion >> doCompletionThenSend:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16729
diff
changeset
|
456 |
^ '$Changeset: <not expanded> $' |
974c719caa4f
Removed leftover halt in EditFieldWitnCompletion >> doCompletionThenSend:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16729
diff
changeset
|
457 |
! |
974c719caa4f
Removed leftover halt in EditFieldWitnCompletion >> doCompletionThenSend:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
16729
diff
changeset
|
458 |
|
10025 | 459 |
version_SVN |
16433 | 460 |
^ '$Id$' |
10025 | 461 |
! ! |
12110
7231e996222a
changed: #keyPress:x:y:view:
Claus Gittinger <cg@exept.de>
parents:
10913
diff
changeset
|
462 |