927
|
1 |
CompilationErrorHandler subclass:#WarningCompilationErrorHandler
|
|
2 |
instanceVariableNames:''
|
|
3 |
classVariableNames:''
|
|
4 |
poolDictionaries:''
|
|
5 |
category:'System-Compiler'
|
|
6 |
!
|
|
7 |
|
|
8 |
|
|
9 |
!WarningCompilationErrorHandler methodsFor:'error handling'!
|
|
10 |
|
|
11 |
error:aMessage position:position to:endPos from:aCompiler
|
|
12 |
"error notification.
|
|
13 |
This is sent by the compiler/evaluator if it detects errors."
|
|
14 |
|
|
15 |
|box|
|
|
16 |
|
|
17 |
box := TextBox new.
|
|
18 |
box initialText:currentSource.
|
|
19 |
box label:aMessage.
|
929
|
20 |
box textView selectFromCharacterPosition:(position?1) to:(endPos?currentSource size).
|
927
|
21 |
box open.
|
|
22 |
^ false
|
|
23 |
|
|
24 |
"Created: / 30.7.1999 / 18:10:22 / cg"
|
929
|
25 |
"Modified: / 30.7.1999 / 22:37:30 / cg"
|
927
|
26 |
! !
|
|
27 |
|
|
28 |
!WarningCompilationErrorHandler class methodsFor:'documentation'!
|
|
29 |
|
|
30 |
version
|
929
|
31 |
^ '$Header: /cvs/stx/stx/libcomp/WarningCompilationErrorHandler.st,v 1.2 1999-07-30 20:57:10 cg Exp $'
|
927
|
32 |
! !
|