author | Claus Gittinger <cg@exept.de> |
Sat, 30 Mar 2013 02:59:17 +0100 | |
changeset 12577 | 3ca47412263f |
parent 12486 | 0a82f2fcb6b3 |
child 12517 | 3a904476a8d2 |
child 12867 | 03a18d91ded1 |
permissions | -rw-r--r-- |
9979 | 1 |
" |
10076 | 2 |
COPYRIGHT (c) 2010 by Jan Vrany, SWING Research Group. CTU in Prague |
3 |
All Rights Reserved |
|
9979 | 4 |
|
10076 | 5 |
Permission is hereby granted, free of charge, to any person |
6 |
obtaining a copy of this software and associated documentation |
|
7 |
files (the 'Software'), to deal in the Software without |
|
8 |
restriction, including without limitation the rights to use, |
|
9 |
copy, modify, merge, publish, distribute, sublicense, and/or sell |
|
10 |
copies of the Software, and to permit persons to whom the |
|
11 |
Software is furnished to do so, subject to the following |
|
12 |
conditions: |
|
13 |
||
14 |
The above copyright notice and this permission notice shall be |
|
15 |
included in all copies or substantial portions of the Software. |
|
16 |
||
17 |
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, |
|
18 |
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES |
|
19 |
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
|
20 |
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT |
|
21 |
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, |
|
22 |
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
|
23 |
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
|
24 |
OTHER DEALINGS IN THE SOFTWARE. |
|
9979 | 25 |
" |
26 |
"{ Package: 'stx:libtool' }" |
|
27 |
||
28 |
"{ NameSpace: Tools }" |
|
29 |
||
30 |
CodeViewService subclass:#CodeNavigationService |
|
10361 | 31 |
instanceVariableNames:'selectorEmphasis variableEmphasis currentEmphasis linesToRedraw' |
10631 | 32 |
classVariableNames:'DefaultVariableEmphasis DefaultSelectorEmphasis' |
9979 | 33 |
poolDictionaries:'' |
34 |
category:'Interface-CodeView' |
|
35 |
! |
|
36 |
||
37 |
!CodeNavigationService class methodsFor:'documentation'! |
|
38 |
||
39 |
copyright |
|
40 |
" |
|
10076 | 41 |
COPYRIGHT (c) 2010 by Jan Vrany, SWING Research Group. CTU in Prague |
42 |
All Rights Reserved |
|
43 |
||
44 |
Permission is hereby granted, free of charge, to any person |
|
45 |
obtaining a copy of this software and associated documentation |
|
46 |
files (the 'Software'), to deal in the Software without |
|
47 |
restriction, including without limitation the rights to use, |
|
48 |
copy, modify, merge, publish, distribute, sublicense, and/or sell |
|
49 |
copies of the Software, and to permit persons to whom the |
|
50 |
Software is furnished to do so, subject to the following |
|
51 |
conditions: |
|
9979 | 52 |
|
10076 | 53 |
The above copyright notice and this permission notice shall be |
54 |
included in all copies or substantial portions of the Software. |
|
55 |
||
56 |
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, |
|
57 |
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES |
|
58 |
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
|
59 |
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT |
|
60 |
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, |
|
61 |
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
|
62 |
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
|
63 |
OTHER DEALINGS IN THE SOFTWARE. |
|
9979 | 64 |
" |
65 |
! ! |
|
66 |
||
67 |
!CodeNavigationService class methodsFor:'accessing'! |
|
68 |
||
69 |
label |
|
70 |
||
71 |
"Answers short label - for UI" |
|
72 |
||
73 |
^'Semi-modal Code Navigation' |
|
74 |
||
75 |
"Created: / 07-03-2010 / 14:00:43 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
10412 | 76 |
! |
77 |
||
78 |
requiredServices |
|
79 |
||
80 |
^#(#'Tools::CodeHighlightingService') |
|
81 |
||
82 |
"Created: / 27-07-2011 / 11:40:56 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
9979 | 83 |
! ! |
84 |
||
85 |
!CodeNavigationService class methodsFor:'accessing - defaults'! |
|
86 |
||
87 |
defaultSelectorEmphasis |
|
10631 | 88 |
DefaultSelectorEmphasis isNil ifTrue:[ |
12486
0a82f2fcb6b3
class: Tools::CodeNavigationService
Claus Gittinger <cg@exept.de>
parents:
12485
diff
changeset
|
89 |
^ Array with:(#backgroundColor -> (UserPreferences current selectorBackgroundColorForNavigationService)) |
10631 | 90 |
]. |
91 |
^ DefaultSelectorEmphasis |
|
92 |
||
93 |
"Modified: / 21-08-2011 / 09:58:18 / cg" |
|
9979 | 94 |
! |
95 |
||
96 |
defaultVariableEmphasis |
|
10631 | 97 |
DefaultVariableEmphasis isNil ifTrue:[ |
12486
0a82f2fcb6b3
class: Tools::CodeNavigationService
Claus Gittinger <cg@exept.de>
parents:
12485
diff
changeset
|
98 |
^ Array with:(#backgroundColor -> (UserPreferences current variableBackgroundColorForNavigationService)) |
10631 | 99 |
]. |
100 |
^ DefaultVariableEmphasis |
|
9979 | 101 |
|
102 |
"Created: / 25-06-2010 / 13:56:43 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
10631 | 103 |
"Modified: / 21-08-2011 / 11:04:20 / cg" |
9979 | 104 |
! ! |
105 |
||
10651 | 106 |
!CodeNavigationService methodsFor:'change & update'! |
107 |
||
108 |
update: aspect with: param from: sender |
|
10661 | 109 |
sender == textView modifiedChannel ifTrue:[ |
110 |
codeView reallyModified ifTrue:[ |
|
111 |
"/ no longer highlight - the info is wrong anyway !! |
|
112 |
self highlightClear. |
|
113 |
]. |
|
114 |
]. |
|
115 |
||
10653 | 116 |
"JV: I changed 'halt' to 'breakPoint: #cg'" |
10651 | 117 |
|
118 |
"Created: / 22-08-2011 / 16:22:19 / cg" |
|
10653 | 119 |
"Modified: / 25-08-2011 / 15:10:28 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
10661 | 120 |
"Modified: / 05-09-2011 / 05:15:42 / cg" |
10651 | 121 |
! ! |
122 |
||
9979 | 123 |
!CodeNavigationService methodsFor:'code services'! |
124 |
||
10631 | 125 |
browseClass:class |
126 |
self browser isNil ifTrue:[ ^ NewSystemBrowser browseClass:class ]. |
|
9979 | 127 |
(UserPreferences current alwaysOpenNewTabWhenCtrlClick |
10631 | 128 |
or:[ self browser navigationState modified ]) |
129 |
ifTrue:[ |
|
130 |
self browser |
|
131 |
spawnFullBrowserInClass:class |
|
132 |
selector:nil |
|
133 |
in:#newBuffer |
|
134 |
] |
|
135 |
ifFalse:[ self browser switchToClass:class ] |
|
9979 | 136 |
|
137 |
"Created: / 15-02-2010 / 09:36:50 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
138 |
"Modified: / 25-07-2010 / 11:00:26 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
10631 | 139 |
"Modified: / 21-08-2011 / 10:07:30 / cg" |
9979 | 140 |
! |
141 |
||
142 |
browser |
|
143 |
||
144 |
^codeView browserHolder value |
|
145 |
||
146 |
"Created: / 06-03-2010 / 21:14:51 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
147 |
! ! |
|
148 |
||
149 |
!CodeNavigationService methodsFor:'event handling'! |
|
150 |
||
151 |
button1Press |
|
12353
9d725076871b
changed default for Jan's quick menus to use the ALT button isntead
Claus Gittinger <cg@exept.de>
parents:
12105
diff
changeset
|
152 |
|element| |
9979 | 153 |
|
12353
9d725076871b
changed default for Jan's quick menus to use the ALT button isntead
Claus Gittinger <cg@exept.de>
parents:
12105
diff
changeset
|
154 |
(element := codeView syntaxElementSelection) notNil ifTrue:[ |
9d725076871b
changed default for Jan's quick menus to use the ALT button isntead
Claus Gittinger <cg@exept.de>
parents:
12105
diff
changeset
|
155 |
element type == #selector ifTrue:[self button1PressForSelector: element value. ^true]. |
9d725076871b
changed default for Jan's quick menus to use the ALT button isntead
Claus Gittinger <cg@exept.de>
parents:
12105
diff
changeset
|
156 |
element type == #class ifTrue:[self browseClass:element value. ^true]. |
9d725076871b
changed default for Jan's quick menus to use the ALT button isntead
Claus Gittinger <cg@exept.de>
parents:
12105
diff
changeset
|
157 |
]. |
9d725076871b
changed default for Jan's quick menus to use the ALT button isntead
Claus Gittinger <cg@exept.de>
parents:
12105
diff
changeset
|
158 |
^ false |
9979 | 159 |
|
160 |
"Created: / 14-02-2010 / 18:43:03 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
161 |
"Modified: / 06-03-2010 / 21:11:30 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
10878 | 162 |
"Modified: / 18-11-2011 / 14:58:02 / cg" |
9979 | 163 |
! |
164 |
||
165 |
button1PressForSelector: selector |
|
166 |
||
167 |
| impls menu | |
|
10254 | 168 |
impls := codeView implementorsOf: selector. |
10631 | 169 |
"/ impls size = 1 ifTrue:[^codeView browseMethod: impls anyOne]. |
10254 | 170 |
menu := codeView implementorsMenu: impls selector: selector. |
9979 | 171 |
self highlightClear. |
172 |
menu showAtPointer. |
|
173 |
||
174 |
"Created: / 14-02-2010 / 18:50:13 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
10254 | 175 |
"Modified: / 30-06-2011 / 19:34:50 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
10271 | 176 |
"Modified: / 07-07-2011 / 17:16:23 / jv" |
10631 | 177 |
"Modified: / 21-08-2011 / 11:06:08 / cg" |
9979 | 178 |
! |
179 |
||
180 |
button2Press |
|
12353
9d725076871b
changed default for Jan's quick menus to use the ALT button isntead
Claus Gittinger <cg@exept.de>
parents:
12105
diff
changeset
|
181 |
| element | |
9979 | 182 |
|
12353
9d725076871b
changed default for Jan's quick menus to use the ALT button isntead
Claus Gittinger <cg@exept.de>
parents:
12105
diff
changeset
|
183 |
(element := codeView syntaxElementSelection) notNil ifTrue:[ |
9d725076871b
changed default for Jan's quick menus to use the ALT button isntead
Claus Gittinger <cg@exept.de>
parents:
12105
diff
changeset
|
184 |
element type == #selector ifTrue:[self button2PressForSelector: element value. ^ true]. |
9d725076871b
changed default for Jan's quick menus to use the ALT button isntead
Claus Gittinger <cg@exept.de>
parents:
12105
diff
changeset
|
185 |
]. |
9d725076871b
changed default for Jan's quick menus to use the ALT button isntead
Claus Gittinger <cg@exept.de>
parents:
12105
diff
changeset
|
186 |
^ false |
9979 | 187 |
|
188 |
"Created: / 14-02-2010 / 18:43:04 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
189 |
"Modified: / 17-06-2011 / 08:58:34 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
190 |
! |
|
191 |
||
192 |
button2PressForSelector: selector |
|
193 |
||
194 |
| senders menu | |
|
10631 | 195 |
senders := codeView sendersOf: selector. |
196 |
"/ senders size = 1 ifTrue:[ codeView browseMethod: senders anyOne. ^ self]. |
|
10254 | 197 |
menu := codeView sendersMenu: senders selector: selector. |
9979 | 198 |
self highlightClear. |
199 |
menu showAtPointer. |
|
200 |
||
201 |
"Created: / 14-02-2010 / 18:50:13 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
10254 | 202 |
"Modified: / 30-06-2011 / 19:34:43 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
10631 | 203 |
"Modified: / 21-08-2011 / 11:34:49 / cg" |
9979 | 204 |
! |
205 |
||
10631 | 206 |
buttonMotion:button x:x y:y in:view |
9979 | 207 |
"Handles an event in given view (a subview of codeView). |
208 |
If the method returns true, the event will not be processed |
|
209 |
by the view." |
|
10631 | 210 |
|
12353
9d725076871b
changed default for Jan's quick menus to use the ALT button isntead
Claus Gittinger <cg@exept.de>
parents:
12105
diff
changeset
|
211 |
(view == textView and:[ textView sensor metaDown ]) ifTrue:[ |
10631 | 212 |
self highlightElementAtX:x y:y. |
213 |
^ true |
|
214 |
]. |
|
215 |
^ false |
|
9979 | 216 |
|
217 |
"Created: / 06-03-2010 / 20:40:37 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
10631 | 218 |
"Modified (format): / 21-08-2011 / 10:07:15 / cg" |
9979 | 219 |
! |
220 |
||
221 |
buttonPress: button x:x y:y in: view |
|
222 |
||
223 |
"Handles an event in given view (a subview of codeView). |
|
224 |
If the method returns true, the event will not be processed |
|
225 |
by the view." |
|
226 |
||
10631 | 227 |
(view == textView) ifTrue:[ |
12353
9d725076871b
changed default for Jan's quick menus to use the ALT button isntead
Claus Gittinger <cg@exept.de>
parents:
12105
diff
changeset
|
228 |
textView isQuickMenuModifierPressed ifTrue:[ |
9d725076871b
changed default for Jan's quick menus to use the ALT button isntead
Claus Gittinger <cg@exept.de>
parents:
12105
diff
changeset
|
229 |
button == 1 ifTrue: [^self button1Press]. |
9d725076871b
changed default for Jan's quick menus to use the ALT button isntead
Claus Gittinger <cg@exept.de>
parents:
12105
diff
changeset
|
230 |
button == #paste ifTrue: [^self button2Press]. |
9d725076871b
changed default for Jan's quick menus to use the ALT button isntead
Claus Gittinger <cg@exept.de>
parents:
12105
diff
changeset
|
231 |
button == 2 ifTrue: [^self button2Press] |
9d725076871b
changed default for Jan's quick menus to use the ALT button isntead
Claus Gittinger <cg@exept.de>
parents:
12105
diff
changeset
|
232 |
] ifFalse:[ |
9d725076871b
changed default for Jan's quick menus to use the ALT button isntead
Claus Gittinger <cg@exept.de>
parents:
12105
diff
changeset
|
233 |
button == 1 ifTrue:[ |
9d725076871b
changed default for Jan's quick menus to use the ALT button isntead
Claus Gittinger <cg@exept.de>
parents:
12105
diff
changeset
|
234 |
self highlightVariableAtX:x y:y. |
9d725076871b
changed default for Jan's quick menus to use the ALT button isntead
Claus Gittinger <cg@exept.de>
parents:
12105
diff
changeset
|
235 |
] |
9979 | 236 |
] |
10631 | 237 |
]. |
9979 | 238 |
^false |
239 |
||
240 |
"Created: / 06-03-2010 / 21:12:26 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
241 |
"Modified: / 25-06-2010 / 14:53:36 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
10631 | 242 |
"Modified (format): / 21-08-2011 / 10:06:54 / cg" |
9979 | 243 |
! |
244 |
||
12353
9d725076871b
changed default for Jan's quick menus to use the ALT button isntead
Claus Gittinger <cg@exept.de>
parents:
12105
diff
changeset
|
245 |
isQuickMenuModifierPressed |
9d725076871b
changed default for Jan's quick menus to use the ALT button isntead
Claus Gittinger <cg@exept.de>
parents:
12105
diff
changeset
|
246 |
UserPreferences current codeView2QuickSendersAndImplementorsOnControl ifTrue:[ |
9d725076871b
changed default for Jan's quick menus to use the ALT button isntead
Claus Gittinger <cg@exept.de>
parents:
12105
diff
changeset
|
247 |
^ textView sensor ctrlDown |
9d725076871b
changed default for Jan's quick menus to use the ALT button isntead
Claus Gittinger <cg@exept.de>
parents:
12105
diff
changeset
|
248 |
]. |
9d725076871b
changed default for Jan's quick menus to use the ALT button isntead
Claus Gittinger <cg@exept.de>
parents:
12105
diff
changeset
|
249 |
^ textView sensor metaDown |
9d725076871b
changed default for Jan's quick menus to use the ALT button isntead
Claus Gittinger <cg@exept.de>
parents:
12105
diff
changeset
|
250 |
! |
9d725076871b
changed default for Jan's quick menus to use the ALT button isntead
Claus Gittinger <cg@exept.de>
parents:
12105
diff
changeset
|
251 |
|
9d725076871b
changed default for Jan's quick menus to use the ALT button isntead
Claus Gittinger <cg@exept.de>
parents:
12105
diff
changeset
|
252 |
isQuickMenuModifierReleased |
9d725076871b
changed default for Jan's quick menus to use the ALT button isntead
Claus Gittinger <cg@exept.de>
parents:
12105
diff
changeset
|
253 |
UserPreferences current codeView2QuickSendersAndImplementorsOnControl ifTrue:[ |
9d725076871b
changed default for Jan's quick menus to use the ALT button isntead
Claus Gittinger <cg@exept.de>
parents:
12105
diff
changeset
|
254 |
^ textView sensor ctrlDown not |
9d725076871b
changed default for Jan's quick menus to use the ALT button isntead
Claus Gittinger <cg@exept.de>
parents:
12105
diff
changeset
|
255 |
]. |
9d725076871b
changed default for Jan's quick menus to use the ALT button isntead
Claus Gittinger <cg@exept.de>
parents:
12105
diff
changeset
|
256 |
^ textView sensor metaDown not |
9d725076871b
changed default for Jan's quick menus to use the ALT button isntead
Claus Gittinger <cg@exept.de>
parents:
12105
diff
changeset
|
257 |
! |
9d725076871b
changed default for Jan's quick menus to use the ALT button isntead
Claus Gittinger <cg@exept.de>
parents:
12105
diff
changeset
|
258 |
|
9979 | 259 |
keyPress:key x:x y:y in:view |
260 |
"Handles an event in given view (a subview of codeView). |
|
10588 | 261 |
If the method returns true, it has eaten the event and it will not be processed |
9979 | 262 |
by the view." |
10588 | 263 |
|
12105
44e930e29b99
class: Tools::CodeNavigationService
Claus Gittinger <cg@exept.de>
parents:
11741
diff
changeset
|
264 |
<resource: #keyboard (#Control_L #Ctrl |
44e930e29b99
class: Tools::CodeNavigationService
Claus Gittinger <cg@exept.de>
parents:
11741
diff
changeset
|
265 |
#CursorRight #CursorDown #CursorLeft #CursorUp)> |
44e930e29b99
class: Tools::CodeNavigationService
Claus Gittinger <cg@exept.de>
parents:
11741
diff
changeset
|
266 |
|
10631 | 267 |
|ev p| |
268 |
||
12353
9d725076871b
changed default for Jan's quick menus to use the ALT button isntead
Claus Gittinger <cg@exept.de>
parents:
12105
diff
changeset
|
269 |
(view == textView) ifTrue:[ |
9d725076871b
changed default for Jan's quick menus to use the ALT button isntead
Claus Gittinger <cg@exept.de>
parents:
12105
diff
changeset
|
270 |
"/ ("ctrlDown" "key == #'Control_L' or:[ key == #Ctrl ]") ifTrue:[ |
9d725076871b
changed default for Jan's quick menus to use the ALT button isntead
Claus Gittinger <cg@exept.de>
parents:
12105
diff
changeset
|
271 |
(textView isQuickMenuModifierPressed) ifTrue:[ |
10631 | 272 |
"/ because it is delegated, the position is not correct |
273 |
ev := WindowGroup lastEventQuerySignal query. |
|
274 |
p := view device translatePoint:(ev x @ ev y) fromView:ev view toView:view. |
|
12353
9d725076871b
changed default for Jan's quick menus to use the ALT button isntead
Claus Gittinger <cg@exept.de>
parents:
12105
diff
changeset
|
275 |
view sensor |
9d725076871b
changed default for Jan's quick menus to use the ALT button isntead
Claus Gittinger <cg@exept.de>
parents:
12105
diff
changeset
|
276 |
pushUserEvent:#highlightElementAtX:y: |
9d725076871b
changed default for Jan's quick menus to use the ALT button isntead
Claus Gittinger <cg@exept.de>
parents:
12105
diff
changeset
|
277 |
for: self |
9d725076871b
changed default for Jan's quick menus to use the ALT button isntead
Claus Gittinger <cg@exept.de>
parents:
12105
diff
changeset
|
278 |
withArguments:{p x. p y.}. |
9d725076871b
changed default for Jan's quick menus to use the ALT button isntead
Claus Gittinger <cg@exept.de>
parents:
12105
diff
changeset
|
279 |
^ false "/ true. -- no, dont eat the key |
9979 | 280 |
]. |
10661 | 281 |
|
10709
e3257bcab5de
Fixes for syntax highlighting and code navigation. Now it should work fine debugger.
vrany
parents:
10661
diff
changeset
|
282 |
"/ codeView reallyModified "textView modified" ifTrue:[ |
e3257bcab5de
Fixes for syntax highlighting and code navigation. Now it should work fine debugger.
vrany
parents:
10661
diff
changeset
|
283 |
"/ self highlightClear. |
e3257bcab5de
Fixes for syntax highlighting and code navigation. Now it should work fine debugger.
vrany
parents:
10661
diff
changeset
|
284 |
"/ codeView syntaxElements: nil. |
e3257bcab5de
Fixes for syntax highlighting and code navigation. Now it should work fine debugger.
vrany
parents:
10661
diff
changeset
|
285 |
"/ ^ false |
e3257bcab5de
Fixes for syntax highlighting and code navigation. Now it should work fine debugger.
vrany
parents:
10661
diff
changeset
|
286 |
"/ ]. |
e3257bcab5de
Fixes for syntax highlighting and code navigation. Now it should work fine debugger.
vrany
parents:
10661
diff
changeset
|
287 |
(key == #CursorRight |
e3257bcab5de
Fixes for syntax highlighting and code navigation. Now it should work fine debugger.
vrany
parents:
10661
diff
changeset
|
288 |
or:[key == #CursorDown |
e3257bcab5de
Fixes for syntax highlighting and code navigation. Now it should work fine debugger.
vrany
parents:
10661
diff
changeset
|
289 |
or:[key == #CursorLeft |
e3257bcab5de
Fixes for syntax highlighting and code navigation. Now it should work fine debugger.
vrany
parents:
10661
diff
changeset
|
290 |
or:[key == #CursorUp]]]) ifTrue:[ |
e3257bcab5de
Fixes for syntax highlighting and code navigation. Now it should work fine debugger.
vrany
parents:
10661
diff
changeset
|
291 |
view sensor pushUserEvent:#highlightVariableAtCursor for:self . |
e3257bcab5de
Fixes for syntax highlighting and code navigation. Now it should work fine debugger.
vrany
parents:
10661
diff
changeset
|
292 |
] ifFalse:[ |
10727 | 293 |
view sensor pushUserEvent:#highlightClear for:self . |
10709
e3257bcab5de
Fixes for syntax highlighting and code navigation. Now it should work fine debugger.
vrany
parents:
10661
diff
changeset
|
294 |
] |
e3257bcab5de
Fixes for syntax highlighting and code navigation. Now it should work fine debugger.
vrany
parents:
10661
diff
changeset
|
295 |
|
9979 | 296 |
]. |
297 |
^ false |
|
298 |
||
299 |
"Created: / 06-03-2010 / 20:50:45 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
10661 | 300 |
"Modified: / 05-09-2011 / 05:17:30 / cg" |
10727 | 301 |
"Modified: / 27-09-2011 / 19:24:13 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
9979 | 302 |
! |
303 |
||
304 |
keyRelease: key x:x y:y in: view |
|
305 |
"Handles an event in given view (a subview of codeView). |
|
10588 | 306 |
If the method returns true, it has eaten the event and it will not be processed |
9979 | 307 |
by the view." |
308 |
||
10631 | 309 |
|ev p| |
310 |
||
12353
9d725076871b
changed default for Jan's quick menus to use the ALT button isntead
Claus Gittinger <cg@exept.de>
parents:
12105
diff
changeset
|
311 |
(view == textView and:[textView isQuickMenuModifierReleased]) ifTrue:[ |
9d725076871b
changed default for Jan's quick menus to use the ALT button isntead
Claus Gittinger <cg@exept.de>
parents:
12105
diff
changeset
|
312 |
"/ (view == textView and:[key == #'Control_L' or:[key == #Ctrl]]) ifTrue:[ |
10631 | 313 |
"/ because it is delegated, the position is not correct |
314 |
ev := WindowGroup lastEventQuerySignal query. |
|
315 |
p := view device translatePoint:(ev x @ ev y) fromView:ev view toView:view. |
|
316 |
self highlightClear. |
|
317 |
"/ view sensor pushUserEvent:#highlightClear for:self. |
|
12353
9d725076871b
changed default for Jan's quick menus to use the ALT button isntead
Claus Gittinger <cg@exept.de>
parents:
12105
diff
changeset
|
318 |
^ false "/ true -- do not eat the event |
10588 | 319 |
]. |
320 |
^ false |
|
9979 | 321 |
|
322 |
"Created: / 06-03-2010 / 21:03:59 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
10631 | 323 |
"Modified: / 21-08-2011 / 11:32:40 / cg" |
10709
e3257bcab5de
Fixes for syntax highlighting and code navigation. Now it should work fine debugger.
vrany
parents:
10661
diff
changeset
|
324 |
! |
e3257bcab5de
Fixes for syntax highlighting and code navigation. Now it should work fine debugger.
vrany
parents:
10661
diff
changeset
|
325 |
|
e3257bcab5de
Fixes for syntax highlighting and code navigation. Now it should work fine debugger.
vrany
parents:
10661
diff
changeset
|
326 |
linesDeletedFrom: start to: end |
e3257bcab5de
Fixes for syntax highlighting and code navigation. Now it should work fine debugger.
vrany
parents:
10661
diff
changeset
|
327 |
|
e3257bcab5de
Fixes for syntax highlighting and code navigation. Now it should work fine debugger.
vrany
parents:
10661
diff
changeset
|
328 |
self highlightClear |
e3257bcab5de
Fixes for syntax highlighting and code navigation. Now it should work fine debugger.
vrany
parents:
10661
diff
changeset
|
329 |
|
e3257bcab5de
Fixes for syntax highlighting and code navigation. Now it should work fine debugger.
vrany
parents:
10661
diff
changeset
|
330 |
"Created: / 06-07-2011 / 17:14:36 / jv" |
e3257bcab5de
Fixes for syntax highlighting and code navigation. Now it should work fine debugger.
vrany
parents:
10661
diff
changeset
|
331 |
"Created: / 16-09-2011 / 15:39:33 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
e3257bcab5de
Fixes for syntax highlighting and code navigation. Now it should work fine debugger.
vrany
parents:
10661
diff
changeset
|
332 |
! |
e3257bcab5de
Fixes for syntax highlighting and code navigation. Now it should work fine debugger.
vrany
parents:
10661
diff
changeset
|
333 |
|
e3257bcab5de
Fixes for syntax highlighting and code navigation. Now it should work fine debugger.
vrany
parents:
10661
diff
changeset
|
334 |
linesInsertedFrom: start to: end |
e3257bcab5de
Fixes for syntax highlighting and code navigation. Now it should work fine debugger.
vrany
parents:
10661
diff
changeset
|
335 |
|
e3257bcab5de
Fixes for syntax highlighting and code navigation. Now it should work fine debugger.
vrany
parents:
10661
diff
changeset
|
336 |
self highlightClear |
e3257bcab5de
Fixes for syntax highlighting and code navigation. Now it should work fine debugger.
vrany
parents:
10661
diff
changeset
|
337 |
|
e3257bcab5de
Fixes for syntax highlighting and code navigation. Now it should work fine debugger.
vrany
parents:
10661
diff
changeset
|
338 |
"Created: / 06-07-2011 / 17:14:36 / jv" |
e3257bcab5de
Fixes for syntax highlighting and code navigation. Now it should work fine debugger.
vrany
parents:
10661
diff
changeset
|
339 |
"Created: / 16-09-2011 / 15:39:30 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
e3257bcab5de
Fixes for syntax highlighting and code navigation. Now it should work fine debugger.
vrany
parents:
10661
diff
changeset
|
340 |
! |
e3257bcab5de
Fixes for syntax highlighting and code navigation. Now it should work fine debugger.
vrany
parents:
10661
diff
changeset
|
341 |
|
e3257bcab5de
Fixes for syntax highlighting and code navigation. Now it should work fine debugger.
vrany
parents:
10661
diff
changeset
|
342 |
linesModifiedFrom: start to: end |
e3257bcab5de
Fixes for syntax highlighting and code navigation. Now it should work fine debugger.
vrany
parents:
10661
diff
changeset
|
343 |
|
e3257bcab5de
Fixes for syntax highlighting and code navigation. Now it should work fine debugger.
vrany
parents:
10661
diff
changeset
|
344 |
self highlightClear |
e3257bcab5de
Fixes for syntax highlighting and code navigation. Now it should work fine debugger.
vrany
parents:
10661
diff
changeset
|
345 |
|
e3257bcab5de
Fixes for syntax highlighting and code navigation. Now it should work fine debugger.
vrany
parents:
10661
diff
changeset
|
346 |
"Created: / 06-07-2011 / 17:14:36 / jv" |
e3257bcab5de
Fixes for syntax highlighting and code navigation. Now it should work fine debugger.
vrany
parents:
10661
diff
changeset
|
347 |
"Created: / 16-09-2011 / 15:19:52 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
9979 | 348 |
! ! |
349 |
||
350 |
!CodeNavigationService methodsFor:'initialization'! |
|
351 |
||
352 |
initialize |
|
353 |
||
354 |
super initialize. |
|
355 |
selectorEmphasis := self class defaultSelectorEmphasis. |
|
356 |
variableEmphasis := self class defaultVariableEmphasis. |
|
10361 | 357 |
linesToRedraw := OrderedCollection new. |
9979 | 358 |
|
359 |
"Created: / 25-06-2010 / 14:05:09 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
360 |
! ! |
|
361 |
||
362 |
!CodeNavigationService methodsFor:'private'! |
|
363 |
||
364 |
elementAtCursor |
|
365 |
^self elementAtLine: textView cursorLine col: textView cursorCol - 1 |
|
366 |
||
367 |
"Created: / 25-06-2010 / 14:39:14 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
368 |
! |
|
369 |
||
10631 | 370 |
elementAtLine:line col:colArg |
11740 | 371 |
|characterPosition syntaxElements index element col| |
10631 | 372 |
|
373 |
"/ if beyond end of line, do not advance into next line |
|
374 |
col := colArg min:(textView listAt:line) size. |
|
9979 | 375 |
|
376 |
characterPosition := textView characterPositionOfLine:line col:col. |
|
11740 | 377 |
syntaxElements := codeView syntaxElements. |
11741 | 378 |
syntaxElements isEmptyOrNil ifTrue:[ |
379 |
^ nil. |
|
380 |
]. |
|
11740 | 381 |
index := syntaxElements indexForInserting:characterPosition. |
382 |
index > syntaxElements size ifTrue:[^nil]. |
|
383 |
element := syntaxElements at:index ifAbsent:nil. |
|
10631 | 384 |
element notNil ifTrue:[ |
10709
e3257bcab5de
Fixes for syntax highlighting and code navigation. Now it should work fine debugger.
vrany
parents:
10661
diff
changeset
|
385 |
(characterPosition between: element start - 1 and: element stop) ifTrue:[^element]. |
10631 | 386 |
]. |
387 |
^nil |
|
9979 | 388 |
|
389 |
"Created: / 25-06-2010 / 14:40:03 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
10631 | 390 |
"Modified: / 21-08-2011 / 11:03:29 / cg" |
10709
e3257bcab5de
Fixes for syntax highlighting and code navigation. Now it should work fine debugger.
vrany
parents:
10661
diff
changeset
|
391 |
"Modified: / 16-09-2011 / 17:04:06 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
9979 | 392 |
! |
393 |
||
394 |
elementAtX:x y:y |
|
395 |
|visibleLine line col| |
|
396 |
||
10631 | 397 |
codeView syntaxElements isNil ifTrue:[^nil]. |
398 |
||
9979 | 399 |
visibleLine := textView visibleLineOfY:y. |
400 |
col := textView colOfX:x inVisibleLine:visibleLine. |
|
401 |
line := textView visibleLineToAbsoluteLine:visibleLine. |
|
402 |
^self elementAtLine:line col:col |
|
403 |
||
404 |
"Created: / 25-06-2010 / 14:52:39 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
405 |
"Modified: / 01-08-2010 / 08:50:18 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
10631 | 406 |
"Modified: / 21-08-2011 / 10:26:08 / cg" |
407 |
! |
|
408 |
||
409 |
foo |
|
410 |
|characterPosition index element | |
|
411 |
||
412 |
characterPosition := 1 |
|
413 |
||
414 |
"Created: / 21-08-2011 / 10:48:05 / cg" |
|
9979 | 415 |
! |
416 |
||
417 |
highlighEmphasisFor: element |
|
418 |
||
10878 | 419 |
element isNil ifTrue:[^nil]. |
9979 | 420 |
|
10631 | 421 |
element isSelector ifTrue:[^selectorEmphasis]. |
422 |
element isVariable ifTrue:[^variableEmphasis]. |
|
423 |
element isSelf ifTrue:[^variableEmphasis]. |
|
9979 | 424 |
|
425 |
^nil |
|
426 |
||
427 |
"Created: / 25-06-2010 / 13:54:42 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
10878 | 428 |
"Modified: / 18-11-2011 / 14:58:05 / cg" |
9979 | 429 |
! |
430 |
||
431 |
highlightClear |
|
432 |
||
10361 | 433 |
^self highlightClear: true. |
9979 | 434 |
|
435 |
"Modified: / 26-12-2007 / 12:28:05 / janfrog" |
|
436 |
"Created: / 25-06-2010 / 14:15:58 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
10276 | 437 |
"Modified: / 08-07-2011 / 08:50:45 / cg" |
10361 | 438 |
"Modified: / 20-07-2011 / 18:52:38 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
9979 | 439 |
! |
440 |
||
10361 | 441 |
highlightClear: redraw |
442 |
||
443 |
codeView syntaxElementSelection == nil ifTrue:[ ^ self ]. |
|
10878 | 444 |
textView list isNil ifTrue:[ ^ self ]. |
10361 | 445 |
textView list withIndexDo:[:line :lineNo | |
446 |
line isText ifTrue:[ |
|
447 |
(line hasEmphasis: currentEmphasis) ifTrue:[ |
|
448 |
line emphasisAllRemove:currentEmphasis. |
|
449 |
linesToRedraw add: lineNo. |
|
450 |
] |
|
451 |
] |
|
452 |
]. |
|
453 |
codeView syntaxElementSelection:nil. |
|
454 |
||
455 |
redraw ifTrue:[self redrawLines]. |
|
9979 | 456 |
|
10361 | 457 |
"Modified: / 26-12-2007 / 12:28:05 / janfrog" |
458 |
"Created: / 20-07-2011 / 18:52:19 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
10878 | 459 |
"Modified: / 18-11-2011 / 14:58:08 / cg" |
10361 | 460 |
! |
461 |
||
462 |
highlightElement:element |
|
10631 | 463 |
|e| |
464 |
||
465 |
codeView syntaxElementSelection == element ifTrue:[ ^ self ]. "/ no change |
|
466 |
codeView syntaxElementSelection notNil ifTrue:[ |
|
467 |
self highlightClear: false. |
|
468 |
]. |
|
10361 | 469 |
|
10631 | 470 |
currentEmphasis := self highlighEmphasisFor:element. |
471 |
element notNil ifTrue:[ |
|
472 |
codeView syntaxElementSelection:element. |
|
473 |
e := element firstElementInChain. |
|
474 |
[ e notNil ] whileTrue:[ |
|
475 |
self highlightWithoutClearFrom:e start to:e stop. |
|
476 |
e := e nextElement |
|
477 |
]. |
|
478 |
]. |
|
10361 | 479 |
self redrawLines. |
9979 | 480 |
|
481 |
"Created: / 14-02-2010 / 16:18:36 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
10361 | 482 |
"Modified: / 20-07-2011 / 18:52:46 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
10631 | 483 |
"Modified: / 21-08-2011 / 10:22:58 / cg" |
9979 | 484 |
! |
485 |
||
486 |
highlightElementAtCursor |
|
487 |
self highlightElementAtLine: textView cursorLine col: textView cursorCol |
|
488 |
||
489 |
"Created: / 14-02-2010 / 16:17:40 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
490 |
"Modified: / 06-03-2010 / 19:59:18 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
491 |
! |
|
492 |
||
493 |
highlightElementAtLine:line col:col |
|
11740 | 494 |
|characterPosition syntaxElements index element| |
9979 | 495 |
|
496 |
characterPosition := textView characterPositionOfLine:line col:col. |
|
11740 | 497 |
syntaxElements := codeView syntaxElements. |
11741 | 498 |
syntaxElements isEmptyOrNil ifTrue:[self highlightElement:nil. ^ self]. |
11740 | 499 |
index := syntaxElements indexForInserting:characterPosition. |
500 |
index > syntaxElements size ifTrue:[self highlightElement:nil. ^ self]. |
|
501 |
element := syntaxElements at:index. |
|
502 |
(characterPosition between: element start and: element stop) ifFalse:[element := nil]. |
|
9979 | 503 |
self highlightElement:element |
504 |
||
505 |
"Created: / 14-02-2010 / 16:17:22 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
506 |
"Modified: / 01-08-2010 / 08:50:11 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
507 |
! |
|
508 |
||
509 |
highlightElementAtX:x y:y |
|
510 |
|visibleLine line col| |
|
511 |
||
10631 | 512 |
codeView syntaxElements isNil ifTrue:[^self]. |
9979 | 513 |
visibleLine := textView visibleLineOfY:y. |
514 |
col := textView colOfX:x inVisibleLine:visibleLine. |
|
515 |
line := textView visibleLineToAbsoluteLine:visibleLine. |
|
516 |
self highlightElementAtLine:line col:col |
|
517 |
||
518 |
"Created: / 14-02-2010 / 16:12:50 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
519 |
"Modified: / 06-03-2010 / 20:06:17 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
10631 | 520 |
"Modified: / 21-08-2011 / 10:22:10 / cg" |
521 |
! |
|
522 |
||
523 |
highlightElementOrNil:e |
|
524 |
e notNil ifTrue:[ |
|
525 |
"/ cg: only if selected !! |
|
526 |
"/ self halt. |
|
527 |
self highlightElement:e. |
|
528 |
] ifFalse:[ |
|
529 |
self highlightClear |
|
530 |
]. |
|
531 |
||
532 |
"Created: / 25-06-2010 / 14:52:09 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
533 |
"Created: / 21-08-2011 / 09:56:39 / cg" |
|
9979 | 534 |
! |
535 |
||
536 |
highlightLine:lineNo fromLine:startLine col:endLine toLine:startCol col:endCol |
|
537 |
|line start end| |
|
538 |
||
539 |
(lineNo between:startLine and:endLine) ifFalse:[ |
|
540 |
^ self |
|
541 |
]. |
|
542 |
line := textView listAt:lineNo. |
|
10291
af5825474e18
changed: #highlightLine:fromLine:col:toLine:col:
Claus Gittinger <cg@exept.de>
parents:
10276
diff
changeset
|
543 |
line isEmpty ifTrue:[^self]. |
9979 | 544 |
start := lineNo = startLine ifTrue:[ |
545 |
startCol |
|
546 |
] ifFalse:[ |
|
547 |
line indexOfNonSeparator |
|
548 |
]. |
|
549 |
end := lineNo = endLine ifTrue:[ |
|
550 |
endCol |
|
551 |
] ifFalse:[ line size ]. |
|
552 |
line |
|
10291
af5825474e18
changed: #highlightLine:fromLine:col:toLine:col:
Claus Gittinger <cg@exept.de>
parents:
10276
diff
changeset
|
553 |
emphasisFrom:(start max: 1) |
af5825474e18
changed: #highlightLine:fromLine:col:toLine:col:
Claus Gittinger <cg@exept.de>
parents:
10276
diff
changeset
|
554 |
to:(end min: line size) |
10361 | 555 |
add: currentEmphasis. |
556 |
linesToRedraw add: lineNo. |
|
9979 | 557 |
|
558 |
"Created: / 25-06-2010 / 14:15:39 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
10291
af5825474e18
changed: #highlightLine:fromLine:col:toLine:col:
Claus Gittinger <cg@exept.de>
parents:
10276
diff
changeset
|
559 |
"Modified: / 08-07-2011 / 13:02:51 / cg" |
10361 | 560 |
"Modified: / 20-07-2011 / 18:43:57 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
9979 | 561 |
! |
562 |
||
563 |
highlightVariable:e |
|
10631 | 564 |
(e notNil and:[ e isVariableOrSelf ]) ifTrue:[ |
9979 | 565 |
self highlightElement:e. |
566 |
] ifFalse:[ |
|
567 |
self highlightClear. |
|
10361 | 568 |
]. |
569 |
||
570 |
"Modified: / 20-07-2011 / 18:54:44 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
10631 | 571 |
"Modified: / 21-08-2011 / 09:39:42 / cg" |
9979 | 572 |
! |
573 |
||
574 |
highlightVariableAtCursor |
|
10631 | 575 |
self highlightElementOrNil:(self elementAtCursor) |
9979 | 576 |
|
577 |
"Modified: / 25-06-2010 / 14:53:17 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
10631 | 578 |
"Modified: / 21-08-2011 / 09:56:56 / cg" |
9979 | 579 |
! |
580 |
||
581 |
highlightVariableAtX:x y:y |
|
10631 | 582 |
self highlightElementOrNil:(self elementAtX:x y:y). |
9979 | 583 |
|
584 |
"Created: / 25-06-2010 / 14:52:09 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
10631 | 585 |
"Modified: / 21-08-2011 / 10:24:50 / cg" |
9979 | 586 |
! |
587 |
||
588 |
highlightWithoutClearFrom: start to: end |
|
589 |
"Remove underlined emphasis" |
|
590 |
||
591 |
|startLine startCol endLine endCol| |
|
592 |
||
593 |
startLine := textView lineOfCharacterPosition:start. |
|
594 |
startCol := start - (textView characterPositionOfLine:startLine col:1) + 1. |
|
595 |
endLine := textView lineOfCharacterPosition:end. |
|
596 |
endCol := end - (textView characterPositionOfLine:endLine col:1) + 1. |
|
597 |
self highlightWithoutClearFromLine: startLine col: startCol toLine: endLine col: endCol |
|
598 |
||
599 |
"Created: / 25-06-2010 / 14:15:21 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
600 |
! |
|
601 |
||
602 |
highlightWithoutClearFromLine: startLine col: startCol toLine: endLine col: endCol |
|
603 |
||
604 |
textView list keysAndValuesDo: |
|
605 |
[:lineNo :line| |
|
606 |
|start end| |
|
607 |
line isText ifTrue: |
|
608 |
[self highlightLine: lineNo fromLine: startLine col: endLine toLine: startCol col: endCol]]. |
|
609 |
||
610 |
"Created: / 25-06-2010 / 14:15:08 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
611 |
! ! |
|
612 |
||
10361 | 613 |
!CodeNavigationService methodsFor:'redrawing'! |
614 |
||
615 |
redrawLines |
|
616 |
linesToRedraw do:[:lineNo| |
|
10588 | 617 |
textView invalidateLine: lineNo. |
10361 | 618 |
]. |
619 |
linesToRedraw := OrderedCollection new: 1 |
|
620 |
||
621 |
"Created: / 20-07-2011 / 18:45:38 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
10588 | 622 |
"Modified (format): / 18-08-2011 / 16:01:34 / cg" |
10361 | 623 |
! ! |
624 |
||
9979 | 625 |
!CodeNavigationService class methodsFor:'documentation'! |
626 |
||
12486
0a82f2fcb6b3
class: Tools::CodeNavigationService
Claus Gittinger <cg@exept.de>
parents:
12485
diff
changeset
|
627 |
version |
0a82f2fcb6b3
class: Tools::CodeNavigationService
Claus Gittinger <cg@exept.de>
parents:
12485
diff
changeset
|
628 |
^ '$Header: /cvs/stx/stx/libtool/Tools__CodeNavigationService.st,v 1.22 2013-03-19 19:23:55 cg Exp $' |
0a82f2fcb6b3
class: Tools::CodeNavigationService
Claus Gittinger <cg@exept.de>
parents:
12485
diff
changeset
|
629 |
! |
0a82f2fcb6b3
class: Tools::CodeNavigationService
Claus Gittinger <cg@exept.de>
parents:
12485
diff
changeset
|
630 |
|
9979 | 631 |
version_CVS |
12486
0a82f2fcb6b3
class: Tools::CodeNavigationService
Claus Gittinger <cg@exept.de>
parents:
12485
diff
changeset
|
632 |
^ '$Header: /cvs/stx/stx/libtool/Tools__CodeNavigationService.st,v 1.22 2013-03-19 19:23:55 cg Exp $' |
9979 | 633 |
! |
634 |
||
635 |
version_SVN |
|
636 |
^ '§Id: Tools__CodeNavigationService.st 7788 2011-06-17 07:57:48Z vranyj1 §' |
|
637 |
! ! |
|
12105
44e930e29b99
class: Tools::CodeNavigationService
Claus Gittinger <cg@exept.de>
parents:
11741
diff
changeset
|
638 |