36
|
1 |
"
|
|
2 |
COPYRIGHT (c) 1994 by Claus Gittinger
|
|
3 |
All Rights Reserved
|
|
4 |
|
|
5 |
This software is furnished under a license and may be used
|
|
6 |
only in accordance with the terms of that license and with the
|
|
7 |
inclusion of the above copyright notice. This software may not
|
|
8 |
be provided or otherwise made available to, or used by, any
|
|
9 |
other person. No title to or ownership of the software is
|
|
10 |
hereby transferred.
|
|
11 |
"
|
29
|
12 |
|
|
13 |
TabulatorSpecification subclass:#ParagraphSpecification
|
|
14 |
instanceVariableNames:'leftMargin rightMargin textAlignment'
|
|
15 |
classVariableNames:''
|
|
16 |
poolDictionaries:''
|
|
17 |
category:'Views-Support'
|
|
18 |
!
|
|
19 |
|
36
|
20 |
!ParagraphSpecification class methodsFor:'documentation'!
|
|
21 |
|
|
22 |
copyright
|
|
23 |
"
|
|
24 |
COPYRIGHT (c) 1994 by Claus Gittinger
|
|
25 |
All Rights Reserved
|
|
26 |
|
|
27 |
This software is furnished under a license and may be used
|
|
28 |
only in accordance with the terms of that license and with the
|
|
29 |
inclusion of the above copyright notice. This software may not
|
|
30 |
be provided or otherwise made available to, or used by, any
|
|
31 |
other person. No title to or ownership of the software is
|
|
32 |
hereby transferred.
|
|
33 |
"
|
|
34 |
!
|
|
35 |
|
|
36 |
documentation
|
|
37 |
"
|
|
38 |
Instances of this class can be used to represent the tabs
|
|
39 |
and margins of a paragraph of text. Its a goody, not really
|
|
40 |
used currently.
|
|
41 |
"
|
|
42 |
! !
|
|
43 |
|
29
|
44 |
!ParagraphSpecification methodsFor:'accessing'!
|
|
45 |
|
|
46 |
leftMargin
|
|
47 |
"return leftMargin"
|
|
48 |
|
|
49 |
^ leftMargin!
|
|
50 |
|
|
51 |
leftMargin:something
|
|
52 |
"set leftMargin"
|
|
53 |
|
|
54 |
leftMargin := something.!
|
|
55 |
|
|
56 |
rightMargin
|
|
57 |
"return rightMargin"
|
|
58 |
|
|
59 |
^ rightMargin!
|
|
60 |
|
|
61 |
rightMargin:something
|
|
62 |
"set rightMargin"
|
|
63 |
|
|
64 |
rightMargin := something.! !
|
|
65 |
|