SmallSense__SmalltalkLintAnnotation.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Wed, 18 Sep 2013 00:58:49 +0100
changeset 89 8ff5fb2b27bf
parent 86 3b615594edf6
child 127 98c615301608
permissions -rw-r--r--
Improvement in (Smalltalk)EditSupport. After some electric text is inserted, BackSpace will delete the inserted text instead of just last character.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
86
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     1
"
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     2
 COPYRIGHT (c) 2006 by eXept Software AG
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     3
              All Rights Reserved
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     4
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     5
 This software is furnished under a license and may be used
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     6
 only in accordance with the terms of that license and with the
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     8
 be provided or otherwise made available to, or used by, any
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     9
 other person.  No title to or ownership of the software is
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    10
 hereby transferred.
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    11
"
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    12
"{ Package: 'jv:smallsense' }"
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    13
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    14
"{ NameSpace: SmallSense }"
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    15
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    16
Object subclass:#SmalltalkLintAnnotation
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    17
	instanceVariableNames:'startPosition endPosition line rule'
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    18
	classVariableNames:''
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    19
	poolDictionaries:''
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    20
	category:'SmallSense-Smalltalk-Lint'
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    21
!
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    22
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    23
!SmalltalkLintAnnotation class methodsFor:'documentation'!
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    24
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    25
copyright
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    26
"
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    27
 COPYRIGHT (c) 2006 by eXept Software AG
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    28
              All Rights Reserved
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    29
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    30
 This software is furnished under a license and may be used
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    31
 only in accordance with the terms of that license and with the
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    32
 inclusion of the above copyright notice.   This software may not
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    33
 be provided or otherwise made available to, or used by, any
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    34
 other person.  No title to or ownership of the software is
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    35
 hereby transferred.
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    36
"
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    37
! !
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    38
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    39
!SmalltalkLintAnnotation class methodsFor:'instance creation'!
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    40
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    41
from: start to: end rule: rule
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    42
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    43
    ^self new
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    44
        startPosition: start;
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    45
        endPosition: end;
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    46
        rule: rule;
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    47
        yourself.
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    48
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    49
    "Created: / 30-01-2012 / 15:23:22 / Jan Vrany <jan.vrany@fit.cvut.cz>"
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    50
! !
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    51
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    52
!SmalltalkLintAnnotation methodsFor:'accessing'!
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    53
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    54
endPosition
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    55
    ^ endPosition
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    56
!
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    57
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    58
endPosition:anInteger
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    59
    endPosition := anInteger.
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    60
!
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    61
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    62
line
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    63
    ^ line
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    64
!
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    65
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    66
line:anInteger
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    67
    line := anInteger.
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    68
!
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    69
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    70
rule
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    71
    ^ rule
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    72
!
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    73
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    74
rule:anRBLintRule
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    75
    self assert: anRBLintRule isComposite not.
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    76
    rule := anRBLintRule.
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    77
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    78
    "Modified: / 30-01-2012 / 15:22:05 / Jan Vrany <jan.vrany@fit.cvut.cz>"
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    79
!
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    80
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    81
startPosition
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    82
    ^ startPosition
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    83
!
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    84
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    85
startPosition:anInteger
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    86
    startPosition := anInteger.
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    87
! !
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    88
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    89
!SmalltalkLintAnnotation methodsFor:'comparing'!
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    90
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    91
< anObject
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    92
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    93
    anObject isNumber ifTrue:[^startPosition < anObject].
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    94
    anObject class == self class ifFalse:[^false].
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    95
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    96
    ^endPosition < anObject startPosition
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    97
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    98
    "Created: / 14-02-2010 / 13:39:46 / Jan Vrany <jan.vrany@fit.cvut.cz>"
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
    99
!
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   100
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   101
<= aMagnitude
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   102
    "return true, if the argument is greater or equal than the receiver"
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   103
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   104
    ^ (aMagnitude < self) not
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   105
!
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   106
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   107
= anObject
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   108
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   109
    anObject class == self class ifFalse:[^false].
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   110
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   111
    ^startPosition == (anObject startPosition) and:
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   112
        [endPosition == (anObject endPosition) and:
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   113
            [rule = anObject rule]]
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   114
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   115
    "Created: / 14-02-2010 / 13:33:36 / Jan Vrany <jan.vrany@fit.cvut.cz>"
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   116
!
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   117
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   118
> aMagnitude
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   119
    "return true, if the argument is less than the receiver"
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   120
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   121
    ^ aMagnitude < self
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   122
!
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   123
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   124
>= aMagnitude
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   125
    "return true, if the argument is less or equal than the receiver"
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   126
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   127
    ^ (self < aMagnitude) not
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   128
! !
3b615594edf6 Fixed Lint service to work on CVS Smalltalk/X...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
   129