1332
|
1 |
"{ Package: 'stx:libcomp' }"
|
|
2 |
|
927
|
3 |
CompilationErrorHandler subclass:#WarningCompilationErrorHandler
|
|
4 |
instanceVariableNames:''
|
|
5 |
classVariableNames:''
|
|
6 |
poolDictionaries:''
|
|
7 |
category:'System-Compiler'
|
|
8 |
!
|
|
9 |
|
1332
|
10 |
!WarningCompilationErrorHandler class methodsFor:'documentation'!
|
|
11 |
|
|
12 |
documentation
|
|
13 |
"
|
|
14 |
I am a warning ErrorHandler - i.e. showing a warning for
|
|
15 |
compilation errors.
|
|
16 |
"
|
|
17 |
! !
|
927
|
18 |
|
|
19 |
!WarningCompilationErrorHandler methodsFor:'error handling'!
|
|
20 |
|
|
21 |
error:aMessage position:position to:endPos from:aCompiler
|
|
22 |
"error notification.
|
|
23 |
This is sent by the compiler/evaluator if it detects errors."
|
|
24 |
|
|
25 |
|box|
|
|
26 |
|
|
27 |
box := TextBox new.
|
|
28 |
box initialText:currentSource.
|
|
29 |
box label:aMessage.
|
929
|
30 |
box textView selectFromCharacterPosition:(position?1) to:(endPos?currentSource size).
|
927
|
31 |
box open.
|
|
32 |
^ false
|
|
33 |
|
|
34 |
"Created: / 30.7.1999 / 18:10:22 / cg"
|
929
|
35 |
"Modified: / 30.7.1999 / 22:37:30 / cg"
|
927
|
36 |
! !
|
|
37 |
|
|
38 |
!WarningCompilationErrorHandler class methodsFor:'documentation'!
|
|
39 |
|
|
40 |
version
|
1332
|
41 |
^ '$Header: /cvs/stx/stx/libcomp/WarningCompilationErrorHandler.st,v 1.3 2002-11-08 10:16:01 cg Exp $'
|
927
|
42 |
! !
|