UserPreferences.st
author Claus Gittinger <cg@exept.de>
Fri, 11 Sep 1998 20:07:52 +0200
changeset 3832 3cb925b0c2e9
parent 3827 d3dd75b5ced3
child 3835 9646484382ac
permissions -rw-r--r--
checkin from browser
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3347
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     1
"
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     2
 COPYRIGHT (c) 1998 by eXept Software AG
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     3
              All Rights Reserved
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     4
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     5
 This software is furnished under a license and may be used
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     6
 only in accordance with the terms of that license and with the
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     8
 be provided or otherwise made available to, or used by, any
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     9
 other person.  No title to or ownership of the software is
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    10
 hereby transferred.
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    11
"
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    12
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    13
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    14
IdentityDictionary subclass:#UserPreferences
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    15
	instanceVariableNames:''
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    16
	classVariableNames:'CurrentPreferences'
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    17
	poolDictionaries:''
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    18
	category:'System-Support'
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    19
!
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    20
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    21
!UserPreferences class methodsFor:'documentation'!
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    22
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    23
copyright
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    24
"
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    25
 COPYRIGHT (c) 1998 by eXept Software AG
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    26
              All Rights Reserved
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    27
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    28
 This software is furnished under a license and may be used
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    29
 only in accordance with the terms of that license and with the
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    30
 inclusion of the above copyright notice.   This software may not
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    31
 be provided or otherwise made available to, or used by, any
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    32
 other person.  No title to or ownership of the software is
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    33
 hereby transferred.
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    34
"
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    35
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    36
!
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    37
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    38
documentation
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    39
"
3353
0f0288822acd checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3352
diff changeset
    40
    Not yet finished.
0f0288822acd checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3352
diff changeset
    41
3359
a474d509302f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3358
diff changeset
    42
    This will eventually keep track of ALL user preferences.
a474d509302f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3358
diff changeset
    43
    (which are currently spread over the system).
a474d509302f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3358
diff changeset
    44
    For now, only a few preferences are found here - but this
a474d509302f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3358
diff changeset
    45
    will change over time.
3347
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    46
"
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    47
! !
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    48
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    49
!UserPreferences class methodsFor:'accessing'!
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    50
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    51
current
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    52
    CurrentPreferences isNil ifTrue:[
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    53
        CurrentPreferences := self new
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    54
    ].
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    55
    ^ CurrentPreferences.
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    56
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    57
    "Created: / 31.3.1998 / 13:43:03 / cg"
3364
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
    58
!
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
    59
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
    60
reset
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
    61
    "resets the CurrentPreferences to its default values"
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
    62
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
    63
    CurrentPreferences := nil
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
    64
!
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
    65
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
    66
syntaxColors
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
    67
    "returns the syntax colors for the settings in the launcher"
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
    68
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
    69
^#(
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
    70
'Argument Identifier Color'
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
    71
'Boolean Constant Color'
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
    72
'Bracket Color'
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
    73
'Constant Color'
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
    74
'Comment Color'
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
    75
'Global Identifier Color'
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
    76
'Here Color'
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
    77
'Identifier Color'
3377
9d7c8b2ef58e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
    78
'InstVar Identifier Color'
3364
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
    79
'Local Identifier Color'
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
    80
'Method Selector Color'
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
    81
'Selector Color'
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
    82
'Self Color'
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
    83
'String Color'
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
    84
'Super Color'
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
    85
'Symbol Color'
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
    86
'This Context Color'
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
    87
'Unknown Identifier Color'
3377
9d7c8b2ef58e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
    88
)
3364
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
    89
3377
9d7c8b2ef58e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
    90
    "Modified: / 16.4.1998 / 18:32:23 / cg"
3347
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    91
! !
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    92
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
    93
!UserPreferences methodsFor:'accessing - prefs'!
3358
f1b2b7b83d3e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3357
diff changeset
    94
3347
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    95
syntaxColoring
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
    96
    "return the flag which controls syntax coloring (in the browsers)"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
    97
3827
d3dd75b5ced3 syntax coloring is on by default;
Claus Gittinger <cg@exept.de>
parents: 3409
diff changeset
    98
    ^ self at:#syntaxColoring ifAbsentPut:true
3347
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    99
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   100
    "
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   101
     UserPreferences current syntaxColoring
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   102
    "
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   103
3827
d3dd75b5ced3 syntax coloring is on by default;
Claus Gittinger <cg@exept.de>
parents: 3409
diff changeset
   104
    "Modified: / 11.9.1998 / 00:09:59 / cg"
3347
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   105
!
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   106
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   107
syntaxColoring:aBoolean
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   108
    "turn on/off syntaxColoring (in the browsers)."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   109
3347
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   110
    ^ self at:#syntaxColoring put:aBoolean
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   111
3357
bc42e06c8422 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3356
diff changeset
   112
    "
bc42e06c8422 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3356
diff changeset
   113
     UserPreferences current syntaxColoring:true
bc42e06c8422 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3356
diff changeset
   114
     UserPreferences current syntaxColoring:false
bc42e06c8422 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3356
diff changeset
   115
    "
bc42e06c8422 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3356
diff changeset
   116
3347
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   117
    "Created: / 31.3.1998 / 13:44:00 / cg"
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   118
    "Modified: / 1.4.1998 / 13:23:03 / cg"
3409
67d3427d4857 added #useNewInspector
Claus Gittinger <cg@exept.de>
parents: 3378
diff changeset
   119
!
67d3427d4857 added #useNewInspector
Claus Gittinger <cg@exept.de>
parents: 3378
diff changeset
   120
67d3427d4857 added #useNewInspector
Claus Gittinger <cg@exept.de>
parents: 3378
diff changeset
   121
useNewInspector
67d3427d4857 added #useNewInspector
Claus Gittinger <cg@exept.de>
parents: 3378
diff changeset
   122
    "using new or old inspector"
67d3427d4857 added #useNewInspector
Claus Gittinger <cg@exept.de>
parents: 3378
diff changeset
   123
67d3427d4857 added #useNewInspector
Claus Gittinger <cg@exept.de>
parents: 3378
diff changeset
   124
    ^ self at:#useNewInspector ifAbsentPut:false
67d3427d4857 added #useNewInspector
Claus Gittinger <cg@exept.de>
parents: 3378
diff changeset
   125
!
67d3427d4857 added #useNewInspector
Claus Gittinger <cg@exept.de>
parents: 3378
diff changeset
   126
67d3427d4857 added #useNewInspector
Claus Gittinger <cg@exept.de>
parents: 3378
diff changeset
   127
useNewInspector:aBoolean
67d3427d4857 added #useNewInspector
Claus Gittinger <cg@exept.de>
parents: 3378
diff changeset
   128
    "using new or old inspector"
67d3427d4857 added #useNewInspector
Claus Gittinger <cg@exept.de>
parents: 3378
diff changeset
   129
67d3427d4857 added #useNewInspector
Claus Gittinger <cg@exept.de>
parents: 3378
diff changeset
   130
    ^ self at:#useNewInspector put:aBoolean
67d3427d4857 added #useNewInspector
Claus Gittinger <cg@exept.de>
parents: 3378
diff changeset
   131
67d3427d4857 added #useNewInspector
Claus Gittinger <cg@exept.de>
parents: 3378
diff changeset
   132
    "
67d3427d4857 added #useNewInspector
Claus Gittinger <cg@exept.de>
parents: 3378
diff changeset
   133
     UserPreferences current useNewInspector
67d3427d4857 added #useNewInspector
Claus Gittinger <cg@exept.de>
parents: 3378
diff changeset
   134
    "
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   135
! !
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   136
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   137
!UserPreferences methodsFor:'accessing - syntaxColoring prefs'!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   138
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   139
argumentIdentifierColor
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   140
    "the color used for argument identifiers;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   141
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   142
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   143
    ^ self at:#argumentIdentifierColor ifAbsentPut:[self identifierColor]
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   144
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   145
    "Created: / 31.3.1998 / 15:08:20 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   146
    "Modified: / 1.4.1998 / 13:19:58 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   147
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   148
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   149
argumentIdentifierEmphasis
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   150
    "the emphasis used for argument identifiers;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   151
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   152
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   153
    ^ self at:#argumentIdentifierEmphasis ifAbsentPut:[self identifierEmphasis]
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   154
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   155
    "Created: / 31.3.1998 / 15:16:40 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   156
    "Modified: / 1.4.1998 / 13:19:55 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   157
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   158
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   159
booleanConstantColor
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   160
    "the color used for boolean constants;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   161
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   162
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   163
    ^ self at:#booleanConstantColor ifAbsentPut:[self constantColor]
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   164
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   165
    "Created: / 31.3.1998 / 18:12:06 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   166
    "Modified: / 1.4.1998 / 13:20:07 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   167
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   168
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   169
booleanConstantEmphasis
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   170
    "the emphasis used for boolean constants;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   171
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   172
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   173
    ^ self at:#booleanConstantEmphasis ifAbsentPut:[self constantEmphasis]
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   174
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   175
    "Created: / 31.3.1998 / 18:12:46 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   176
    "Modified: / 1.4.1998 / 13:26:01 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   177
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   178
3361
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   179
bracketColor
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   180
    "the color used for brackets;
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   181
     If syntaxColoring is turned on."
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   182
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   183
    ^ self at:#bracketColor ifAbsentPut:[Color black]
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   184
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   185
    "
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   186
     self current at:#bracketColor  put:Color red.
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   187
     self current at:#bracketEmphasis  put:#bold
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   188
    "
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   189
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   190
    "Created: / 31.3.1998 / 19:11:38 / cg"
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   191
    "Modified: / 1.4.1998 / 13:22:33 / cg"
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   192
!
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   193
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   194
bracketEmphasis
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   195
    "the emphasis used for brackets;
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   196
     If syntaxColoring is turned on."
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   197
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   198
    ^ self at:#bracketEmphasis ifAbsentPut:#normal
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   199
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   200
    "
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   201
     self current at:#bracketEmphasis  put:#bold
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   202
    "
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   203
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   204
    "Created: / 31.3.1998 / 19:11:38 / cg"
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   205
    "Modified: / 1.4.1998 / 13:22:33 / cg"
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   206
!
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   207
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   208
commentColor
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   209
    "the color used for comments;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   210
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   211
3832
3cb925b0c2e9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3827
diff changeset
   212
    ^ self at:#commentColor 
3cb925b0c2e9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3827
diff changeset
   213
        ifAbsentPut:[ "/ Color red:0 green:67 blue:0 
3cb925b0c2e9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3827
diff changeset
   214
                      Color blue lightened
3cb925b0c2e9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3827
diff changeset
   215
                      "/ Color blue darkened
3cb925b0c2e9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3827
diff changeset
   216
                    ]
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   217
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   218
    "Created: / 31.3.1998 / 15:10:23 / cg"
3832
3cb925b0c2e9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3827
diff changeset
   219
    "Modified: / 11.9.1998 / 19:24:04 / cg"
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   220
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   221
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   222
commentEmphasis
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   223
    "the emphasis used for comments;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   224
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   225
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   226
    ^ self at:#commentEmphasis ifAbsentPut:#italic
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   227
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   228
    "Created: / 31.3.1998 / 15:09:59 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   229
    "Modified: / 1.4.1998 / 13:25:53 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   230
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   231
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   232
constantColor
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   233
    "the color used for constants;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   234
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   235
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   236
    ^ self at:#constantColor ifAbsentPut:[Color red darkened darkened]
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   237
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   238
    "Created: / 31.3.1998 / 18:13:15 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   239
    "Modified: / 1.4.1998 / 13:20:37 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   240
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   241
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   242
constantEmphasis
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   243
    "the emphasis used for constants;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   244
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   245
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   246
    ^ self at:#constantEmphasis ifAbsentPut:[self identifierEmphasis]
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   247
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   248
    "Created: / 31.3.1998 / 18:13:23 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   249
    "Modified: / 1.4.1998 / 13:25:43 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   250
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   251
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   252
globalIdentifierColor
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   253
    "the color used for global identifiers;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   254
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   255
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   256
    ^ self at:#globalIdentifierColor ifAbsentPut:[self identifierColor]
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   257
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   258
    "Created: / 31.3.1998 / 15:18:49 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   259
    "Modified: / 1.4.1998 / 13:20:47 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   260
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   261
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   262
globalIdentifierEmphasis
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   263
    "the emphasis used for global variable identifiers;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   264
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   265
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   266
    ^ self at:#globalIdentifierEmphasis ifAbsentPut:[self identifierEmphasis]
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   267
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   268
    "Created: / 31.3.1998 / 15:18:29 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   269
    "Modified: / 1.4.1998 / 13:25:31 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   270
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   271
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   272
hereColor
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   273
    "the color used for the here pseudoVariable;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   274
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   275
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   276
    ^ self at:#hereColor ifAbsentPut:[self identifierColor]
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   277
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   278
    "Created: / 31.3.1998 / 17:38:09 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   279
    "Modified: / 1.4.1998 / 13:20:57 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   280
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   281
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   282
hereEmphasis
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   283
    "the emphasis used for the hre special variable;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   284
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   285
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   286
    ^ self at:#hereEmphasis ifAbsentPut:[self identifierEmphasis]
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   287
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   288
    "Created: / 31.3.1998 / 17:35:13 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   289
    "Modified: / 1.4.1998 / 13:25:17 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   290
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   291
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   292
identifierColor
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   293
    "the color used for other identifiers;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   294
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   295
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   296
    ^ self at:#identifierColor ifAbsentPut:[Color black "green darkened darkened"]
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   297
3362
6855944431e9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3361
diff changeset
   298
    "
6855944431e9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3361
diff changeset
   299
     UserPreferences current at:#identifierColor put:Color green darkened darkened.
6855944431e9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3361
diff changeset
   300
     UserPreferences current at:#identifierColor put:Color black.
6855944431e9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3361
diff changeset
   301
    "
6855944431e9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3361
diff changeset
   302
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   303
    "Created: / 31.3.1998 / 17:35:55 / cg"
3362
6855944431e9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3361
diff changeset
   304
    "Modified: / 2.4.1998 / 10:39:42 / cg"
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   305
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   306
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   307
identifierEmphasis
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   308
    "the emphasis used for other identifiers;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   309
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   310
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   311
    ^ self at:#identifierEmphasis ifAbsentPut:#normal
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   312
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   313
    "Created: / 31.3.1998 / 15:09:41 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   314
    "Modified: / 1.4.1998 / 13:25:06 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   315
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   316
3378
92288628a6bf checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3377
diff changeset
   317
instVarIdentifierColor
3377
9d7c8b2ef58e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
   318
    "the color used for instance variable identifiers;
9d7c8b2ef58e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
   319
     If syntaxColoring is turned on."
9d7c8b2ef58e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
   320
3378
92288628a6bf checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3377
diff changeset
   321
    ^ self at:#instVarIdentifierColor ifAbsentPut:[self identifierColor]
3377
9d7c8b2ef58e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
   322
9d7c8b2ef58e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
   323
    "
3378
92288628a6bf checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3377
diff changeset
   324
     UserPreferences current at:#instVarIdentifierColor put:Color green darkened.
92288628a6bf checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3377
diff changeset
   325
     UserPreferences current at:#instVarIdentifierColor put:Color black.
92288628a6bf checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3377
diff changeset
   326
     UserPreferences current instVarIdentifierColor 
3377
9d7c8b2ef58e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
   327
    "
9d7c8b2ef58e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
   328
9d7c8b2ef58e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
   329
    "Created: / 16.4.1998 / 18:31:29 / cg"
3378
92288628a6bf checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3377
diff changeset
   330
    "Modified: / 16.4.1998 / 18:57:06 / cg"
3377
9d7c8b2ef58e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
   331
!
9d7c8b2ef58e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
   332
3378
92288628a6bf checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3377
diff changeset
   333
instVarIdentifierEmphasis
3377
9d7c8b2ef58e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
   334
    "the emphais used for instance variable identifiers;
9d7c8b2ef58e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
   335
     If syntaxColoring is turned on."
9d7c8b2ef58e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
   336
3378
92288628a6bf checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3377
diff changeset
   337
    ^ self at:#instVarIdentifierEmphasis ifAbsentPut:[self identifierEmphasis]
3377
9d7c8b2ef58e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
   338
9d7c8b2ef58e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
   339
    "Modified: / 1.4.1998 / 13:24:42 / cg"
3378
92288628a6bf checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3377
diff changeset
   340
    "Created: / 16.4.1998 / 18:40:05 / cg"
3377
9d7c8b2ef58e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
   341
!
9d7c8b2ef58e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
   342
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   343
localIdentifierColor
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   344
    "the color used for local variable identifiers;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   345
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   346
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   347
    ^ self at:#localIdentifierColor ifAbsentPut:[self identifierColor]
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   348
3362
6855944431e9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3361
diff changeset
   349
    "
6855944431e9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3361
diff changeset
   350
     UserPreferences current at:#localIdentifierColor put:Color green darkened.
6855944431e9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3361
diff changeset
   351
     UserPreferences current at:#localIdentifierColor put:Color black.
6855944431e9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3361
diff changeset
   352
    "
6855944431e9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3361
diff changeset
   353
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   354
    "Created: / 31.3.1998 / 15:18:07 / cg"
3362
6855944431e9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3361
diff changeset
   355
    "Modified: / 2.4.1998 / 10:40:05 / cg"
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   356
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   357
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   358
localIdentifierEmphasis
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   359
    "the emphais used for local variable identifiers;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   360
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   361
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   362
    ^ self at:#localIdentifierEmphasis ifAbsentPut:[self identifierEmphasis]
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   363
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   364
    "Created: / 31.3.1998 / 15:16:56 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   365
    "Modified: / 1.4.1998 / 13:24:42 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   366
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   367
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   368
methodSelectorColor
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   369
    "the color used for a methods selector pattern;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   370
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   371
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   372
    ^ self at:#methodSelectorColor ifAbsentPut:[Color black]
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   373
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   374
    "Created: / 31.3.1998 / 15:11:24 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   375
    "Modified: / 1.4.1998 / 13:24:26 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   376
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   377
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   378
methodSelectorEmphasis
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   379
    "the emphasis used for a methods selector pattern;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   380
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   381
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   382
    ^ self at:#methodSelectorEmphasis ifAbsentPut:#bold
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   383
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   384
    "Created: / 31.3.1998 / 15:11:16 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   385
    "Modified: / 1.4.1998 / 13:24:20 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   386
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   387
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   388
selectorColor
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   389
    "the color used for message selectors;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   390
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   391
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   392
    ^ self at:#selectorColor ifAbsentPut:[Color black]
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   393
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   394
    "Created: / 31.3.1998 / 15:19:19 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   395
    "Modified: / 1.4.1998 / 13:24:04 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   396
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   397
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   398
selectorEmphasis
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   399
    "the emphasis used for message selectors;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   400
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   401
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   402
    ^ self at:#selectorEmphasis ifAbsentPut:#bold
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   403
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   404
    "Created: / 31.3.1998 / 15:19:09 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   405
    "Modified: / 1.4.1998 / 13:23:59 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   406
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   407
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   408
selfColor
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   409
    "the color used for the self pseudoVariable;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   410
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   411
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   412
    ^ self at:#selfColor ifAbsentPut:[self identifierColor]
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   413
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   414
    "Created: / 31.3.1998 / 17:35:45 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   415
    "Modified: / 1.4.1998 / 13:21:07 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   416
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   417
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   418
selfEmphasis
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   419
    "the emphasis used for the self pseudoVariable;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   420
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   421
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   422
    ^ self at:#selfEmphasis ifAbsentPut:[self identifierEmphasis]
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   423
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   424
    "Created: / 31.3.1998 / 17:34:57 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   425
    "Modified: / 1.4.1998 / 13:21:51 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   426
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   427
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   428
stringColor
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   429
    "the color used for string constants;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   430
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   431
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   432
    ^ self at:#stringColor ifAbsentPut:[self constantColor]
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   433
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   434
    "Created: / 31.3.1998 / 15:19:50 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   435
    "Modified: / 1.4.1998 / 13:22:06 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   436
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   437
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   438
stringEmphasis
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   439
    "the emphasis used for string constants;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   440
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   441
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   442
    ^ self at:#stringEmphasis ifAbsentPut:[self constantEmphasis]
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   443
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   444
    "Created: / 31.3.1998 / 15:19:09 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   445
    "Modified: / 1.4.1998 / 13:22:00 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   446
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   447
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   448
superColor
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   449
    "the color used for the super pseudoVariable;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   450
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   451
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   452
    ^ self at:#superColor ifAbsentPut:[self identifierColor]
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   453
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   454
    "Created: / 31.3.1998 / 17:37:56 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   455
    "Modified: / 1.4.1998 / 13:21:15 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   456
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   457
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   458
superEmphasis
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   459
    "the emphasis used for the super pseudoVariable;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   460
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   461
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   462
    ^ self at:#superEmphasis ifAbsentPut:[self identifierEmphasis]
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   463
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   464
    "Created: / 31.3.1998 / 17:35:08 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   465
    "Modified: / 1.4.1998 / 13:21:41 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   466
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   467
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   468
symbolColor
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   469
    "the color used for symbol constants;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   470
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   471
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   472
    ^ self at:#symbolColor ifAbsentPut:[self constantColor]
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   473
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   474
    "Created: / 1.4.1998 / 12:57:35 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   475
    "Modified: / 1.4.1998 / 13:22:16 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   476
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   477
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   478
symbolEmphasis
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   479
    "the emphasis used for symbol constants;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   480
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   481
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   482
    ^ self at:#symbolEmphasis ifAbsentPut:[self constantEmphasis]
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   483
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   484
    "Created: / 1.4.1998 / 12:57:43 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   485
    "Modified: / 1.4.1998 / 13:23:43 / cg"
3352
ebf6c330ff71 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3351
diff changeset
   486
!
ebf6c330ff71 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3351
diff changeset
   487
ebf6c330ff71 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3351
diff changeset
   488
thisContextColor
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   489
    "the color used for the thisContext pseudoVariable;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   490
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   491
3355
d013e5affe18 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3354
diff changeset
   492
    ^ self at:#thisContextColor ifAbsentPut:[self identifierColor]
3352
ebf6c330ff71 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3351
diff changeset
   493
ebf6c330ff71 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3351
diff changeset
   494
    "Created: / 31.3.1998 / 17:37:49 / cg"
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   495
    "Modified: / 1.4.1998 / 13:21:24 / cg"
3352
ebf6c330ff71 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3351
diff changeset
   496
!
ebf6c330ff71 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3351
diff changeset
   497
ebf6c330ff71 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3351
diff changeset
   498
thisContextEmphasis
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   499
    "the emphasis used for the thisContext pseudoVariable;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   500
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   501
3355
d013e5affe18 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3354
diff changeset
   502
    ^ self at:#thisContextEmphasis ifAbsentPut:[self identifierEmphasis]
3352
ebf6c330ff71 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3351
diff changeset
   503
ebf6c330ff71 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3351
diff changeset
   504
    "Created: / 31.3.1998 / 17:35:27 / cg"
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   505
    "Modified: / 1.4.1998 / 13:21:30 / cg"
3354
9336b571ee90 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3353
diff changeset
   506
!
9336b571ee90 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3353
diff changeset
   507
9336b571ee90 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3353
diff changeset
   508
unknownIdentifierColor
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   509
    "the color used for unknown identifiers;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   510
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   511
3355
d013e5affe18 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3354
diff changeset
   512
    ^ self at:#unknownIdentifierColor ifAbsentPut:[Color red darkened]
3354
9336b571ee90 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3353
diff changeset
   513
3361
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   514
    "
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   515
     self current at:#unknownIdentifierColor  put:Color red.
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   516
     self current at:#unknownIdentifierEmphasis  put:#bold
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   517
    "
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   518
3354
9336b571ee90 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3353
diff changeset
   519
    "Created: / 31.3.1998 / 19:11:38 / cg"
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   520
    "Modified: / 1.4.1998 / 13:22:33 / cg"
3354
9336b571ee90 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3353
diff changeset
   521
!
9336b571ee90 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3353
diff changeset
   522
9336b571ee90 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3353
diff changeset
   523
unknownIdentifierEmphasis
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   524
    "the emphasis used for unknown identifiers;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   525
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   526
3355
d013e5affe18 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3354
diff changeset
   527
    ^ self at:#unknownIdentifierEmphasis ifAbsentPut:[self identifierEmphasis]
3354
9336b571ee90 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3353
diff changeset
   528
9336b571ee90 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3353
diff changeset
   529
    "Created: / 31.3.1998 / 19:11:55 / cg"
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   530
    "Modified: / 1.4.1998 / 13:22:45 / cg"
3347
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   531
! !
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   532
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   533
!UserPreferences class methodsFor:'documentation'!
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   534
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   535
version
3832
3cb925b0c2e9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3827
diff changeset
   536
    ^ '$Header: /cvs/stx/stx/libbasic/UserPreferences.st,v 1.19 1998-09-11 18:07:52 cg Exp $'
3347
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   537
! !