author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Wed, 25 Oct 2017 23:42:41 +0100 | |
changeset 1058 | 6d4bf422a7dd |
parent 1056 | 7bcadc51aad8 |
child 1072 | a44c741ee5ef |
permissions | -rw-r--r-- |
257
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
1 |
" |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
2 |
stx:goodies/smallsense - A productivity plugin for Smalltalk/X IDE |
374
e65bd2bf892a
Updated copyright notice.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
273
diff
changeset
|
3 |
Copyright (C) 2013-2015 Jan Vrany |
257
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
4 |
|
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
5 |
This library is free software; you can redistribute it and/or |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
6 |
modify it under the terms of the GNU Lesser General Public |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
7 |
License as published by the Free Software Foundation; either |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
8 |
version 2.1 of the License. |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
9 |
|
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
10 |
This library is distributed in the hope that it will be useful, |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
11 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
12 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
13 |
Lesser General Public License for more details. |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
14 |
|
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
15 |
You should have received a copy of the GNU Lesser General Public |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
16 |
License along with this library; if not, write to the Free Software |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
17 |
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
18 |
" |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
19 |
"{ Package: 'stx:goodies/smallsense' }" |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
20 |
|
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
21 |
"{ NameSpace: SmallSense }" |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
22 |
|
273
404662b42ddf
Added AbstractTestCase which saves/restores preferences in setUp/tearDown...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
257
diff
changeset
|
23 |
AbstractTestCase subclass:#EditSupportTests |
257
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
24 |
instanceVariableNames:'codeView codeViewInteractor editService editSupport' |
1056
7bcadc51aad8
Fixed `EditSupportTests >> setUp`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
447
diff
changeset
|
25 |
classVariableNames:'TriedOpenDisplay' |
257
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
26 |
poolDictionaries:'' |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
27 |
category:'SmallSense-Tests' |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
28 |
! |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
29 |
|
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
30 |
!EditSupportTests class methodsFor:'documentation'! |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
31 |
|
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
32 |
copyright |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
33 |
" |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
34 |
stx:goodies/smallsense - A productivity plugin for Smalltalk/X IDE |
374
e65bd2bf892a
Updated copyright notice.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
273
diff
changeset
|
35 |
Copyright (C) 2013-2015 Jan Vrany |
257
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
36 |
|
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
37 |
This library is free software; you can redistribute it and/or |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
38 |
modify it under the terms of the GNU Lesser General Public |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
39 |
License as published by the Free Software Foundation; either |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
40 |
version 2.1 of the License. |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
41 |
|
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
42 |
This library is distributed in the hope that it will be useful, |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
43 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
44 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
45 |
Lesser General Public License for more details. |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
46 |
|
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
47 |
You should have received a copy of the GNU Lesser General Public |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
48 |
License along with this library; if not, write to the Free Software |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
49 |
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
50 |
" |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
51 |
! ! |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
52 |
|
1056
7bcadc51aad8
Fixed `EditSupportTests >> setUp`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
447
diff
changeset
|
53 |
!EditSupportTests class methodsFor:'initialization'! |
7bcadc51aad8
Fixed `EditSupportTests >> setUp`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
447
diff
changeset
|
54 |
|
7bcadc51aad8
Fixed `EditSupportTests >> setUp`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
447
diff
changeset
|
55 |
initialize |
7bcadc51aad8
Fixed `EditSupportTests >> setUp`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
447
diff
changeset
|
56 |
"Invoked at system start or when the class is dynamically loaded." |
7bcadc51aad8
Fixed `EditSupportTests >> setUp`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
447
diff
changeset
|
57 |
|
7bcadc51aad8
Fixed `EditSupportTests >> setUp`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
447
diff
changeset
|
58 |
"/ please change as required (and remove this comment) |
7bcadc51aad8
Fixed `EditSupportTests >> setUp`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
447
diff
changeset
|
59 |
|
7bcadc51aad8
Fixed `EditSupportTests >> setUp`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
447
diff
changeset
|
60 |
TriedOpenDisplay := false. |
7bcadc51aad8
Fixed `EditSupportTests >> setUp`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
447
diff
changeset
|
61 |
|
7bcadc51aad8
Fixed `EditSupportTests >> setUp`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
447
diff
changeset
|
62 |
"Modified: / 17-10-2017 / 23:24:09 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
7bcadc51aad8
Fixed `EditSupportTests >> setUp`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
447
diff
changeset
|
63 |
! ! |
7bcadc51aad8
Fixed `EditSupportTests >> setUp`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
447
diff
changeset
|
64 |
|
7bcadc51aad8
Fixed `EditSupportTests >> setUp`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
447
diff
changeset
|
65 |
!EditSupportTests class methodsFor:'queries'! |
7bcadc51aad8
Fixed `EditSupportTests >> setUp`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
447
diff
changeset
|
66 |
|
7bcadc51aad8
Fixed `EditSupportTests >> setUp`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
447
diff
changeset
|
67 |
isAbstract |
7bcadc51aad8
Fixed `EditSupportTests >> setUp`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
447
diff
changeset
|
68 |
"Return if this class is an abstract class. |
7bcadc51aad8
Fixed `EditSupportTests >> setUp`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
447
diff
changeset
|
69 |
True is returned here for myself only; false for subclasses. |
7bcadc51aad8
Fixed `EditSupportTests >> setUp`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
447
diff
changeset
|
70 |
Abstract subclasses must redefine this again." |
7bcadc51aad8
Fixed `EditSupportTests >> setUp`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
447
diff
changeset
|
71 |
|
7bcadc51aad8
Fixed `EditSupportTests >> setUp`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
447
diff
changeset
|
72 |
^ self == SmallSense::EditSupportTests. |
7bcadc51aad8
Fixed `EditSupportTests >> setUp`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
447
diff
changeset
|
73 |
! ! |
7bcadc51aad8
Fixed `EditSupportTests >> setUp`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
447
diff
changeset
|
74 |
|
257
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
75 |
!EditSupportTests methodsFor:'accessing-classes'! |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
76 |
|
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
77 |
editSupportClass |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
78 |
self subclassResponsibility |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
79 |
|
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
80 |
"Created: / 23-07-2014 / 07:15:05 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
81 |
! ! |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
82 |
|
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
83 |
!EditSupportTests methodsFor:'running'! |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
84 |
|
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
85 |
setUp |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
86 |
| topView | |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
87 |
|
444
a47f43af21d6
Smalltalk electric snippets: make iterator variable naming logic more configurable
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
374
diff
changeset
|
88 |
super setUp. |
a47f43af21d6
Smalltalk electric snippets: make iterator variable naming logic more configurable
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
374
diff
changeset
|
89 |
|
1056
7bcadc51aad8
Fixed `EditSupportTests >> setUp`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
447
diff
changeset
|
90 |
TriedOpenDisplay ifFalse:[ |
7bcadc51aad8
Fixed `EditSupportTests >> setUp`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
447
diff
changeset
|
91 |
TriedOpenDisplay := true. |
7bcadc51aad8
Fixed `EditSupportTests >> setUp`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
447
diff
changeset
|
92 |
Screen current isNil ifTrue:[ |
7bcadc51aad8
Fixed `EditSupportTests >> setUp`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
447
diff
changeset
|
93 |
Smalltalk openDisplay |
7bcadc51aad8
Fixed `EditSupportTests >> setUp`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
447
diff
changeset
|
94 |
]. |
7bcadc51aad8
Fixed `EditSupportTests >> setUp`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
447
diff
changeset
|
95 |
]. |
7bcadc51aad8
Fixed `EditSupportTests >> setUp`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
447
diff
changeset
|
96 |
self skipIf: Screen current isNil description:'No display connection'. |
7bcadc51aad8
Fixed `EditSupportTests >> setUp`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
447
diff
changeset
|
97 |
|
7bcadc51aad8
Fixed `EditSupportTests >> setUp`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
447
diff
changeset
|
98 |
Smalltalk loadPackage: 'stx:goodies/sunit/ext/ui'. |
273
404662b42ddf
Added AbstractTestCase which saves/restores preferences in setUp/tearDown...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
257
diff
changeset
|
99 |
|
257
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
100 |
topView := StandardSystemView new. |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
101 |
topView extent: 320 @ 200. |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
102 |
topView label: self printString. |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
103 |
codeView := Tools::CodeView2 origin: 0.0@0.0 extent: 1.0@1.0 in: topView. |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
104 |
codeViewInteractor := codeView interactor. |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
105 |
|
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
106 |
editService := EditService new. |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
107 |
editSupport := self editSupportClass new. |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
108 |
codeView services: (Array with: editService). |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
109 |
codeView language: editSupport language. |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
110 |
editService updateSupport: editSupport. |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
111 |
|
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
112 |
topView open. |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
113 |
topView waitUntilVisible. |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
114 |
|
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
115 |
"Created: / 23-07-2014 / 07:15:05 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
1056
7bcadc51aad8
Fixed `EditSupportTests >> setUp`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
447
diff
changeset
|
116 |
"Modified: / 17-10-2017 / 23:25:50 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
257
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
117 |
! |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
118 |
|
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
119 |
tearDown |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
120 |
|
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
121 |
editService := nil. |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
122 |
editSupport := nil. |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
123 |
codeView topView destroy. |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
124 |
|
444
a47f43af21d6
Smalltalk electric snippets: make iterator variable naming logic more configurable
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
374
diff
changeset
|
125 |
super tearDown |
a47f43af21d6
Smalltalk electric snippets: make iterator variable naming logic more configurable
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
374
diff
changeset
|
126 |
|
257
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
127 |
"Created: / 23-07-2014 / 07:17:13 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
444
a47f43af21d6
Smalltalk electric snippets: make iterator variable naming logic more configurable
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
374
diff
changeset
|
128 |
"Modified: / 04-03-2015 / 09:43:16 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
257
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
129 |
! ! |
623cefc35e2e
Fix for DNU when indent-on-paste is enabled.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff
changeset
|
130 |
|
444
a47f43af21d6
Smalltalk electric snippets: make iterator variable naming logic more configurable
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
374
diff
changeset
|
131 |
!EditSupportTests class methodsFor:'documentation'! |
a47f43af21d6
Smalltalk electric snippets: make iterator variable naming logic more configurable
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
374
diff
changeset
|
132 |
|
a47f43af21d6
Smalltalk electric snippets: make iterator variable naming logic more configurable
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
374
diff
changeset
|
133 |
version_HG |
a47f43af21d6
Smalltalk electric snippets: make iterator variable naming logic more configurable
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
374
diff
changeset
|
134 |
|
a47f43af21d6
Smalltalk electric snippets: make iterator variable naming logic more configurable
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
374
diff
changeset
|
135 |
^ '$Changeset: <not expanded> $' |
a47f43af21d6
Smalltalk electric snippets: make iterator variable naming logic more configurable
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
374
diff
changeset
|
136 |
! ! |
a47f43af21d6
Smalltalk electric snippets: make iterator variable naming logic more configurable
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
374
diff
changeset
|
137 |
|
1056
7bcadc51aad8
Fixed `EditSupportTests >> setUp`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
447
diff
changeset
|
138 |
|
7bcadc51aad8
Fixed `EditSupportTests >> setUp`
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
447
diff
changeset
|
139 |
EditSupportTests initialize! |