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