UserPreferences.st
author Claus Gittinger <cg@exept.de>
Wed, 11 Oct 2000 09:44:07 +0200
changeset 5661 53b7fca35f27
parent 5637 d6ea7c5dcaf9
child 5712 c723e5d4cd83
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
5516
00c8b663a92e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5258
diff changeset
    14
"{ Package: 'stx:libbasic' }"
00c8b663a92e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5258
diff changeset
    15
3347
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    16
IdentityDictionary subclass:#UserPreferences
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    17
	instanceVariableNames:''
4317
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
    18
	classVariableNames:'CurrentPreferences DefaultPreferences'
3347
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    19
	poolDictionaries:''
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    20
	category:'System-Support'
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    21
!
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    22
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    23
!UserPreferences class methodsFor:'documentation'!
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
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    26
"
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    27
 COPYRIGHT (c) 1998 by eXept Software AG
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    28
              All Rights Reserved
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    29
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    30
 This software is furnished under a license and may be used
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    31
 only in accordance with the terms of that license and with the
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    32
 inclusion of the above copyright notice.   This software may not
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    33
 be provided or otherwise made available to, or used by, any
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    34
 other person.  No title to or ownership of the software is
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    35
 hereby transferred.
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
!
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    39
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    40
documentation
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    41
"
4582
31cbce168a1d return false for nonexisting keys
Claus Gittinger <cg@exept.de>
parents: 4580
diff changeset
    42
    A Dictionary for user preference values.
31cbce168a1d return false for nonexisting keys
Claus Gittinger <cg@exept.de>
parents: 4580
diff changeset
    43
    For non-existing keys, either a defaultValue (false),
31cbce168a1d return false for nonexisting keys
Claus Gittinger <cg@exept.de>
parents: 4580
diff changeset
    44
    or the value from a defaultDictionary is returned.
3353
0f0288822acd checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3352
diff changeset
    45
3359
a474d509302f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3358
diff changeset
    46
    This will eventually keep track of ALL user preferences.
a474d509302f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3358
diff changeset
    47
    (which are currently spread over the system).
a474d509302f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3358
diff changeset
    48
    For now, only a few preferences are found here - but this
a474d509302f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3358
diff changeset
    49
    will change over time.
4582
31cbce168a1d return false for nonexisting keys
Claus Gittinger <cg@exept.de>
parents: 4580
diff changeset
    50
31cbce168a1d return false for nonexisting keys
Claus Gittinger <cg@exept.de>
parents: 4580
diff changeset
    51
    UserPreferences current at:#foo
3347
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    52
"
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    53
! !
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    54
4317
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
    55
!UserPreferences class methodsFor:'initialization'!
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
    56
4580
654e30c513ec init defaults lazy
Claus Gittinger <cg@exept.de>
parents: 4396
diff changeset
    57
initializeDefaultPreferences
4317
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
    58
    DefaultPreferences := self new.
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
    59
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
    60
    #(
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
    61
        #useNewChangesBrowser           false
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
    62
        #useNewInspector                false
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
    63
5236
93251cfe68d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5114
diff changeset
    64
        #autoFormatting                 false
4317
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
    65
        #syntaxColoring                 true
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
    66
        #fullSelectorCheck              false
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
    67
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
    68
        #defaultSyntaxColor             (Color black)
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
    69
        #defaultSyntaxEmphasis          normal
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
    70
4343
f8a422affe17 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4342
diff changeset
    71
        #errorColor                     (Color red)
f8a422affe17 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4342
diff changeset
    72
4317
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
    73
        #commentColor                   (Color 12.5 12.5 100)
5114
277fea5375f2 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5071
diff changeset
    74
        #commentEmphasis                normal
4317
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
    75
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
    76
        #methodSelectorEmphasis         bold
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
    77
        #selectorEmphasis               bold
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
    78
        #unimplementedSelectorColor     (Color red)
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
    79
        #unimplementedSelectorEmphasis  normal
4326
9b1d4f1bf719 inserted badIdentifierColor & emphasis
Claus Gittinger <cg@exept.de>
parents: 4320
diff changeset
    80
4335
b301d2c92490 underwave red for bad identifiers
Claus Gittinger <cg@exept.de>
parents: 4331
diff changeset
    81
"/ I prefer red-underwave over red identifier ...
b301d2c92490 underwave red for bad identifiers
Claus Gittinger <cg@exept.de>
parents: 4331
diff changeset
    82
"/        #badIdentifierColor             (Color red)
4317
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
    83
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
    84
        #constantColor                  (Color 25 0 0)
4330
a90c5a801fdf added #showClockInLauncher setting
Claus Gittinger <cg@exept.de>
parents: 4327
diff changeset
    85
a90c5a801fdf added #showClockInLauncher setting
Claus Gittinger <cg@exept.de>
parents: 4327
diff changeset
    86
        #showClockInLauncher            true
4317
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
    87
     ) pairWiseDo:[:k :v |
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
    88
        DefaultPreferences at:k put:v decodeAsLiteralArray.
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
    89
    ].
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
    90
4335
b301d2c92490 underwave red for bad identifiers
Claus Gittinger <cg@exept.de>
parents: 4331
diff changeset
    91
"/ I prefer red-underwave over red identifier ...
b301d2c92490 underwave red for bad identifiers
Claus Gittinger <cg@exept.de>
parents: 4331
diff changeset
    92
    DefaultPreferences at:#badIdentifierEmphasis put:(Array with:#underwave with:(#underlineColor->Color red)).
b301d2c92490 underwave red for bad identifiers
Claus Gittinger <cg@exept.de>
parents: 4331
diff changeset
    93
4317
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
    94
    "
4580
654e30c513ec init defaults lazy
Claus Gittinger <cg@exept.de>
parents: 4396
diff changeset
    95
     self initializeDefaultPreferences
4317
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
    96
    "
4335
b301d2c92490 underwave red for bad identifiers
Claus Gittinger <cg@exept.de>
parents: 4331
diff changeset
    97
5236
93251cfe68d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5114
diff changeset
    98
    "Modified: / 4.2.2000 / 20:06:53 / cg"
4317
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
    99
! !
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
   100
3347
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   101
!UserPreferences class methodsFor:'accessing'!
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   102
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   103
current
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   104
    CurrentPreferences isNil ifTrue:[
4330
a90c5a801fdf added #showClockInLauncher setting
Claus Gittinger <cg@exept.de>
parents: 4327
diff changeset
   105
        CurrentPreferences := self new.
4580
654e30c513ec init defaults lazy
Claus Gittinger <cg@exept.de>
parents: 4396
diff changeset
   106
        CurrentPreferences declareAllFrom:(self default).
3347
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   107
    ].
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   108
    ^ CurrentPreferences.
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   109
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   110
    "Created: / 31.3.1998 / 13:43:03 / cg"
3364
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
   111
!
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
   112
4318
39f9a91bc44e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4317
diff changeset
   113
default
4580
654e30c513ec init defaults lazy
Claus Gittinger <cg@exept.de>
parents: 4396
diff changeset
   114
    DefaultPreferences isNil ifTrue:[
4582
31cbce168a1d return false for nonexisting keys
Claus Gittinger <cg@exept.de>
parents: 4580
diff changeset
   115
        self initializeDefaultPreferences
4580
654e30c513ec init defaults lazy
Claus Gittinger <cg@exept.de>
parents: 4396
diff changeset
   116
    ].
4318
39f9a91bc44e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4317
diff changeset
   117
    ^ DefaultPreferences.
39f9a91bc44e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4317
diff changeset
   118
4582
31cbce168a1d return false for nonexisting keys
Claus Gittinger <cg@exept.de>
parents: 4580
diff changeset
   119
    "
31cbce168a1d return false for nonexisting keys
Claus Gittinger <cg@exept.de>
parents: 4580
diff changeset
   120
     DefaultPreferences := nil.
31cbce168a1d return false for nonexisting keys
Claus Gittinger <cg@exept.de>
parents: 4580
diff changeset
   121
    "
4318
39f9a91bc44e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4317
diff changeset
   122
!
39f9a91bc44e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4317
diff changeset
   123
3364
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
   124
reset
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
   125
    "resets the CurrentPreferences to its default values"
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
   126
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
   127
    CurrentPreferences := nil
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
   128
!
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
   129
4342
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   130
syntaxColorKeys
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   131
    "returns the keys of syntax color items"
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   132
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   133
    ^#(
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   134
        argumentIdentifierColor
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   135
          argumentIdentifierEmphasis
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   136
        booleanConstantColor
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   137
          booleanConstantEmphasis
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   138
        bracketColor
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   139
          bracketEmphasis
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   140
        classVariableIdentifierColor
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   141
          classVariableIdentifierEmphasis
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   142
        constantColor
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   143
          constantEmphasis
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   144
        commentColor
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   145
          commentEmphasis
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   146
        defaultSyntaxColor
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   147
          defaultSyntaxEmphasis
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   148
        errorColor
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   149
        globalIdentifierColor
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   150
          globalIdentifierEmphasis
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   151
        globalClassIdentifierColor
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   152
          globalClassIdentifierEmphasis
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   153
        hereColor
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   154
          hereEmphasis
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   155
        identifierColor
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   156
          identifierEmphasis
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   157
        instVarIdentifierColor
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   158
          instVarIdentifierEmphasis
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   159
        localIdentifierColor
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   160
          localIdentifierEmphasis
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   161
        methodSelectorColor
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   162
          methodSelectorEmphasis
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   163
        returnColor
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   164
          returnEmphasis
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   165
        selectorColor
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   166
          selectorEmphasis
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   167
        selfColor
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   168
          selfEmphasis
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   169
        stringColor
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   170
          stringEmphasis
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   171
        superColor
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   172
          superEmphasis
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   173
        symbolColor
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   174
          symbolEmphasis
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   175
        thisContextColor
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   176
          thisContextEmphasis
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   177
        unknownIdentifierColor
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   178
          unknownIdentifierEmphasis
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   179
        unimplementedSelectorColor
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   180
          unimplementedSelectorEmphasis
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   181
    )
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   182
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   183
    "Modified: / 5.1.1980 / 00:48:09 / cg"
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   184
!
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   185
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   186
syntaxColorNames
3364
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
   187
    "returns the syntax colors for the settings in the launcher"
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
   188
4319
8408b1df9e72 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4318
diff changeset
   189
"/ warning, the strings below are presented to the user
8408b1df9e72 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4318
diff changeset
   190
"/ as the syntax-color boxes comboList - however, they are
8408b1df9e72 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4318
diff changeset
   191
"/ also used (without separators) as key into myself.
8408b1df9e72 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4318
diff changeset
   192
"/ Therefore, do not change the strings below.
8408b1df9e72 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4318
diff changeset
   193
"/ I know - this is bad coding ....
8408b1df9e72 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4318
diff changeset
   194
3364
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
   195
^#(
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
   196
'Argument Identifier Color'
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
   197
'Boolean Constant Color'
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
   198
'Bracket Color'
4320
9d6e4f645e97 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4319
diff changeset
   199
'Class Variable Identifier Color'
3364
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
   200
'Constant Color'
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
   201
'Comment Color'
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
   202
'Global Identifier Color'
4024
3a223c79e41c added extra globalClassIdentifierColor & emphasis
Claus Gittinger <cg@exept.de>
parents: 4023
diff changeset
   203
'Global Class Identifier Color'
3364
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
   204
'Here Color'
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
   205
'Identifier Color'
3377
9d7c8b2ef58e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
   206
'InstVar Identifier Color'
3364
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
   207
'Local Identifier Color'
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
   208
'Method Selector Color'
4076
96cb7146bc59 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4075
diff changeset
   209
'Return Color'
3364
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
   210
'Selector Color'
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
   211
'Self Color'
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
   212
'String Color'
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
   213
'Super Color'
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
   214
'Symbol Color'
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
   215
'This Context Color'
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
   216
'Unknown Identifier Color'
4319
8408b1df9e72 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4318
diff changeset
   217
'Unimplemented Selector Color'
3377
9d7c8b2ef58e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
   218
)
3364
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
   219
4076
96cb7146bc59 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4075
diff changeset
   220
    "Modified: / 5.1.1980 / 00:48:09 / cg"
3347
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   221
! !
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   222
5236
93251cfe68d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5114
diff changeset
   223
!UserPreferences methodsFor:'accessing-pref''d tools'!
3883
8e0771f4a196 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3875
diff changeset
   224
8e0771f4a196 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3875
diff changeset
   225
changesBrowserClass
8e0771f4a196 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3875
diff changeset
   226
    self useNewChangesBrowser ifTrue:[
8e0771f4a196 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3875
diff changeset
   227
        ^ NewChangesBrowser
8e0771f4a196 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3875
diff changeset
   228
    ].
8e0771f4a196 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3875
diff changeset
   229
    ^ ChangesBrowser
8e0771f4a196 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3875
diff changeset
   230
8e0771f4a196 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3875
diff changeset
   231
    "Created: / 17.10.1998 / 14:37:46 / cg"
5535
361c7dd4c2bb category change
Claus Gittinger <cg@exept.de>
parents: 5516
diff changeset
   232
!
361c7dd4c2bb category change
Claus Gittinger <cg@exept.de>
parents: 5516
diff changeset
   233
5541
057aef033483 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5536
diff changeset
   234
inspectorClass
057aef033483 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5536
diff changeset
   235
    self useNewInspector ifTrue:[
057aef033483 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5536
diff changeset
   236
        ^ NewInspector::NewInspectorView
057aef033483 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5536
diff changeset
   237
    ].
057aef033483 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5536
diff changeset
   238
    ^ InspectorView
057aef033483 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5536
diff changeset
   239
!
057aef033483 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5536
diff changeset
   240
5535
361c7dd4c2bb category change
Claus Gittinger <cg@exept.de>
parents: 5516
diff changeset
   241
systemBrowserClass
361c7dd4c2bb category change
Claus Gittinger <cg@exept.de>
parents: 5516
diff changeset
   242
    self useNewSystemBrowser ifTrue:[
361c7dd4c2bb category change
Claus Gittinger <cg@exept.de>
parents: 5516
diff changeset
   243
        ^ NewSystemBrowser
361c7dd4c2bb category change
Claus Gittinger <cg@exept.de>
parents: 5516
diff changeset
   244
    ].
361c7dd4c2bb category change
Claus Gittinger <cg@exept.de>
parents: 5516
diff changeset
   245
    ^ SystemBrowser
5536
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   246
!
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   247
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   248
useNewChangesBrowser
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   249
    "using new or old change browser"
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   250
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   251
    ^ self at:#useNewChangesBrowser ifAbsentPut:false
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   252
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   253
    "Modified: / 13.10.1998 / 15:53:05 / cg"
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   254
!
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   255
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   256
useNewChangesBrowser:aBoolean
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   257
    "using new or old changeBrowser"
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   258
5541
057aef033483 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5536
diff changeset
   259
    aBoolean ifTrue:[
5661
53b7fca35f27 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5637
diff changeset
   260
        NewChangesBrowser isNil ifTrue:[
53b7fca35f27 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5637
diff changeset
   261
            'UserPreferences [warning]: no NewChangesBrowser class in system' infoPrintCR.
53b7fca35f27 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5637
diff changeset
   262
            ^ self
53b7fca35f27 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5637
diff changeset
   263
        ].
5541
057aef033483 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5536
diff changeset
   264
        NewChangesBrowser autoload
057aef033483 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5536
diff changeset
   265
    ].
5536
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   266
    ^ self at:#useNewChangesBrowser put:aBoolean
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   267
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   268
    "
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   269
     UserPreferences current useNewChangesBrowser
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   270
    "
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   271
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   272
    "Modified: / 13.10.1998 / 15:53:21 / cg"
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   273
!
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   274
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   275
useNewInspector
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   276
    "using new or old inspector"
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   277
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   278
    ^ self at:#useNewInspector ifAbsentPut:false
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   279
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   280
    "
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   281
     UserPreferences current useNewInspector
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   282
    "
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   283
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   284
    "Modified: / 17.10.1998 / 14:45:12 / cg"
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   285
!
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   286
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   287
useNewInspector:aBoolean
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   288
    "using new or old inspector"
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   289
5541
057aef033483 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5536
diff changeset
   290
    aBoolean ifTrue:[
5661
53b7fca35f27 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5637
diff changeset
   291
        NewInspector::NewInspectorView isNil ifTrue:[
53b7fca35f27 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5637
diff changeset
   292
            'UserPreferences [warning]: no NewInspector class in system' infoPrintCR.
53b7fca35f27 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5637
diff changeset
   293
            ^ self
53b7fca35f27 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5637
diff changeset
   294
        ].
5541
057aef033483 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5536
diff changeset
   295
        NewInspector::NewInspectorView autoload
057aef033483 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5536
diff changeset
   296
    ].
5536
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   297
    ^ self at:#useNewInspector put:aBoolean
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   298
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   299
    "
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   300
     UserPreferences current useNewInspector
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   301
    "
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   302
!
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   303
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   304
useNewSystemBrowser
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   305
    "using new or old system browser"
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   306
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   307
    ^ self at:#useNewSystemBrowser ifAbsentPut:false
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   308
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   309
    "Modified: / 13.10.1998 / 15:53:05 / cg"
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   310
!
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   311
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   312
useNewSystemBrowser:aBoolean
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   313
    "using new or old systemBrowser"
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   314
5541
057aef033483 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5536
diff changeset
   315
    aBoolean ifTrue:[
5637
d6ea7c5dcaf9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5541
diff changeset
   316
        NewSystemBrowser isNil ifTrue:[
d6ea7c5dcaf9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5541
diff changeset
   317
            'UserPreferences [warning]: no NewSystemBrowser class in system' infoPrintCR.
d6ea7c5dcaf9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5541
diff changeset
   318
            ^ self.
d6ea7c5dcaf9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5541
diff changeset
   319
        ].
5541
057aef033483 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5536
diff changeset
   320
        NewSystemBrowser autoload
057aef033483 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5536
diff changeset
   321
    ].
5536
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   322
    ^ self at:#useNewSystemBrowser put:aBoolean
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   323
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   324
    "
5541
057aef033483 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5536
diff changeset
   325
     UserPreferences current useNewSystemBrowser:true
5536
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   326
    "
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   327
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   328
    "Modified: / 13.10.1998 / 15:53:21 / cg"
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   329
!
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   330
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   331
useNewVersionDiffBrowser
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   332
    "using new or old version diff viewer"
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   333
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   334
    ^ self at:#useNewVersionDiffBrowser ifAbsentPut:false
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   335
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   336
    "Modified: / 13.10.1998 / 15:53:05 / cg"
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   337
!
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   338
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   339
useNewVersionDiffBrowser:aBoolean
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   340
    "using new or old useNewVersionDiffBrowser"
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   341
5541
057aef033483 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5536
diff changeset
   342
    aBoolean ifTrue:[
5661
53b7fca35f27 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5637
diff changeset
   343
        VersionDiffBrowser isNil ifTrue:[
53b7fca35f27 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5637
diff changeset
   344
            'UserPreferences [warning]: no VersionDiffBrowser class in system' infoPrintCR.
53b7fca35f27 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5637
diff changeset
   345
            ^ self
53b7fca35f27 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5637
diff changeset
   346
        ].
5541
057aef033483 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5536
diff changeset
   347
        VersionDiffBrowser autoload
057aef033483 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5536
diff changeset
   348
    ].
5536
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   349
    ^ self at:#useNewVersionDiffBrowser put:aBoolean
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   350
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   351
    "
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   352
     UserPreferences current useNewVersionDiffBrowser
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   353
    "
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   354
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   355
    "Modified: / 13.10.1998 / 15:53:21 / cg"
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   356
!
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   357
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   358
versionDiffViewerClass
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   359
    self useNewVersionDiffBrowser ifTrue:[
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   360
        ^ VersionDiffBrowser
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   361
    ].
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
   362
    ^ DiffTextView
3883
8e0771f4a196 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3875
diff changeset
   363
! !
8e0771f4a196 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3875
diff changeset
   364
5236
93251cfe68d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5114
diff changeset
   365
!UserPreferences methodsFor:'accessing-prefs'!
93251cfe68d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5114
diff changeset
   366
93251cfe68d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5114
diff changeset
   367
autoFormatting
93251cfe68d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5114
diff changeset
   368
    "return the flag which controls automatic formatting of code (in some browsers)
93251cfe68d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5114
diff changeset
   369
     Notice, the regular browser does not (yet) do automatic formating."
93251cfe68d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5114
diff changeset
   370
93251cfe68d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5114
diff changeset
   371
    ^ self at:#autoFormatting ifAbsentPut:false
93251cfe68d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5114
diff changeset
   372
93251cfe68d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5114
diff changeset
   373
    "
93251cfe68d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5114
diff changeset
   374
     UserPreferences current autoFormatting
93251cfe68d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5114
diff changeset
   375
    "
93251cfe68d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5114
diff changeset
   376
93251cfe68d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5114
diff changeset
   377
    "Created: / 4.2.2000 / 20:08:08 / cg"
93251cfe68d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5114
diff changeset
   378
    "Modified: / 5.2.2000 / 15:38:33 / cg"
93251cfe68d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5114
diff changeset
   379
!
93251cfe68d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5114
diff changeset
   380
93251cfe68d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5114
diff changeset
   381
autoFormatting:aBoolean
93251cfe68d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5114
diff changeset
   382
    "turn on/off automatic formatting of code (in some browsers);
93251cfe68d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5114
diff changeset
   383
     Notice, the regular browser does not (yet) do automatic formating."
93251cfe68d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5114
diff changeset
   384
93251cfe68d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5114
diff changeset
   385
    ^ self at:#autoFormatting put:aBoolean
93251cfe68d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5114
diff changeset
   386
93251cfe68d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5114
diff changeset
   387
    "
93251cfe68d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5114
diff changeset
   388
     UserPreferences current autoFormatting:true
93251cfe68d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5114
diff changeset
   389
     UserPreferences current autoFormatting:false
93251cfe68d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5114
diff changeset
   390
    "
93251cfe68d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5114
diff changeset
   391
93251cfe68d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5114
diff changeset
   392
    "Created: / 4.2.2000 / 20:08:26 / cg"
93251cfe68d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5114
diff changeset
   393
    "Modified: / 5.2.2000 / 15:38:20 / cg"
93251cfe68d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5114
diff changeset
   394
!
3358
f1b2b7b83d3e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3357
diff changeset
   395
5071
ps
parents: 4684
diff changeset
   396
beepEnabled
ps
parents: 4684
diff changeset
   397
    "return the flag which controls the beeper"
ps
parents: 4684
diff changeset
   398
ps
parents: 4684
diff changeset
   399
    ^ self at:#beepEnabled ifAbsentPut:true
ps
parents: 4684
diff changeset
   400
ps
parents: 4684
diff changeset
   401
    "
ps
parents: 4684
diff changeset
   402
     UserPreferences current beepEnabled
ps
parents: 4684
diff changeset
   403
    "
ps
parents: 4684
diff changeset
   404
ps
parents: 4684
diff changeset
   405
    "Modified: / 11.9.1998 / 00:09:59 / cg"
ps
parents: 4684
diff changeset
   406
    "Created: / 3.12.1999 / 17:09:49 / ps"
ps
parents: 4684
diff changeset
   407
!
ps
parents: 4684
diff changeset
   408
ps
parents: 4684
diff changeset
   409
beepEnabled:aBoolean
ps
parents: 4684
diff changeset
   410
    "set/clear the flag which controls the beeper"
ps
parents: 4684
diff changeset
   411
ps
parents: 4684
diff changeset
   412
    ^ self at:#beepEnabled put:aBoolean
ps
parents: 4684
diff changeset
   413
ps
parents: 4684
diff changeset
   414
    "
ps
parents: 4684
diff changeset
   415
     UserPreferences current beepEnabled:false
ps
parents: 4684
diff changeset
   416
    "
ps
parents: 4684
diff changeset
   417
ps
parents: 4684
diff changeset
   418
    "Modified: / 11.9.1998 / 00:09:59 / cg"
ps
parents: 4684
diff changeset
   419
    "Created: / 3.12.1999 / 17:10:27 / ps"
ps
parents: 4684
diff changeset
   420
!
ps
parents: 4684
diff changeset
   421
4075
816898d4922c added #focusFollowsMouse setting
Claus Gittinger <cg@exept.de>
parents: 4024
diff changeset
   422
focusFollowsMouse
816898d4922c added #focusFollowsMouse setting
Claus Gittinger <cg@exept.de>
parents: 4024
diff changeset
   423
    "return the flag which controls if the keyboard focus should
816898d4922c added #focusFollowsMouse setting
Claus Gittinger <cg@exept.de>
parents: 4024
diff changeset
   424
     follow the mouse (as in X) - as opposed to click mode (as in MS-win).
816898d4922c added #focusFollowsMouse setting
Claus Gittinger <cg@exept.de>
parents: 4024
diff changeset
   425
     This only affects certain widgets (EditFields, EditTextViews and SelectionInListViews).
816898d4922c added #focusFollowsMouse setting
Claus Gittinger <cg@exept.de>
parents: 4024
diff changeset
   426
     The returned value has 3 states: true/false and nil, which means: as defined in styleSheet."
816898d4922c added #focusFollowsMouse setting
Claus Gittinger <cg@exept.de>
parents: 4024
diff changeset
   427
816898d4922c added #focusFollowsMouse setting
Claus Gittinger <cg@exept.de>
parents: 4024
diff changeset
   428
    ^ self at:#focusFollowsMouse ifAbsent:nil
816898d4922c added #focusFollowsMouse setting
Claus Gittinger <cg@exept.de>
parents: 4024
diff changeset
   429
816898d4922c added #focusFollowsMouse setting
Claus Gittinger <cg@exept.de>
parents: 4024
diff changeset
   430
    "
816898d4922c added #focusFollowsMouse setting
Claus Gittinger <cg@exept.de>
parents: 4024
diff changeset
   431
     UserPreferences current focusFollowsMouse
816898d4922c added #focusFollowsMouse setting
Claus Gittinger <cg@exept.de>
parents: 4024
diff changeset
   432
    "
816898d4922c added #focusFollowsMouse setting
Claus Gittinger <cg@exept.de>
parents: 4024
diff changeset
   433
816898d4922c added #focusFollowsMouse setting
Claus Gittinger <cg@exept.de>
parents: 4024
diff changeset
   434
    "Modified: / 11.9.1998 / 00:09:59 / cg"
816898d4922c added #focusFollowsMouse setting
Claus Gittinger <cg@exept.de>
parents: 4024
diff changeset
   435
!
816898d4922c added #focusFollowsMouse setting
Claus Gittinger <cg@exept.de>
parents: 4024
diff changeset
   436
816898d4922c added #focusFollowsMouse setting
Claus Gittinger <cg@exept.de>
parents: 4024
diff changeset
   437
focusFollowsMouse:aBooleanOrNil
4121
4fbe619d6047 comments
Claus Gittinger <cg@exept.de>
parents: 4076
diff changeset
   438
    "set/clear the flag which controls if the keyboard focus should
4075
816898d4922c added #focusFollowsMouse setting
Claus Gittinger <cg@exept.de>
parents: 4024
diff changeset
   439
     follow the mouse (as in X) - as opposed to click mode (as in MS-win).
816898d4922c added #focusFollowsMouse setting
Claus Gittinger <cg@exept.de>
parents: 4024
diff changeset
   440
     This only affects certain widgets (EditFields, EditTextViews and SelectionInListViews).
816898d4922c added #focusFollowsMouse setting
Claus Gittinger <cg@exept.de>
parents: 4024
diff changeset
   441
     Allowed are: true/false and nil, which means: as defined in styleSheet."
816898d4922c added #focusFollowsMouse setting
Claus Gittinger <cg@exept.de>
parents: 4024
diff changeset
   442
816898d4922c added #focusFollowsMouse setting
Claus Gittinger <cg@exept.de>
parents: 4024
diff changeset
   443
    ^ self at:#focusFollowsMouse put:aBooleanOrNil
816898d4922c added #focusFollowsMouse setting
Claus Gittinger <cg@exept.de>
parents: 4024
diff changeset
   444
816898d4922c added #focusFollowsMouse setting
Claus Gittinger <cg@exept.de>
parents: 4024
diff changeset
   445
    "
4121
4fbe619d6047 comments
Claus Gittinger <cg@exept.de>
parents: 4076
diff changeset
   446
     UserPreferences current focusFollowsMouse:true
4fbe619d6047 comments
Claus Gittinger <cg@exept.de>
parents: 4076
diff changeset
   447
     UserPreferences current focusFollowsMouse:false
4075
816898d4922c added #focusFollowsMouse setting
Claus Gittinger <cg@exept.de>
parents: 4024
diff changeset
   448
     UserPreferences current focusFollowsMouse
816898d4922c added #focusFollowsMouse setting
Claus Gittinger <cg@exept.de>
parents: 4024
diff changeset
   449
    "
816898d4922c added #focusFollowsMouse setting
Claus Gittinger <cg@exept.de>
parents: 4024
diff changeset
   450
816898d4922c added #focusFollowsMouse setting
Claus Gittinger <cg@exept.de>
parents: 4024
diff changeset
   451
    "Modified: / 11.9.1998 / 00:09:59 / cg"
816898d4922c added #focusFollowsMouse setting
Claus Gittinger <cg@exept.de>
parents: 4024
diff changeset
   452
!
816898d4922c added #focusFollowsMouse setting
Claus Gittinger <cg@exept.de>
parents: 4024
diff changeset
   453
4396
951890a68aba added functionKeySequences (no need for a global)
Claus Gittinger <cg@exept.de>
parents: 4344
diff changeset
   454
functionKeySequences
951890a68aba added functionKeySequences (no need for a global)
Claus Gittinger <cg@exept.de>
parents: 4344
diff changeset
   455
    "return the collection of function-key macros.
951890a68aba added functionKeySequences (no need for a global)
Claus Gittinger <cg@exept.de>
parents: 4344
diff changeset
   456
     Thats a dictionary, which assigns code to F-keys"
951890a68aba added functionKeySequences (no need for a global)
Claus Gittinger <cg@exept.de>
parents: 4344
diff changeset
   457
951890a68aba added functionKeySequences (no need for a global)
Claus Gittinger <cg@exept.de>
parents: 4344
diff changeset
   458
    ^ self at:#functionKeySequences ifAbsentPut:[Dictionary new]
951890a68aba added functionKeySequences (no need for a global)
Claus Gittinger <cg@exept.de>
parents: 4344
diff changeset
   459
951890a68aba added functionKeySequences (no need for a global)
Claus Gittinger <cg@exept.de>
parents: 4344
diff changeset
   460
    "
951890a68aba added functionKeySequences (no need for a global)
Claus Gittinger <cg@exept.de>
parents: 4344
diff changeset
   461
     UserPreferences current functionKeySequences
951890a68aba added functionKeySequences (no need for a global)
Claus Gittinger <cg@exept.de>
parents: 4344
diff changeset
   462
    "
951890a68aba added functionKeySequences (no need for a global)
Claus Gittinger <cg@exept.de>
parents: 4344
diff changeset
   463
951890a68aba added functionKeySequences (no need for a global)
Claus Gittinger <cg@exept.de>
parents: 4344
diff changeset
   464
    "Modified: / 11.9.1998 / 00:09:59 / cg"
951890a68aba added functionKeySequences (no need for a global)
Claus Gittinger <cg@exept.de>
parents: 4344
diff changeset
   465
!
951890a68aba added functionKeySequences (no need for a global)
Claus Gittinger <cg@exept.de>
parents: 4344
diff changeset
   466
4684
45fe4b0a22b0 moved variablePanelOpaqueResize setting to userprefs.
Claus Gittinger <cg@exept.de>
parents: 4628
diff changeset
   467
opaqueVariablePanelResizing
45fe4b0a22b0 moved variablePanelOpaqueResize setting to userprefs.
Claus Gittinger <cg@exept.de>
parents: 4628
diff changeset
   468
    "return the flag which controls if variable panel resizing should be done
45fe4b0a22b0 moved variablePanelOpaqueResize setting to userprefs.
Claus Gittinger <cg@exept.de>
parents: 4628
diff changeset
   469
     animated (opaque)"
45fe4b0a22b0 moved variablePanelOpaqueResize setting to userprefs.
Claus Gittinger <cg@exept.de>
parents: 4628
diff changeset
   470
45fe4b0a22b0 moved variablePanelOpaqueResize setting to userprefs.
Claus Gittinger <cg@exept.de>
parents: 4628
diff changeset
   471
    ^ self at:#opaqueVariablePanelResizing ifAbsentPut:false
45fe4b0a22b0 moved variablePanelOpaqueResize setting to userprefs.
Claus Gittinger <cg@exept.de>
parents: 4628
diff changeset
   472
45fe4b0a22b0 moved variablePanelOpaqueResize setting to userprefs.
Claus Gittinger <cg@exept.de>
parents: 4628
diff changeset
   473
    "
45fe4b0a22b0 moved variablePanelOpaqueResize setting to userprefs.
Claus Gittinger <cg@exept.de>
parents: 4628
diff changeset
   474
     UserPreferences current opaqueVariablePanelResizing
45fe4b0a22b0 moved variablePanelOpaqueResize setting to userprefs.
Claus Gittinger <cg@exept.de>
parents: 4628
diff changeset
   475
    "
45fe4b0a22b0 moved variablePanelOpaqueResize setting to userprefs.
Claus Gittinger <cg@exept.de>
parents: 4628
diff changeset
   476
45fe4b0a22b0 moved variablePanelOpaqueResize setting to userprefs.
Claus Gittinger <cg@exept.de>
parents: 4628
diff changeset
   477
    "Modified: / 11.9.1998 / 00:09:59 / cg"
45fe4b0a22b0 moved variablePanelOpaqueResize setting to userprefs.
Claus Gittinger <cg@exept.de>
parents: 4628
diff changeset
   478
45fe4b0a22b0 moved variablePanelOpaqueResize setting to userprefs.
Claus Gittinger <cg@exept.de>
parents: 4628
diff changeset
   479
!
45fe4b0a22b0 moved variablePanelOpaqueResize setting to userprefs.
Claus Gittinger <cg@exept.de>
parents: 4628
diff changeset
   480
45fe4b0a22b0 moved variablePanelOpaqueResize setting to userprefs.
Claus Gittinger <cg@exept.de>
parents: 4628
diff changeset
   481
opaqueVariablePanelResizing:aBoolean
45fe4b0a22b0 moved variablePanelOpaqueResize setting to userprefs.
Claus Gittinger <cg@exept.de>
parents: 4628
diff changeset
   482
    "change the flag which controls if variable panel resizing should be done
45fe4b0a22b0 moved variablePanelOpaqueResize setting to userprefs.
Claus Gittinger <cg@exept.de>
parents: 4628
diff changeset
   483
     animated (opaque)"
45fe4b0a22b0 moved variablePanelOpaqueResize setting to userprefs.
Claus Gittinger <cg@exept.de>
parents: 4628
diff changeset
   484
45fe4b0a22b0 moved variablePanelOpaqueResize setting to userprefs.
Claus Gittinger <cg@exept.de>
parents: 4628
diff changeset
   485
    ^ self at:#opaqueVariablePanelResizing put:aBoolean
45fe4b0a22b0 moved variablePanelOpaqueResize setting to userprefs.
Claus Gittinger <cg@exept.de>
parents: 4628
diff changeset
   486
45fe4b0a22b0 moved variablePanelOpaqueResize setting to userprefs.
Claus Gittinger <cg@exept.de>
parents: 4628
diff changeset
   487
    "
45fe4b0a22b0 moved variablePanelOpaqueResize setting to userprefs.
Claus Gittinger <cg@exept.de>
parents: 4628
diff changeset
   488
     UserPreferences current opaqueVariablePanelResizing:true
45fe4b0a22b0 moved variablePanelOpaqueResize setting to userprefs.
Claus Gittinger <cg@exept.de>
parents: 4628
diff changeset
   489
    "
45fe4b0a22b0 moved variablePanelOpaqueResize setting to userprefs.
Claus Gittinger <cg@exept.de>
parents: 4628
diff changeset
   490
45fe4b0a22b0 moved variablePanelOpaqueResize setting to userprefs.
Claus Gittinger <cg@exept.de>
parents: 4628
diff changeset
   491
    "Modified: / 11.9.1998 / 00:09:59 / cg"
45fe4b0a22b0 moved variablePanelOpaqueResize setting to userprefs.
Claus Gittinger <cg@exept.de>
parents: 4628
diff changeset
   492
!
45fe4b0a22b0 moved variablePanelOpaqueResize setting to userprefs.
Claus Gittinger <cg@exept.de>
parents: 4628
diff changeset
   493
4330
a90c5a801fdf added #showClockInLauncher setting
Claus Gittinger <cg@exept.de>
parents: 4327
diff changeset
   494
showClockInLauncher
a90c5a801fdf added #showClockInLauncher setting
Claus Gittinger <cg@exept.de>
parents: 4327
diff changeset
   495
    "return the flag which controls if a clock is shown in the launcher"
a90c5a801fdf added #showClockInLauncher setting
Claus Gittinger <cg@exept.de>
parents: 4327
diff changeset
   496
a90c5a801fdf added #showClockInLauncher setting
Claus Gittinger <cg@exept.de>
parents: 4327
diff changeset
   497
    ^ self at:#showClockInLauncher ifAbsentPut:false
a90c5a801fdf added #showClockInLauncher setting
Claus Gittinger <cg@exept.de>
parents: 4327
diff changeset
   498
a90c5a801fdf added #showClockInLauncher setting
Claus Gittinger <cg@exept.de>
parents: 4327
diff changeset
   499
    "
a90c5a801fdf added #showClockInLauncher setting
Claus Gittinger <cg@exept.de>
parents: 4327
diff changeset
   500
     UserPreferences current showClockInLauncher
a90c5a801fdf added #showClockInLauncher setting
Claus Gittinger <cg@exept.de>
parents: 4327
diff changeset
   501
    "
a90c5a801fdf added #showClockInLauncher setting
Claus Gittinger <cg@exept.de>
parents: 4327
diff changeset
   502
a90c5a801fdf added #showClockInLauncher setting
Claus Gittinger <cg@exept.de>
parents: 4327
diff changeset
   503
    "Modified: / 11.9.1998 / 00:09:59 / cg"
a90c5a801fdf added #showClockInLauncher setting
Claus Gittinger <cg@exept.de>
parents: 4327
diff changeset
   504
!
a90c5a801fdf added #showClockInLauncher setting
Claus Gittinger <cg@exept.de>
parents: 4327
diff changeset
   505
4331
25267ad7ed8f checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4330
diff changeset
   506
showClockInLauncher:aBooleanOrNil
25267ad7ed8f checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4330
diff changeset
   507
    "set/clear the flag which controls if a clock is shown in the launcher"
25267ad7ed8f checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4330
diff changeset
   508
25267ad7ed8f checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4330
diff changeset
   509
    ^ self at:#showClockInLauncher put:aBooleanOrNil
25267ad7ed8f checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4330
diff changeset
   510
25267ad7ed8f checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4330
diff changeset
   511
    "
25267ad7ed8f checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4330
diff changeset
   512
     UserPreferences current showClockInLauncher:false.
25267ad7ed8f checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4330
diff changeset
   513
     NewLauncher open.   
25267ad7ed8f checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4330
diff changeset
   514
25267ad7ed8f checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4330
diff changeset
   515
     UserPreferences current showClockInLauncher:true.
25267ad7ed8f checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4330
diff changeset
   516
     NewLauncher open.   
25267ad7ed8f checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4330
diff changeset
   517
    "
25267ad7ed8f checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4330
diff changeset
   518
25267ad7ed8f checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4330
diff changeset
   519
    "Modified: / 11.9.1998 / 00:09:59 / cg"
25267ad7ed8f checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4330
diff changeset
   520
!
25267ad7ed8f checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4330
diff changeset
   521
3347
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   522
syntaxColoring
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   523
    "return the flag which controls syntax coloring (in the browsers)"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   524
3827
d3dd75b5ced3 syntax coloring is on by default;
Claus Gittinger <cg@exept.de>
parents: 3409
diff changeset
   525
    ^ self at:#syntaxColoring ifAbsentPut:true
3347
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   526
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   527
    "
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   528
     UserPreferences current syntaxColoring
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   529
    "
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   530
3827
d3dd75b5ced3 syntax coloring is on by default;
Claus Gittinger <cg@exept.de>
parents: 3409
diff changeset
   531
    "Modified: / 11.9.1998 / 00:09:59 / cg"
3347
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   532
!
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   533
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   534
syntaxColoring:aBoolean
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   535
    "turn on/off syntaxColoring (in the browsers)."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   536
3347
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   537
    ^ self at:#syntaxColoring put:aBoolean
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   538
3357
bc42e06c8422 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3356
diff changeset
   539
    "
bc42e06c8422 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3356
diff changeset
   540
     UserPreferences current syntaxColoring:true
bc42e06c8422 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3356
diff changeset
   541
     UserPreferences current syntaxColoring:false
bc42e06c8422 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3356
diff changeset
   542
    "
bc42e06c8422 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3356
diff changeset
   543
3347
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   544
    "Created: / 31.3.1998 / 13:44:00 / cg"
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   545
    "Modified: / 1.4.1998 / 13:23:03 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   546
! !
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   547
5236
93251cfe68d0 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5114
diff changeset
   548
!UserPreferences methodsFor:'accessing-syntaxColoring prefs'!
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   549
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   550
argumentIdentifierColor
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   551
    "the color used for argument identifiers;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   552
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   553
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   554
    ^ self at:#argumentIdentifierColor ifAbsentPut:[self identifierColor]
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   555
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   556
    "Created: / 31.3.1998 / 15:08:20 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   557
    "Modified: / 1.4.1998 / 13:19:58 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   558
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   559
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   560
argumentIdentifierEmphasis
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   561
    "the emphasis used for argument identifiers;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   562
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   563
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   564
    ^ self at:#argumentIdentifierEmphasis ifAbsentPut:[self identifierEmphasis]
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   565
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   566
    "Created: / 31.3.1998 / 15:16:40 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   567
    "Modified: / 1.4.1998 / 13:19:55 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   568
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   569
4326
9b1d4f1bf719 inserted badIdentifierColor & emphasis
Claus Gittinger <cg@exept.de>
parents: 4320
diff changeset
   570
badIdentifierColor
9b1d4f1bf719 inserted badIdentifierColor & emphasis
Claus Gittinger <cg@exept.de>
parents: 4320
diff changeset
   571
    "the color used for illegal identifiers;
9b1d4f1bf719 inserted badIdentifierColor & emphasis
Claus Gittinger <cg@exept.de>
parents: 4320
diff changeset
   572
     If syntaxColoring is turned on."
9b1d4f1bf719 inserted badIdentifierColor & emphasis
Claus Gittinger <cg@exept.de>
parents: 4320
diff changeset
   573
4336
1e9719956923 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4335
diff changeset
   574
    ^ self at:#badIdentifierColor ifAbsentPut:[self identifierColor]
4326
9b1d4f1bf719 inserted badIdentifierColor & emphasis
Claus Gittinger <cg@exept.de>
parents: 4320
diff changeset
   575
9b1d4f1bf719 inserted badIdentifierColor & emphasis
Claus Gittinger <cg@exept.de>
parents: 4320
diff changeset
   576
!
9b1d4f1bf719 inserted badIdentifierColor & emphasis
Claus Gittinger <cg@exept.de>
parents: 4320
diff changeset
   577
9b1d4f1bf719 inserted badIdentifierColor & emphasis
Claus Gittinger <cg@exept.de>
parents: 4320
diff changeset
   578
badIdentifierEmphasis
9b1d4f1bf719 inserted badIdentifierColor & emphasis
Claus Gittinger <cg@exept.de>
parents: 4320
diff changeset
   579
    "the emphasis used for illegal identifiers;
9b1d4f1bf719 inserted badIdentifierColor & emphasis
Claus Gittinger <cg@exept.de>
parents: 4320
diff changeset
   580
     If syntaxColoring is turned on."
9b1d4f1bf719 inserted badIdentifierColor & emphasis
Claus Gittinger <cg@exept.de>
parents: 4320
diff changeset
   581
4628
Claus Gittinger <cg@exept.de>
parents: 4583
diff changeset
   582
    ^ self at:#badIdentifierEmphasis ifAbsentPut:[UserPreferences default at:#badIdentifierEmphasis]
4326
9b1d4f1bf719 inserted badIdentifierColor & emphasis
Claus Gittinger <cg@exept.de>
parents: 4320
diff changeset
   583
4335
b301d2c92490 underwave red for bad identifiers
Claus Gittinger <cg@exept.de>
parents: 4331
diff changeset
   584
    "Modified: / 7.7.1999 / 00:30:00 / cg"
4326
9b1d4f1bf719 inserted badIdentifierColor & emphasis
Claus Gittinger <cg@exept.de>
parents: 4320
diff changeset
   585
!
9b1d4f1bf719 inserted badIdentifierColor & emphasis
Claus Gittinger <cg@exept.de>
parents: 4320
diff changeset
   586
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   587
booleanConstantColor
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   588
    "the color used for boolean constants;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   589
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   590
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   591
    ^ self at:#booleanConstantColor ifAbsentPut:[self constantColor]
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   592
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   593
    "Created: / 31.3.1998 / 18:12:06 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   594
    "Modified: / 1.4.1998 / 13:20:07 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   595
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   596
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   597
booleanConstantEmphasis
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   598
    "the emphasis used for boolean constants;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   599
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   600
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   601
    ^ self at:#booleanConstantEmphasis ifAbsentPut:[self constantEmphasis]
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   602
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   603
    "Created: / 31.3.1998 / 18:12:46 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   604
    "Modified: / 1.4.1998 / 13:26:01 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   605
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   606
3361
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   607
bracketColor
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   608
    "the color used for brackets;
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   609
     If syntaxColoring is turned on."
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   610
4317
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
   611
    ^ self at:#bracketColor ifAbsentPut:[self defaultSyntaxColor]
3361
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   612
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   613
    "
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   614
     self current at:#bracketColor  put:Color red.
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   615
     self current at:#bracketEmphasis  put:#bold
4317
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
   616
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
   617
     self current bracketColor 
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
   618
     self current bracketEmphasis 
3361
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   619
    "
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   620
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   621
    "Created: / 31.3.1998 / 19:11:38 / cg"
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   622
    "Modified: / 1.4.1998 / 13:22:33 / cg"
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   623
!
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   624
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   625
bracketEmphasis
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   626
    "the emphasis used for brackets;
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   627
     If syntaxColoring is turned on."
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   628
4317
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
   629
    ^ self at:#bracketEmphasis ifAbsentPut:[self defaultSyntaxEmphasis]
3361
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   630
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   631
    "
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   632
     self current at:#bracketEmphasis  put:#bold
4317
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
   633
     self current bracketEmphasis 
3361
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   634
    "
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   635
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   636
    "Created: / 31.3.1998 / 19:11:38 / cg"
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   637
    "Modified: / 1.4.1998 / 13:22:33 / cg"
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   638
!
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
   639
4320
9d6e4f645e97 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4319
diff changeset
   640
classVariableIdentifierColor
9d6e4f645e97 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4319
diff changeset
   641
    "the color used for classVar/classInstVar identifiers
9d6e4f645e97 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4319
diff changeset
   642
     If syntaxColoring is turned on."
9d6e4f645e97 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4319
diff changeset
   643
9d6e4f645e97 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4319
diff changeset
   644
    ^ self at:#classVariableIdentifierColor ifAbsentPut:[self globalIdentifierColor]
9d6e4f645e97 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4319
diff changeset
   645
9d6e4f645e97 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4319
diff changeset
   646
    "Modified: / 1.4.1998 / 13:20:47 / cg"
9d6e4f645e97 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4319
diff changeset
   647
    "Created: / 4.3.1999 / 12:50:31 / cg"
9d6e4f645e97 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4319
diff changeset
   648
!
9d6e4f645e97 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4319
diff changeset
   649
9d6e4f645e97 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4319
diff changeset
   650
classVariableIdentifierEmphasis
9d6e4f645e97 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4319
diff changeset
   651
    "the color used for classVar/classInstVar identifiers
9d6e4f645e97 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4319
diff changeset
   652
     If syntaxColoring is turned on."
9d6e4f645e97 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4319
diff changeset
   653
9d6e4f645e97 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4319
diff changeset
   654
    ^ self at:#classVariableIdentifierEmphasis ifAbsentPut:[self globalIdentifierEmphasis]
9d6e4f645e97 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4319
diff changeset
   655
9d6e4f645e97 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4319
diff changeset
   656
    "Modified: / 1.4.1998 / 13:20:47 / cg"
9d6e4f645e97 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4319
diff changeset
   657
    "Created: / 4.3.1999 / 12:50:31 / cg"
9d6e4f645e97 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4319
diff changeset
   658
!
9d6e4f645e97 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4319
diff changeset
   659
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   660
commentColor
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   661
    "the color used for comments;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   662
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   663
4628
Claus Gittinger <cg@exept.de>
parents: 4583
diff changeset
   664
    ^ self at:#commentColor ifAbsentPut:[UserPreferences default at:#commentColor]
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   665
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   666
    "Created: / 31.3.1998 / 15:10:23 / cg"
3832
3cb925b0c2e9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3827
diff changeset
   667
    "Modified: / 11.9.1998 / 19:24:04 / cg"
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   668
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   669
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   670
commentEmphasis
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   671
    "the emphasis used for comments;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   672
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   673
4628
Claus Gittinger <cg@exept.de>
parents: 4583
diff changeset
   674
    ^ self at:#commentEmphasis ifAbsentPut:[UserPreferences default at:#commentEmphasis]
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   675
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   676
    "Created: / 31.3.1998 / 15:09:59 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   677
    "Modified: / 1.4.1998 / 13:25:53 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   678
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   679
5258
3490a1891a53 query added
Claus Gittinger <cg@exept.de>
parents: 5236
diff changeset
   680
commentEmphasisAndColor
3490a1891a53 query added
Claus Gittinger <cg@exept.de>
parents: 5236
diff changeset
   681
    ^ Text addEmphasis:(self commentEmphasis) to:(#color->self commentColor).
3490a1891a53 query added
Claus Gittinger <cg@exept.de>
parents: 5236
diff changeset
   682
3490a1891a53 query added
Claus Gittinger <cg@exept.de>
parents: 5236
diff changeset
   683
3490a1891a53 query added
Claus Gittinger <cg@exept.de>
parents: 5236
diff changeset
   684
!
3490a1891a53 query added
Claus Gittinger <cg@exept.de>
parents: 5236
diff changeset
   685
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   686
constantColor
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   687
    "the color used for constants;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   688
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   689
4628
Claus Gittinger <cg@exept.de>
parents: 4583
diff changeset
   690
    ^ self at:#constantColor ifAbsentPut:[UserPreferences default at:#constantColor]
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   691
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   692
    "Created: / 31.3.1998 / 18:13:15 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   693
    "Modified: / 1.4.1998 / 13:20:37 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   694
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   695
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   696
constantEmphasis
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   697
    "the emphasis used for constants;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   698
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   699
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   700
    ^ self at:#constantEmphasis ifAbsentPut:[self identifierEmphasis]
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   701
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   702
    "Created: / 31.3.1998 / 18:13:23 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   703
    "Modified: / 1.4.1998 / 13:25:43 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   704
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   705
4317
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
   706
defaultSyntaxColor
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
   707
    "the color used for anything else;
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
   708
     If syntaxColoring is turned on."
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
   709
4628
Claus Gittinger <cg@exept.de>
parents: 4583
diff changeset
   710
    ^ self at:#defaultSyntaxColor ifAbsentPut:[UserPreferences default at:#defaultSyntaxColor]
4317
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
   711
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
   712
!
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
   713
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
   714
defaultSyntaxEmphasis
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
   715
    "the emphasis used for anything else;
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
   716
     If syntaxColoring is turned on."
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
   717
4628
Claus Gittinger <cg@exept.de>
parents: 4583
diff changeset
   718
    ^ self at:#defaultSyntaxEmphasis ifAbsentPut:[UserPreferences default at:#defaultSyntaxEmphasis]
4317
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
   719
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
   720
!
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
   721
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
   722
doesNotUnderstand:aMessage
4580
654e30c513ec init defaults lazy
Claus Gittinger <cg@exept.de>
parents: 4396
diff changeset
   723
    |k def|
4317
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
   724
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
   725
    k := aMessage selector.
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
   726
    (self includesKey:k) ifTrue:[
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
   727
        ^ self at:k
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
   728
    ].
4582
31cbce168a1d return false for nonexisting keys
Claus Gittinger <cg@exept.de>
parents: 4580
diff changeset
   729
    ((def := self class default) includesKey:k) ifTrue:[
31cbce168a1d return false for nonexisting keys
Claus Gittinger <cg@exept.de>
parents: 4580
diff changeset
   730
        ^ def at:k
4317
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
   731
    ].
4583
9f6051955f6a checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4582
diff changeset
   732
    aMessage selector numArgs == 0 ifTrue:[
9f6051955f6a checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4582
diff changeset
   733
        ^ self defaultValue
9f6051955f6a checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4582
diff changeset
   734
    ].
4317
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
   735
    ^ super doesNotUnderstand:aMessage
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
   736
!
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
   737
4341
eb862eba0a0b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4336
diff changeset
   738
errorColor
eb862eba0a0b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4336
diff changeset
   739
    "the color used for illegal identifiers;
eb862eba0a0b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4336
diff changeset
   740
     If syntaxColoring is turned on."
eb862eba0a0b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4336
diff changeset
   741
4628
Claus Gittinger <cg@exept.de>
parents: 4583
diff changeset
   742
    ^ self at:#errorColor ifAbsentPut:[UserPreferences default at:#errorColor]
4341
eb862eba0a0b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4336
diff changeset
   743
eb862eba0a0b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4336
diff changeset
   744
!
eb862eba0a0b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4336
diff changeset
   745
4306
a4720d8dd3b7 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4121
diff changeset
   746
fullSelectorCheck
a4720d8dd3b7 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4121
diff changeset
   747
    "with fullSelector check, selectors are searched immediately for
a4720d8dd3b7 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4121
diff changeset
   748
     being implemented in the system. This may not be useful on slow machines"
a4720d8dd3b7 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4121
diff changeset
   749
4628
Claus Gittinger <cg@exept.de>
parents: 4583
diff changeset
   750
    ^ self at:#fullSelectorCheck ifAbsentPut:[UserPreferences default at:#fullSelectorCheck]
4306
a4720d8dd3b7 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4121
diff changeset
   751
a4720d8dd3b7 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4121
diff changeset
   752
    "Created: / 31.3.1998 / 15:09:41 / cg"
a4720d8dd3b7 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4121
diff changeset
   753
    "Modified: / 1.4.1998 / 13:25:06 / cg"
a4720d8dd3b7 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4121
diff changeset
   754
!
a4720d8dd3b7 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4121
diff changeset
   755
4023
46805a0a73b3 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3883
diff changeset
   756
globalClassIdentifierColor
46805a0a73b3 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3883
diff changeset
   757
    "the color used for global identifiers which are known to be classes;
46805a0a73b3 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3883
diff changeset
   758
     If syntaxColoring is turned on."
46805a0a73b3 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3883
diff changeset
   759
46805a0a73b3 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3883
diff changeset
   760
    ^ self at:#globalClassIdentifierColor ifAbsentPut:[self globalIdentifierColor]
46805a0a73b3 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3883
diff changeset
   761
46805a0a73b3 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3883
diff changeset
   762
    "Modified: / 1.4.1998 / 13:20:47 / cg"
46805a0a73b3 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3883
diff changeset
   763
    "Created: / 4.3.1999 / 12:50:31 / cg"
46805a0a73b3 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3883
diff changeset
   764
!
46805a0a73b3 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3883
diff changeset
   765
46805a0a73b3 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3883
diff changeset
   766
globalClassIdentifierEmphasis
46805a0a73b3 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3883
diff changeset
   767
    "the emphasis used for global variable identifiers which are known to be classes;
46805a0a73b3 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3883
diff changeset
   768
     If syntaxColoring is turned on."
46805a0a73b3 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3883
diff changeset
   769
46805a0a73b3 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3883
diff changeset
   770
    ^ self at:#globalClassIdentifierEmphasis ifAbsentPut:[self globalIdentifierEmphasis]
46805a0a73b3 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3883
diff changeset
   771
46805a0a73b3 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3883
diff changeset
   772
    "Modified: / 1.4.1998 / 13:25:31 / cg"
46805a0a73b3 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3883
diff changeset
   773
    "Created: / 4.3.1999 / 12:51:00 / cg"
46805a0a73b3 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3883
diff changeset
   774
!
46805a0a73b3 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3883
diff changeset
   775
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   776
globalIdentifierColor
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   777
    "the color used for global identifiers;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   778
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   779
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   780
    ^ self at:#globalIdentifierColor ifAbsentPut:[self identifierColor]
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   781
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   782
    "Created: / 31.3.1998 / 15:18:49 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   783
    "Modified: / 1.4.1998 / 13:20:47 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   784
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   785
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   786
globalIdentifierEmphasis
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   787
    "the emphasis used for global variable identifiers;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   788
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   789
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   790
    ^ self at:#globalIdentifierEmphasis ifAbsentPut:[self identifierEmphasis]
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   791
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   792
    "Created: / 31.3.1998 / 15:18:29 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   793
    "Modified: / 1.4.1998 / 13:25:31 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   794
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   795
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   796
hereColor
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   797
    "the color used for the here pseudoVariable;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   798
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   799
4317
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
   800
    ^ self at:#hereColor ifAbsentPut:[self selfColor]
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   801
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   802
    "Created: / 31.3.1998 / 17:38:09 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   803
    "Modified: / 1.4.1998 / 13:20:57 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   804
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   805
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   806
hereEmphasis
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   807
    "the emphasis used for the hre special variable;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   808
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   809
4317
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
   810
    ^ self at:#hereEmphasis ifAbsentPut:[self selfEmphasis]
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   811
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   812
    "Created: / 31.3.1998 / 17:35:13 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   813
    "Modified: / 1.4.1998 / 13:25:17 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   814
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   815
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   816
identifierColor
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   817
    "the color used for other identifiers;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   818
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   819
4317
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
   820
    ^ self at:#identifierColor ifAbsentPut:[self defaultSyntaxColor]
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   821
3362
6855944431e9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3361
diff changeset
   822
    "
6855944431e9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3361
diff changeset
   823
     UserPreferences current at:#identifierColor put:Color green darkened darkened.
6855944431e9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3361
diff changeset
   824
     UserPreferences current at:#identifierColor put:Color black.
6855944431e9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3361
diff changeset
   825
    "
6855944431e9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3361
diff changeset
   826
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   827
    "Created: / 31.3.1998 / 17:35:55 / cg"
3362
6855944431e9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3361
diff changeset
   828
    "Modified: / 2.4.1998 / 10:39:42 / cg"
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   829
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   830
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   831
identifierEmphasis
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   832
    "the emphasis used for other identifiers;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   833
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   834
4317
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
   835
    ^ self at:#identifierEmphasis ifAbsentPut:[self defaultSyntaxEmphasis]
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   836
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   837
    "Created: / 31.3.1998 / 15:09:41 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   838
    "Modified: / 1.4.1998 / 13:25:06 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   839
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   840
3378
92288628a6bf checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3377
diff changeset
   841
instVarIdentifierColor
3377
9d7c8b2ef58e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
   842
    "the color used for instance variable identifiers;
9d7c8b2ef58e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
   843
     If syntaxColoring is turned on."
9d7c8b2ef58e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
   844
3378
92288628a6bf checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3377
diff changeset
   845
    ^ self at:#instVarIdentifierColor ifAbsentPut:[self identifierColor]
3377
9d7c8b2ef58e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
   846
9d7c8b2ef58e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
   847
    "
3378
92288628a6bf checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3377
diff changeset
   848
     UserPreferences current at:#instVarIdentifierColor put:Color green darkened.
92288628a6bf checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3377
diff changeset
   849
     UserPreferences current at:#instVarIdentifierColor put:Color black.
92288628a6bf checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3377
diff changeset
   850
     UserPreferences current instVarIdentifierColor 
3377
9d7c8b2ef58e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
   851
    "
9d7c8b2ef58e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
   852
9d7c8b2ef58e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
   853
    "Created: / 16.4.1998 / 18:31:29 / cg"
3378
92288628a6bf checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3377
diff changeset
   854
    "Modified: / 16.4.1998 / 18:57:06 / cg"
3377
9d7c8b2ef58e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
   855
!
9d7c8b2ef58e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
   856
3378
92288628a6bf checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3377
diff changeset
   857
instVarIdentifierEmphasis
3377
9d7c8b2ef58e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
   858
    "the emphais used for instance variable identifiers;
9d7c8b2ef58e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
   859
     If syntaxColoring is turned on."
9d7c8b2ef58e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
   860
3378
92288628a6bf checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3377
diff changeset
   861
    ^ self at:#instVarIdentifierEmphasis ifAbsentPut:[self identifierEmphasis]
3377
9d7c8b2ef58e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
   862
9d7c8b2ef58e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
   863
    "Modified: / 1.4.1998 / 13:24:42 / cg"
3378
92288628a6bf checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3377
diff changeset
   864
    "Created: / 16.4.1998 / 18:40:05 / cg"
3377
9d7c8b2ef58e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
   865
!
9d7c8b2ef58e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
   866
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   867
localIdentifierColor
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   868
    "the color used for local variable identifiers;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   869
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   870
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   871
    ^ self at:#localIdentifierColor ifAbsentPut:[self identifierColor]
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   872
3362
6855944431e9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3361
diff changeset
   873
    "
6855944431e9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3361
diff changeset
   874
     UserPreferences current at:#localIdentifierColor put:Color green darkened.
6855944431e9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3361
diff changeset
   875
     UserPreferences current at:#localIdentifierColor put:Color black.
6855944431e9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3361
diff changeset
   876
    "
6855944431e9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3361
diff changeset
   877
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   878
    "Created: / 31.3.1998 / 15:18:07 / cg"
3362
6855944431e9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3361
diff changeset
   879
    "Modified: / 2.4.1998 / 10:40:05 / cg"
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   880
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   881
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   882
localIdentifierEmphasis
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   883
    "the emphais used for local variable identifiers;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   884
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   885
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   886
    ^ self at:#localIdentifierEmphasis ifAbsentPut:[self identifierEmphasis]
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   887
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   888
    "Created: / 31.3.1998 / 15:16:56 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   889
    "Modified: / 1.4.1998 / 13:24:42 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   890
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   891
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   892
methodSelectorColor
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   893
    "the color used for a methods selector pattern;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   894
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   895
4317
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
   896
    ^ self at:#methodSelectorColor ifAbsentPut:[self defaultSyntaxColor]
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   897
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   898
    "Created: / 31.3.1998 / 15:11:24 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   899
    "Modified: / 1.4.1998 / 13:24:26 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   900
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   901
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   902
methodSelectorEmphasis
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   903
    "the emphasis used for a methods selector pattern;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   904
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   905
4628
Claus Gittinger <cg@exept.de>
parents: 4583
diff changeset
   906
    ^ self at:#methodSelectorEmphasis ifAbsentPut:[UserPreferences default at:#methodSelectorEmphasis]
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   907
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   908
    "Created: / 31.3.1998 / 15:11:16 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   909
    "Modified: / 1.4.1998 / 13:24:20 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   910
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   911
4076
96cb7146bc59 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4075
diff changeset
   912
returnColor
96cb7146bc59 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4075
diff changeset
   913
    "the color used for the return expression;
96cb7146bc59 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4075
diff changeset
   914
     If syntaxColoring is turned on."
96cb7146bc59 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4075
diff changeset
   915
4317
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
   916
    ^ self at:#returnColor ifAbsentPut:[self defaultSyntaxColor]
4076
96cb7146bc59 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4075
diff changeset
   917
96cb7146bc59 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4075
diff changeset
   918
    "Modified: / 5.1.1980 / 00:43:52 / cg"
96cb7146bc59 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4075
diff changeset
   919
!
96cb7146bc59 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4075
diff changeset
   920
96cb7146bc59 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4075
diff changeset
   921
returnEmphasis
96cb7146bc59 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4075
diff changeset
   922
    "the emphasis used for returns;
96cb7146bc59 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4075
diff changeset
   923
     If syntaxColoring is turned on."
96cb7146bc59 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4075
diff changeset
   924
4317
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
   925
    ^ self at:#returnEmphasis ifAbsentPut:[self defaultSyntaxEmphasis]
4076
96cb7146bc59 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4075
diff changeset
   926
96cb7146bc59 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4075
diff changeset
   927
    "Created: / 5.1.1980 / 00:43:39 / cg"
96cb7146bc59 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4075
diff changeset
   928
!
96cb7146bc59 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4075
diff changeset
   929
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   930
selectorColor
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   931
    "the color used for message selectors;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   932
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   933
4317
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
   934
    ^ self at:#selectorColor ifAbsentPut:[self defaultSyntaxColor]
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   935
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   936
    "Created: / 31.3.1998 / 15:19:19 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   937
    "Modified: / 1.4.1998 / 13:24:04 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   938
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   939
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   940
selectorEmphasis
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   941
    "the emphasis used for message selectors;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   942
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   943
4628
Claus Gittinger <cg@exept.de>
parents: 4583
diff changeset
   944
    ^ self at:#selectorEmphasis ifAbsentPut:[UserPreferences default at:#selectorEmphasis]
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   945
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   946
    "Created: / 31.3.1998 / 15:19:09 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   947
    "Modified: / 1.4.1998 / 13:23:59 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   948
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   949
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   950
selfColor
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   951
    "the color used for the self pseudoVariable;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   952
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   953
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   954
    ^ self at:#selfColor ifAbsentPut:[self identifierColor]
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   955
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   956
    "Created: / 31.3.1998 / 17:35:45 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   957
    "Modified: / 1.4.1998 / 13:21:07 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   958
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   959
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   960
selfEmphasis
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   961
    "the emphasis used for the self pseudoVariable;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   962
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   963
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   964
    ^ self at:#selfEmphasis ifAbsentPut:[self identifierEmphasis]
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   965
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   966
    "Created: / 31.3.1998 / 17:34:57 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   967
    "Modified: / 1.4.1998 / 13:21:51 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   968
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   969
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   970
stringColor
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   971
    "the color used for string constants;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   972
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   973
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   974
    ^ self at:#stringColor ifAbsentPut:[self constantColor]
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   975
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   976
    "Created: / 31.3.1998 / 15:19:50 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   977
    "Modified: / 1.4.1998 / 13:22:06 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   978
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   979
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   980
stringEmphasis
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   981
    "the emphasis used for string constants;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   982
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   983
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   984
    ^ self at:#stringEmphasis ifAbsentPut:[self constantEmphasis]
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   985
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   986
    "Created: / 31.3.1998 / 15:19:09 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   987
    "Modified: / 1.4.1998 / 13:22:00 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   988
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   989
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   990
superColor
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   991
    "the color used for the super pseudoVariable;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   992
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   993
4317
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
   994
    ^ self at:#superColor ifAbsentPut:[self selfColor]
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   995
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   996
    "Created: / 31.3.1998 / 17:37:56 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   997
    "Modified: / 1.4.1998 / 13:21:15 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   998
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
   999
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  1000
superEmphasis
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  1001
    "the emphasis used for the super pseudoVariable;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  1002
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  1003
4317
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
  1004
    ^ self at:#superEmphasis ifAbsentPut:[self selfEmphasis]
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  1005
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  1006
    "Created: / 31.3.1998 / 17:35:08 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  1007
    "Modified: / 1.4.1998 / 13:21:41 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  1008
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  1009
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  1010
symbolColor
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  1011
    "the color used for symbol constants;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  1012
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  1013
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  1014
    ^ self at:#symbolColor ifAbsentPut:[self constantColor]
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  1015
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  1016
    "Created: / 1.4.1998 / 12:57:35 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  1017
    "Modified: / 1.4.1998 / 13:22:16 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  1018
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  1019
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  1020
symbolEmphasis
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  1021
    "the emphasis used for symbol constants;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  1022
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  1023
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  1024
    ^ self at:#symbolEmphasis ifAbsentPut:[self constantEmphasis]
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  1025
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  1026
    "Created: / 1.4.1998 / 12:57:43 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  1027
    "Modified: / 1.4.1998 / 13:23:43 / cg"
3352
ebf6c330ff71 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3351
diff changeset
  1028
!
ebf6c330ff71 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3351
diff changeset
  1029
ebf6c330ff71 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3351
diff changeset
  1030
thisContextColor
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  1031
    "the color used for the thisContext pseudoVariable;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  1032
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  1033
3355
d013e5affe18 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3354
diff changeset
  1034
    ^ self at:#thisContextColor ifAbsentPut:[self identifierColor]
3352
ebf6c330ff71 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3351
diff changeset
  1035
ebf6c330ff71 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3351
diff changeset
  1036
    "Created: / 31.3.1998 / 17:37:49 / cg"
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  1037
    "Modified: / 1.4.1998 / 13:21:24 / cg"
3352
ebf6c330ff71 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3351
diff changeset
  1038
!
ebf6c330ff71 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3351
diff changeset
  1039
ebf6c330ff71 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3351
diff changeset
  1040
thisContextEmphasis
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  1041
    "the emphasis used for the thisContext pseudoVariable;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  1042
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  1043
3355
d013e5affe18 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3354
diff changeset
  1044
    ^ self at:#thisContextEmphasis ifAbsentPut:[self identifierEmphasis]
3352
ebf6c330ff71 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3351
diff changeset
  1045
ebf6c330ff71 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3351
diff changeset
  1046
    "Created: / 31.3.1998 / 17:35:27 / cg"
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  1047
    "Modified: / 1.4.1998 / 13:21:30 / cg"
3354
9336b571ee90 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3353
diff changeset
  1048
!
9336b571ee90 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3353
diff changeset
  1049
4316
c3934d0d1e3e added unimplementedSelector emphasis&colors
Claus Gittinger <cg@exept.de>
parents: 4306
diff changeset
  1050
unimplementedSelectorColor
c3934d0d1e3e added unimplementedSelector emphasis&colors
Claus Gittinger <cg@exept.de>
parents: 4306
diff changeset
  1051
    "the color used for bad message selectors;
c3934d0d1e3e added unimplementedSelector emphasis&colors
Claus Gittinger <cg@exept.de>
parents: 4306
diff changeset
  1052
     If syntaxColoring is turned on."
c3934d0d1e3e added unimplementedSelector emphasis&colors
Claus Gittinger <cg@exept.de>
parents: 4306
diff changeset
  1053
4628
Claus Gittinger <cg@exept.de>
parents: 4583
diff changeset
  1054
    ^ self at:#unimplementedSelectorColor ifAbsentPut:[UserPreferences default at:#unimplementedSelectorColor]
4316
c3934d0d1e3e added unimplementedSelector emphasis&colors
Claus Gittinger <cg@exept.de>
parents: 4306
diff changeset
  1055
!
c3934d0d1e3e added unimplementedSelector emphasis&colors
Claus Gittinger <cg@exept.de>
parents: 4306
diff changeset
  1056
c3934d0d1e3e added unimplementedSelector emphasis&colors
Claus Gittinger <cg@exept.de>
parents: 4306
diff changeset
  1057
unimplementedSelectorEmphasis
c3934d0d1e3e added unimplementedSelector emphasis&colors
Claus Gittinger <cg@exept.de>
parents: 4306
diff changeset
  1058
    "the emphasis used for bad message selectors;
c3934d0d1e3e added unimplementedSelector emphasis&colors
Claus Gittinger <cg@exept.de>
parents: 4306
diff changeset
  1059
     If syntaxColoring is turned on."
c3934d0d1e3e added unimplementedSelector emphasis&colors
Claus Gittinger <cg@exept.de>
parents: 4306
diff changeset
  1060
4628
Claus Gittinger <cg@exept.de>
parents: 4583
diff changeset
  1061
    ^ self at:#unimplementedSelectorEmphasis ifAbsentPut:[UserPreferences default at:#unimplementedSelectorEmphasis]
4316
c3934d0d1e3e added unimplementedSelector emphasis&colors
Claus Gittinger <cg@exept.de>
parents: 4306
diff changeset
  1062
c3934d0d1e3e added unimplementedSelector emphasis&colors
Claus Gittinger <cg@exept.de>
parents: 4306
diff changeset
  1063
    "Created: / 31.3.1998 / 15:19:09 / cg"
c3934d0d1e3e added unimplementedSelector emphasis&colors
Claus Gittinger <cg@exept.de>
parents: 4306
diff changeset
  1064
    "Modified: / 1.4.1998 / 13:23:59 / cg"
c3934d0d1e3e added unimplementedSelector emphasis&colors
Claus Gittinger <cg@exept.de>
parents: 4306
diff changeset
  1065
!
c3934d0d1e3e added unimplementedSelector emphasis&colors
Claus Gittinger <cg@exept.de>
parents: 4306
diff changeset
  1066
3354
9336b571ee90 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3353
diff changeset
  1067
unknownIdentifierColor
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  1068
    "the color used for unknown identifiers;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  1069
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  1070
4326
9b1d4f1bf719 inserted badIdentifierColor & emphasis
Claus Gittinger <cg@exept.de>
parents: 4320
diff changeset
  1071
    ^ self at:#unknownIdentifierColor ifAbsentPut:[self badIdentifierColor]
3354
9336b571ee90 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3353
diff changeset
  1072
3361
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
  1073
    "
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
  1074
     self current at:#unknownIdentifierColor  put:Color red.
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
  1075
     self current at:#unknownIdentifierEmphasis  put:#bold
4317
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
  1076
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
  1077
     self current unknownIdentifierColor
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
  1078
     self current unknownIdentifierEmphasis
3361
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
  1079
    "
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
  1080
3354
9336b571ee90 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3353
diff changeset
  1081
    "Created: / 31.3.1998 / 19:11:38 / cg"
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  1082
    "Modified: / 1.4.1998 / 13:22:33 / cg"
3354
9336b571ee90 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3353
diff changeset
  1083
!
9336b571ee90 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3353
diff changeset
  1084
9336b571ee90 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3353
diff changeset
  1085
unknownIdentifierEmphasis
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  1086
    "the emphasis used for unknown identifiers;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  1087
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  1088
4326
9b1d4f1bf719 inserted badIdentifierColor & emphasis
Claus Gittinger <cg@exept.de>
parents: 4320
diff changeset
  1089
    ^ self at:#unknownIdentifierEmphasis ifAbsentPut:[self badIdentifierEmphasis]
3354
9336b571ee90 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3353
diff changeset
  1090
9336b571ee90 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3353
diff changeset
  1091
    "Created: / 31.3.1998 / 19:11:55 / cg"
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  1092
    "Modified: / 1.4.1998 / 13:22:45 / cg"
3347
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1093
! !
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1094
4342
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
  1095
!UserPreferences methodsFor:'default settings'!
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
  1096
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
  1097
resetSyntaxColors
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
  1098
    "resets the colors in the CurrentPreferences to their default values"
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
  1099
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
  1100
    self class syntaxColorKeys do:[:k | self removeKey:k ifAbsent:nil].
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
  1101
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
  1102
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
  1103
!
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
  1104
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
  1105
resetSyntaxColorsAllBlackExceptBadIDs
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
  1106
    "resets the colors in the CurrentPreferences to no-color mode,
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
  1107
     except for bad identifiers, which are underwaved."
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
  1108
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
  1109
    self class syntaxColorKeys do:[:k | self removeKey:k ifAbsent:nil].
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
  1110
    self at:#badIdentifierEmphasis put:(Array with:#underwave with:(#underlineColor->Color red)).
4344
262e182a394f ca wants all black
Claus Gittinger <cg@exept.de>
parents: 4343
diff changeset
  1111
    self at:#errorColor            put:Color black.
4342
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
  1112
    self at:#commentColor          put:Color black.
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
  1113
    self at:#constantColor         put:Color black.
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
  1114
    self at:#methodSelectorEmphasis put:#normal.
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
  1115
    self at:#selectorEmphasis       put:#normal.
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
  1116
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
  1117
!
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
  1118
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
  1119
resetSyntaxColorsGreenComments
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
  1120
    "resets the colors in the CurrentPreferences to alternative default values
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
  1121
     (with green comments)"
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
  1122
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
  1123
    self class syntaxColorKeys do:[:k | self removeKey:k ifAbsent:nil].
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
  1124
    self at:#commentColor put:(Color green darkened).
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
  1125
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
  1126
! !
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
  1127
4582
31cbce168a1d return false for nonexisting keys
Claus Gittinger <cg@exept.de>
parents: 4580
diff changeset
  1128
!UserPreferences methodsFor:'default value'!
31cbce168a1d return false for nonexisting keys
Claus Gittinger <cg@exept.de>
parents: 4580
diff changeset
  1129
4583
9f6051955f6a checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4582
diff changeset
  1130
defaultValue
9f6051955f6a checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4582
diff changeset
  1131
    "the defaultValue for non-existing keys"
9f6051955f6a checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4582
diff changeset
  1132
9f6051955f6a checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4582
diff changeset
  1133
    ^ false
9f6051955f6a checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4582
diff changeset
  1134
!
9f6051955f6a checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4582
diff changeset
  1135
4582
31cbce168a1d return false for nonexisting keys
Claus Gittinger <cg@exept.de>
parents: 4580
diff changeset
  1136
errorKeyNotFound:aKey
31cbce168a1d return false for nonexisting keys
Claus Gittinger <cg@exept.de>
parents: 4580
diff changeset
  1137
    "for any non-existing key, false is returned"
31cbce168a1d return false for nonexisting keys
Claus Gittinger <cg@exept.de>
parents: 4580
diff changeset
  1138
4583
9f6051955f6a checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4582
diff changeset
  1139
    ^ self defaultValue
4582
31cbce168a1d return false for nonexisting keys
Claus Gittinger <cg@exept.de>
parents: 4580
diff changeset
  1140
! !
31cbce168a1d return false for nonexisting keys
Claus Gittinger <cg@exept.de>
parents: 4580
diff changeset
  1141
3347
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1142
!UserPreferences class methodsFor:'documentation'!
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1143
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1144
version
5661
53b7fca35f27 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5637
diff changeset
  1145
    ^ '$Header: /cvs/stx/stx/libbasic/UserPreferences.st,v 1.59 2000-10-11 07:44:07 cg Exp $'
3347
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1146
! !