UserPreferences.st
author Claus Gittinger <cg@exept.de>
Sat, 07 Jun 2014 17:09:01 +0200
changeset 16551 352de37575d7
parent 16542 9c8eb61c5f36
child 16552 7f1225f85842
permissions -rw-r--r--
class: ExternalStream changed: #finalize closeFile in finalize must be finished after 30 seconds.
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
11143
3712ab6b344b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11064
diff changeset
     3
	      All Rights Reserved
3347
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
"
5516
00c8b663a92e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5258
diff changeset
    12
"{ Package: 'stx:libbasic' }"
00c8b663a92e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5258
diff changeset
    13
3347
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    14
IdentityDictionary subclass:#UserPreferences
9742
58f5e1d235a8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9492
diff changeset
    15
	instanceVariableNames:''
58f5e1d235a8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9492
diff changeset
    16
	classVariableNames:'CurrentPreferences DefaultPreferences'
58f5e1d235a8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9492
diff changeset
    17
	poolDictionaries:''
58f5e1d235a8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9492
diff changeset
    18
	category:'System-Support'
3347
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    19
!
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    20
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    21
!UserPreferences class methodsFor:'documentation'!
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    22
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    23
copyright
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    24
"
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    25
 COPYRIGHT (c) 1998 by eXept Software AG
11143
3712ab6b344b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11064
diff changeset
    26
	      All Rights Reserved
3347
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    27
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    28
 This software is furnished under a license and may be used
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    29
 only in accordance with the terms of that license and with the
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    30
 inclusion of the above copyright notice.   This software may not
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    31
 be provided or otherwise made available to, or used by, any
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    32
 other person.  No title to or ownership of the software is
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    33
 hereby transferred.
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    34
"
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    35
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    36
!
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    37
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    38
documentation
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    39
"
4582
31cbce168a1d return false for nonexisting keys
Claus Gittinger <cg@exept.de>
parents: 4580
diff changeset
    40
    A Dictionary for user preference values.
31cbce168a1d return false for nonexisting keys
Claus Gittinger <cg@exept.de>
parents: 4580
diff changeset
    41
    For non-existing keys, either a defaultValue (false),
31cbce168a1d return false for nonexisting keys
Claus Gittinger <cg@exept.de>
parents: 4580
diff changeset
    42
    or the value from a defaultDictionary is returned.
3353
0f0288822acd checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3352
diff changeset
    43
3359
a474d509302f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3358
diff changeset
    44
    This will eventually keep track of ALL user preferences.
8676
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
    45
    For now, not all preferences are found here -
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
    46
    (some of them are currently spread over the system - especially, in Class-Variables)
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
    47
    - but this will change over time.
4582
31cbce168a1d return false for nonexisting keys
Claus Gittinger <cg@exept.de>
parents: 4580
diff changeset
    48
10887
dc01356c015a comments
Claus Gittinger <cg@exept.de>
parents: 10880
diff changeset
    49
    If more prefs are added, think about adding a corresponding UI to the SystemSettingsDialog too.
dc01356c015a comments
Claus Gittinger <cg@exept.de>
parents: 10880
diff changeset
    50
4582
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
10240
9b59aa4f7bd4 dont try to create Color-prefs in non-GUI standalone apps.
Claus Gittinger <cg@exept.de>
parents: 10177
diff changeset
    60
    Color isNil "Smalltalk isStandAloneApp" ifTrue:[
11694
7200ceadd215 default colors
Claus Gittinger <cg@exept.de>
parents: 11691
diff changeset
    61
        ^ self.
10240
9b59aa4f7bd4 dont try to create Color-prefs in non-GUI standalone apps.
Claus Gittinger <cg@exept.de>
parents: 10177
diff changeset
    62
    ].
9b59aa4f7bd4 dont try to create Color-prefs in non-GUI standalone apps.
Claus Gittinger <cg@exept.de>
parents: 10177
diff changeset
    63
4317
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
    64
    #(
11694
7200ceadd215 default colors
Claus Gittinger <cg@exept.de>
parents: 11691
diff changeset
    65
        #useNewChangesBrowser           false
7200ceadd215 default colors
Claus Gittinger <cg@exept.de>
parents: 11691
diff changeset
    66
        #useNewInspector                false
7200ceadd215 default colors
Claus Gittinger <cg@exept.de>
parents: 11691
diff changeset
    67
        #showClockInLauncher            true
7200ceadd215 default colors
Claus Gittinger <cg@exept.de>
parents: 11691
diff changeset
    68
7200ceadd215 default colors
Claus Gittinger <cg@exept.de>
parents: 11691
diff changeset
    69
        #autoFormatting                 false
7200ceadd215 default colors
Claus Gittinger <cg@exept.de>
parents: 11691
diff changeset
    70
        #syntaxColoring                 true
7200ceadd215 default colors
Claus Gittinger <cg@exept.de>
parents: 11691
diff changeset
    71
        #fullSelectorCheck              false
7200ceadd215 default colors
Claus Gittinger <cg@exept.de>
parents: 11691
diff changeset
    72
7200ceadd215 default colors
Claus Gittinger <cg@exept.de>
parents: 11691
diff changeset
    73
        #defaultSyntaxColor             (Color black)
7200ceadd215 default colors
Claus Gittinger <cg@exept.de>
parents: 11691
diff changeset
    74
        #defaultSyntaxEmphasis          normal
7200ceadd215 default colors
Claus Gittinger <cg@exept.de>
parents: 11691
diff changeset
    75
7200ceadd215 default colors
Claus Gittinger <cg@exept.de>
parents: 11691
diff changeset
    76
        #errorColor                     (Color red)
7200ceadd215 default colors
Claus Gittinger <cg@exept.de>
parents: 11691
diff changeset
    77
7200ceadd215 default colors
Claus Gittinger <cg@exept.de>
parents: 11691
diff changeset
    78
        "/ #commentColor                   (Color 12.5 12.5 100)
7200ceadd215 default colors
Claus Gittinger <cg@exept.de>
parents: 11691
diff changeset
    79
        "/ #constantColor                  (Color 25 0 0)
7200ceadd215 default colors
Claus Gittinger <cg@exept.de>
parents: 11691
diff changeset
    80
        #commentEmphasis                normal
7200ceadd215 default colors
Claus Gittinger <cg@exept.de>
parents: 11691
diff changeset
    81
7200ceadd215 default colors
Claus Gittinger <cg@exept.de>
parents: 11691
diff changeset
    82
        #methodSelectorEmphasis         bold
7200ceadd215 default colors
Claus Gittinger <cg@exept.de>
parents: 11691
diff changeset
    83
        #selectorEmphasis               bold
7200ceadd215 default colors
Claus Gittinger <cg@exept.de>
parents: 11691
diff changeset
    84
        #unimplementedSelectorColor     (Color red)
7200ceadd215 default colors
Claus Gittinger <cg@exept.de>
parents: 11691
diff changeset
    85
        #unimplementedSelectorEmphasis  normal
4326
9b1d4f1bf719 inserted badIdentifierColor & emphasis
Claus Gittinger <cg@exept.de>
parents: 4320
diff changeset
    86
14004
Claus Gittinger <cg@exept.de>
parents: 13973
diff changeset
    87
        "/ I prefer red-underwave over red identifier ...
Claus Gittinger <cg@exept.de>
parents: 13973
diff changeset
    88
        "/      #badIdentifierColor                 (Color red)
11694
7200ceadd215 default colors
Claus Gittinger <cg@exept.de>
parents: 11691
diff changeset
    89
        #instVarIdentifierColor         (Color 33 0 33)
7200ceadd215 default colors
Claus Gittinger <cg@exept.de>
parents: 11691
diff changeset
    90
14004
Claus Gittinger <cg@exept.de>
parents: 13973
diff changeset
    91
        "/ I prefer redish background
Claus Gittinger <cg@exept.de>
parents: 13973
diff changeset
    92
        "/      #sideEffectAssignmentColor          (Color 75 0 0)
14062
2827c508307f changed:11 methods
Claus Gittinger <cg@exept.de>
parents: 14052
diff changeset
    93
        "/ #sideEffectAssignmentBackgroundColor    (Color 100 86 86)
11143
3712ab6b344b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11064
diff changeset
    94
3712ab6b344b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11064
diff changeset
    95
"/        #jsKeywordColor                 (Color black)
11694
7200ceadd215 default colors
Claus Gittinger <cg@exept.de>
parents: 11691
diff changeset
    96
        #jsKeywordEmphasis              bold
7200ceadd215 default colors
Claus Gittinger <cg@exept.de>
parents: 11691
diff changeset
    97
        #jsKeywordColor                 (Color 33 33 0)
7200ceadd215 default colors
Claus Gittinger <cg@exept.de>
parents: 11691
diff changeset
    98
7200ceadd215 default colors
Claus Gittinger <cg@exept.de>
parents: 11691
diff changeset
    99
        #controlFlowSelectorColor       (Color 0 0 100)
15865
0b1e95268739 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15864
diff changeset
   100
        #debugSelectorColor             (Color 80 0 0)
0b1e95268739 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15864
diff changeset
   101
        #errorRaisingSelectorColor      (Color 80 0 0)
11694
7200ceadd215 default colors
Claus Gittinger <cg@exept.de>
parents: 11691
diff changeset
   102
        #commentColor                   (Color 0 50 0)
7200ceadd215 default colors
Claus Gittinger <cg@exept.de>
parents: 11691
diff changeset
   103
        #constantColor                  (Color 64 8 8)
8420
08756fae71a0 prefs for js
ca
parents: 8252
diff changeset
   104
15864
dc0cbc54e57a class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15817
diff changeset
   105
        #returnColor                    (Color 0 0 100)
dc0cbc54e57a class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15817
diff changeset
   106
        #returnEmphasis                 bold
4317
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
   107
     ) pairWiseDo:[:k :v |
11694
7200ceadd215 default colors
Claus Gittinger <cg@exept.de>
parents: 11691
diff changeset
   108
        DefaultPreferences at:k put:(v decodeAsLiteralArray).
4317
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
   109
    ].
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
   110
9913
b798d50affb3 focus follows mouse default.
Claus Gittinger <cg@exept.de>
parents: 9834
diff changeset
   111
    "/ I prefer red-underwave over red identifier ...
4335
b301d2c92490 underwave red for bad identifiers
Claus Gittinger <cg@exept.de>
parents: 4331
diff changeset
   112
    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
   113
4317
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
   114
    "
4580
654e30c513ec init defaults lazy
Claus Gittinger <cg@exept.de>
parents: 4396
diff changeset
   115
     self initializeDefaultPreferences
4317
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
   116
    "
4335
b301d2c92490 underwave red for bad identifiers
Claus Gittinger <cg@exept.de>
parents: 4331
diff changeset
   117
14062
2827c508307f changed:11 methods
Claus Gittinger <cg@exept.de>
parents: 14052
diff changeset
   118
    "Modified: / 16-03-2012 / 10:35:42 / cg"
4317
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
   119
! !
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
   120
3347
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   121
!UserPreferences class methodsFor:'accessing'!
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   122
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   123
current
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   124
    CurrentPreferences isNil ifTrue:[
11143
3712ab6b344b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11064
diff changeset
   125
	CurrentPreferences := self new.
3712ab6b344b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11064
diff changeset
   126
	CurrentPreferences addAll:self default.
3712ab6b344b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11064
diff changeset
   127
	CurrentPreferences flyByHelpSettingChanged.
3347
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   128
    ].
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   129
    ^ CurrentPreferences.
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   130
8420
08756fae71a0 prefs for js
ca
parents: 8252
diff changeset
   131
    "
08756fae71a0 prefs for js
ca
parents: 8252
diff changeset
   132
     CurrentPreferences := nil
08756fae71a0 prefs for js
ca
parents: 8252
diff changeset
   133
    "
3364
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
   134
!
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
   135
4318
39f9a91bc44e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4317
diff changeset
   136
default
4580
654e30c513ec init defaults lazy
Claus Gittinger <cg@exept.de>
parents: 4396
diff changeset
   137
    DefaultPreferences isNil ifTrue:[
11143
3712ab6b344b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11064
diff changeset
   138
	self initializeDefaultPreferences
4580
654e30c513ec init defaults lazy
Claus Gittinger <cg@exept.de>
parents: 4396
diff changeset
   139
    ].
4318
39f9a91bc44e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4317
diff changeset
   140
    ^ DefaultPreferences.
39f9a91bc44e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4317
diff changeset
   141
4582
31cbce168a1d return false for nonexisting keys
Claus Gittinger <cg@exept.de>
parents: 4580
diff changeset
   142
    "
31cbce168a1d return false for nonexisting keys
Claus Gittinger <cg@exept.de>
parents: 4580
diff changeset
   143
     DefaultPreferences := nil.
31cbce168a1d return false for nonexisting keys
Claus Gittinger <cg@exept.de>
parents: 4580
diff changeset
   144
    "
4318
39f9a91bc44e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4317
diff changeset
   145
!
39f9a91bc44e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4317
diff changeset
   146
3364
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
   147
reset
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
   148
    "resets the CurrentPreferences to its default values"
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
   149
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
   150
    CurrentPreferences := nil
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
   151
!
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
   152
4342
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   153
syntaxColorKeys
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   154
    "returns the keys of syntax color items"
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   155
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   156
    ^#(
14007
1ee2f49e87df changed: #syntaxColorKeys
Claus Gittinger <cg@exept.de>
parents: 14006
diff changeset
   157
        argumentIdentifierColor
1ee2f49e87df changed: #syntaxColorKeys
Claus Gittinger <cg@exept.de>
parents: 14006
diff changeset
   158
          argumentIdentifierEmphasis
1ee2f49e87df changed: #syntaxColorKeys
Claus Gittinger <cg@exept.de>
parents: 14006
diff changeset
   159
        booleanConstantColor
1ee2f49e87df changed: #syntaxColorKeys
Claus Gittinger <cg@exept.de>
parents: 14006
diff changeset
   160
          booleanConstantEmphasis
1ee2f49e87df changed: #syntaxColorKeys
Claus Gittinger <cg@exept.de>
parents: 14006
diff changeset
   161
        bracketColor
1ee2f49e87df changed: #syntaxColorKeys
Claus Gittinger <cg@exept.de>
parents: 14006
diff changeset
   162
          bracketEmphasis
1ee2f49e87df changed: #syntaxColorKeys
Claus Gittinger <cg@exept.de>
parents: 14006
diff changeset
   163
        classVariableIdentifierColor
1ee2f49e87df changed: #syntaxColorKeys
Claus Gittinger <cg@exept.de>
parents: 14006
diff changeset
   164
          classVariableIdentifierEmphasis
1ee2f49e87df changed: #syntaxColorKeys
Claus Gittinger <cg@exept.de>
parents: 14006
diff changeset
   165
        constantColor
1ee2f49e87df changed: #syntaxColorKeys
Claus Gittinger <cg@exept.de>
parents: 14006
diff changeset
   166
          constantEmphasis
1ee2f49e87df changed: #syntaxColorKeys
Claus Gittinger <cg@exept.de>
parents: 14006
diff changeset
   167
        controlFlowSelectorColor
1ee2f49e87df changed: #syntaxColorKeys
Claus Gittinger <cg@exept.de>
parents: 14006
diff changeset
   168
          controlFlowSelectorEmphasis
1ee2f49e87df changed: #syntaxColorKeys
Claus Gittinger <cg@exept.de>
parents: 14006
diff changeset
   169
        commentColor
1ee2f49e87df changed: #syntaxColorKeys
Claus Gittinger <cg@exept.de>
parents: 14006
diff changeset
   170
          commentEmphasis
1ee2f49e87df changed: #syntaxColorKeys
Claus Gittinger <cg@exept.de>
parents: 14006
diff changeset
   171
        defaultSyntaxColor
1ee2f49e87df changed: #syntaxColorKeys
Claus Gittinger <cg@exept.de>
parents: 14006
diff changeset
   172
          defaultSyntaxEmphasis
1ee2f49e87df changed: #syntaxColorKeys
Claus Gittinger <cg@exept.de>
parents: 14006
diff changeset
   173
        errorColor
1ee2f49e87df changed: #syntaxColorKeys
Claus Gittinger <cg@exept.de>
parents: 14006
diff changeset
   174
        globalIdentifierColor
1ee2f49e87df changed: #syntaxColorKeys
Claus Gittinger <cg@exept.de>
parents: 14006
diff changeset
   175
          globalIdentifierEmphasis
1ee2f49e87df changed: #syntaxColorKeys
Claus Gittinger <cg@exept.de>
parents: 14006
diff changeset
   176
        globalClassIdentifierColor
1ee2f49e87df changed: #syntaxColorKeys
Claus Gittinger <cg@exept.de>
parents: 14006
diff changeset
   177
          globalClassIdentifierEmphasis
1ee2f49e87df changed: #syntaxColorKeys
Claus Gittinger <cg@exept.de>
parents: 14006
diff changeset
   178
        hereColor
1ee2f49e87df changed: #syntaxColorKeys
Claus Gittinger <cg@exept.de>
parents: 14006
diff changeset
   179
          hereEmphasis
1ee2f49e87df changed: #syntaxColorKeys
Claus Gittinger <cg@exept.de>
parents: 14006
diff changeset
   180
        identifierColor
1ee2f49e87df changed: #syntaxColorKeys
Claus Gittinger <cg@exept.de>
parents: 14006
diff changeset
   181
          identifierEmphasis
1ee2f49e87df changed: #syntaxColorKeys
Claus Gittinger <cg@exept.de>
parents: 14006
diff changeset
   182
        instVarIdentifierColor
1ee2f49e87df changed: #syntaxColorKeys
Claus Gittinger <cg@exept.de>
parents: 14006
diff changeset
   183
          instVarIdentifierEmphasis
1ee2f49e87df changed: #syntaxColorKeys
Claus Gittinger <cg@exept.de>
parents: 14006
diff changeset
   184
        localIdentifierColor
1ee2f49e87df changed: #syntaxColorKeys
Claus Gittinger <cg@exept.de>
parents: 14006
diff changeset
   185
          localIdentifierEmphasis
1ee2f49e87df changed: #syntaxColorKeys
Claus Gittinger <cg@exept.de>
parents: 14006
diff changeset
   186
        methodSelectorColor
1ee2f49e87df changed: #syntaxColorKeys
Claus Gittinger <cg@exept.de>
parents: 14006
diff changeset
   187
          methodSelectorEmphasis
1ee2f49e87df changed: #syntaxColorKeys
Claus Gittinger <cg@exept.de>
parents: 14006
diff changeset
   188
        poolVariableIdentifierColor
1ee2f49e87df changed: #syntaxColorKeys
Claus Gittinger <cg@exept.de>
parents: 14006
diff changeset
   189
          poolVariableIdentifierEmphasis
1ee2f49e87df changed: #syntaxColorKeys
Claus Gittinger <cg@exept.de>
parents: 14006
diff changeset
   190
        returnColor
1ee2f49e87df changed: #syntaxColorKeys
Claus Gittinger <cg@exept.de>
parents: 14006
diff changeset
   191
          returnEmphasis
1ee2f49e87df changed: #syntaxColorKeys
Claus Gittinger <cg@exept.de>
parents: 14006
diff changeset
   192
        selectorColor
1ee2f49e87df changed: #syntaxColorKeys
Claus Gittinger <cg@exept.de>
parents: 14006
diff changeset
   193
          selectorEmphasis
1ee2f49e87df changed: #syntaxColorKeys
Claus Gittinger <cg@exept.de>
parents: 14006
diff changeset
   194
        selfColor
1ee2f49e87df changed: #syntaxColorKeys
Claus Gittinger <cg@exept.de>
parents: 14006
diff changeset
   195
          selfEmphasis
1ee2f49e87df changed: #syntaxColorKeys
Claus Gittinger <cg@exept.de>
parents: 14006
diff changeset
   196
        stringColor
1ee2f49e87df changed: #syntaxColorKeys
Claus Gittinger <cg@exept.de>
parents: 14006
diff changeset
   197
          stringEmphasis
1ee2f49e87df changed: #syntaxColorKeys
Claus Gittinger <cg@exept.de>
parents: 14006
diff changeset
   198
        superColor
1ee2f49e87df changed: #syntaxColorKeys
Claus Gittinger <cg@exept.de>
parents: 14006
diff changeset
   199
          superEmphasis
1ee2f49e87df changed: #syntaxColorKeys
Claus Gittinger <cg@exept.de>
parents: 14006
diff changeset
   200
        symbolColor
1ee2f49e87df changed: #syntaxColorKeys
Claus Gittinger <cg@exept.de>
parents: 14006
diff changeset
   201
          symbolEmphasis
1ee2f49e87df changed: #syntaxColorKeys
Claus Gittinger <cg@exept.de>
parents: 14006
diff changeset
   202
        thisContextColor
1ee2f49e87df changed: #syntaxColorKeys
Claus Gittinger <cg@exept.de>
parents: 14006
diff changeset
   203
          thisContextEmphasis
1ee2f49e87df changed: #syntaxColorKeys
Claus Gittinger <cg@exept.de>
parents: 14006
diff changeset
   204
        unknownIdentifierColor
1ee2f49e87df changed: #syntaxColorKeys
Claus Gittinger <cg@exept.de>
parents: 14006
diff changeset
   205
          unknownIdentifierEmphasis
1ee2f49e87df changed: #syntaxColorKeys
Claus Gittinger <cg@exept.de>
parents: 14006
diff changeset
   206
        unimplementedSelectorColor
1ee2f49e87df changed: #syntaxColorKeys
Claus Gittinger <cg@exept.de>
parents: 14006
diff changeset
   207
          unimplementedSelectorEmphasis
1ee2f49e87df changed: #syntaxColorKeys
Claus Gittinger <cg@exept.de>
parents: 14006
diff changeset
   208
        sideEffectAssignmentBackgroundColor
1ee2f49e87df changed: #syntaxColorKeys
Claus Gittinger <cg@exept.de>
parents: 14006
diff changeset
   209
        sideEffectAssignmentColor
4342
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   210
    )
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   211
14007
1ee2f49e87df changed: #syntaxColorKeys
Claus Gittinger <cg@exept.de>
parents: 14006
diff changeset
   212
    "Modified: / 14-02-2012 / 10:17:46 / cg"
4342
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   213
!
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   214
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
   215
syntaxColorNames
3364
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
   216
    "returns the syntax colors for the settings in the launcher"
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
   217
4319
8408b1df9e72 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4318
diff changeset
   218
"/ warning, the strings below are presented to the user
8408b1df9e72 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4318
diff changeset
   219
"/ as the syntax-color boxes comboList - however, they are
8408b1df9e72 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4318
diff changeset
   220
"/ also used (without separators) as key into myself.
8408b1df9e72 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4318
diff changeset
   221
"/ Therefore, do not change the strings below.
8408b1df9e72 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4318
diff changeset
   222
"/ I know - this is bad coding ....
8408b1df9e72 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4318
diff changeset
   223
3364
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
   224
^#(
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
   225
'Argument Identifier Color'
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
   226
'Boolean Constant Color'
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
   227
'Bracket Color'
4320
9d6e4f645e97 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4319
diff changeset
   228
'Class Variable Identifier Color'
14012
Claus Gittinger <cg@exept.de>
parents: 14007
diff changeset
   229
'Collection Enumeration Selector Color'
3364
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
   230
'Constant Color'
9834
0be637339fce control flow color&emphasis
Claus Gittinger <cg@exept.de>
parents: 9820
diff changeset
   231
'Control Flow Selector Color'
3364
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
   232
'Comment Color'
15545
afc9b6289701 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15427
diff changeset
   233
'Debug Selector Color'
afc9b6289701 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15427
diff changeset
   234
'Error Raising Selector Color'
3364
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
   235
'Global Identifier Color'
4024
3a223c79e41c added extra globalClassIdentifierColor & emphasis
Claus Gittinger <cg@exept.de>
parents: 4023
diff changeset
   236
'Global Class Identifier Color'
3364
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
   237
'Here Color'
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
   238
'Identifier Color'
3377
9d7c8b2ef58e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
   239
'InstVar Identifier Color'
3364
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
   240
'Local Identifier Color'
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
   241
'Method Selector Color'
8551
de314b9f8fa3 sharedPools
ca
parents: 8545
diff changeset
   242
'Pool Variable Identifier Color'
4076
96cb7146bc59 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4075
diff changeset
   243
'Return Color'
3364
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
   244
'Selector Color'
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
   245
'Self Color'
14004
Claus Gittinger <cg@exept.de>
parents: 13973
diff changeset
   246
'Side Effect Assignment Color'
Claus Gittinger <cg@exept.de>
parents: 13973
diff changeset
   247
'Side Effect Assignment Background Color'
3364
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
   248
'String Color'
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
   249
'Super Color'
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
   250
'Symbol Color'
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
   251
'This Context Color'
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
   252
'Unknown Identifier Color'
4319
8408b1df9e72 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4318
diff changeset
   253
'Unimplemented Selector Color'
3377
9d7c8b2ef58e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
   254
)
3364
626f42817289 small interface for the settings in the launcher
tz
parents: 3362
diff changeset
   255
14012
Claus Gittinger <cg@exept.de>
parents: 14007
diff changeset
   256
    "Modified: / 14-02-2012 / 15:51:38 / cg"
3347
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   257
! !
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   258
13399
eb68067907e1 changed: #version_CVS
vrany
parents: 13391
diff changeset
   259
!UserPreferences class methodsFor:'accessing - defaults'!
eb68067907e1 changed: #version_CVS
vrany
parents: 13391
diff changeset
   260
eb68067907e1 changed: #version_CVS
vrany
parents: 13391
diff changeset
   261
defaultUserSettingsFile
16165
9790f74172b4 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15960
diff changeset
   262
    ^ (Filename homeDirectory construct:'.smalltalk') construct:'settings.stx'
13399
eb68067907e1 changed: #version_CVS
vrany
parents: 13391
diff changeset
   263
eb68067907e1 changed: #version_CVS
vrany
parents: 13391
diff changeset
   264
    "Created: / 06-10-2008 / 08:27:15 / Jan Vrany <vranyj1@fel.cvut.cz>"
eb68067907e1 changed: #version_CVS
vrany
parents: 13391
diff changeset
   265
! !
eb68067907e1 changed: #version_CVS
vrany
parents: 13391
diff changeset
   266
6019
770f994a520d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5808
diff changeset
   267
!UserPreferences class methodsFor:'accessing defaultPrefs'!
770f994a520d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5808
diff changeset
   268
11006
fc11f0af9902 changed #showTipOfTheDayAtStartupHolder
Claus Gittinger <cg@exept.de>
parents: 11005
diff changeset
   269
defaultSettingsFilename
fc11f0af9902 changed #showTipOfTheDayAtStartupHolder
Claus Gittinger <cg@exept.de>
parents: 11005
diff changeset
   270
    ^ 'settings.stx'
fc11f0af9902 changed #showTipOfTheDayAtStartupHolder
Claus Gittinger <cg@exept.de>
parents: 11005
diff changeset
   271
!
fc11f0af9902 changed #showTipOfTheDayAtStartupHolder
Claus Gittinger <cg@exept.de>
parents: 11005
diff changeset
   272
6763
06c247fe72a7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6762
diff changeset
   273
fileBrowserClass
12949
1780725fdc63 comment/format in: #fileBrowserClass
Claus Gittinger <cg@exept.de>
parents: 12947
diff changeset
   274
    "the class to be used for file browsing (used to be the simple FileBrowser, but is now the FileBrowserV2)"
1780725fdc63 comment/format in: #fileBrowserClass
Claus Gittinger <cg@exept.de>
parents: 12947
diff changeset
   275
6763
06c247fe72a7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6762
diff changeset
   276
    ^ self current fileBrowserClass
06c247fe72a7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6762
diff changeset
   277
06c247fe72a7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6762
diff changeset
   278
    "
06c247fe72a7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6762
diff changeset
   279
     UserPreferences fileBrowserClass
06c247fe72a7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6762
diff changeset
   280
    "
12949
1780725fdc63 comment/format in: #fileBrowserClass
Claus Gittinger <cg@exept.de>
parents: 12947
diff changeset
   281
1780725fdc63 comment/format in: #fileBrowserClass
Claus Gittinger <cg@exept.de>
parents: 12947
diff changeset
   282
    "Modified: / 17-07-2010 / 14:50:34 / cg"
6763
06c247fe72a7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6762
diff changeset
   283
!
06c247fe72a7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6762
diff changeset
   284
6019
770f994a520d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5808
diff changeset
   285
systemBrowserClass
770f994a520d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5808
diff changeset
   286
    ^ self current systemBrowserClass
770f994a520d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5808
diff changeset
   287
770f994a520d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5808
diff changeset
   288
    "
770f994a520d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5808
diff changeset
   289
     UserPreferences systemBrowserClass
770f994a520d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5808
diff changeset
   290
    "
770f994a520d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5808
diff changeset
   291
!
770f994a520d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5808
diff changeset
   292
770f994a520d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5808
diff changeset
   293
versionDiffViewerClass
770f994a520d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5808
diff changeset
   294
    ^ self current versionDiffViewerClass
770f994a520d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5808
diff changeset
   295
770f994a520d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5808
diff changeset
   296
    "
770f994a520d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5808
diff changeset
   297
     UserPreferences versionDiffViewerClass
770f994a520d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5808
diff changeset
   298
    "
770f994a520d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5808
diff changeset
   299
! !
770f994a520d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5808
diff changeset
   300
7028
0911f2698be9 saveSettings here
Claus Gittinger <cg@exept.de>
parents: 7026
diff changeset
   301
!UserPreferences class methodsFor:'saving'!
0911f2698be9 saveSettings here
Claus Gittinger <cg@exept.de>
parents: 7026
diff changeset
   302
0911f2698be9 saveSettings here
Claus Gittinger <cg@exept.de>
parents: 7026
diff changeset
   303
saveSettings:userPrefs in:fileName
0911f2698be9 saveSettings here
Claus Gittinger <cg@exept.de>
parents: 7026
diff changeset
   304
    "save settings to a settings-file."
0911f2698be9 saveSettings here
Claus Gittinger <cg@exept.de>
parents: 7026
diff changeset
   305
11143
3712ab6b344b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11064
diff changeset
   306
    "a temporary kludge for old classVariable-based settings
7028
0911f2698be9 saveSettings here
Claus Gittinger <cg@exept.de>
parents: 7026
diff changeset
   307
     - all of those MUST go into the user-preferences dictionary eventually"
0911f2698be9 saveSettings here
Claus Gittinger <cg@exept.de>
parents: 7026
diff changeset
   308
14307
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   309
    |screen|
7028
0911f2698be9 saveSettings here
Claus Gittinger <cg@exept.de>
parents: 7026
diff changeset
   310
0911f2698be9 saveSettings here
Claus Gittinger <cg@exept.de>
parents: 7026
diff changeset
   311
    screen := Screen current.
0911f2698be9 saveSettings here
Claus Gittinger <cg@exept.de>
parents: 7026
diff changeset
   312
14307
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   313
    fileName asFilename writingFileDo:[:s|
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   314
        s nextPutLine:'"/ ST/X saved settings';
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   315
          nextPutLine:'"/ DO NOT MODIFY MANUALLY';
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   316
          nextPutLine:'"/ (modifications would be lost with next save-settings)';
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   317
          nextPutLine:'"/';
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   318
          nextPutLine:'"/ this file was automatically generated by the';
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   319
          nextPutLine:'"/ ''save settings'' function of the SettingsDialog';
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   320
          nextPutLine:'"/'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   321
        s cr.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   322
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   323
        s nextPutLine:'"/'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   324
        s nextPutLine:'"/ saved by ' , OperatingSystem getLoginName , '@' , OperatingSystem getHostName , ' at ' , Timestamp now printString.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   325
        s nextPutLine:'"/'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   326
        s cr.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   327
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   328
        s nextPutLine:'"/'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   329
        s nextPutLine:'"/ Display settings:'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   330
        s nextPutLine:'"/'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   331
        s nextPutLine:'"/ only restore the display settings, if on the same Display ...'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   332
        s nextPutLine:'Display notNil ifTrue:['.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   333
        s nextPutLine:' Display displayName = ' , (screen displayName storeString) , ' ifTrue:['.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   334
          screen fixColors notNil ifTrue:[
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   335
            s nextPutLine:'  Image flushDeviceImages.'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   336
            s nextPutLine:'  Color colorAllocationFailSignal catch:['.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   337
            s nextPutLine:'    Color getColorsRed:6 green:6 blue:4 on:Display'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   338
            s nextPutLine:'  ].'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   339
          ] ifFalse:[
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   340
            s nextPutLine:'  Display releaseFixColors.'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   341
          ].
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   342
          s nextPutLine:'  Display hasColors: ' , (screen hasColors storeString) , '.'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   343
          s nextPutLine:'  Display widthInMillimeter: ' , (screen widthInMillimeter storeString) , '.'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   344
          s nextPutLine:'  Display heightInMillimeter: ' , (screen heightInMillimeter storeString) , '.'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   345
          s nextPutLine:'  Display supportsDeepIcons: ' , (screen supportsDeepIcons storeString) , '.'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   346
          s nextPutLine:'  Image ditherAlgorithm: ' , (Image ditherAlgorithm storeString) , '.'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   347
          s nextPutLine:'  View defaultStyle:' , View defaultStyle storeString , '.'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   348
        s nextPutLine:' ].'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   349
        s nextPutLine:'].'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   350
        s cr.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   351
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   352
        s nextPutLine:'"/'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   353
        s nextPutLine:'"/ Parser/Compiler settings:'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   354
        s nextPutLine:'"/'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   355
        s nextPutLine:'ParserFlags warnSTXSpecials: ' , (ParserFlags warnSTXSpecials storeString) , '.';
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   356
          nextPutLine:'ParserFlags warnings: ' , (ParserFlags warnings storeString) , '.';
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   357
          nextPutLine:'ParserFlags warnUnderscoreInIdentifier: ' , (ParserFlags warnUnderscoreInIdentifier storeString) , '.';
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   358
          nextPutLine:'ParserFlags warnOldStyleAssignment: ' , (ParserFlags warnOldStyleAssignment storeString) , '.';
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   359
          nextPutLine:'ParserFlags warnCommonMistakes: ' , (ParserFlags warnCommonMistakes storeString) , '.';
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   360
          nextPutLine:'ParserFlags warnPossibleIncompatibilities: ' , (ParserFlags warnPossibleIncompatibilities storeString) , '.';
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   361
          nextPutLine:'ParserFlags allowUnderscoreInIdentifier: ' , (ParserFlags allowUnderscoreInIdentifier storeString) , '.';
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   362
          nextPutLine:'ParserFlags allowSqueakExtensions: ' , (ParserFlags allowSqueakExtensions storeString) , '.';
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   363
          nextPutLine:'ParserFlags allowDolphinExtensions: ' , (ParserFlags allowDolphinExtensions storeString) , '.';
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   364
          nextPutLine:'ParserFlags allowQualifiedNames: ' , (ParserFlags allowQualifiedNames storeString) , '.';
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   365
          nextPutLine:'ParserFlags arraysAreImmutable: ' , (ParserFlags arraysAreImmutable storeString) , '.';
14358
0537cf5714b0 lineNumberInfo moved from parser to parserflags
Claus Gittinger <cg@exept.de>
parents: 14342
diff changeset
   366
          nextPutLine:'ParserFlags lineNumberInfo: ' , (ParserFlags lineNumberInfo storeString) , '.';
14307
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   367
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   368
          nextPutLine:'Compiler foldConstants: ' , (Compiler foldConstants storeString) , '.';
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   369
          nextPutLine:'ParserFlags stcCompilation: ' , (ParserFlags stcCompilation storeString) , '.';
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   370
          nextPutLine:'OperatingSystem getOSType = ' , (OperatingSystem getOSType storeString) , ' ifTrue:[';
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   371
          nextPutLine:'  ParserFlags stcCompilationIncludes: ' , (ParserFlags stcCompilationIncludes storeString) , '.';
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   372
          nextPutLine:'  ParserFlags stcCompilationDefines: ' , (ParserFlags stcCompilationDefines storeString) , '.';
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   373
          nextPutLine:'  ParserFlags stcCompilationOptions: ' , (ParserFlags stcCompilationOptions storeString) , '.';
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   374
          nextPutLine:'  ' , (ParserFlags stcModulePath storeString) , ' asFilename exists ifTrue:[';
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   375
          nextPutLine:'    ParserFlags stcModulePath: ' , (ParserFlags stcModulePath storeString) , '.';
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   376
          nextPutLine:'  ].';
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   377
          nextPutLine:'  ParserFlags stcPath: ' , (ParserFlags stcPath storeString) , '.';
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   378
          nextPutLine:'  ParserFlags ccCompilationOptions: ' , (ParserFlags ccCompilationOptions storeString) , '.';
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   379
          nextPutLine:'  ParserFlags ccPath: ' , (ParserFlags ccPath storeString) , '.';
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   380
          nextPutLine:'  ParserFlags linkArgs: ' , (ParserFlags linkArgs storeString) , '.';
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   381
          nextPutLine:'  ParserFlags linkSharedArgs: ' , (ParserFlags linkSharedArgs storeString) , '.';
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   382
          nextPutLine:'  ParserFlags linkCommand: ' , (ParserFlags linkCommand storeString) , '.';
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   383
          nextPutLine:'  ParserFlags makeCommand: ' , (ParserFlags makeCommand storeString) , '.';
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   384
          nextPutLine:'  ParserFlags libPath: ' , (ParserFlags libPath storeString) , '.';
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   385
          nextPutLine:'  ParserFlags searchedLibraries: ' , (ParserFlags searchedLibraries storeString) , '.';
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   386
          nextPutLine:'].';
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   387
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   388
          nextPutLine:'ObjectMemory justInTimeCompilation: ' , (ObjectMemory justInTimeCompilation storeString) , '.';
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   389
          nextPutLine:'ObjectMemory fullSingleStepSupport: ' , (ObjectMemory fullSingleStepSupport storeString) , '.'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   390
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   391
        HistoryManager notNil ifTrue:[
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   392
            HistoryManager isActive ifTrue:[
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   393
                s nextPutLine:'HistoryManager notNil ifTrue:[HistoryManager activate].'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   394
                s nextPutLine:'HistoryManager notNil ifTrue:[HistoryManager fullHistoryUpdate:' , HistoryManager fullHistoryUpdate storeString , '].'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   395
            ] ifFalse:[
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   396
                s nextPutLine:'HistoryManager notNil ifTrue:[HistoryManager deactivate].'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   397
            ].
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   398
        ].
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   399
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   400
        s nextPutLine:'Class catchMethodRedefinitions: ' , (Class catchMethodRedefinitions storeString) , '.'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   401
        s nextPutLine:'ClassCategoryReader sourceMode: ' , (ClassCategoryReader sourceMode storeString) , '.'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   402
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   403
        s cr.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   404
        s nextPutLine:'"/'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   405
        s nextPutLine:'"/ Info & Debug Messages:'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   406
        s nextPutLine:'"/'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   407
        s nextPutLine:'Smalltalk hasNoConsole ifFalse:[ ObjectMemory infoPrinting: ' , (ObjectMemory infoPrinting storeString) , '].';
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   408
          nextPutLine:'ObjectMemory debugPrinting: ' , (ObjectMemory debugPrinting storeString) , '.';
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   409
          nextPutLine:'Smalltalk hasNoConsole ifFalse:[ Object infoPrinting: ' , (Object infoPrinting storeString) , '].';
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   410
          nextPutLine:'DeviceWorkstation errorPrinting: ' , (DeviceWorkstation errorPrinting storeString) , '.'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   411
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   412
    "/    FlyByHelp isActive ifTrue:[
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   413
    "/        s nextPutLine:'FlyByHelp start.'
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   414
    "/    ].
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   415
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   416
        s cr.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   417
        s nextPutLine:'"/'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   418
        s nextPutLine:'"/ Edit settings:'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   419
        s nextPutLine:'"/'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   420
        "/ s nextPutLine:'EditTextView st80Mode: ' , (EditTextView st80Mode storeString) , '.'.
16467
2cd0253c75f1 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16466
diff changeset
   421
        "/ s nextPutLine:'TextView st80SelectMode: ' , (TextView st80SelectMode storeString) , '.'.
14307
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   422
        s nextPutLine:'UserPreferences current syntaxColoring: ' , (userPrefs syntaxColoring storeString) , '.'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   423
        (ListView userDefaultTabPositions = ListView tab4Positions) ifTrue:[
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   424
            s nextPutLine:'ListView userDefaultTabPositions:(ListView tab4Positions).'.
11983
1cbdd1c24ea5 changed: #saveSettings:in:
fm
parents: 11943
diff changeset
   425
        ] ifFalse:[
14307
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   426
            s nextPutLine:'ListView userDefaultTabPositions:(ListView tab8Positions).'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   427
        ].
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   428
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   429
        s nextPutLine:'"/'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   430
        s nextPutLine:'"/ User preference values:'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   431
        s nextPutLine:'"/'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   432
        userPrefs keysAndValuesDo:[:k :v |
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   433
            |putSelector|
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   434
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   435
            putSelector := (k , ':') asSymbolIfInterned.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   436
            (UserPreferences includesSelector:putSelector) ifTrue:[
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   437
                s nextPutAll:'UserPreferences current ';
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   438
                  nextPutAll:putSelector.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   439
            ] ifFalse:[
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   440
                s nextPutAll:'UserPreferences current at:'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   441
                k storeOn:s.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   442
                s nextPutAll:' put:'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   443
            ].
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   444
            v storeOn:s.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   445
            s nextPut:$.; cr.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   446
        ].
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   447
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   448
        s cr.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   449
        s nextPutLine:'"/'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   450
        s nextPutLine:'"/ GC settings:'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   451
        s nextPutLine:'"/'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   452
        s nextPutLine:'ObjectMemory newSpaceSize: ' , (ObjectMemory newSpaceSize storeString) , '.';
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   453
          nextPutLine:'ObjectMemory dynamicCodeGCTrigger: ' , (ObjectMemory dynamicCodeGCTrigger storeString) , '.';
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   454
          nextPutLine:'ObjectMemory freeSpaceGCAmount: ' , (ObjectMemory freeSpaceGCAmount storeString) , '.';
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   455
          nextPutLine:'ObjectMemory freeSpaceGCLimit: ' , (ObjectMemory freeSpaceGCLimit storeString) , '.';
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   456
          nextPutLine:'ObjectMemory incrementalGCLimit: ' , (ObjectMemory incrementalGCLimit storeString) , '.';
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   457
          nextPutLine:'ObjectMemory oldSpaceCompressLimit: ' , (ObjectMemory oldSpaceCompressLimit storeString) , '.';
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   458
          nextPutLine:'ObjectMemory oldSpaceIncrement: ' , (ObjectMemory oldSpaceIncrement storeString) , '.'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   459
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   460
        s cr.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   461
        s nextPutLine:'"/'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   462
        s nextPutLine:'"/ Misc settings:'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   463
        s nextPutLine:'"/'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   464
        s nextPutLine:'Class keepMethodHistory: ' , (Class methodHistory notNil storeString) , '.';
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   465
          nextPutLine:'Smalltalk logDoits: ' , (Smalltalk logDoits storeString) , '.';
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   466
          nextPutLine:'Autoload compileLazy: ' , (Autoload compileLazy storeString) , '.';
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   467
          nextPutLine:'Smalltalk loadBinaries: ' , (Smalltalk loadBinaries storeString) , '.';
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   468
          nextPutLine:'StandardSystemView includeHostNameInLabel: ' , (StandardSystemView includeHostNameInLabel storeString) , '.';
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   469
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   470
          "/ claus - I dont think its a good idea to save those ...
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   471
    "/      nextPutLine:'"/ Class updateChanges: ' , (Class updatingChanges storeString) , '.';
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   472
    "/      nextPutLine:'"/ ObjectMemory nameForChanges: ' , (ObjectMemory nameForChanges storeString) , '.';
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   473
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   474
          nextPutLine:'StandardSystemView returnFocusWhenClosingModalBoxes: ' , (StandardSystemView returnFocusWhenClosingModalBoxes storeString) , '.';
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   475
          nextPutLine:'StandardSystemView takeFocusWhenMapped: ' , (StandardSystemView takeFocusWhenMapped storeString) , '.';
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   476
          nextPutLine:'Display notNil ifTrue:[';
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   477
          nextPutLine:' Display activateOnClick: ' , ((screen activateOnClick:nil) storeString) , '.';
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   478
          nextPutLine:'].';
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   479
          nextPutLine:'MenuView showAcceleratorKeys: ' , (MenuView showAcceleratorKeys storeString) , '.';
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   480
          nextPutLine:'Class tryLocalSourceFirst: ' , (Class tryLocalSourceFirst storeString) , '.'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   481
        (NoHandlerError emergencyHandler == AbstractLauncherApplication notifyingEmergencyHandler) ifTrue:[
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   482
            s nextPutLine:'NoHandlerError emergencyHandler:(AbstractLauncherApplication notifyingEmergencyHandler).'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   483
        ].
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   484
        Processor isTimeSlicing ifTrue:[
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   485
            s nextPutLine:'Processor startTimeSlicing.'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   486
            s nextPutLine:('Processor supportDynamicPriorities:' , (Processor supportDynamicPriorities ? false) storeString , '.').
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   487
        ] ifFalse:[
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   488
            s nextPutLine:'Processor stopTimeSlicing.'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   489
        ].
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   490
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   491
        s cr.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   492
        s nextPutLine:'"/'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   493
        s nextPutLine:'"/ Printer settings:'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   494
        s nextPutLine:'"/'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   495
        Printer notNil ifTrue:[
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   496
            s nextPutLine:'Printer := ' , (Printer name) , '.'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   497
            Printer supportsPrintingToCommand ifTrue:[
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   498
                s nextPutLine:'Printer printCommand: ' , (Printer printCommand storeString) , '.'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   499
            ].
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   500
            Printer supportsPageSizes ifTrue:[
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   501
                s nextPutLine:'Printer pageFormat: ' , (Printer pageFormat storeString) , '.'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   502
                s nextPutLine:'Printer landscape: ' , (Printer landscape storeString) , '.'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   503
            ].
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   504
            Printer supportsMargins ifTrue:[
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   505
                s nextPutLine:'Printer topMargin: ' , (Printer topMargin storeString) , '.'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   506
                s nextPutLine:'Printer leftMargin: ' , (Printer leftMargin storeString) , '.'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   507
                s nextPutLine:'Printer rightMargin: ' , (Printer rightMargin storeString) , '.'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   508
                s nextPutLine:'Printer bottomMargin: ' , (Printer bottomMargin storeString) , '.'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   509
            ].
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   510
            Printer supportsPostscript ifTrue:[
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   511
                s nextPutLine:'Printer supportsColor: ' , (Printer supportsColor storeString) , '.'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   512
            ].
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   513
        ].
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   514
        s cr.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   515
        s nextPutLine:'"/'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   516
        s nextPutLine:'"/ Font settings:'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   517
        s nextPutLine:'"/ (only restored, if image is restarted on the same display)'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   518
        s nextPutLine:'"/'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   519
        s nextPutLine:'Display notNil ifTrue:['.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   520
        s nextPutLine:' Display displayName = ' , (screen displayName storeString) , ' ifTrue:['.
15748
af092ba5bea8 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15747
diff changeset
   521
        { 
16278
994fd5ae721e class: UserPreferences
Stefan Vogel <sv@exept.de>
parents: 16266
diff changeset
   522
            SimpleView . Label . CheckBox . CheckLabel . Button . Toggle . 
15748
af092ba5bea8 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15747
diff changeset
   523
            SelectionInListView . MenuView . MenuPanel . NoteBookView . PullDownMenu .
af092ba5bea8 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15747
diff changeset
   524
            TextView . EditTextView . CodeView
af092ba5bea8 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15747
diff changeset
   525
        } do:[:cls |
af092ba5bea8 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15747
diff changeset
   526
            s nextPutLine:'  ',cls name,' defaultFont: ' , (cls defaultFont storeString) , '.'.
af092ba5bea8 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15747
diff changeset
   527
        ].
14307
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   528
        s nextPutLine:' ].'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   529
        s nextPutLine:'].'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   530
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   531
        s cr.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   532
        s nextPutLine:'"/'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   533
        s nextPutLine:'"/ SourceCodeManager settings:'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   534
        s nextPutLine:'"/ (repositories are networked nowadays, so the settings are host independent)'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   535
        s nextPutLine:'"/'.
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   536
        s nextPutLine:'Class tryLocalSourceFirst:' , Class tryLocalSourceFirst storeString , '.'.
16484
e16e77da9fcc class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16467
diff changeset
   537
        s nextPutLine:'AbstractSourceCodeManager notNil ifTrue:[AbstractSourceCodeManager cacheDirectoryName:' , AbstractSourceCodeManager cacheDirectoryName storeString , '].'.
14307
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   538
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   539
        AbstractSourceCodeManager availableManagers do:[:eachManager |
67d0d208989d changed: #saveSettings:in:
Stefan Vogel <sv@exept.de>
parents: 14267
diff changeset
   540
            eachManager savePreferencesOn:s
11983
1cbdd1c24ea5 changed: #saveSettings:in:
fm
parents: 11943
diff changeset
   541
        ].
14761
c8ee21a63d91 class: UserPreferences
Stefan Vogel <sv@exept.de>
parents: 14742
diff changeset
   542
        s syncData.
7028
0911f2698be9 saveSettings here
Claus Gittinger <cg@exept.de>
parents: 7026
diff changeset
   543
    ].
0911f2698be9 saveSettings here
Claus Gittinger <cg@exept.de>
parents: 7026
diff changeset
   544
0911f2698be9 saveSettings here
Claus Gittinger <cg@exept.de>
parents: 7026
diff changeset
   545
    "
0911f2698be9 saveSettings here
Claus Gittinger <cg@exept.de>
parents: 7026
diff changeset
   546
     Transcript topView application saveSettings
0911f2698be9 saveSettings here
Claus Gittinger <cg@exept.de>
parents: 7026
diff changeset
   547
    "
0911f2698be9 saveSettings here
Claus Gittinger <cg@exept.de>
parents: 7026
diff changeset
   548
9492
89bfc46b3b48 make command
fm
parents: 9491
diff changeset
   549
    "Modified: / 09-08-2006 / 18:52:14 / fm"
14358
0537cf5714b0 lineNumberInfo moved from parser to parserflags
Claus Gittinger <cg@exept.de>
parents: 14342
diff changeset
   550
    "Modified: / 26-09-2012 / 13:33:47 / cg"
7028
0911f2698be9 saveSettings here
Claus Gittinger <cg@exept.de>
parents: 7026
diff changeset
   551
! !
0911f2698be9 saveSettings here
Claus Gittinger <cg@exept.de>
parents: 7026
diff changeset
   552
7549
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
   553
!UserPreferences methodsFor:'accessing'!
3883
8e0771f4a196 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3875
diff changeset
   554
13941
0621bed84963 added:9 methods
Claus Gittinger <cg@exept.de>
parents: 13885
diff changeset
   555
at:key 
0621bed84963 added:9 methods
Claus Gittinger <cg@exept.de>
parents: 13885
diff changeset
   556
    ^ super at:key asSymbol
0621bed84963 added:9 methods
Claus Gittinger <cg@exept.de>
parents: 13885
diff changeset
   557
0621bed84963 added:9 methods
Claus Gittinger <cg@exept.de>
parents: 13885
diff changeset
   558
    "Created: / 15-01-2012 / 14:27:29 / cg"
0621bed84963 added:9 methods
Claus Gittinger <cg@exept.de>
parents: 13885
diff changeset
   559
!
0621bed84963 added:9 methods
Claus Gittinger <cg@exept.de>
parents: 13885
diff changeset
   560
0621bed84963 added:9 methods
Claus Gittinger <cg@exept.de>
parents: 13885
diff changeset
   561
at:key ifAbsent:exceptionValue
0621bed84963 added:9 methods
Claus Gittinger <cg@exept.de>
parents: 13885
diff changeset
   562
    ^ super at:key asSymbol ifAbsent:exceptionValue
0621bed84963 added:9 methods
Claus Gittinger <cg@exept.de>
parents: 13885
diff changeset
   563
0621bed84963 added:9 methods
Claus Gittinger <cg@exept.de>
parents: 13885
diff changeset
   564
    "Created: / 15-01-2012 / 14:27:21 / cg"
0621bed84963 added:9 methods
Claus Gittinger <cg@exept.de>
parents: 13885
diff changeset
   565
!
0621bed84963 added:9 methods
Claus Gittinger <cg@exept.de>
parents: 13885
diff changeset
   566
5790
83f92b49caae checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5784
diff changeset
   567
at:key put:value
83f92b49caae checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5784
diff changeset
   568
    |classNameToCheck classToCheck|
83f92b49caae checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5784
diff changeset
   569
13119
82da961e9fb2 changed: #at:put:
Claus Gittinger <cg@exept.de>
parents: 13103
diff changeset
   570
"/    key isSymbol ifFalse:[
82da961e9fb2 changed: #at:put:
Claus Gittinger <cg@exept.de>
parents: 13103
diff changeset
   571
"/        self halt.
82da961e9fb2 changed: #at:put:
Claus Gittinger <cg@exept.de>
parents: 13103
diff changeset
   572
"/        self at:key asSymbol put:value.
82da961e9fb2 changed: #at:put:
Claus Gittinger <cg@exept.de>
parents: 13103
diff changeset
   573
"/        ^ self
82da961e9fb2 changed: #at:put:
Claus Gittinger <cg@exept.de>
parents: 13103
diff changeset
   574
"/    ].
82da961e9fb2 changed: #at:put:
Claus Gittinger <cg@exept.de>
parents: 13103
diff changeset
   575
6059
e2cbd67e3d07 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 6019
diff changeset
   576
    value == true ifTrue:[
13119
82da961e9fb2 changed: #at:put:
Claus Gittinger <cg@exept.de>
parents: 13103
diff changeset
   577
        key == #useNewVersionDiffBrowser ifTrue:[
82da961e9fb2 changed: #at:put:
Claus Gittinger <cg@exept.de>
parents: 13103
diff changeset
   578
            classNameToCheck := #'VersionDiffBrowser'.
82da961e9fb2 changed: #at:put:
Claus Gittinger <cg@exept.de>
parents: 13103
diff changeset
   579
        ].
82da961e9fb2 changed: #at:put:
Claus Gittinger <cg@exept.de>
parents: 13103
diff changeset
   580
        key == #useNewChangesBrowser ifTrue:[
82da961e9fb2 changed: #at:put:
Claus Gittinger <cg@exept.de>
parents: 13103
diff changeset
   581
            classNameToCheck := #'NewChangesBrowser'.
82da961e9fb2 changed: #at:put:
Claus Gittinger <cg@exept.de>
parents: 13103
diff changeset
   582
        ].
82da961e9fb2 changed: #at:put:
Claus Gittinger <cg@exept.de>
parents: 13103
diff changeset
   583
        key == #useNewFileBrowser ifTrue:[
82da961e9fb2 changed: #at:put:
Claus Gittinger <cg@exept.de>
parents: 13103
diff changeset
   584
            classNameToCheck := #'FileBrowserV2'.
82da961e9fb2 changed: #at:put:
Claus Gittinger <cg@exept.de>
parents: 13103
diff changeset
   585
        ].
82da961e9fb2 changed: #at:put:
Claus Gittinger <cg@exept.de>
parents: 13103
diff changeset
   586
        key == #useNewSystemBrowser ifTrue:[
82da961e9fb2 changed: #at:put:
Claus Gittinger <cg@exept.de>
parents: 13103
diff changeset
   587
            classNameToCheck := #'Tools::NewSystemBrowser'.
82da961e9fb2 changed: #at:put:
Claus Gittinger <cg@exept.de>
parents: 13103
diff changeset
   588
        ].
82da961e9fb2 changed: #at:put:
Claus Gittinger <cg@exept.de>
parents: 13103
diff changeset
   589
        key == #useNewInspector ifTrue:[
82da961e9fb2 changed: #at:put:
Claus Gittinger <cg@exept.de>
parents: 13103
diff changeset
   590
            classNameToCheck := #'NewInspector::NewInspectorView'.
82da961e9fb2 changed: #at:put:
Claus Gittinger <cg@exept.de>
parents: 13103
diff changeset
   591
        ].
5790
83f92b49caae checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5784
diff changeset
   592
    ].
83f92b49caae checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5784
diff changeset
   593
5791
8e96850a568d checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5790
diff changeset
   594
    classNameToCheck notNil ifTrue:[
13119
82da961e9fb2 changed: #at:put:
Claus Gittinger <cg@exept.de>
parents: 13103
diff changeset
   595
        classToCheck := Smalltalk at:classNameToCheck.
82da961e9fb2 changed: #at:put:
Claus Gittinger <cg@exept.de>
parents: 13103
diff changeset
   596
        classToCheck isNil ifTrue:[
82da961e9fb2 changed: #at:put:
Claus Gittinger <cg@exept.de>
parents: 13103
diff changeset
   597
            ('UserPreferences [warning]: no class ' , classNameToCheck , ' class in system.') errorPrintCR.
82da961e9fb2 changed: #at:put:
Claus Gittinger <cg@exept.de>
parents: 13103
diff changeset
   598
        ] ifFalse:[
82da961e9fb2 changed: #at:put:
Claus Gittinger <cg@exept.de>
parents: 13103
diff changeset
   599
            Autoload autoloadFailedSignal handle:[:ex |
82da961e9fb2 changed: #at:put:
Claus Gittinger <cg@exept.de>
parents: 13103
diff changeset
   600
                'UserPreferences [warning]: autoload of ' , classNameToCheck , ' failed.' errorPrintCR.
82da961e9fb2 changed: #at:put:
Claus Gittinger <cg@exept.de>
parents: 13103
diff changeset
   601
            ] do:[
82da961e9fb2 changed: #at:put:
Claus Gittinger <cg@exept.de>
parents: 13103
diff changeset
   602
                classToCheck autoload.
82da961e9fb2 changed: #at:put:
Claus Gittinger <cg@exept.de>
parents: 13103
diff changeset
   603
            ]
82da961e9fb2 changed: #at:put:
Claus Gittinger <cg@exept.de>
parents: 13103
diff changeset
   604
        ]
5790
83f92b49caae checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5784
diff changeset
   605
    ].
83f92b49caae checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5784
diff changeset
   606
13941
0621bed84963 added:9 methods
Claus Gittinger <cg@exept.de>
parents: 13885
diff changeset
   607
    ^ super at:key asSymbol put:value
0621bed84963 added:9 methods
Claus Gittinger <cg@exept.de>
parents: 13885
diff changeset
   608
0621bed84963 added:9 methods
Claus Gittinger <cg@exept.de>
parents: 13885
diff changeset
   609
    "Modified: / 15-01-2012 / 14:26:53 / cg"
7549
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
   610
! !
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
   611
16467
2cd0253c75f1 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16466
diff changeset
   612
!UserPreferences methodsFor:'accessing-changes & history'!
2cd0253c75f1 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16466
diff changeset
   613
2cd0253c75f1 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16466
diff changeset
   614
changeFileName
2cd0253c75f1 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16466
diff changeset
   615
    "were to keep changes"
2cd0253c75f1 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16466
diff changeset
   616
2cd0253c75f1 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16466
diff changeset
   617
    ^self 
2cd0253c75f1 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16466
diff changeset
   618
        at: #'changeFileName'
2cd0253c75f1 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16466
diff changeset
   619
        ifAbsent: nil
2cd0253c75f1 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16466
diff changeset
   620
!
2cd0253c75f1 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16466
diff changeset
   621
2cd0253c75f1 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16466
diff changeset
   622
changeFileName:aFilename
2cd0253c75f1 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16466
diff changeset
   623
    "were to keep changes"
2cd0253c75f1 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16466
diff changeset
   624
2cd0253c75f1 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16466
diff changeset
   625
    self 
2cd0253c75f1 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16466
diff changeset
   626
        at: #'changeFileName'
2cd0253c75f1 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16466
diff changeset
   627
        put: aFilename.
2cd0253c75f1 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16466
diff changeset
   628
! !
16278
994fd5ae721e class: UserPreferences
Stefan Vogel <sv@exept.de>
parents: 16266
diff changeset
   629
16484
e16e77da9fcc class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16467
diff changeset
   630
14342
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
   631
!UserPreferences methodsFor:'accessing-locale'!
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
   632
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
   633
dateInputFormat
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
   634
    "return a format used when tools read a date from the user"
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
   635
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
   636
    ^ self 
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
   637
        at:#dateInputFormat 
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
   638
        ifAbsentPut:[
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
   639
            (self language == #en and:[ self languageTerritory ~= #en])
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
   640
                ifTrue:[ '%m %d %y' ]
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
   641
                ifFalse:[ '%d %m %y' ]
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
   642
        ]
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
   643
!
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
   644
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
   645
dateInputFormat:aFormatString
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
   646
    "return a format used when tools read a date from the user"
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
   647
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
   648
    ^ self 
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
   649
        at:#dateInputFormat 
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
   650
        ifAbsentPut:[
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
   651
            (self language == #en and:[ self languageTerritory ~= #en])
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
   652
                ifTrue:[ '%m %d %y' ]
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
   653
                ifFalse:[ '%d %m %y' ]
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
   654
        ]
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
   655
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
   656
    "
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
   657
     UserPreferences current dateInputFormat:'%d %m %y'  -- european
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
   658
     UserPreferences current dateInputFormat:'%m %d %y'  -- us
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
   659
    "
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
   660
!
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
   661
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
   662
decimalPointCharacter
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
   663
    "toDo: migrate from ClassVar in Number;
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
   664
     use this for new applications"
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
   665
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
   666
    ^ $.
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
   667
!
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
   668
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
   669
thousandsSeparatorCharacter
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
   670
    "toDo: migrate from ClassVar elsewhere;
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
   671
     use this for new applications"
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
   672
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
   673
    ^ $'
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
   674
! !
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
   675
14267
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   676
!UserPreferences methodsFor:'accessing-misc'!
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   677
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   678
selectorNamespacesEnabled
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   679
    "Return true, if selector namespaces support is enabled
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   680
     for this system. Note, that this method may return true
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   681
     even if selector namespaces are not supported by this system.
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   682
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   683
     This is rather user setting. To ask whether the selector namespaces
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   684
     support should be used, use:
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   685
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   686
        UserPreferences current selectorNamespacesSupportedAndEnabled
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   687
    "
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   688
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   689
    ^self at:#selectorNamespacesEnabled ifAbsent:[false].
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   690
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   691
    "
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   692
        UserPreferences current selectorNamespacesEnabled
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   693
        UserPreferences current selectorNamespacesSupportedAndEnabled
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   694
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   695
        UserPreferences current selectorNamespacesEnabled: true.
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   696
        UserPreferences current selectorNamespacesEnabled: false.
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   697
    "
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   698
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   699
    "Created: / 19-07-2012 / 15:26:04 / Jan Vrany <jan.vrany@fit.cvut.cz>"
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   700
!
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   701
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   702
selectorNamespacesEnabled: aBoolean
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   703
    "Enables/disables selector namespaces support for this system.
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   704
     Please note that even if selector namespaces are enabled here,
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   705
     they may not be supported by the system/VM.
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   706
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   707
     This is rather user setting. To ask whether the selector namespaces
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   708
     are supported use
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   709
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   710
        ConfigurableFeatures includesFeature:#SelectorNamespaces
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   711
    "
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   712
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   713
    self at:#selectorNamespacesEnabled put: aBoolean
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   714
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   715
    "
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   716
        UserPreferences current selectorNamespacesEnabled
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   717
        UserPreferences current selectorNamespacesSupportedAndEnabled
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   718
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   719
        UserPreferences current selectorNamespacesEnabled: true.
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   720
        UserPreferences current selectorNamespacesEnabled: false.
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   721
    "
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   722
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   723
    "Created: / 19-07-2012 / 15:27:48 / Jan Vrany <jan.vrany@fit.cvut.cz>"
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   724
!
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   725
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   726
selectorNamespacesSupportedAndEnabled
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   727
    "Return true, if selector namespaces are both enabled
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   728
     and supported by this system/VM, false otherwise
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   729
    "
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   730
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   731
    ^ (ConfigurableFeatures includesFeature:#SelectorNamespaces)
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   732
        and:[self selectorNamespacesEnabled]
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   733
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   734
    "
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   735
        UserPreferences current selectorNamespacesEnabled
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   736
        UserPreferences current selectorNamespacesSupportedAndEnabled
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   737
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   738
        UserPreferences current selectorNamespacesEnabled: true.
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   739
        UserPreferences current selectorNamespacesEnabled: false.
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   740
    "
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   741
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   742
    "Created: / 19-07-2012 / 15:32:35 / Jan Vrany <jan.vrany@fit.cvut.cz>"
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   743
! !
Claus Gittinger <cg@exept.de>
parents: 14258
diff changeset
   744
10723
6fb861a1e7fd smtpServer
Claus Gittinger <cg@exept.de>
parents: 10665
diff changeset
   745
!UserPreferences methodsFor:'accessing-misc-communication'!
6fb861a1e7fd smtpServer
Claus Gittinger <cg@exept.de>
parents: 10665
diff changeset
   746
11023
3a4668a789f9 dotNetBridge settings
Claus Gittinger <cg@exept.de>
parents: 11012
diff changeset
   747
dotNetBridgeRunsInIDE
11930
dafd3ec98be5 preps for javaBridge
Claus Gittinger <cg@exept.de>
parents: 11929
diff changeset
   748
    "a debugging flag: if true, the dotNetBridge is assumed to be
dafd3ec98be5 preps for javaBridge
Claus Gittinger <cg@exept.de>
parents: 11929
diff changeset
   749
     already running and the bridge-exe will not be started by st/x"
dafd3ec98be5 preps for javaBridge
Claus Gittinger <cg@exept.de>
parents: 11929
diff changeset
   750
11023
3a4668a789f9 dotNetBridge settings
Claus Gittinger <cg@exept.de>
parents: 11012
diff changeset
   751
    ^ self at:#dotNetBridgeRunsInIDE ifAbsent:false
3a4668a789f9 dotNetBridge settings
Claus Gittinger <cg@exept.de>
parents: 11012
diff changeset
   752
!
3a4668a789f9 dotNetBridge settings
Claus Gittinger <cg@exept.de>
parents: 11012
diff changeset
   753
3a4668a789f9 dotNetBridge settings
Claus Gittinger <cg@exept.de>
parents: 11012
diff changeset
   754
dotNetBridgeRunsInIDE:aBoolean
11930
dafd3ec98be5 preps for javaBridge
Claus Gittinger <cg@exept.de>
parents: 11929
diff changeset
   755
    "a debugging flag: if true, the dotNetBridge is assumed to be
dafd3ec98be5 preps for javaBridge
Claus Gittinger <cg@exept.de>
parents: 11929
diff changeset
   756
     already running and the bridge-exe will not be started by st/x"
dafd3ec98be5 preps for javaBridge
Claus Gittinger <cg@exept.de>
parents: 11929
diff changeset
   757
11023
3a4668a789f9 dotNetBridge settings
Claus Gittinger <cg@exept.de>
parents: 11012
diff changeset
   758
    ^ self at:#dotNetBridgeRunsInIDE put:aBoolean
3a4668a789f9 dotNetBridge settings
Claus Gittinger <cg@exept.de>
parents: 11012
diff changeset
   759
!
3a4668a789f9 dotNetBridge settings
Claus Gittinger <cg@exept.de>
parents: 11012
diff changeset
   760
3a4668a789f9 dotNetBridge settings
Claus Gittinger <cg@exept.de>
parents: 11012
diff changeset
   761
dotNetBridgeVerbose
3a4668a789f9 dotNetBridge settings
Claus Gittinger <cg@exept.de>
parents: 11012
diff changeset
   762
    ^ self at:#dotNetBridgeVerbose ifAbsent:false
11027
b7639c2fdeb5 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11024
diff changeset
   763
b7639c2fdeb5 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11024
diff changeset
   764
    "
b7639c2fdeb5 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11024
diff changeset
   765
     UserPreferences current dotNetBridgeVerbose
b7639c2fdeb5 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11024
diff changeset
   766
    "
11023
3a4668a789f9 dotNetBridge settings
Claus Gittinger <cg@exept.de>
parents: 11012
diff changeset
   767
!
3a4668a789f9 dotNetBridge settings
Claus Gittinger <cg@exept.de>
parents: 11012
diff changeset
   768
3a4668a789f9 dotNetBridge settings
Claus Gittinger <cg@exept.de>
parents: 11012
diff changeset
   769
dotNetBridgeVerbose:aBoolean
3a4668a789f9 dotNetBridge settings
Claus Gittinger <cg@exept.de>
parents: 11012
diff changeset
   770
    ^ self at:#dotNetBridgeVerbose put:aBoolean
3a4668a789f9 dotNetBridge settings
Claus Gittinger <cg@exept.de>
parents: 11012
diff changeset
   771
!
3a4668a789f9 dotNetBridge settings
Claus Gittinger <cg@exept.de>
parents: 11012
diff changeset
   772
11930
dafd3ec98be5 preps for javaBridge
Claus Gittinger <cg@exept.de>
parents: 11929
diff changeset
   773
javaBridgeRunsInIDE
dafd3ec98be5 preps for javaBridge
Claus Gittinger <cg@exept.de>
parents: 11929
diff changeset
   774
    "a debugging flag: if true, the javaBridge is assumed to be
dafd3ec98be5 preps for javaBridge
Claus Gittinger <cg@exept.de>
parents: 11929
diff changeset
   775
     already running and the bridge-exe will not be started by st/x"
dafd3ec98be5 preps for javaBridge
Claus Gittinger <cg@exept.de>
parents: 11929
diff changeset
   776
dafd3ec98be5 preps for javaBridge
Claus Gittinger <cg@exept.de>
parents: 11929
diff changeset
   777
    ^ self at:#javaBridgeRunsInIDE ifAbsent:false
dafd3ec98be5 preps for javaBridge
Claus Gittinger <cg@exept.de>
parents: 11929
diff changeset
   778
!
dafd3ec98be5 preps for javaBridge
Claus Gittinger <cg@exept.de>
parents: 11929
diff changeset
   779
dafd3ec98be5 preps for javaBridge
Claus Gittinger <cg@exept.de>
parents: 11929
diff changeset
   780
javaBridgeRunsInIDE:aBoolean
dafd3ec98be5 preps for javaBridge
Claus Gittinger <cg@exept.de>
parents: 11929
diff changeset
   781
    "a debugging flag: if true, the javaBridge is assumed to be
dafd3ec98be5 preps for javaBridge
Claus Gittinger <cg@exept.de>
parents: 11929
diff changeset
   782
     already running and the bridge-exe will not be started by st/x"
dafd3ec98be5 preps for javaBridge
Claus Gittinger <cg@exept.de>
parents: 11929
diff changeset
   783
dafd3ec98be5 preps for javaBridge
Claus Gittinger <cg@exept.de>
parents: 11929
diff changeset
   784
    ^ self at:#javaBridgeRunsInIDE put:aBoolean
dafd3ec98be5 preps for javaBridge
Claus Gittinger <cg@exept.de>
parents: 11929
diff changeset
   785
!
dafd3ec98be5 preps for javaBridge
Claus Gittinger <cg@exept.de>
parents: 11929
diff changeset
   786
12792
Claus Gittinger <cg@exept.de>
parents: 12774
diff changeset
   787
logHTTPRequests
Claus Gittinger <cg@exept.de>
parents: 12774
diff changeset
   788
    ^ self at:#logHTTPRequests ifAbsent:false
Claus Gittinger <cg@exept.de>
parents: 12774
diff changeset
   789
!
Claus Gittinger <cg@exept.de>
parents: 12774
diff changeset
   790
Claus Gittinger <cg@exept.de>
parents: 12774
diff changeset
   791
logHTTPRequests:aBoolean
Claus Gittinger <cg@exept.de>
parents: 12774
diff changeset
   792
    ^ self at:#logHTTPRequests put:aBoolean
Claus Gittinger <cg@exept.de>
parents: 12774
diff changeset
   793
Claus Gittinger <cg@exept.de>
parents: 12774
diff changeset
   794
    "
Claus Gittinger <cg@exept.de>
parents: 12774
diff changeset
   795
     UserPreferences current logHTTPRequests
Claus Gittinger <cg@exept.de>
parents: 12774
diff changeset
   796
     UserPreferences current logHTTPRequests:true
Claus Gittinger <cg@exept.de>
parents: 12774
diff changeset
   797
     UserPreferences current logHTTPRequests:false
Claus Gittinger <cg@exept.de>
parents: 12774
diff changeset
   798
    "
Claus Gittinger <cg@exept.de>
parents: 12774
diff changeset
   799
!
Claus Gittinger <cg@exept.de>
parents: 12774
diff changeset
   800
Claus Gittinger <cg@exept.de>
parents: 12774
diff changeset
   801
logSOAPRequests
12793
b01055f1932b changed:
Claus Gittinger <cg@exept.de>
parents: 12792
diff changeset
   802
    ^ (self soapLoggingLevel ? 0) > 0
12792
Claus Gittinger <cg@exept.de>
parents: 12774
diff changeset
   803
!
Claus Gittinger <cg@exept.de>
parents: 12774
diff changeset
   804
Claus Gittinger <cg@exept.de>
parents: 12774
diff changeset
   805
logSOAPRequests:aBoolean
12793
b01055f1932b changed:
Claus Gittinger <cg@exept.de>
parents: 12792
diff changeset
   806
    self soapLoggingLevel:(aBoolean ifTrue:3 ifFalse:0)
12792
Claus Gittinger <cg@exept.de>
parents: 12774
diff changeset
   807
Claus Gittinger <cg@exept.de>
parents: 12774
diff changeset
   808
    "
Claus Gittinger <cg@exept.de>
parents: 12774
diff changeset
   809
     UserPreferences current logSOAPRequests
Claus Gittinger <cg@exept.de>
parents: 12774
diff changeset
   810
     UserPreferences current logSOAPRequests:true
Claus Gittinger <cg@exept.de>
parents: 12774
diff changeset
   811
     UserPreferences current logSOAPRequests:false
Claus Gittinger <cg@exept.de>
parents: 12774
diff changeset
   812
    "
Claus Gittinger <cg@exept.de>
parents: 12774
diff changeset
   813
!
Claus Gittinger <cg@exept.de>
parents: 12774
diff changeset
   814
10723
6fb861a1e7fd smtpServer
Claus Gittinger <cg@exept.de>
parents: 10665
diff changeset
   815
smtpServerName
6fb861a1e7fd smtpServer
Claus Gittinger <cg@exept.de>
parents: 10665
diff changeset
   816
    ^ self at:#smtpServerName ifAbsent:nil
6fb861a1e7fd smtpServer
Claus Gittinger <cg@exept.de>
parents: 10665
diff changeset
   817
6fb861a1e7fd smtpServer
Claus Gittinger <cg@exept.de>
parents: 10665
diff changeset
   818
    "Created: / 20-09-2007 / 15:59:20 / cg"
6fb861a1e7fd smtpServer
Claus Gittinger <cg@exept.de>
parents: 10665
diff changeset
   819
!
6fb861a1e7fd smtpServer
Claus Gittinger <cg@exept.de>
parents: 10665
diff changeset
   820
6fb861a1e7fd smtpServer
Claus Gittinger <cg@exept.de>
parents: 10665
diff changeset
   821
smtpServerName:aHostnameString
6fb861a1e7fd smtpServer
Claus Gittinger <cg@exept.de>
parents: 10665
diff changeset
   822
    ^ self at:#smtpServerName put:aHostnameString
6fb861a1e7fd smtpServer
Claus Gittinger <cg@exept.de>
parents: 10665
diff changeset
   823
6fb861a1e7fd smtpServer
Claus Gittinger <cg@exept.de>
parents: 10665
diff changeset
   824
    "
6fb861a1e7fd smtpServer
Claus Gittinger <cg@exept.de>
parents: 10665
diff changeset
   825
     UserPreferences current smtpServerName
6fb861a1e7fd smtpServer
Claus Gittinger <cg@exept.de>
parents: 10665
diff changeset
   826
     UserPreferences current smtpServerName:'mailhost'
6fb861a1e7fd smtpServer
Claus Gittinger <cg@exept.de>
parents: 10665
diff changeset
   827
    "
6fb861a1e7fd smtpServer
Claus Gittinger <cg@exept.de>
parents: 10665
diff changeset
   828
6fb861a1e7fd smtpServer
Claus Gittinger <cg@exept.de>
parents: 10665
diff changeset
   829
    "Created: / 20-09-2007 / 15:59:58 / cg"
12562
Claus Gittinger <cg@exept.de>
parents: 12522
diff changeset
   830
!
Claus Gittinger <cg@exept.de>
parents: 12522
diff changeset
   831
12563
Claus Gittinger <cg@exept.de>
parents: 12562
diff changeset
   832
soapErrorDebugging
Claus Gittinger <cg@exept.de>
parents: 12562
diff changeset
   833
    "open a debugger on error, or report it as a soap-error"
Claus Gittinger <cg@exept.de>
parents: 12562
diff changeset
   834
Claus Gittinger <cg@exept.de>
parents: 12562
diff changeset
   835
    ^ self at:#soapErrorDebugging ifAbsent:false
Claus Gittinger <cg@exept.de>
parents: 12562
diff changeset
   836
!
Claus Gittinger <cg@exept.de>
parents: 12562
diff changeset
   837
Claus Gittinger <cg@exept.de>
parents: 12562
diff changeset
   838
soapErrorDebugging:aBoolean
Claus Gittinger <cg@exept.de>
parents: 12562
diff changeset
   839
    "open a debugger on error, or report it as a soap-error"
Claus Gittinger <cg@exept.de>
parents: 12562
diff changeset
   840
    ^ self at:#soapErrorDebugging put:aBoolean
12774
3d5e2c85faef comment/format in: #soapErrorDebugging:
Claus Gittinger <cg@exept.de>
parents: 12619
diff changeset
   841
3d5e2c85faef comment/format in: #soapErrorDebugging:
Claus Gittinger <cg@exept.de>
parents: 12619
diff changeset
   842
    "
3d5e2c85faef comment/format in: #soapErrorDebugging:
Claus Gittinger <cg@exept.de>
parents: 12619
diff changeset
   843
     UserPreferences current soapErrorDebugging:true
3d5e2c85faef comment/format in: #soapErrorDebugging:
Claus Gittinger <cg@exept.de>
parents: 12619
diff changeset
   844
    "
12563
Claus Gittinger <cg@exept.de>
parents: 12562
diff changeset
   845
!
Claus Gittinger <cg@exept.de>
parents: 12562
diff changeset
   846
12562
Claus Gittinger <cg@exept.de>
parents: 12522
diff changeset
   847
soapLoggingLevel
Claus Gittinger <cg@exept.de>
parents: 12522
diff changeset
   848
    ^ self at:#soapLoggingLevel ifAbsent:nil
Claus Gittinger <cg@exept.de>
parents: 12522
diff changeset
   849
!
Claus Gittinger <cg@exept.de>
parents: 12522
diff changeset
   850
Claus Gittinger <cg@exept.de>
parents: 12522
diff changeset
   851
soapLoggingLevel:anIntegerBetween0_and_3
Claus Gittinger <cg@exept.de>
parents: 12522
diff changeset
   852
    ^ self at:#soapLoggingLevel put:anIntegerBetween0_and_3
13884
Claus Gittinger <cg@exept.de>
parents: 13722
diff changeset
   853
!
Claus Gittinger <cg@exept.de>
parents: 13722
diff changeset
   854
Claus Gittinger <cg@exept.de>
parents: 13722
diff changeset
   855
socksProxyHost
Claus Gittinger <cg@exept.de>
parents: 13722
diff changeset
   856
    ^ self at:#socksProxyHost ifAbsent:nil
Claus Gittinger <cg@exept.de>
parents: 13722
diff changeset
   857
Claus Gittinger <cg@exept.de>
parents: 13722
diff changeset
   858
    "Created: / 27-12-2011 / 14:40:27 / cg"
Claus Gittinger <cg@exept.de>
parents: 13722
diff changeset
   859
!
Claus Gittinger <cg@exept.de>
parents: 13722
diff changeset
   860
13885
Claus Gittinger <cg@exept.de>
parents: 13884
diff changeset
   861
socksProxyHost:aString
Claus Gittinger <cg@exept.de>
parents: 13884
diff changeset
   862
    ^ self at:#socksProxyHost put:aString
Claus Gittinger <cg@exept.de>
parents: 13884
diff changeset
   863
Claus Gittinger <cg@exept.de>
parents: 13884
diff changeset
   864
    "Created: / 27-12-2011 / 14:42:15 / cg"
Claus Gittinger <cg@exept.de>
parents: 13884
diff changeset
   865
!
Claus Gittinger <cg@exept.de>
parents: 13884
diff changeset
   866
13884
Claus Gittinger <cg@exept.de>
parents: 13722
diff changeset
   867
socksProxyPort
Claus Gittinger <cg@exept.de>
parents: 13722
diff changeset
   868
    ^ self at:#socksProxyPort ifAbsent:nil
Claus Gittinger <cg@exept.de>
parents: 13722
diff changeset
   869
Claus Gittinger <cg@exept.de>
parents: 13722
diff changeset
   870
    "Created: / 27-12-2011 / 14:40:32 / cg"
13885
Claus Gittinger <cg@exept.de>
parents: 13884
diff changeset
   871
!
Claus Gittinger <cg@exept.de>
parents: 13884
diff changeset
   872
Claus Gittinger <cg@exept.de>
parents: 13884
diff changeset
   873
socksProxyPort:aNumber
Claus Gittinger <cg@exept.de>
parents: 13884
diff changeset
   874
    ^ self at:#socksProxyPort put:aNumber
Claus Gittinger <cg@exept.de>
parents: 13884
diff changeset
   875
Claus Gittinger <cg@exept.de>
parents: 13884
diff changeset
   876
    "Created: / 27-12-2011 / 14:42:29 / cg"
10723
6fb861a1e7fd smtpServer
Claus Gittinger <cg@exept.de>
parents: 10665
diff changeset
   877
! !
6fb861a1e7fd smtpServer
Claus Gittinger <cg@exept.de>
parents: 10665
diff changeset
   878
7549
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
   879
!UserPreferences methodsFor:'accessing-pref''d tools'!
5790
83f92b49caae checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5784
diff changeset
   880
13477
2cf9f960c33e added: #changeSetBrowserClass
Claus Gittinger <cg@exept.de>
parents: 13470
diff changeset
   881
changeSetBrowserClass
15960
fec5ba031704 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15925
diff changeset
   882
fec5ba031704 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15925
diff changeset
   883
    | class className |
fec5ba031704 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15925
diff changeset
   884
fec5ba031704 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15925
diff changeset
   885
    className := self at: #changeSetBrowserClassName ifAbsent:[nil].
fec5ba031704 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15925
diff changeset
   886
    className notNil ifTrue:[
fec5ba031704 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15925
diff changeset
   887
        class := Smalltalk at: className asSymbol.
fec5ba031704 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15925
diff changeset
   888
        class notNil ifTrue:[ ^ class ].
fec5ba031704 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15925
diff changeset
   889
    ].
fec5ba031704 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15925
diff changeset
   890
fec5ba031704 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15925
diff changeset
   891
    "Original code"
fec5ba031704 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15925
diff changeset
   892
    ^ ChangeSetBrowser.
fec5ba031704 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15925
diff changeset
   893
    "/^ Tools::ChangeSetBrowser2 ? ChangeSetBrowser
14252
Claus Gittinger <cg@exept.de>
parents: 14160
diff changeset
   894
Claus Gittinger <cg@exept.de>
parents: 14160
diff changeset
   895
    self useNewChangeSetBrowser ifTrue:[
Claus Gittinger <cg@exept.de>
parents: 14160
diff changeset
   896
        ^ Tools::ChangeSetBrowser2 ? ChangeSetBrowser
Claus Gittinger <cg@exept.de>
parents: 14160
diff changeset
   897
    ].
15893
50cd1937359d class: UserPreferences
sr
parents: 15865
diff changeset
   898
    ^ ChangeSetBrowser ? Tools::ChangeSetBrowser2
14252
Claus Gittinger <cg@exept.de>
parents: 14160
diff changeset
   899
Claus Gittinger <cg@exept.de>
parents: 14160
diff changeset
   900
    "
Claus Gittinger <cg@exept.de>
parents: 14160
diff changeset
   901
     self current changeSetBrowserClass
Claus Gittinger <cg@exept.de>
parents: 14160
diff changeset
   902
    "
13477
2cf9f960c33e added: #changeSetBrowserClass
Claus Gittinger <cg@exept.de>
parents: 13470
diff changeset
   903
2cf9f960c33e added: #changeSetBrowserClass
Claus Gittinger <cg@exept.de>
parents: 13470
diff changeset
   904
    "Created: / 01-07-2011 / 16:33:13 / cg"
13523
03ec11a75c9d changed: #changeSetBrowserClass
sr
parents: 13522
diff changeset
   905
    "Modified: / 25-07-2011 / 12:21:42 / sr"
15960
fec5ba031704 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15925
diff changeset
   906
    "Modified: / 25-01-2012 / 17:11:08 / Jan Vrany <jan.vrany@fit.cvut.cz>"
fec5ba031704 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15925
diff changeset
   907
!
fec5ba031704 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15925
diff changeset
   908
fec5ba031704 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15925
diff changeset
   909
changeSetBrowserClass: aClass
fec5ba031704 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15925
diff changeset
   910
fec5ba031704 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15925
diff changeset
   911
    self at: #changeSetBrowserClassName put: aClass name.
fec5ba031704 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15925
diff changeset
   912
fec5ba031704 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15925
diff changeset
   913
    "
fec5ba031704 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15925
diff changeset
   914
        UserPreferences current changeSetBrowserClass
fec5ba031704 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15925
diff changeset
   915
        UserPreferences current changeSetBrowserClass: Tools::ChangeSetBrowser2.
fec5ba031704 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15925
diff changeset
   916
        UserPreferences current changeSetBrowserClass: ChangeSetBrowser.
fec5ba031704 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15925
diff changeset
   917
    "
fec5ba031704 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15925
diff changeset
   918
fec5ba031704 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15925
diff changeset
   919
    "Created: / 25-01-2012 / 17:08:45 / Jan Vrany <jan.vrany@fit.cvut.cz>"
13477
2cf9f960c33e added: #changeSetBrowserClass
Claus Gittinger <cg@exept.de>
parents: 13470
diff changeset
   920
!
2cf9f960c33e added: #changeSetBrowserClass
Claus Gittinger <cg@exept.de>
parents: 13470
diff changeset
   921
3883
8e0771f4a196 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3875
diff changeset
   922
changesBrowserClass
14252
Claus Gittinger <cg@exept.de>
parents: 14160
diff changeset
   923
    "the browser to be used for the changeFile"
Claus Gittinger <cg@exept.de>
parents: 14160
diff changeset
   924
15960
fec5ba031704 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15925
diff changeset
   925
    | class className |
fec5ba031704 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15925
diff changeset
   926
fec5ba031704 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15925
diff changeset
   927
    className := self at: #changesBrowserClassName ifAbsent:[nil].
fec5ba031704 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15925
diff changeset
   928
    className notNil ifTrue:[
fec5ba031704 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15925
diff changeset
   929
        class := Smalltalk at: className asSymbol.
fec5ba031704 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15925
diff changeset
   930
        class notNil ifTrue:[ ^ class ].
fec5ba031704 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15925
diff changeset
   931
    ].
fec5ba031704 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15925
diff changeset
   932
fec5ba031704 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15925
diff changeset
   933
    "/ Old code
3883
8e0771f4a196 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3875
diff changeset
   934
    self useNewChangesBrowser ifTrue:[
14252
Claus Gittinger <cg@exept.de>
parents: 14160
diff changeset
   935
        ^ (NewChangesBrowser ? ChangesBrowser)
3883
8e0771f4a196 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3875
diff changeset
   936
    ].
8e0771f4a196 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3875
diff changeset
   937
    ^ ChangesBrowser
8e0771f4a196 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3875
diff changeset
   938
14252
Claus Gittinger <cg@exept.de>
parents: 14160
diff changeset
   939
    "Created: / 17-10-1998 / 14:37:46 / cg"
15960
fec5ba031704 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15925
diff changeset
   940
    "Modified: / 25-01-2012 / 17:11:55 / Jan Vrany <jan.vrany@fit.cvut.cz>"
fec5ba031704 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15925
diff changeset
   941
!
fec5ba031704 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15925
diff changeset
   942
fec5ba031704 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15925
diff changeset
   943
changesBrowserClass: aClass
fec5ba031704 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15925
diff changeset
   944
fec5ba031704 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15925
diff changeset
   945
    self at: #changesBrowserClassName put: aClass name.
fec5ba031704 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15925
diff changeset
   946
fec5ba031704 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15925
diff changeset
   947
    "
fec5ba031704 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15925
diff changeset
   948
        UserPreferences current changesBrowserClass
fec5ba031704 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15925
diff changeset
   949
        UserPreferences current changesBrowserClass: Tools::ChangeSetBrowser2.
fec5ba031704 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15925
diff changeset
   950
        UserPreferences current changesBrowserClass: ChangeSetBrowser.
fec5ba031704 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15925
diff changeset
   951
    "
fec5ba031704 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15925
diff changeset
   952
fec5ba031704 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15925
diff changeset
   953
    "Created: / 25-01-2012 / 17:12:15 / Jan Vrany <jan.vrany@fit.cvut.cz>"
5535
361c7dd4c2bb category change
Claus Gittinger <cg@exept.de>
parents: 5516
diff changeset
   954
!
361c7dd4c2bb category change
Claus Gittinger <cg@exept.de>
parents: 5516
diff changeset
   955
14735
928c076e96b9 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14734
diff changeset
   956
externalDiffCommandTemplate
928c076e96b9 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14734
diff changeset
   957
    "the external command to use for diff"
928c076e96b9 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14734
diff changeset
   958
928c076e96b9 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14734
diff changeset
   959
    ^ self 
928c076e96b9 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14734
diff changeset
   960
        at:#externalDiffCommandTemplate 
928c076e96b9 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14734
diff changeset
   961
        ifAbsent:[
928c076e96b9 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14734
diff changeset
   962
            OperatingSystem isMSDOSlike ifTrue:[
928c076e96b9 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14734
diff changeset
   963
                'diff %1 %2'
928c076e96b9 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14734
diff changeset
   964
            ] ifFalse:[
928c076e96b9 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14734
diff changeset
   965
                'diff -b %1 %2'
928c076e96b9 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14734
diff changeset
   966
            ]
928c076e96b9 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14734
diff changeset
   967
        ]
928c076e96b9 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14734
diff changeset
   968
14736
6f662581a5de class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14735
diff changeset
   969
    "
6f662581a5de class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14735
diff changeset
   970
     UserPreferences current externalDiffCommandTemplate
6f662581a5de class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14735
diff changeset
   971
    "
6f662581a5de class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14735
diff changeset
   972
14735
928c076e96b9 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14734
diff changeset
   973
    "Modified: / 13-10-1998 / 15:53:05 / cg"
928c076e96b9 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14734
diff changeset
   974
    "Created: / 26-07-2012 / 15:06:31 / cg"
928c076e96b9 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14734
diff changeset
   975
!
928c076e96b9 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14734
diff changeset
   976
928c076e96b9 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14734
diff changeset
   977
externalDiffCommandTemplate:aString
928c076e96b9 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14734
diff changeset
   978
    "the external command to use for diff.
928c076e96b9 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14734
diff changeset
   979
     The default is 'diff %1 %2' on msdos and 'diff -b %1 %2' on unix"
928c076e96b9 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14734
diff changeset
   980
928c076e96b9 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14734
diff changeset
   981
    self at:#externalDiffCommandTemplate put:aString
928c076e96b9 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14734
diff changeset
   982
928c076e96b9 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14734
diff changeset
   983
    "
928c076e96b9 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14734
diff changeset
   984
     UserPreferences current externalDiffCommandTemplate
928c076e96b9 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14734
diff changeset
   985
    "
928c076e96b9 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14734
diff changeset
   986
!
928c076e96b9 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14734
diff changeset
   987
6177
ffdc0e8dc4c0 inspector
Claus Gittinger <cg@exept.de>
parents: 6171
diff changeset
   988
inspectorClassSetting
ffdc0e8dc4c0 inspector
Claus Gittinger <cg@exept.de>
parents: 6171
diff changeset
   989
    self useNewInspector ifTrue:[
11143
3712ab6b344b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11064
diff changeset
   990
	^ (NewInspector::NewInspectorView ? InspectorView)
6177
ffdc0e8dc4c0 inspector
Claus Gittinger <cg@exept.de>
parents: 6171
diff changeset
   991
    ].
ffdc0e8dc4c0 inspector
Claus Gittinger <cg@exept.de>
parents: 6171
diff changeset
   992
    ^ InspectorView
ffdc0e8dc4c0 inspector
Claus Gittinger <cg@exept.de>
parents: 6171
diff changeset
   993
ffdc0e8dc4c0 inspector
Claus Gittinger <cg@exept.de>
parents: 6171
diff changeset
   994
    "Modified: / 12.11.2001 / 15:47:35 / cg"
ffdc0e8dc4c0 inspector
Claus Gittinger <cg@exept.de>
parents: 6171
diff changeset
   995
    "Created: / 12.11.2001 / 15:49:00 / cg"
5541
057aef033483 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5536
diff changeset
   996
!
057aef033483 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5536
diff changeset
   997
11005
72032eb19a6b tip of the day
Claus Gittinger <cg@exept.de>
parents: 10992
diff changeset
   998
showTipOfTheDayAtStartup
72032eb19a6b tip of the day
Claus Gittinger <cg@exept.de>
parents: 10992
diff changeset
   999
    ^ self at:#showTipOfTheDayAtStartup ifAbsent:false
72032eb19a6b tip of the day
Claus Gittinger <cg@exept.de>
parents: 10992
diff changeset
  1000
!
72032eb19a6b tip of the day
Claus Gittinger <cg@exept.de>
parents: 10992
diff changeset
  1001
72032eb19a6b tip of the day
Claus Gittinger <cg@exept.de>
parents: 10992
diff changeset
  1002
showTipOfTheDayAtStartup:aBoolean
72032eb19a6b tip of the day
Claus Gittinger <cg@exept.de>
parents: 10992
diff changeset
  1003
    self at:#showTipOfTheDayAtStartup put:aBoolean.
72032eb19a6b tip of the day
Claus Gittinger <cg@exept.de>
parents: 10992
diff changeset
  1004
!
72032eb19a6b tip of the day
Claus Gittinger <cg@exept.de>
parents: 10992
diff changeset
  1005
5535
361c7dd4c2bb category change
Claus Gittinger <cg@exept.de>
parents: 5516
diff changeset
  1006
systemBrowserClass
361c7dd4c2bb category change
Claus Gittinger <cg@exept.de>
parents: 5516
diff changeset
  1007
    self useNewSystemBrowser ifTrue:[
11143
3712ab6b344b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11064
diff changeset
  1008
	^ ((Tools::NewSystemBrowser ? NewSystemBrowser) ? SystemBrowser)
5535
361c7dd4c2bb category change
Claus Gittinger <cg@exept.de>
parents: 5516
diff changeset
  1009
    ].
361c7dd4c2bb category change
Claus Gittinger <cg@exept.de>
parents: 5516
diff changeset
  1010
    ^ SystemBrowser
5536
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1011
!
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1012
13502
600830578bae added: #testRunnerClass
Claus Gittinger <cg@exept.de>
parents: 13501
diff changeset
  1013
testRunnerClass
600830578bae added: #testRunnerClass
Claus Gittinger <cg@exept.de>
parents: 13501
diff changeset
  1014
    self useTestRunner2 ifTrue:[
600830578bae added: #testRunnerClass
Claus Gittinger <cg@exept.de>
parents: 13501
diff changeset
  1015
        ^ Tools::TestRunner2 ? TestRunner
600830578bae added: #testRunnerClass
Claus Gittinger <cg@exept.de>
parents: 13501
diff changeset
  1016
    ].
600830578bae added: #testRunnerClass
Claus Gittinger <cg@exept.de>
parents: 13501
diff changeset
  1017
    ^ TestRunner
600830578bae added: #testRunnerClass
Claus Gittinger <cg@exept.de>
parents: 13501
diff changeset
  1018
600830578bae added: #testRunnerClass
Claus Gittinger <cg@exept.de>
parents: 13501
diff changeset
  1019
    "Created: / 06-07-2011 / 13:55:03 / cg"
600830578bae added: #testRunnerClass
Claus Gittinger <cg@exept.de>
parents: 13501
diff changeset
  1020
!
600830578bae added: #testRunnerClass
Claus Gittinger <cg@exept.de>
parents: 13501
diff changeset
  1021
13486
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
  1022
useInspector2
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
  1023
    "using brand new or old inspector"
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
  1024
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
  1025
    ^ self at:#useInspector2 ifAbsent:false
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
  1026
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
  1027
    "
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
  1028
     UserPreferences current useInspector2
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
  1029
    "
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
  1030
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
  1031
    "Modified: / 17-10-1998 / 14:45:12 / cg"
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
  1032
    "Created: / 03-07-2011 / 22:35:50 / cg"
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
  1033
!
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
  1034
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
  1035
useInspector2:aBoolean
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
  1036
    "using very new or old inspector"
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
  1037
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
  1038
    self at:#useInspector2 put:aBoolean
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
  1039
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
  1040
    "
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
  1041
     UserPreferences current useInspector2
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
  1042
    "
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
  1043
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
  1044
    "Created: / 03-07-2011 / 22:36:13 / cg"
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
  1045
!
Claus Gittinger <cg@exept.de>
parents: 13477
diff changeset
  1046
10924
aab0b298ebf9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10887
diff changeset
  1047
useNativeFileDialog
13047
a81c5a240b3a added:10 methods
sr
parents: 12949
diff changeset
  1048
    ^ self nativeFileDialogs
a81c5a240b3a added:10 methods
sr
parents: 12949
diff changeset
  1049
a81c5a240b3a added:10 methods
sr
parents: 12949
diff changeset
  1050
    "Modified: / 24-08-2010 / 17:02:10 / sr"
10924
aab0b298ebf9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10887
diff changeset
  1051
!
aab0b298ebf9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10887
diff changeset
  1052
aab0b298ebf9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10887
diff changeset
  1053
useNativeFileDialog:aBoolean
13047
a81c5a240b3a added:10 methods
sr
parents: 12949
diff changeset
  1054
    self nativeFileDialogs:aBoolean
a81c5a240b3a added:10 methods
sr
parents: 12949
diff changeset
  1055
a81c5a240b3a added:10 methods
sr
parents: 12949
diff changeset
  1056
    "Modified: / 24-08-2010 / 17:02:13 / sr"
10924
aab0b298ebf9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10887
diff changeset
  1057
!
aab0b298ebf9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10887
diff changeset
  1058
14252
Claus Gittinger <cg@exept.de>
parents: 14160
diff changeset
  1059
useNewChangeSetBrowser
Claus Gittinger <cg@exept.de>
parents: 14160
diff changeset
  1060
    "using old or jan's changeSetBrowser for package diffs"
Claus Gittinger <cg@exept.de>
parents: 14160
diff changeset
  1061
Claus Gittinger <cg@exept.de>
parents: 14160
diff changeset
  1062
    ^ self at:#useNewChangeSetBrowser ifAbsent:false
Claus Gittinger <cg@exept.de>
parents: 14160
diff changeset
  1063
Claus Gittinger <cg@exept.de>
parents: 14160
diff changeset
  1064
    "Modified: / 13-10-1998 / 15:53:05 / cg"
Claus Gittinger <cg@exept.de>
parents: 14160
diff changeset
  1065
    "Created: / 26-07-2012 / 15:06:31 / cg"
Claus Gittinger <cg@exept.de>
parents: 14160
diff changeset
  1066
!
Claus Gittinger <cg@exept.de>
parents: 14160
diff changeset
  1067
Claus Gittinger <cg@exept.de>
parents: 14160
diff changeset
  1068
useNewChangeSetBrowser:aBoolean
Claus Gittinger <cg@exept.de>
parents: 14160
diff changeset
  1069
    "using old or jan's changeSetBrowser for package diffs"
Claus Gittinger <cg@exept.de>
parents: 14160
diff changeset
  1070
Claus Gittinger <cg@exept.de>
parents: 14160
diff changeset
  1071
    ^ self at:#useNewChangeSetBrowser put:aBoolean
Claus Gittinger <cg@exept.de>
parents: 14160
diff changeset
  1072
Claus Gittinger <cg@exept.de>
parents: 14160
diff changeset
  1073
    "Created: / 26-07-2012 / 15:06:50 / cg"
Claus Gittinger <cg@exept.de>
parents: 14160
diff changeset
  1074
!
Claus Gittinger <cg@exept.de>
parents: 14160
diff changeset
  1075
5536
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1076
useNewChangesBrowser
14252
Claus Gittinger <cg@exept.de>
parents: 14160
diff changeset
  1077
    "using new or old change browser for the changes file"
5536
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1078
9302
f3dae8816824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9286
diff changeset
  1079
    ^ self at:#useNewChangesBrowser ifAbsent:false
5536
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1080
14252
Claus Gittinger <cg@exept.de>
parents: 14160
diff changeset
  1081
    "Modified: / 13-10-1998 / 15:53:05 / cg"
Claus Gittinger <cg@exept.de>
parents: 14160
diff changeset
  1082
    "Modified (comment): / 26-07-2012 / 15:04:37 / cg"
5536
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1083
!
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1084
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1085
useNewChangesBrowser:aBoolean
14252
Claus Gittinger <cg@exept.de>
parents: 14160
diff changeset
  1086
    "using new or old changeBrowser for the changes file"
5536
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1087
5784
c6458c4f3c49 oops - usage of new tools could not be turned off
Claus Gittinger <cg@exept.de>
parents: 5712
diff changeset
  1088
    self at:#useNewChangesBrowser put:aBoolean
5536
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1089
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1090
    "
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1091
     UserPreferences current useNewChangesBrowser
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1092
    "
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1093
14252
Claus Gittinger <cg@exept.de>
parents: 14160
diff changeset
  1094
    "Modified: / 13-10-1998 / 15:53:21 / cg"
Claus Gittinger <cg@exept.de>
parents: 14160
diff changeset
  1095
    "Modified (comment): / 26-07-2012 / 15:04:39 / cg"
5536
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1096
!
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1097
6717
680a8f3f8c4d add new fileBrowser in tool settings
penk
parents: 6666
diff changeset
  1098
useNewFileBrowser
680a8f3f8c4d add new fileBrowser in tool settings
penk
parents: 6666
diff changeset
  1099
    "using new or old version diff viewer"
680a8f3f8c4d add new fileBrowser in tool settings
penk
parents: 6666
diff changeset
  1100
9302
f3dae8816824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9286
diff changeset
  1101
    ^ self at:#useNewFileBrowser ifAbsent:(FileBrowserV2 notNil and:[FileBrowserV2 isLoaded])
6717
680a8f3f8c4d add new fileBrowser in tool settings
penk
parents: 6666
diff changeset
  1102
680a8f3f8c4d add new fileBrowser in tool settings
penk
parents: 6666
diff changeset
  1103
    "Modified: / 13.10.1998 / 15:53:05 / cg"
680a8f3f8c4d add new fileBrowser in tool settings
penk
parents: 6666
diff changeset
  1104
!
680a8f3f8c4d add new fileBrowser in tool settings
penk
parents: 6666
diff changeset
  1105
680a8f3f8c4d add new fileBrowser in tool settings
penk
parents: 6666
diff changeset
  1106
useNewFileBrowser:aBoolean
6765
446b64493274 use newFileDialog preferences added and FileBrowserV2 class name changed
penk
parents: 6763
diff changeset
  1107
    "using new or old file browser"
6717
680a8f3f8c4d add new fileBrowser in tool settings
penk
parents: 6666
diff changeset
  1108
680a8f3f8c4d add new fileBrowser in tool settings
penk
parents: 6666
diff changeset
  1109
    self at:#useNewFileBrowser put:aBoolean
680a8f3f8c4d add new fileBrowser in tool settings
penk
parents: 6666
diff changeset
  1110
680a8f3f8c4d add new fileBrowser in tool settings
penk
parents: 6666
diff changeset
  1111
    "
6769
8cd2d038bfc6 *** empty log message ***
penk
parents: 6767
diff changeset
  1112
     UserPreferences current useNewFileBrowser
6717
680a8f3f8c4d add new fileBrowser in tool settings
penk
parents: 6666
diff changeset
  1113
    "
680a8f3f8c4d add new fileBrowser in tool settings
penk
parents: 6666
diff changeset
  1114
680a8f3f8c4d add new fileBrowser in tool settings
penk
parents: 6666
diff changeset
  1115
    "Modified: / 13.10.1998 / 15:53:21 / cg"
680a8f3f8c4d add new fileBrowser in tool settings
penk
parents: 6666
diff changeset
  1116
!
680a8f3f8c4d add new fileBrowser in tool settings
penk
parents: 6666
diff changeset
  1117
6765
446b64493274 use newFileDialog preferences added and FileBrowserV2 class name changed
penk
parents: 6763
diff changeset
  1118
useNewFileDialog
446b64493274 use newFileDialog preferences added and FileBrowserV2 class name changed
penk
parents: 6763
diff changeset
  1119
    "using new or old file dialog"
446b64493274 use newFileDialog preferences added and FileBrowserV2 class name changed
penk
parents: 6763
diff changeset
  1120
9302
f3dae8816824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9286
diff changeset
  1121
    ^ self at:#useNewFileDialog ifAbsent:true
13973
c5f0893cbb11 comment/format in: #useNewFileDialog
Claus Gittinger <cg@exept.de>
parents: 13967
diff changeset
  1122
c5f0893cbb11 comment/format in: #useNewFileDialog
Claus Gittinger <cg@exept.de>
parents: 13967
diff changeset
  1123
    "
c5f0893cbb11 comment/format in: #useNewFileDialog
Claus Gittinger <cg@exept.de>
parents: 13967
diff changeset
  1124
     UserPreferences current useNewFileDialog:false
c5f0893cbb11 comment/format in: #useNewFileDialog
Claus Gittinger <cg@exept.de>
parents: 13967
diff changeset
  1125
     UserPreferences current useNewFileDialog:true
c5f0893cbb11 comment/format in: #useNewFileDialog
Claus Gittinger <cg@exept.de>
parents: 13967
diff changeset
  1126
    "
c5f0893cbb11 comment/format in: #useNewFileDialog
Claus Gittinger <cg@exept.de>
parents: 13967
diff changeset
  1127
c5f0893cbb11 comment/format in: #useNewFileDialog
Claus Gittinger <cg@exept.de>
parents: 13967
diff changeset
  1128
    "Modified (comment): / 23-01-2012 / 17:25:01 / cg"
6765
446b64493274 use newFileDialog preferences added and FileBrowserV2 class name changed
penk
parents: 6763
diff changeset
  1129
!
446b64493274 use newFileDialog preferences added and FileBrowserV2 class name changed
penk
parents: 6763
diff changeset
  1130
446b64493274 use newFileDialog preferences added and FileBrowserV2 class name changed
penk
parents: 6763
diff changeset
  1131
useNewFileDialog:aBoolean
446b64493274 use newFileDialog preferences added and FileBrowserV2 class name changed
penk
parents: 6763
diff changeset
  1132
    "using new or old file dialog"
446b64493274 use newFileDialog preferences added and FileBrowserV2 class name changed
penk
parents: 6763
diff changeset
  1133
446b64493274 use newFileDialog preferences added and FileBrowserV2 class name changed
penk
parents: 6763
diff changeset
  1134
    self at:#useNewFileDialog put:aBoolean
446b64493274 use newFileDialog preferences added and FileBrowserV2 class name changed
penk
parents: 6763
diff changeset
  1135
446b64493274 use newFileDialog preferences added and FileBrowserV2 class name changed
penk
parents: 6763
diff changeset
  1136
    "
446b64493274 use newFileDialog preferences added and FileBrowserV2 class name changed
penk
parents: 6763
diff changeset
  1137
     UserPreferences current useNewFileDialog:true
446b64493274 use newFileDialog preferences added and FileBrowserV2 class name changed
penk
parents: 6763
diff changeset
  1138
    "
446b64493274 use newFileDialog preferences added and FileBrowserV2 class name changed
penk
parents: 6763
diff changeset
  1139
!
446b64493274 use newFileDialog preferences added and FileBrowserV2 class name changed
penk
parents: 6763
diff changeset
  1140
5536
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1141
useNewInspector
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1142
    "using new or old inspector"
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1143
9302
f3dae8816824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9286
diff changeset
  1144
    ^ self at:#useNewInspector ifAbsent:false
5536
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1145
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1146
    "
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1147
     UserPreferences current useNewInspector
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1148
    "
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1149
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1150
    "Modified: / 17.10.1998 / 14:45:12 / cg"
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1151
!
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1152
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1153
useNewInspector:aBoolean
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1154
    "using new or old inspector"
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1155
5784
c6458c4f3c49 oops - usage of new tools could not be turned off
Claus Gittinger <cg@exept.de>
parents: 5712
diff changeset
  1156
    self at:#useNewInspector put:aBoolean
5536
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1157
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1158
    "
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1159
     UserPreferences current useNewInspector
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1160
    "
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1161
!
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1162
6935
7cc9b6a59299 change accessor 'type in error'
penk
parents: 6928
diff changeset
  1163
useNewSettingsApplication
6838
26d49b3a22c9 add preferences for use new settings
penk
parents: 6832
diff changeset
  1164
    "using one application for the settings"
26d49b3a22c9 add preferences for use new settings
penk
parents: 6832
diff changeset
  1165
9302
f3dae8816824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9286
diff changeset
  1166
    ^ self at:#useNewSettingsApplication ifAbsent:true
6838
26d49b3a22c9 add preferences for use new settings
penk
parents: 6832
diff changeset
  1167
!
26d49b3a22c9 add preferences for use new settings
penk
parents: 6832
diff changeset
  1168
6935
7cc9b6a59299 change accessor 'type in error'
penk
parents: 6928
diff changeset
  1169
useNewSettingsApplication:aBoolean
6838
26d49b3a22c9 add preferences for use new settings
penk
parents: 6832
diff changeset
  1170
    "using one application for the settings"
26d49b3a22c9 add preferences for use new settings
penk
parents: 6832
diff changeset
  1171
6935
7cc9b6a59299 change accessor 'type in error'
penk
parents: 6928
diff changeset
  1172
    self at:#useNewSettingsApplication put:aBoolean
6838
26d49b3a22c9 add preferences for use new settings
penk
parents: 6832
diff changeset
  1173
26d49b3a22c9 add preferences for use new settings
penk
parents: 6832
diff changeset
  1174
    "
6935
7cc9b6a59299 change accessor 'type in error'
penk
parents: 6928
diff changeset
  1175
     UserPreferences current useNewSettingsApplication:true
6838
26d49b3a22c9 add preferences for use new settings
penk
parents: 6832
diff changeset
  1176
    "
26d49b3a22c9 add preferences for use new settings
penk
parents: 6832
diff changeset
  1177
26d49b3a22c9 add preferences for use new settings
penk
parents: 6832
diff changeset
  1178
    "Modified: / 13.10.1998 / 15:53:21 / cg"
26d49b3a22c9 add preferences for use new settings
penk
parents: 6832
diff changeset
  1179
!
26d49b3a22c9 add preferences for use new settings
penk
parents: 6832
diff changeset
  1180
5536
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1181
useNewSystemBrowser
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1182
    "using new or old system browser"
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1183
8593
ad78295d4605 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8551
diff changeset
  1184
    |newSystemBrowserClass useIt|
8000
44413c7ef9c8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7993
diff changeset
  1185
44413c7ef9c8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7993
diff changeset
  1186
    newSystemBrowserClass := (Tools::NewSystemBrowser ? NewSystemBrowser).
8593
ad78295d4605 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8551
diff changeset
  1187
    useIt := self at:#useNewSystemBrowser ifAbsent:nil.
ad78295d4605 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8551
diff changeset
  1188
    useIt isNil ifTrue:[
11143
3712ab6b344b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11064
diff changeset
  1189
	useIt := (newSystemBrowserClass notNil and:[ newSystemBrowserClass isLoaded]).
3712ab6b344b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11064
diff changeset
  1190
	useIt ifTrue:[
3712ab6b344b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11064
diff changeset
  1191
	    self at:#useNewSystemBrowser put:true.
3712ab6b344b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11064
diff changeset
  1192
	].
8593
ad78295d4605 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8551
diff changeset
  1193
    ].
11143
3712ab6b344b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11064
diff changeset
  1194
    ^ useIt
5536
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1195
!
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1196
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1197
useNewSystemBrowser:aBoolean
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1198
    "using new or old systemBrowser"
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1199
5784
c6458c4f3c49 oops - usage of new tools could not be turned off
Claus Gittinger <cg@exept.de>
parents: 5712
diff changeset
  1200
    self at:#useNewSystemBrowser put:aBoolean
5536
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1201
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1202
    "
5541
057aef033483 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 5536
diff changeset
  1203
     UserPreferences current useNewSystemBrowser:true
5536
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1204
    "
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1205
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1206
    "Modified: / 13.10.1998 / 15:53:21 / cg"
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1207
!
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1208
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1209
useNewVersionDiffBrowser
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1210
    "using new or old version diff viewer"
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1211
9302
f3dae8816824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9286
diff changeset
  1212
    ^ self at:#useNewVersionDiffBrowser ifAbsent:true
5536
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1213
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1214
    "Modified: / 13.10.1998 / 15:53:05 / cg"
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1215
!
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1216
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1217
useNewVersionDiffBrowser:aBoolean
6765
446b64493274 use newFileDialog preferences added and FileBrowserV2 class name changed
penk
parents: 6763
diff changeset
  1218
    "using new or old versionDiffBrowser"
5536
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1219
5784
c6458c4f3c49 oops - usage of new tools could not be turned off
Claus Gittinger <cg@exept.de>
parents: 5712
diff changeset
  1220
    self at:#useNewVersionDiffBrowser put:aBoolean
5536
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1221
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1222
    "
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1223
     UserPreferences current useNewVersionDiffBrowser
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1224
    "
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1225
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1226
    "Modified: / 13.10.1998 / 15:53:21 / cg"
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1227
!
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1228
6959
e766340a8f5b add useProcessMonitorV2
penk
parents: 6951
diff changeset
  1229
useProcessMonitorV2
e766340a8f5b add useProcessMonitorV2
penk
parents: 6951
diff changeset
  1230
    "using ProcessMonitorV2 application for display Processes"
e766340a8f5b add useProcessMonitorV2
penk
parents: 6951
diff changeset
  1231
9302
f3dae8816824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9286
diff changeset
  1232
    ^ self at:#useProcessMonitorV2 ifAbsent:(ProcessMonitorV2 notNil)
6959
e766340a8f5b add useProcessMonitorV2
penk
parents: 6951
diff changeset
  1233
!
e766340a8f5b add useProcessMonitorV2
penk
parents: 6951
diff changeset
  1234
e766340a8f5b add useProcessMonitorV2
penk
parents: 6951
diff changeset
  1235
useProcessMonitorV2:aBoolean
e766340a8f5b add useProcessMonitorV2
penk
parents: 6951
diff changeset
  1236
    "using ProcessMonitorV2 application for display Processes"
e766340a8f5b add useProcessMonitorV2
penk
parents: 6951
diff changeset
  1237
e766340a8f5b add useProcessMonitorV2
penk
parents: 6951
diff changeset
  1238
    self at:#useProcessMonitorV2 put:aBoolean
e766340a8f5b add useProcessMonitorV2
penk
parents: 6951
diff changeset
  1239
e766340a8f5b add useProcessMonitorV2
penk
parents: 6951
diff changeset
  1240
    "
e766340a8f5b add useProcessMonitorV2
penk
parents: 6951
diff changeset
  1241
     UserPreferences current useProcessMonitorV2:true
e766340a8f5b add useProcessMonitorV2
penk
parents: 6951
diff changeset
  1242
    "
e766340a8f5b add useProcessMonitorV2
penk
parents: 6951
diff changeset
  1243
e766340a8f5b add useProcessMonitorV2
penk
parents: 6951
diff changeset
  1244
    "Modified: / 13.10.1998 / 15:53:21 / cg"
e766340a8f5b add useProcessMonitorV2
penk
parents: 6951
diff changeset
  1245
!
e766340a8f5b add useProcessMonitorV2
penk
parents: 6951
diff changeset
  1246
9302
f3dae8816824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9286
diff changeset
  1247
useSmalltalkDocumentViewer
f3dae8816824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9286
diff changeset
  1248
    "using the smalltalk-DocumentViewer (as opposed to the native systems Browser)
f3dae8816824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9286
diff changeset
  1249
     to display documentation"
f3dae8816824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9286
diff changeset
  1250
f3dae8816824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9286
diff changeset
  1251
    ^ self at:#useSmalltalkDocumentViewer ifAbsent:true
f3dae8816824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9286
diff changeset
  1252
f3dae8816824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9286
diff changeset
  1253
    "
f3dae8816824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9286
diff changeset
  1254
     UserPreferences current useSmalltalkDocumentViewer
f3dae8816824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9286
diff changeset
  1255
     UserPreferences current useSmalltalkDocumentViewer:false
f3dae8816824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9286
diff changeset
  1256
    "
f3dae8816824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9286
diff changeset
  1257
!
f3dae8816824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9286
diff changeset
  1258
f3dae8816824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9286
diff changeset
  1259
useSmalltalkDocumentViewer:aBoolean
f3dae8816824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9286
diff changeset
  1260
    "using the smalltalk-DocumentViewer (as opposed to the native systems Browser)
f3dae8816824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9286
diff changeset
  1261
     to display documentation"
f3dae8816824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9286
diff changeset
  1262
f3dae8816824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9286
diff changeset
  1263
    ^ self at:#useSmalltalkDocumentViewer put:aBoolean
f3dae8816824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9286
diff changeset
  1264
!
f3dae8816824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9286
diff changeset
  1265
13501
Claus Gittinger <cg@exept.de>
parents: 13486
diff changeset
  1266
useTestRunner2
Claus Gittinger <cg@exept.de>
parents: 13486
diff changeset
  1267
    "using new or old test runner"
Claus Gittinger <cg@exept.de>
parents: 13486
diff changeset
  1268
Claus Gittinger <cg@exept.de>
parents: 13486
diff changeset
  1269
    ^ self at:#useTestRunner2 ifAbsent:true
Claus Gittinger <cg@exept.de>
parents: 13486
diff changeset
  1270
Claus Gittinger <cg@exept.de>
parents: 13486
diff changeset
  1271
    "Created: / 06-07-2011 / 13:41:33 / cg"
Claus Gittinger <cg@exept.de>
parents: 13486
diff changeset
  1272
!
Claus Gittinger <cg@exept.de>
parents: 13486
diff changeset
  1273
Claus Gittinger <cg@exept.de>
parents: 13486
diff changeset
  1274
useTestRunner2:aBoolean
Claus Gittinger <cg@exept.de>
parents: 13486
diff changeset
  1275
    "using new or old test runner"
Claus Gittinger <cg@exept.de>
parents: 13486
diff changeset
  1276
Claus Gittinger <cg@exept.de>
parents: 13486
diff changeset
  1277
    self at:#useTestRunner2 put:aBoolean
Claus Gittinger <cg@exept.de>
parents: 13486
diff changeset
  1278
Claus Gittinger <cg@exept.de>
parents: 13486
diff changeset
  1279
    "
Claus Gittinger <cg@exept.de>
parents: 13486
diff changeset
  1280
     UserPreferences current useTestRunner2:true
Claus Gittinger <cg@exept.de>
parents: 13486
diff changeset
  1281
    "
Claus Gittinger <cg@exept.de>
parents: 13486
diff changeset
  1282
Claus Gittinger <cg@exept.de>
parents: 13486
diff changeset
  1283
    "Created: / 06-07-2011 / 13:41:40 / cg"
Claus Gittinger <cg@exept.de>
parents: 13486
diff changeset
  1284
!
Claus Gittinger <cg@exept.de>
parents: 13486
diff changeset
  1285
16542
9c8eb61c5f36 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16484
diff changeset
  1286
useXTermViewIfAvailable
9c8eb61c5f36 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16484
diff changeset
  1287
    "switch between xtermView (xembed) and vt100 (st/x emulation)
9c8eb61c5f36 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16484
diff changeset
  1288
     if possible on that architecture."
9c8eb61c5f36 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16484
diff changeset
  1289
9c8eb61c5f36 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16484
diff changeset
  1290
    ^ self at:#useXTermViewIfAvailable ifAbsent:false
9c8eb61c5f36 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16484
diff changeset
  1291
9c8eb61c5f36 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16484
diff changeset
  1292
    "
9c8eb61c5f36 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16484
diff changeset
  1293
     UserPreferences current useXTermViewIfAvailable
9c8eb61c5f36 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16484
diff changeset
  1294
    "
9c8eb61c5f36 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16484
diff changeset
  1295
!
9c8eb61c5f36 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16484
diff changeset
  1296
9c8eb61c5f36 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16484
diff changeset
  1297
useXTermViewIfAvailable:aBoolean
9c8eb61c5f36 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16484
diff changeset
  1298
    "switch between xtermView (xembed) and vt100 (st/x emulation)
9c8eb61c5f36 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16484
diff changeset
  1299
     if possible on that architecture."
9c8eb61c5f36 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16484
diff changeset
  1300
9c8eb61c5f36 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16484
diff changeset
  1301
    self at:#useXTermViewIfAvailable put:aBoolean
9c8eb61c5f36 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16484
diff changeset
  1302
9c8eb61c5f36 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16484
diff changeset
  1303
    "
9c8eb61c5f36 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16484
diff changeset
  1304
     UserPreferences current useXTermViewIfAvailable
9c8eb61c5f36 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16484
diff changeset
  1305
    "
9c8eb61c5f36 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16484
diff changeset
  1306
!
9c8eb61c5f36 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16484
diff changeset
  1307
5536
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1308
versionDiffViewerClass
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1309
    self useNewVersionDiffBrowser ifTrue:[
11143
3712ab6b344b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11064
diff changeset
  1310
	^ (VersionDiffBrowser ? DiffTextView)
5536
683a52b52f50 tool access
Claus Gittinger <cg@exept.de>
parents: 5535
diff changeset
  1311
    ].
10992
f03d40b016f4 use new DiffCodeView
Claus Gittinger <cg@exept.de>
parents: 10924
diff changeset
  1312
    ^ DiffCodeView
3883
8e0771f4a196 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3875
diff changeset
  1313
! !
8e0771f4a196 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3875
diff changeset
  1314
7549
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  1315
!UserPreferences methodsFor:'accessing-prefs-UI'!
3358
f1b2b7b83d3e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3357
diff changeset
  1316
11390
f0f1b0711272 allowMouseWheelZoom
Claus Gittinger <cg@exept.de>
parents: 11214
diff changeset
  1317
allowMouseWheelZoom
f0f1b0711272 allowMouseWheelZoom
Claus Gittinger <cg@exept.de>
parents: 11214
diff changeset
  1318
    "return the flag which controls if text can be magnified via the ALT-wheel-action"
f0f1b0711272 allowMouseWheelZoom
Claus Gittinger <cg@exept.de>
parents: 11214
diff changeset
  1319
f0f1b0711272 allowMouseWheelZoom
Claus Gittinger <cg@exept.de>
parents: 11214
diff changeset
  1320
    ^ self at:#allowMouseWheelZoom ifAbsent:[ true ]
f0f1b0711272 allowMouseWheelZoom
Claus Gittinger <cg@exept.de>
parents: 11214
diff changeset
  1321
f0f1b0711272 allowMouseWheelZoom
Claus Gittinger <cg@exept.de>
parents: 11214
diff changeset
  1322
    "
f0f1b0711272 allowMouseWheelZoom
Claus Gittinger <cg@exept.de>
parents: 11214
diff changeset
  1323
     UserPreferences current allowMouseWheelZoom
f0f1b0711272 allowMouseWheelZoom
Claus Gittinger <cg@exept.de>
parents: 11214
diff changeset
  1324
    "
f0f1b0711272 allowMouseWheelZoom
Claus Gittinger <cg@exept.de>
parents: 11214
diff changeset
  1325
!
f0f1b0711272 allowMouseWheelZoom
Claus Gittinger <cg@exept.de>
parents: 11214
diff changeset
  1326
f0f1b0711272 allowMouseWheelZoom
Claus Gittinger <cg@exept.de>
parents: 11214
diff changeset
  1327
allowMouseWheelZoom:aBooleanOrNil
f0f1b0711272 allowMouseWheelZoom
Claus Gittinger <cg@exept.de>
parents: 11214
diff changeset
  1328
    "set/clear the flag which controls if text can be magnified via the ALT-wheel-action"
f0f1b0711272 allowMouseWheelZoom
Claus Gittinger <cg@exept.de>
parents: 11214
diff changeset
  1329
f0f1b0711272 allowMouseWheelZoom
Claus Gittinger <cg@exept.de>
parents: 11214
diff changeset
  1330
    ^ self at:#allowMouseWheelZoom put:aBooleanOrNil
f0f1b0711272 allowMouseWheelZoom
Claus Gittinger <cg@exept.de>
parents: 11214
diff changeset
  1331
f0f1b0711272 allowMouseWheelZoom
Claus Gittinger <cg@exept.de>
parents: 11214
diff changeset
  1332
    "
f0f1b0711272 allowMouseWheelZoom
Claus Gittinger <cg@exept.de>
parents: 11214
diff changeset
  1333
     UserPreferences current allowMouseWheelZoom:true
f0f1b0711272 allowMouseWheelZoom
Claus Gittinger <cg@exept.de>
parents: 11214
diff changeset
  1334
     UserPreferences current allowMouseWheelZoom:false
f0f1b0711272 allowMouseWheelZoom
Claus Gittinger <cg@exept.de>
parents: 11214
diff changeset
  1335
     UserPreferences current allowMouseWheelZoom
f0f1b0711272 allowMouseWheelZoom
Claus Gittinger <cg@exept.de>
parents: 11214
diff changeset
  1336
    "
f0f1b0711272 allowMouseWheelZoom
Claus Gittinger <cg@exept.de>
parents: 11214
diff changeset
  1337
!
f0f1b0711272 allowMouseWheelZoom
Claus Gittinger <cg@exept.de>
parents: 11214
diff changeset
  1338
14342
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
  1339
avoidConfirmationsForExperiencedUsers
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
  1340
    "some confirmers ara annoying, if you are an experienced st/x user"
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
  1341
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
  1342
    ^ self at:#avoidConfirmationsForExperiencedUsers ifAbsent:[ false ]
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
  1343
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
  1344
    "
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
  1345
     UserPreferences current avoidConfirmationsForExperiencedUsers
14698
5eeda6b08571 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14543
diff changeset
  1346
     UserPreferences current avoidConfirmationsForExperiencedUsers:true
14342
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
  1347
    "
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
  1348
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
  1349
    "Created: / 05-09-2012 / 11:26:55 / cg"
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
  1350
!
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
  1351
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
  1352
avoidConfirmationsForExperiencedUsers:aBooleanOrNil
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
  1353
    "some confirmers ara annoying, if you are an experienced st/x user.
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
  1354
     Set/clear the flag which controls this"
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
  1355
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
  1356
    ^ self at:#avoidConfirmationsForExperiencedUsers put:aBooleanOrNil
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
  1357
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
  1358
    "
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
  1359
     UserPreferences current avoidConfirmationsForExperiencedUsers:true
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
  1360
    "
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
  1361
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
  1362
    "Created: / 05-09-2012 / 11:27:09 / cg"
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
  1363
!
Claus Gittinger <cg@exept.de>
parents: 14307
diff changeset
  1364
11929
9128526725d9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11897
diff changeset
  1365
avoidSlowDrawingOperationsUnderWindows
9128526725d9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11897
diff changeset
  1366
    ^ OperatingSystem isMSWINDOWSlike
9128526725d9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11897
diff changeset
  1367
!
9128526725d9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11897
diff changeset
  1368
5071
ps
parents: 4684
diff changeset
  1369
beepEnabled
ps
parents: 4684
diff changeset
  1370
    "return the flag which controls the beeper"
ps
parents: 4684
diff changeset
  1371
ps
parents: 4684
diff changeset
  1372
    ^ self at:#beepEnabled ifAbsentPut:true
ps
parents: 4684
diff changeset
  1373
ps
parents: 4684
diff changeset
  1374
    "
ps
parents: 4684
diff changeset
  1375
     UserPreferences current beepEnabled
ps
parents: 4684
diff changeset
  1376
    "
ps
parents: 4684
diff changeset
  1377
ps
parents: 4684
diff changeset
  1378
    "Modified: / 11.9.1998 / 00:09:59 / cg"
ps
parents: 4684
diff changeset
  1379
    "Created: / 3.12.1999 / 17:09:49 / ps"
ps
parents: 4684
diff changeset
  1380
!
ps
parents: 4684
diff changeset
  1381
ps
parents: 4684
diff changeset
  1382
beepEnabled:aBoolean
ps
parents: 4684
diff changeset
  1383
    "set/clear the flag which controls the beeper"
ps
parents: 4684
diff changeset
  1384
ps
parents: 4684
diff changeset
  1385
    ^ self at:#beepEnabled put:aBoolean
ps
parents: 4684
diff changeset
  1386
ps
parents: 4684
diff changeset
  1387
    "
ps
parents: 4684
diff changeset
  1388
     UserPreferences current beepEnabled:false
ps
parents: 4684
diff changeset
  1389
    "
ps
parents: 4684
diff changeset
  1390
ps
parents: 4684
diff changeset
  1391
    "Modified: / 11.9.1998 / 00:09:59 / cg"
ps
parents: 4684
diff changeset
  1392
    "Created: / 3.12.1999 / 17:10:27 / ps"
ps
parents: 4684
diff changeset
  1393
!
ps
parents: 4684
diff changeset
  1394
8676
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
  1395
beepForErrorDialog
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
  1396
    "return the flag which controls beeping for error dialogs"
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
  1397
9302
f3dae8816824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9286
diff changeset
  1398
    ^ self at:#beepForErrorDialog ifAbsent:true
8676
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
  1399
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
  1400
    "
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
  1401
     UserPreferences current beepForErrorDialog
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
  1402
    "
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
  1403
!
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
  1404
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
  1405
beepForErrorDialog:aBoolean
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
  1406
    "set/clear the flag which controls beeping for error dialogs"
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
  1407
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
  1408
    ^ self at:#beepForErrorDialog put:aBoolean
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
  1409
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
  1410
    "
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
  1411
     UserPreferences current beepForErrorDialog:true
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
  1412
    "
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
  1413
!
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
  1414
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
  1415
beepForInfoDialog
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
  1416
    "return the flag which controls beeping for info dialogs"
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
  1417
9302
f3dae8816824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9286
diff changeset
  1418
    ^ self at:#beepForInfoDialog ifAbsent:false
8676
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
  1419
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
  1420
    "
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
  1421
     UserPreferences current beepForInfoDialog
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
  1422
    "
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
  1423
!
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
  1424
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
  1425
beepForInfoDialog:aBoolean
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
  1426
    "set/clear the flag which controls beeping for info dialogs"
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
  1427
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
  1428
    ^ self at:#beepForInfoDialog put:aBoolean
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
  1429
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
  1430
    "
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
  1431
     UserPreferences current beepForInfoDialog:true
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
  1432
    "
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
  1433
!
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
  1434
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
  1435
beepForWarningDialog
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
  1436
    "return the flag which controls beeping for warning dialogs"
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
  1437
9302
f3dae8816824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9286
diff changeset
  1438
    ^ self at:#beepForWarningDialog ifAbsent:true
8676
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
  1439
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
  1440
    "
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
  1441
     UserPreferences current beepForWarningDialog
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
  1442
    "
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
  1443
!
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
  1444
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
  1445
beepForWarningDialog:aBoolean
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
  1446
    "set/clear the flag which controls beeping for warning dialogs"
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
  1447
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
  1448
    ^ self at:#beepForWarningDialog put:aBoolean
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
  1449
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
  1450
    "
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
  1451
     UserPreferences current beepForWarningDialog:true
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
  1452
    "
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
  1453
!
7466762d325e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8619
diff changeset
  1454
11691
ca6390f483cf changed #beepInEditor
Claus Gittinger <cg@exept.de>
parents: 11672
diff changeset
  1455
beepInEditor
ca6390f483cf changed #beepInEditor
Claus Gittinger <cg@exept.de>
parents: 11672
diff changeset
  1456
    "return the flag which controls the beeper"
ca6390f483cf changed #beepInEditor
Claus Gittinger <cg@exept.de>
parents: 11672
diff changeset
  1457
ca6390f483cf changed #beepInEditor
Claus Gittinger <cg@exept.de>
parents: 11672
diff changeset
  1458
    ^ self at:#beepInEditor ifAbsentPut:true
ca6390f483cf changed #beepInEditor
Claus Gittinger <cg@exept.de>
parents: 11672
diff changeset
  1459
ca6390f483cf changed #beepInEditor
Claus Gittinger <cg@exept.de>
parents: 11672
diff changeset
  1460
    "
ca6390f483cf changed #beepInEditor
Claus Gittinger <cg@exept.de>
parents: 11672
diff changeset
  1461
     UserPreferences current beepInEditor
ca6390f483cf changed #beepInEditor
Claus Gittinger <cg@exept.de>
parents: 11672
diff changeset
  1462
    "
ca6390f483cf changed #beepInEditor
Claus Gittinger <cg@exept.de>
parents: 11672
diff changeset
  1463
!
ca6390f483cf changed #beepInEditor
Claus Gittinger <cg@exept.de>
parents: 11672
diff changeset
  1464
14734
f297241056ce class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14733
diff changeset
  1465
button2WithAltKey
f297241056ce class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14733
diff changeset
  1466
    "if true, an ALT-left click is translated to a right click
f297241056ce class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14733
diff changeset
  1467
     Useful with 1-button mice"
f297241056ce class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14733
diff changeset
  1468
f297241056ce class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14733
diff changeset
  1469
    ^ self at:#button2WithAltKey ifAbsent:[ false ]
f297241056ce class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14733
diff changeset
  1470
f297241056ce class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14733
diff changeset
  1471
    "
f297241056ce class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14733
diff changeset
  1472
     UserPreferences current button2WithAltKey
f297241056ce class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14733
diff changeset
  1473
    "
f297241056ce class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14733
diff changeset
  1474
!
f297241056ce class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14733
diff changeset
  1475
f297241056ce class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14733
diff changeset
  1476
button2WithAltKey: aBoolean
f297241056ce class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14733
diff changeset
  1477
    "if true, an ALT-left click is translated to a right click
f297241056ce class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14733
diff changeset
  1478
     Useful with 1-button mice"
f297241056ce class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14733
diff changeset
  1479
f297241056ce class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14733
diff changeset
  1480
    ^ self at:#button2WithAltKey put: aBoolean
f297241056ce class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14733
diff changeset
  1481
f297241056ce class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14733
diff changeset
  1482
    "
f297241056ce class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14733
diff changeset
  1483
     UserPreferences current button2WithAltKey
f297241056ce class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14733
diff changeset
  1484
     UserPreferences current button2WithAltKey:true
f297241056ce class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14733
diff changeset
  1485
     UserPreferences current button2WithAltKey:false
f297241056ce class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14733
diff changeset
  1486
    "
f297241056ce class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14733
diff changeset
  1487
!
f297241056ce class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14733
diff changeset
  1488
12209
Claus Gittinger <cg@exept.de>
parents: 12206
diff changeset
  1489
closePopUpMenuChainOnEscape
Claus Gittinger <cg@exept.de>
parents: 12206
diff changeset
  1490
    "if true, the whole chain of popUpMenus is closed when escape is pressed.
Claus Gittinger <cg@exept.de>
parents: 12206
diff changeset
  1491
     if false (the default), only the last popup-view is closed.
Claus Gittinger <cg@exept.de>
parents: 12206
diff changeset
  1492
     The first corresponds to X-behavior, the later is how windows does it - sigh."
Claus Gittinger <cg@exept.de>
parents: 12206
diff changeset
  1493
Claus Gittinger <cg@exept.de>
parents: 12206
diff changeset
  1494
    ^ self at:#closePopUpMenuChainOnEscape ifAbsent:false
Claus Gittinger <cg@exept.de>
parents: 12206
diff changeset
  1495
Claus Gittinger <cg@exept.de>
parents: 12206
diff changeset
  1496
    "
Claus Gittinger <cg@exept.de>
parents: 12206
diff changeset
  1497
     UserPreferences current closePopUpMenuChainOnEscape:false
Claus Gittinger <cg@exept.de>
parents: 12206
diff changeset
  1498
     UserPreferences current closePopUpMenuChainOnEscape:true
Claus Gittinger <cg@exept.de>
parents: 12206
diff changeset
  1499
    "
Claus Gittinger <cg@exept.de>
parents: 12206
diff changeset
  1500
!
Claus Gittinger <cg@exept.de>
parents: 12206
diff changeset
  1501
Claus Gittinger <cg@exept.de>
parents: 12206
diff changeset
  1502
closePopUpMenuChainOnEscape:aBoolean
Claus Gittinger <cg@exept.de>
parents: 12206
diff changeset
  1503
    "if true, the whole chain of popUpMenus is closed when escape is pressed.
Claus Gittinger <cg@exept.de>
parents: 12206
diff changeset
  1504
     if false (the default), only the last popup-view is closed.
Claus Gittinger <cg@exept.de>
parents: 12206
diff changeset
  1505
     The first corresponds to X-behavior, the later is how windows does it - sigh."
Claus Gittinger <cg@exept.de>
parents: 12206
diff changeset
  1506
Claus Gittinger <cg@exept.de>
parents: 12206
diff changeset
  1507
    ^ self at:#closePopUpMenuChainOnEscape put:aBoolean
Claus Gittinger <cg@exept.de>
parents: 12206
diff changeset
  1508
Claus Gittinger <cg@exept.de>
parents: 12206
diff changeset
  1509
    "
Claus Gittinger <cg@exept.de>
parents: 12206
diff changeset
  1510
     UserPreferences current closePopUpMenuChainOnEscape:true
Claus Gittinger <cg@exept.de>
parents: 12206
diff changeset
  1511
     UserPreferences current closePopUpMenuChainOnEscape:false
Claus Gittinger <cg@exept.de>
parents: 12206
diff changeset
  1512
    "
Claus Gittinger <cg@exept.de>
parents: 12206
diff changeset
  1513
!
Claus Gittinger <cg@exept.de>
parents: 12206
diff changeset
  1514
13151
Claus Gittinger <cg@exept.de>
parents: 13145
diff changeset
  1515
delayedMenuShowAndHide
Claus Gittinger <cg@exept.de>
parents: 13145
diff changeset
  1516
    "the Windows behavior of showing submenus of a menu slightly delayed,
Claus Gittinger <cg@exept.de>
parents: 13145
diff changeset
  1517
     to allow for short-time leaving of the mouse pointer.
Claus Gittinger <cg@exept.de>
parents: 13145
diff changeset
  1518
     (bug #D1480943)"
Claus Gittinger <cg@exept.de>
parents: 13145
diff changeset
  1519
Claus Gittinger <cg@exept.de>
parents: 13145
diff changeset
  1520
    ^ self at:#delayedMenuShowAndHide ifAbsent:true
Claus Gittinger <cg@exept.de>
parents: 13145
diff changeset
  1521
Claus Gittinger <cg@exept.de>
parents: 13145
diff changeset
  1522
    "Created: / 29-11-2010 / 19:47:21 / cg"
Claus Gittinger <cg@exept.de>
parents: 13145
diff changeset
  1523
!
Claus Gittinger <cg@exept.de>
parents: 13145
diff changeset
  1524
Claus Gittinger <cg@exept.de>
parents: 13145
diff changeset
  1525
delayedMenuShowAndHide:aBoolean
Claus Gittinger <cg@exept.de>
parents: 13145
diff changeset
  1526
    "the Windows behavior of showing submenus of a menu slightly delayed,
Claus Gittinger <cg@exept.de>
parents: 13145
diff changeset
  1527
     to allow for short-time leaving of the mouse pointer.
Claus Gittinger <cg@exept.de>
parents: 13145
diff changeset
  1528
     (bug #D1480943)"
Claus Gittinger <cg@exept.de>
parents: 13145
diff changeset
  1529
Claus Gittinger <cg@exept.de>
parents: 13145
diff changeset
  1530
    ^ self at:#delayedMenuShowAndHide put:aBoolean
Claus Gittinger <cg@exept.de>
parents: 13145
diff changeset
  1531
Claus Gittinger <cg@exept.de>
parents: 13145
diff changeset
  1532
    "
Claus Gittinger <cg@exept.de>
parents: 13145
diff changeset
  1533
     UserPreferences current delayedMenuShowAndHide
Claus Gittinger <cg@exept.de>
parents: 13145
diff changeset
  1534
    "
Claus Gittinger <cg@exept.de>
parents: 13145
diff changeset
  1535
Claus Gittinger <cg@exept.de>
parents: 13145
diff changeset
  1536
    "Created: / 29-11-2010 / 19:47:36 / cg"
Claus Gittinger <cg@exept.de>
parents: 13145
diff changeset
  1537
!
Claus Gittinger <cg@exept.de>
parents: 13145
diff changeset
  1538
13503
Claus Gittinger <cg@exept.de>
parents: 13502
diff changeset
  1539
eclipseStyleMenus
Claus Gittinger <cg@exept.de>
parents: 13502
diff changeset
  1540
    "if true, return menus organized like in eclipse;
Claus Gittinger <cg@exept.de>
parents: 13502
diff changeset
  1541
     if false (the default) return them as usual"
Claus Gittinger <cg@exept.de>
parents: 13502
diff changeset
  1542
Claus Gittinger <cg@exept.de>
parents: 13502
diff changeset
  1543
    ^ self at:#eclipseStyleMenus ifAbsent:false
Claus Gittinger <cg@exept.de>
parents: 13502
diff changeset
  1544
Claus Gittinger <cg@exept.de>
parents: 13502
diff changeset
  1545
    "Created: / 08-07-2011 / 13:22:45 / cg"
Claus Gittinger <cg@exept.de>
parents: 13502
diff changeset
  1546
!
Claus Gittinger <cg@exept.de>
parents: 13502
diff changeset
  1547
Claus Gittinger <cg@exept.de>
parents: 13502
diff changeset
  1548
eclipseStyleMenus:aBoolean
Claus Gittinger <cg@exept.de>
parents: 13502
diff changeset
  1549
    "if true, return menus organized like in eclipse;
Claus Gittinger <cg@exept.de>
parents: 13502
diff changeset
  1550
     if false (the default) return them as usual"
Claus Gittinger <cg@exept.de>
parents: 13502
diff changeset
  1551
Claus Gittinger <cg@exept.de>
parents: 13502
diff changeset
  1552
    ^ self at:#eclipseStyleMenus put:aBoolean
Claus Gittinger <cg@exept.de>
parents: 13502
diff changeset
  1553
Claus Gittinger <cg@exept.de>
parents: 13502
diff changeset
  1554
    "
Claus Gittinger <cg@exept.de>
parents: 13502
diff changeset
  1555
     UserPreferences current eclipseStyleMenus:true
Claus Gittinger <cg@exept.de>
parents: 13502
diff changeset
  1556
    "
Claus Gittinger <cg@exept.de>
parents: 13502
diff changeset
  1557
Claus Gittinger <cg@exept.de>
parents: 13502
diff changeset
  1558
    "Created: / 08-07-2011 / 13:22:50 / cg"
Claus Gittinger <cg@exept.de>
parents: 13502
diff changeset
  1559
!
Claus Gittinger <cg@exept.de>
parents: 13502
diff changeset
  1560
15817
319ae2f183c4 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15767
diff changeset
  1561
enableVMWareDrawingBugWorkaround
319ae2f183c4 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15767
diff changeset
  1562
    "return the flag which enables a workaround for a redraw bug when running X/Linux in the VMWare virtual machine"
319ae2f183c4 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15767
diff changeset
  1563
319ae2f183c4 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15767
diff changeset
  1564
    ^ self at:#enableVMWareDrawingBugWorkaround ifAbsent:[ false ]
319ae2f183c4 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15767
diff changeset
  1565
319ae2f183c4 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15767
diff changeset
  1566
    "
319ae2f183c4 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15767
diff changeset
  1567
     UserPreferences current enableVMWareDrawingBugWorkaround
319ae2f183c4 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15767
diff changeset
  1568
    "
319ae2f183c4 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15767
diff changeset
  1569
319ae2f183c4 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15767
diff changeset
  1570
    "Created: / 19-11-2013 / 09:53:20 / cg"
319ae2f183c4 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15767
diff changeset
  1571
!
319ae2f183c4 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15767
diff changeset
  1572
319ae2f183c4 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15767
diff changeset
  1573
enableVMWareDrawingBugWorkaround:aBoolean
319ae2f183c4 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15767
diff changeset
  1574
    "change the flag which enables a workaround for a redraw bug when running X/Linux in the VMWare virtual machine"
319ae2f183c4 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15767
diff changeset
  1575
319ae2f183c4 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15767
diff changeset
  1576
    self at:#enableVMWareDrawingBugWorkaround put:aBoolean.
319ae2f183c4 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15767
diff changeset
  1577
    Screen current platformName = 'X11' ifTrue:[
319ae2f183c4 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15767
diff changeset
  1578
        Screen current maxOperationsUntilFlush:(aBoolean ifTrue:[1] ifFalse:[nil])
319ae2f183c4 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15767
diff changeset
  1579
    ].
319ae2f183c4 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15767
diff changeset
  1580
319ae2f183c4 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15767
diff changeset
  1581
    "
319ae2f183c4 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15767
diff changeset
  1582
     UserPreferences current enableVMWareDrawingBugWorkaround
319ae2f183c4 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15767
diff changeset
  1583
     UserPreferences current enableVMWareDrawingBugWorkaround:true
319ae2f183c4 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15767
diff changeset
  1584
     UserPreferences current enableVMWareDrawingBugWorkaround:false
319ae2f183c4 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15767
diff changeset
  1585
    "
319ae2f183c4 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15767
diff changeset
  1586
319ae2f183c4 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15767
diff changeset
  1587
    "Created: / 19-11-2013 / 09:53:45 / cg"
319ae2f183c4 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15767
diff changeset
  1588
!
319ae2f183c4 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15767
diff changeset
  1589
10880
96f17c8c9d3a expandSelectionOnMouseMoveWithButtonPressed
Claus Gittinger <cg@exept.de>
parents: 10861
diff changeset
  1590
expandSelectionOnMouseMoveWithButtonPressed
96f17c8c9d3a expandSelectionOnMouseMoveWithButtonPressed
Claus Gittinger <cg@exept.de>
parents: 10861
diff changeset
  1591
    "expand the selection in a selectionInListView if the mouse is pressed while moving over
96f17c8c9d3a expandSelectionOnMouseMoveWithButtonPressed
Claus Gittinger <cg@exept.de>
parents: 10861
diff changeset
  1592
     more lines. Default is not FALSE !!"
96f17c8c9d3a expandSelectionOnMouseMoveWithButtonPressed
Claus Gittinger <cg@exept.de>
parents: 10861
diff changeset
  1593
96f17c8c9d3a expandSelectionOnMouseMoveWithButtonPressed
Claus Gittinger <cg@exept.de>
parents: 10861
diff changeset
  1594
    ^ self at:#expandSelectionOnMouseMoveWithButtonPressed ifAbsent:false
96f17c8c9d3a expandSelectionOnMouseMoveWithButtonPressed
Claus Gittinger <cg@exept.de>
parents: 10861
diff changeset
  1595
96f17c8c9d3a expandSelectionOnMouseMoveWithButtonPressed
Claus Gittinger <cg@exept.de>
parents: 10861
diff changeset
  1596
    "
96f17c8c9d3a expandSelectionOnMouseMoveWithButtonPressed
Claus Gittinger <cg@exept.de>
parents: 10861
diff changeset
  1597
     UserPreferences current expandSelectionOnMouseMoveWithButtonPressed
96f17c8c9d3a expandSelectionOnMouseMoveWithButtonPressed
Claus Gittinger <cg@exept.de>
parents: 10861
diff changeset
  1598
    "
96f17c8c9d3a expandSelectionOnMouseMoveWithButtonPressed
Claus Gittinger <cg@exept.de>
parents: 10861
diff changeset
  1599
!
96f17c8c9d3a expandSelectionOnMouseMoveWithButtonPressed
Claus Gittinger <cg@exept.de>
parents: 10861
diff changeset
  1600
96f17c8c9d3a expandSelectionOnMouseMoveWithButtonPressed
Claus Gittinger <cg@exept.de>
parents: 10861
diff changeset
  1601
expandSelectionOnMouseMoveWithButtonPressed:aBoolean
96f17c8c9d3a expandSelectionOnMouseMoveWithButtonPressed
Claus Gittinger <cg@exept.de>
parents: 10861
diff changeset
  1602
    "expand the selection in a selectionInListView if the mouse is pressed while moving over
96f17c8c9d3a expandSelectionOnMouseMoveWithButtonPressed
Claus Gittinger <cg@exept.de>
parents: 10861
diff changeset
  1603
     more lines. Default is not FALSE !!"
96f17c8c9d3a expandSelectionOnMouseMoveWithButtonPressed
Claus Gittinger <cg@exept.de>
parents: 10861
diff changeset
  1604
96f17c8c9d3a expandSelectionOnMouseMoveWithButtonPressed
Claus Gittinger <cg@exept.de>
parents: 10861
diff changeset
  1605
    ^ self at:#expandSelectionOnMouseMoveWithButtonPressed put:aBoolean
96f17c8c9d3a expandSelectionOnMouseMoveWithButtonPressed
Claus Gittinger <cg@exept.de>
parents: 10861
diff changeset
  1606
96f17c8c9d3a expandSelectionOnMouseMoveWithButtonPressed
Claus Gittinger <cg@exept.de>
parents: 10861
diff changeset
  1607
    "
96f17c8c9d3a expandSelectionOnMouseMoveWithButtonPressed
Claus Gittinger <cg@exept.de>
parents: 10861
diff changeset
  1608
     UserPreferences current expandSelectionOnMouseMoveWithButtonPressed
96f17c8c9d3a expandSelectionOnMouseMoveWithButtonPressed
Claus Gittinger <cg@exept.de>
parents: 10861
diff changeset
  1609
    "
96f17c8c9d3a expandSelectionOnMouseMoveWithButtonPressed
Claus Gittinger <cg@exept.de>
parents: 10861
diff changeset
  1610
!
96f17c8c9d3a expandSelectionOnMouseMoveWithButtonPressed
Claus Gittinger <cg@exept.de>
parents: 10861
diff changeset
  1611
13967
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1612
flyByHelpActive
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1613
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1614
    ^ self at:#flyByHelpActive ifAbsent:true "(FlyByHelp notNil and:[FlyByHelp isActive])"
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1615
!
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1616
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1617
flyByHelpActive:aBoolean
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1618
    aBoolean ~~ self flyByHelpActive ifTrue:[
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1619
	self at:#flyByHelpActive put:aBoolean.
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1620
	self flyByHelpSettingChanged.
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1621
    ].
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1622
!
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1623
4075
816898d4922c added #focusFollowsMouse setting
Claus Gittinger <cg@exept.de>
parents: 4024
diff changeset
  1624
focusFollowsMouse
816898d4922c added #focusFollowsMouse setting
Claus Gittinger <cg@exept.de>
parents: 4024
diff changeset
  1625
    "return the flag which controls if the keyboard focus should
816898d4922c added #focusFollowsMouse setting
Claus Gittinger <cg@exept.de>
parents: 4024
diff changeset
  1626
     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
  1627
     This only affects certain widgets (EditFields, EditTextViews and SelectionInListViews).
816898d4922c added #focusFollowsMouse setting
Claus Gittinger <cg@exept.de>
parents: 4024
diff changeset
  1628
     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
  1629
13391
0a6201dcb4b4 changed: #focusFollowsMouse
Stefan Vogel <sv@exept.de>
parents: 13373
diff changeset
  1630
    ^ self at:#focusFollowsMouse ifAbsent:[ false ]
4075
816898d4922c added #focusFollowsMouse setting
Claus Gittinger <cg@exept.de>
parents: 4024
diff changeset
  1631
816898d4922c added #focusFollowsMouse setting
Claus Gittinger <cg@exept.de>
parents: 4024
diff changeset
  1632
    "
816898d4922c added #focusFollowsMouse setting
Claus Gittinger <cg@exept.de>
parents: 4024
diff changeset
  1633
     UserPreferences current focusFollowsMouse
816898d4922c added #focusFollowsMouse setting
Claus Gittinger <cg@exept.de>
parents: 4024
diff changeset
  1634
    "
816898d4922c added #focusFollowsMouse setting
Claus Gittinger <cg@exept.de>
parents: 4024
diff changeset
  1635
    "Modified: / 11.9.1998 / 00:09:59 / cg"
816898d4922c added #focusFollowsMouse setting
Claus Gittinger <cg@exept.de>
parents: 4024
diff changeset
  1636
!
816898d4922c added #focusFollowsMouse setting
Claus Gittinger <cg@exept.de>
parents: 4024
diff changeset
  1637
816898d4922c added #focusFollowsMouse setting
Claus Gittinger <cg@exept.de>
parents: 4024
diff changeset
  1638
focusFollowsMouse:aBooleanOrNil
4121
4fbe619d6047 comments
Claus Gittinger <cg@exept.de>
parents: 4076
diff changeset
  1639
    "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
  1640
     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
  1641
     This only affects certain widgets (EditFields, EditTextViews and SelectionInListViews).
816898d4922c added #focusFollowsMouse setting
Claus Gittinger <cg@exept.de>
parents: 4024
diff changeset
  1642
     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
  1643
816898d4922c added #focusFollowsMouse setting
Claus Gittinger <cg@exept.de>
parents: 4024
diff changeset
  1644
    ^ self at:#focusFollowsMouse put:aBooleanOrNil
816898d4922c added #focusFollowsMouse setting
Claus Gittinger <cg@exept.de>
parents: 4024
diff changeset
  1645
816898d4922c added #focusFollowsMouse setting
Claus Gittinger <cg@exept.de>
parents: 4024
diff changeset
  1646
    "
4121
4fbe619d6047 comments
Claus Gittinger <cg@exept.de>
parents: 4076
diff changeset
  1647
     UserPreferences current focusFollowsMouse:true
4fbe619d6047 comments
Claus Gittinger <cg@exept.de>
parents: 4076
diff changeset
  1648
     UserPreferences current focusFollowsMouse:false
4075
816898d4922c added #focusFollowsMouse setting
Claus Gittinger <cg@exept.de>
parents: 4024
diff changeset
  1649
     UserPreferences current focusFollowsMouse
816898d4922c added #focusFollowsMouse setting
Claus Gittinger <cg@exept.de>
parents: 4024
diff changeset
  1650
    "
816898d4922c added #focusFollowsMouse setting
Claus Gittinger <cg@exept.de>
parents: 4024
diff changeset
  1651
816898d4922c added #focusFollowsMouse setting
Claus Gittinger <cg@exept.de>
parents: 4024
diff changeset
  1652
    "Modified: / 11.9.1998 / 00:09:59 / cg"
816898d4922c added #focusFollowsMouse setting
Claus Gittinger <cg@exept.de>
parents: 4024
diff changeset
  1653
!
816898d4922c added #focusFollowsMouse setting
Claus Gittinger <cg@exept.de>
parents: 4024
diff changeset
  1654
13103
Claus Gittinger <cg@exept.de>
parents: 13048
diff changeset
  1655
forceWindowsIntoMonitorBounds
Claus Gittinger <cg@exept.de>
parents: 13048
diff changeset
  1656
    "if true, windows are forced to be placed into a monitor's bounds completely;
Claus Gittinger <cg@exept.de>
parents: 13048
diff changeset
  1657
     if false, they may be placed as to cross a boundary. This only affects initial placement,
Claus Gittinger <cg@exept.de>
parents: 13048
diff changeset
  1658
     not window movement."
Claus Gittinger <cg@exept.de>
parents: 13048
diff changeset
  1659
Claus Gittinger <cg@exept.de>
parents: 13048
diff changeset
  1660
    ^ self at:#forceWindowsIntoMonitorBounds ifAbsent:true
Claus Gittinger <cg@exept.de>
parents: 13048
diff changeset
  1661
Claus Gittinger <cg@exept.de>
parents: 13048
diff changeset
  1662
    "Created: / 22-10-2010 / 10:59:10 / cg"
Claus Gittinger <cg@exept.de>
parents: 13048
diff changeset
  1663
!
Claus Gittinger <cg@exept.de>
parents: 13048
diff changeset
  1664
Claus Gittinger <cg@exept.de>
parents: 13048
diff changeset
  1665
forceWindowsIntoMonitorBounds:aBoolean
Claus Gittinger <cg@exept.de>
parents: 13048
diff changeset
  1666
    "if true, windows are forced to be placed into a monitor's bounds completely;
Claus Gittinger <cg@exept.de>
parents: 13048
diff changeset
  1667
     if false, they may be placed as to cross a boundary. This only affects initial placement,
Claus Gittinger <cg@exept.de>
parents: 13048
diff changeset
  1668
     not window movement."
Claus Gittinger <cg@exept.de>
parents: 13048
diff changeset
  1669
Claus Gittinger <cg@exept.de>
parents: 13048
diff changeset
  1670
    ^ self at:#forceWindowsIntoMonitorBounds put:aBoolean
Claus Gittinger <cg@exept.de>
parents: 13048
diff changeset
  1671
Claus Gittinger <cg@exept.de>
parents: 13048
diff changeset
  1672
    "
Claus Gittinger <cg@exept.de>
parents: 13048
diff changeset
  1673
     UserPreferences current forceWindowsIntoMonitorBounds:false
Claus Gittinger <cg@exept.de>
parents: 13048
diff changeset
  1674
     UserPreferences current forceWindowsIntoMonitorBounds:true
Claus Gittinger <cg@exept.de>
parents: 13048
diff changeset
  1675
    "
Claus Gittinger <cg@exept.de>
parents: 13048
diff changeset
  1676
Claus Gittinger <cg@exept.de>
parents: 13048
diff changeset
  1677
    "Modified: / 22-10-2010 / 11:13:54 / cg"
Claus Gittinger <cg@exept.de>
parents: 13048
diff changeset
  1678
!
Claus Gittinger <cg@exept.de>
parents: 13048
diff changeset
  1679
14543
f66741e8d140 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14459
diff changeset
  1680
menuPanelTakesFocusOnClick
f66741e8d140 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14459
diff changeset
  1681
    "if true, the menu panel takes the focus and allows further control via
14742
afc7517c76cc class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14736
diff changeset
  1682
     cursor and tab keys."
afc7517c76cc class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14736
diff changeset
  1683
15713
2ab7ecc832d9 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15703
diff changeset
  1684
    "/ read comment in menuPanel - for now, it should be on,
2ab7ecc832d9 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15703
diff changeset
  1685
    "/ otherwise you cannot control a menu with cursor keys or escape. sigh.
2ab7ecc832d9 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15703
diff changeset
  1686
    ^ self at:#menuPanelTakesFocusOnClick ifAbsent:[ true ]
14543
f66741e8d140 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14459
diff changeset
  1687
f66741e8d140 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14459
diff changeset
  1688
    "
f66741e8d140 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14459
diff changeset
  1689
     UserPreferences current menuPanelTakesFocusOnClick
f66741e8d140 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14459
diff changeset
  1690
    "
14742
afc7517c76cc class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14736
diff changeset
  1691
14543
f66741e8d140 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14459
diff changeset
  1692
    "Modified: / 11.9.1998 / 00:09:59 / cg"
f66741e8d140 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14459
diff changeset
  1693
!
f66741e8d140 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14459
diff changeset
  1694
f66741e8d140 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14459
diff changeset
  1695
menuPanelTakesFocusOnClick:aBooleanOrNil
f66741e8d140 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14459
diff changeset
  1696
    "if true, the menu panel takes the focus and allows further control via
f66741e8d140 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14459
diff changeset
  1697
     cursor and tab keys. 
f66741e8d140 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14459
diff changeset
  1698
     Used to be on, but now we changed the default as it turned out to be counter productive"
f66741e8d140 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14459
diff changeset
  1699
f66741e8d140 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14459
diff changeset
  1700
    ^ self at:#menuPanelTakesFocusOnClick put:aBooleanOrNil
f66741e8d140 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14459
diff changeset
  1701
f66741e8d140 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14459
diff changeset
  1702
    "
f66741e8d140 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14459
diff changeset
  1703
     UserPreferences current menuPanelTakesFocusOnClick:true
f66741e8d140 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14459
diff changeset
  1704
     UserPreferences current menuPanelTakesFocusOnClick:false
f66741e8d140 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14459
diff changeset
  1705
     UserPreferences current menuPanelTakesFocusOnClick
f66741e8d140 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14459
diff changeset
  1706
    "
f66741e8d140 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14459
diff changeset
  1707
f66741e8d140 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14459
diff changeset
  1708
    "Modified: / 11.9.1998 / 00:09:59 / cg"
f66741e8d140 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14459
diff changeset
  1709
!
f66741e8d140 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14459
diff changeset
  1710
8759
8e6b635057ea *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8758
diff changeset
  1711
motionDistanceToStartDrag
8e6b635057ea *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8758
diff changeset
  1712
    "the motion distance (in pixel) to start drag (as opposed to adding to the selection)"
8e6b635057ea *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8758
diff changeset
  1713
8e6b635057ea *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8758
diff changeset
  1714
    ^ "DragMotionDistance ?" 10
8e6b635057ea *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8758
diff changeset
  1715
!
8e6b635057ea *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8758
diff changeset
  1716
11589
13741af10676 +mouseWheelFocusFollowsMouse
Claus Gittinger <cg@exept.de>
parents: 11419
diff changeset
  1717
mouseWheelFocusFollowsMouse
13741af10676 +mouseWheelFocusFollowsMouse
Claus Gittinger <cg@exept.de>
parents: 11419
diff changeset
  1718
    "return the flag which controls if the mouseWheel focus should
13741af10676 +mouseWheelFocusFollowsMouse
Claus Gittinger <cg@exept.de>
parents: 11419
diff changeset
  1719
     follow the mouse (as in X) - as opposed to click mode (as in MS-win)"
13741af10676 +mouseWheelFocusFollowsMouse
Claus Gittinger <cg@exept.de>
parents: 11419
diff changeset
  1720
13741af10676 +mouseWheelFocusFollowsMouse
Claus Gittinger <cg@exept.de>
parents: 11419
diff changeset
  1721
    self focusFollowsMouse ifTrue:[^ true].
13741af10676 +mouseWheelFocusFollowsMouse
Claus Gittinger <cg@exept.de>
parents: 11419
diff changeset
  1722
    ^ self at:#mouseWheelFocusFollowsMouse ifAbsent:[ Screen current platformName ~= 'WIN32' ]
13741af10676 +mouseWheelFocusFollowsMouse
Claus Gittinger <cg@exept.de>
parents: 11419
diff changeset
  1723
13741af10676 +mouseWheelFocusFollowsMouse
Claus Gittinger <cg@exept.de>
parents: 11419
diff changeset
  1724
    "
13741af10676 +mouseWheelFocusFollowsMouse
Claus Gittinger <cg@exept.de>
parents: 11419
diff changeset
  1725
     UserPreferences current mouseWheelFocusFollowsMouse
13741af10676 +mouseWheelFocusFollowsMouse
Claus Gittinger <cg@exept.de>
parents: 11419
diff changeset
  1726
    "
13741af10676 +mouseWheelFocusFollowsMouse
Claus Gittinger <cg@exept.de>
parents: 11419
diff changeset
  1727
!
13741af10676 +mouseWheelFocusFollowsMouse
Claus Gittinger <cg@exept.de>
parents: 11419
diff changeset
  1728
13967
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1729
nativeDialogs
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1730
    ^ self at:#nativeDialogs ifAbsent:false
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1731
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1732
    "Created: / 24-08-2010 / 17:01:47 / sr"
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1733
!
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1734
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1735
nativeDialogs:aBoolean
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1736
    |currentScreen|
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1737
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1738
    self at:#nativeDialogs put:aBoolean.
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1739
    currentScreen := Screen current.
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1740
    currentScreen notNil ifTrue:[
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1741
        currentScreen supportsNativeDialogs ifTrue:[
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1742
            currentScreen nativeDialogs:aBoolean
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1743
        ].
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1744
    ].
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1745
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1746
    "Modified: / 24-08-2010 / 18:06:43 / sr"
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1747
!
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1748
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1749
nativeFileDialogs
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1750
    ^ self at:#nativeFileDialogs ifAbsent:false
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1751
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1752
    "Created: / 24-08-2010 / 17:01:59 / sr"
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1753
!
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1754
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1755
nativeFileDialogs:aBoolean
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1756
    |currentScreen|
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1757
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1758
    self at:#nativeFileDialogs put:aBoolean.
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1759
    currentScreen := Screen current.
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1760
    currentScreen notNil ifTrue:[
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1761
        currentScreen supportsNativeFileDialogs ifTrue:[
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1762
            currentScreen nativeFileDialogs:aBoolean
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1763
        ].
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1764
    ].
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1765
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1766
    "Modified: / 24-08-2010 / 18:06:27 / sr"
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1767
!
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1768
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1769
nativeWidgets
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1770
    ^ self at:#nativeWidgets ifAbsent:false
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1771
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1772
    "Created: / 24-08-2010 / 16:58:44 / sr"
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1773
!
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1774
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1775
nativeWidgets:aBoolean
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1776
    |currentScreen|
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1777
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1778
    self at:#nativeWidgets put:aBoolean.
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1779
    currentScreen := Screen current.
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1780
    currentScreen notNil ifTrue:[
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1781
        currentScreen supportsNativeWidgets ifTrue:[
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1782
            currentScreen nativeWidgets:aBoolean
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1783
        ].
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1784
    ].
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1785
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1786
    "Created: / 24-08-2010 / 16:58:14 / sr"
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1787
    "Modified: / 24-08-2010 / 18:05:56 / sr"
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1788
!
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  1789
5808
02b371f5f80a opaque table col resize
Claus Gittinger <cg@exept.de>
parents: 5791
diff changeset
  1790
opaqueTableColumnResizing
02b371f5f80a opaque table col resize
Claus Gittinger <cg@exept.de>
parents: 5791
diff changeset
  1791
    "return the flag which controls if table column resizing should be done
02b371f5f80a opaque table col resize
Claus Gittinger <cg@exept.de>
parents: 5791
diff changeset
  1792
     animated (opaque)"
02b371f5f80a opaque table col resize
Claus Gittinger <cg@exept.de>
parents: 5791
diff changeset
  1793
9302
f3dae8816824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9286
diff changeset
  1794
    ^ self at:#opaqueTableColumnResizing ifAbsent:false
5808
02b371f5f80a opaque table col resize
Claus Gittinger <cg@exept.de>
parents: 5791
diff changeset
  1795
02b371f5f80a opaque table col resize
Claus Gittinger <cg@exept.de>
parents: 5791
diff changeset
  1796
    "
02b371f5f80a opaque table col resize
Claus Gittinger <cg@exept.de>
parents: 5791
diff changeset
  1797
     UserPreferences current opaqueTableColumnResizing
02b371f5f80a opaque table col resize
Claus Gittinger <cg@exept.de>
parents: 5791
diff changeset
  1798
    "
02b371f5f80a opaque table col resize
Claus Gittinger <cg@exept.de>
parents: 5791
diff changeset
  1799
!
02b371f5f80a opaque table col resize
Claus Gittinger <cg@exept.de>
parents: 5791
diff changeset
  1800
02b371f5f80a opaque table col resize
Claus Gittinger <cg@exept.de>
parents: 5791
diff changeset
  1801
opaqueTableColumnResizing:aBoolean
02b371f5f80a opaque table col resize
Claus Gittinger <cg@exept.de>
parents: 5791
diff changeset
  1802
    "change the flag which controls if table column resizing should be done
02b371f5f80a opaque table col resize
Claus Gittinger <cg@exept.de>
parents: 5791
diff changeset
  1803
     animated (opaque)"
02b371f5f80a opaque table col resize
Claus Gittinger <cg@exept.de>
parents: 5791
diff changeset
  1804
02b371f5f80a opaque table col resize
Claus Gittinger <cg@exept.de>
parents: 5791
diff changeset
  1805
    ^ self at:#opaqueTableColumnResizing put:aBoolean
02b371f5f80a opaque table col resize
Claus Gittinger <cg@exept.de>
parents: 5791
diff changeset
  1806
02b371f5f80a opaque table col resize
Claus Gittinger <cg@exept.de>
parents: 5791
diff changeset
  1807
    "
02b371f5f80a opaque table col resize
Claus Gittinger <cg@exept.de>
parents: 5791
diff changeset
  1808
     UserPreferences current opaqueTableColumnResizing:true
02b371f5f80a opaque table col resize
Claus Gittinger <cg@exept.de>
parents: 5791
diff changeset
  1809
    "
02b371f5f80a opaque table col resize
Claus Gittinger <cg@exept.de>
parents: 5791
diff changeset
  1810
02b371f5f80a opaque table col resize
Claus Gittinger <cg@exept.de>
parents: 5791
diff changeset
  1811
    "Modified: / 11.9.1998 / 00:09:59 / cg"
02b371f5f80a opaque table col resize
Claus Gittinger <cg@exept.de>
parents: 5791
diff changeset
  1812
!
02b371f5f80a opaque table col resize
Claus Gittinger <cg@exept.de>
parents: 5791
diff changeset
  1813
4684
45fe4b0a22b0 moved variablePanelOpaqueResize setting to userprefs.
Claus Gittinger <cg@exept.de>
parents: 4628
diff changeset
  1814
opaqueVariablePanelResizing
45fe4b0a22b0 moved variablePanelOpaqueResize setting to userprefs.
Claus Gittinger <cg@exept.de>
parents: 4628
diff changeset
  1815
    "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
  1816
     animated (opaque)"
45fe4b0a22b0 moved variablePanelOpaqueResize setting to userprefs.
Claus Gittinger <cg@exept.de>
parents: 4628
diff changeset
  1817
9302
f3dae8816824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9286
diff changeset
  1818
    ^ self at:#opaqueVariablePanelResizing ifAbsent:false
4684
45fe4b0a22b0 moved variablePanelOpaqueResize setting to userprefs.
Claus Gittinger <cg@exept.de>
parents: 4628
diff changeset
  1819
45fe4b0a22b0 moved variablePanelOpaqueResize setting to userprefs.
Claus Gittinger <cg@exept.de>
parents: 4628
diff changeset
  1820
    "
45fe4b0a22b0 moved variablePanelOpaqueResize setting to userprefs.
Claus Gittinger <cg@exept.de>
parents: 4628
diff changeset
  1821
     UserPreferences current opaqueVariablePanelResizing
45fe4b0a22b0 moved variablePanelOpaqueResize setting to userprefs.
Claus Gittinger <cg@exept.de>
parents: 4628
diff changeset
  1822
    "
45fe4b0a22b0 moved variablePanelOpaqueResize setting to userprefs.
Claus Gittinger <cg@exept.de>
parents: 4628
diff changeset
  1823
45fe4b0a22b0 moved variablePanelOpaqueResize setting to userprefs.
Claus Gittinger <cg@exept.de>
parents: 4628
diff changeset
  1824
    "Modified: / 11.9.1998 / 00:09:59 / cg"
45fe4b0a22b0 moved variablePanelOpaqueResize setting to userprefs.
Claus Gittinger <cg@exept.de>
parents: 4628
diff changeset
  1825
!
45fe4b0a22b0 moved variablePanelOpaqueResize setting to userprefs.
Claus Gittinger <cg@exept.de>
parents: 4628
diff changeset
  1826
45fe4b0a22b0 moved variablePanelOpaqueResize setting to userprefs.
Claus Gittinger <cg@exept.de>
parents: 4628
diff changeset
  1827
opaqueVariablePanelResizing:aBoolean
45fe4b0a22b0 moved variablePanelOpaqueResize setting to userprefs.
Claus Gittinger <cg@exept.de>
parents: 4628
diff changeset
  1828
    "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
  1829
     animated (opaque)"
45fe4b0a22b0 moved variablePanelOpaqueResize setting to userprefs.
Claus Gittinger <cg@exept.de>
parents: 4628
diff changeset
  1830
45fe4b0a22b0 moved variablePanelOpaqueResize setting to userprefs.
Claus Gittinger <cg@exept.de>
parents: 4628
diff changeset
  1831
    ^ self at:#opaqueVariablePanelResizing put:aBoolean
45fe4b0a22b0 moved variablePanelOpaqueResize setting to userprefs.
Claus Gittinger <cg@exept.de>
parents: 4628
diff changeset
  1832
45fe4b0a22b0 moved variablePanelOpaqueResize setting to userprefs.
Claus Gittinger <cg@exept.de>
parents: 4628
diff changeset
  1833
    "
45fe4b0a22b0 moved variablePanelOpaqueResize setting to userprefs.
Claus Gittinger <cg@exept.de>
parents: 4628
diff changeset
  1834
     UserPreferences current opaqueVariablePanelResizing:true
45fe4b0a22b0 moved variablePanelOpaqueResize setting to userprefs.
Claus Gittinger <cg@exept.de>
parents: 4628
diff changeset
  1835
    "
45fe4b0a22b0 moved variablePanelOpaqueResize setting to userprefs.
Claus Gittinger <cg@exept.de>
parents: 4628
diff changeset
  1836
45fe4b0a22b0 moved variablePanelOpaqueResize setting to userprefs.
Claus Gittinger <cg@exept.de>
parents: 4628
diff changeset
  1837
    "Modified: / 11.9.1998 / 00:09:59 / cg"
45fe4b0a22b0 moved variablePanelOpaqueResize setting to userprefs.
Claus Gittinger <cg@exept.de>
parents: 4628
diff changeset
  1838
!
45fe4b0a22b0 moved variablePanelOpaqueResize setting to userprefs.
Claus Gittinger <cg@exept.de>
parents: 4628
diff changeset
  1839
6525
f62b8454b724 added #searchDialogIsModal.
Claus Gittinger <cg@exept.de>
parents: 6252
diff changeset
  1840
searchDialogIsModal
f62b8454b724 added #searchDialogIsModal.
Claus Gittinger <cg@exept.de>
parents: 6252
diff changeset
  1841
    "true if the search dialog (in textViews) shall be modal (the default)"
f62b8454b724 added #searchDialogIsModal.
Claus Gittinger <cg@exept.de>
parents: 6252
diff changeset
  1842
f62b8454b724 added #searchDialogIsModal.
Claus Gittinger <cg@exept.de>
parents: 6252
diff changeset
  1843
    ^ self at:#searchDialogIsModal ifAbsent:true
f62b8454b724 added #searchDialogIsModal.
Claus Gittinger <cg@exept.de>
parents: 6252
diff changeset
  1844
f62b8454b724 added #searchDialogIsModal.
Claus Gittinger <cg@exept.de>
parents: 6252
diff changeset
  1845
    "
f62b8454b724 added #searchDialogIsModal.
Claus Gittinger <cg@exept.de>
parents: 6252
diff changeset
  1846
     UserPreferences current searchDialogIsModal
f62b8454b724 added #searchDialogIsModal.
Claus Gittinger <cg@exept.de>
parents: 6252
diff changeset
  1847
    "
f62b8454b724 added #searchDialogIsModal.
Claus Gittinger <cg@exept.de>
parents: 6252
diff changeset
  1848
!
f62b8454b724 added #searchDialogIsModal.
Claus Gittinger <cg@exept.de>
parents: 6252
diff changeset
  1849
f62b8454b724 added #searchDialogIsModal.
Claus Gittinger <cg@exept.de>
parents: 6252
diff changeset
  1850
searchDialogIsModal:aBooleanOrNil
f62b8454b724 added #searchDialogIsModal.
Claus Gittinger <cg@exept.de>
parents: 6252
diff changeset
  1851
    "true if the search dialog (in textViews) shall be modal (the default)"
f62b8454b724 added #searchDialogIsModal.
Claus Gittinger <cg@exept.de>
parents: 6252
diff changeset
  1852
f62b8454b724 added #searchDialogIsModal.
Claus Gittinger <cg@exept.de>
parents: 6252
diff changeset
  1853
    ^ self at:#searchDialogIsModal put:aBooleanOrNil
f62b8454b724 added #searchDialogIsModal.
Claus Gittinger <cg@exept.de>
parents: 6252
diff changeset
  1854
f62b8454b724 added #searchDialogIsModal.
Claus Gittinger <cg@exept.de>
parents: 6252
diff changeset
  1855
    "
f62b8454b724 added #searchDialogIsModal.
Claus Gittinger <cg@exept.de>
parents: 6252
diff changeset
  1856
     UserPreferences current searchDialogIsModal:true
f62b8454b724 added #searchDialogIsModal.
Claus Gittinger <cg@exept.de>
parents: 6252
diff changeset
  1857
     UserPreferences current searchDialogIsModal:false
f62b8454b724 added #searchDialogIsModal.
Claus Gittinger <cg@exept.de>
parents: 6252
diff changeset
  1858
     UserPreferences current searchDialogIsModal
f62b8454b724 added #searchDialogIsModal.
Claus Gittinger <cg@exept.de>
parents: 6252
diff changeset
  1859
    "
f62b8454b724 added #searchDialogIsModal.
Claus Gittinger <cg@exept.de>
parents: 6252
diff changeset
  1860
!
f62b8454b724 added #searchDialogIsModal.
Claus Gittinger <cg@exept.de>
parents: 6252
diff changeset
  1861
11931
59251a906e85 preps for right-menu on buttonRelease
Claus Gittinger <cg@exept.de>
parents: 11930
diff changeset
  1862
selectOnRightClick
59251a906e85 preps for right-menu on buttonRelease
Claus Gittinger <cg@exept.de>
parents: 11930
diff changeset
  1863
    "the Windows behavior of selecting on a right-click"
59251a906e85 preps for right-menu on buttonRelease
Claus Gittinger <cg@exept.de>
parents: 11930
diff changeset
  1864
11943
5edb32c7f9c2 selectOnRightClick - default
Claus Gittinger <cg@exept.de>
parents: 11931
diff changeset
  1865
    ^ self at:#selectOnRightClick ifAbsent:false
11931
59251a906e85 preps for right-menu on buttonRelease
Claus Gittinger <cg@exept.de>
parents: 11930
diff changeset
  1866
!
59251a906e85 preps for right-menu on buttonRelease
Claus Gittinger <cg@exept.de>
parents: 11930
diff changeset
  1867
59251a906e85 preps for right-menu on buttonRelease
Claus Gittinger <cg@exept.de>
parents: 11930
diff changeset
  1868
selectOnRightClick:aBoolean
59251a906e85 preps for right-menu on buttonRelease
Claus Gittinger <cg@exept.de>
parents: 11930
diff changeset
  1869
    "the Windows behavior of selecting on a right-click"
59251a906e85 preps for right-menu on buttonRelease
Claus Gittinger <cg@exept.de>
parents: 11930
diff changeset
  1870
59251a906e85 preps for right-menu on buttonRelease
Claus Gittinger <cg@exept.de>
parents: 11930
diff changeset
  1871
    ^ self at:#selectOnRightClick put:aBoolean
59251a906e85 preps for right-menu on buttonRelease
Claus Gittinger <cg@exept.de>
parents: 11930
diff changeset
  1872
59251a906e85 preps for right-menu on buttonRelease
Claus Gittinger <cg@exept.de>
parents: 11930
diff changeset
  1873
    "
59251a906e85 preps for right-menu on buttonRelease
Claus Gittinger <cg@exept.de>
parents: 11930
diff changeset
  1874
     UserPreferences current selectOnRightClick:true.
59251a906e85 preps for right-menu on buttonRelease
Claus Gittinger <cg@exept.de>
parents: 11930
diff changeset
  1875
     UserPreferences current selectOnRightClick:false.
59251a906e85 preps for right-menu on buttonRelease
Claus Gittinger <cg@exept.de>
parents: 11930
diff changeset
  1876
    "
59251a906e85 preps for right-menu on buttonRelease
Claus Gittinger <cg@exept.de>
parents: 11930
diff changeset
  1877
!
59251a906e85 preps for right-menu on buttonRelease
Claus Gittinger <cg@exept.de>
parents: 11930
diff changeset
  1878
15588
4fbc618e5f2c class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15548
diff changeset
  1879
shouldRememberLastExtent
4fbc618e5f2c class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15548
diff changeset
  1880
    ^ self at:#shouldRememberLastExtent ifAbsent:true
4fbc618e5f2c class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15548
diff changeset
  1881
4fbc618e5f2c class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15548
diff changeset
  1882
    "Created: / 31-07-2013 / 18:11:17 / cg"
4fbc618e5f2c class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15548
diff changeset
  1883
!
4fbc618e5f2c class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15548
diff changeset
  1884
4fbc618e5f2c class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15548
diff changeset
  1885
shouldRememberLastExtent:aBoolean
4fbc618e5f2c class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15548
diff changeset
  1886
    ^ self at:#shouldRememberLastExtent put:aBoolean
4fbc618e5f2c class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15548
diff changeset
  1887
4fbc618e5f2c class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15548
diff changeset
  1888
    "
4fbc618e5f2c class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15548
diff changeset
  1889
     UserPreferences current shouldRememberLastExtent.
4fbc618e5f2c class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15548
diff changeset
  1890
     UserPreferences current shouldRememberLastExtent:true.
4fbc618e5f2c class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15548
diff changeset
  1891
     UserPreferences current shouldRememberLastExtent:false.
4fbc618e5f2c class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15548
diff changeset
  1892
    "
4fbc618e5f2c class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15548
diff changeset
  1893
4fbc618e5f2c class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15548
diff changeset
  1894
    "Created: / 31-07-2013 / 18:11:25 / cg"
4fbc618e5f2c class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15548
diff changeset
  1895
!
4fbc618e5f2c class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15548
diff changeset
  1896
13161
Claus Gittinger <cg@exept.de>
parents: 13151
diff changeset
  1897
showDottedLinesInTree
13304
19bb57822f90 changed: #showDottedLinesInTree
Claus Gittinger <cg@exept.de>
parents: 13161
diff changeset
  1898
    ^ self 
19bb57822f90 changed: #showDottedLinesInTree
Claus Gittinger <cg@exept.de>
parents: 13161
diff changeset
  1899
        at:#showDottedLinesInTree 
19bb57822f90 changed: #showDottedLinesInTree
Claus Gittinger <cg@exept.de>
parents: 13161
diff changeset
  1900
        ifAbsent:[ OperatingSystem isMSWINDOWSlike not
19bb57822f90 changed: #showDottedLinesInTree
Claus Gittinger <cg@exept.de>
parents: 13161
diff changeset
  1901
                   or:[  OperatingSystem isVistaLike not ] ]
13161
Claus Gittinger <cg@exept.de>
parents: 13151
diff changeset
  1902
Claus Gittinger <cg@exept.de>
parents: 13151
diff changeset
  1903
    "Created: / 03-12-2010 / 11:31:46 / cg"
13304
19bb57822f90 changed: #showDottedLinesInTree
Claus Gittinger <cg@exept.de>
parents: 13161
diff changeset
  1904
    "Modified: / 09-02-2011 / 23:27:03 / cg"
13161
Claus Gittinger <cg@exept.de>
parents: 13151
diff changeset
  1905
!
Claus Gittinger <cg@exept.de>
parents: 13151
diff changeset
  1906
Claus Gittinger <cg@exept.de>
parents: 13151
diff changeset
  1907
showDottedLinesInTree:aBoolean
Claus Gittinger <cg@exept.de>
parents: 13151
diff changeset
  1908
    ^ self at:#showDottedLinesInTree put:aBoolean
Claus Gittinger <cg@exept.de>
parents: 13151
diff changeset
  1909
Claus Gittinger <cg@exept.de>
parents: 13151
diff changeset
  1910
    "
Claus Gittinger <cg@exept.de>
parents: 13151
diff changeset
  1911
     UserPreferences current showDottedLinesInTree:true.
Claus Gittinger <cg@exept.de>
parents: 13151
diff changeset
  1912
     UserPreferences current showDottedLinesInTree:false.
Claus Gittinger <cg@exept.de>
parents: 13151
diff changeset
  1913
    "
Claus Gittinger <cg@exept.de>
parents: 13151
diff changeset
  1914
Claus Gittinger <cg@exept.de>
parents: 13151
diff changeset
  1915
    "Created: / 03-12-2010 / 11:31:53 / cg"
Claus Gittinger <cg@exept.de>
parents: 13151
diff changeset
  1916
!
Claus Gittinger <cg@exept.de>
parents: 13151
diff changeset
  1917
11931
59251a906e85 preps for right-menu on buttonRelease
Claus Gittinger <cg@exept.de>
parents: 11930
diff changeset
  1918
showRightButtonMenuOnRelease
59251a906e85 preps for right-menu on buttonRelease
Claus Gittinger <cg@exept.de>
parents: 11930
diff changeset
  1919
    "the Windows behavior of showing the right-button menu on a release.
59251a906e85 preps for right-menu on buttonRelease
Claus Gittinger <cg@exept.de>
parents: 11930
diff changeset
  1920
     Not yet fully implemented."
59251a906e85 preps for right-menu on buttonRelease
Claus Gittinger <cg@exept.de>
parents: 11930
diff changeset
  1921
59251a906e85 preps for right-menu on buttonRelease
Claus Gittinger <cg@exept.de>
parents: 11930
diff changeset
  1922
    ^ self at:#showRightButtonMenuOnRelease ifAbsent:true
59251a906e85 preps for right-menu on buttonRelease
Claus Gittinger <cg@exept.de>
parents: 11930
diff changeset
  1923
!
59251a906e85 preps for right-menu on buttonRelease
Claus Gittinger <cg@exept.de>
parents: 11930
diff changeset
  1924
59251a906e85 preps for right-menu on buttonRelease
Claus Gittinger <cg@exept.de>
parents: 11930
diff changeset
  1925
showRightButtonMenuOnRelease:aBoolean
59251a906e85 preps for right-menu on buttonRelease
Claus Gittinger <cg@exept.de>
parents: 11930
diff changeset
  1926
    "the Windows behavior of showing the right-button menu on a release.
59251a906e85 preps for right-menu on buttonRelease
Claus Gittinger <cg@exept.de>
parents: 11930
diff changeset
  1927
     Not yet fully implemented."
59251a906e85 preps for right-menu on buttonRelease
Claus Gittinger <cg@exept.de>
parents: 11930
diff changeset
  1928
59251a906e85 preps for right-menu on buttonRelease
Claus Gittinger <cg@exept.de>
parents: 11930
diff changeset
  1929
    ^ self at:#showRightButtonMenuOnRelease put:aBoolean
59251a906e85 preps for right-menu on buttonRelease
Claus Gittinger <cg@exept.de>
parents: 11930
diff changeset
  1930
59251a906e85 preps for right-menu on buttonRelease
Claus Gittinger <cg@exept.de>
parents: 11930
diff changeset
  1931
    "
59251a906e85 preps for right-menu on buttonRelease
Claus Gittinger <cg@exept.de>
parents: 11930
diff changeset
  1932
     UserPreferences current showRightButtonMenuOnRelease:true.
59251a906e85 preps for right-menu on buttonRelease
Claus Gittinger <cg@exept.de>
parents: 11930
diff changeset
  1933
     UserPreferences current showRightButtonMenuOnRelease:false.
59251a906e85 preps for right-menu on buttonRelease
Claus Gittinger <cg@exept.de>
parents: 11930
diff changeset
  1934
    "
59251a906e85 preps for right-menu on buttonRelease
Claus Gittinger <cg@exept.de>
parents: 11930
diff changeset
  1935
!
59251a906e85 preps for right-menu on buttonRelease
Claus Gittinger <cg@exept.de>
parents: 11930
diff changeset
  1936
6730
7bbf6fdeda01 textDrag start with CTRL (optional)
Claus Gittinger <cg@exept.de>
parents: 6717
diff changeset
  1937
startTextDragWithControl
7bbf6fdeda01 textDrag start with CTRL (optional)
Claus Gittinger <cg@exept.de>
parents: 6717
diff changeset
  1938
    "if true, textDrag is only started when the CTRL-key is down"
7bbf6fdeda01 textDrag start with CTRL (optional)
Claus Gittinger <cg@exept.de>
parents: 6717
diff changeset
  1939
7bbf6fdeda01 textDrag start with CTRL (optional)
Claus Gittinger <cg@exept.de>
parents: 6717
diff changeset
  1940
    ^ self at:#startTextDragWithControl ifAbsent:true
7bbf6fdeda01 textDrag start with CTRL (optional)
Claus Gittinger <cg@exept.de>
parents: 6717
diff changeset
  1941
7bbf6fdeda01 textDrag start with CTRL (optional)
Claus Gittinger <cg@exept.de>
parents: 6717
diff changeset
  1942
    "
7bbf6fdeda01 textDrag start with CTRL (optional)
Claus Gittinger <cg@exept.de>
parents: 6717
diff changeset
  1943
     UserPreferences current startTextDragWithControl
7bbf6fdeda01 textDrag start with CTRL (optional)
Claus Gittinger <cg@exept.de>
parents: 6717
diff changeset
  1944
    "
7bbf6fdeda01 textDrag start with CTRL (optional)
Claus Gittinger <cg@exept.de>
parents: 6717
diff changeset
  1945
!
7bbf6fdeda01 textDrag start with CTRL (optional)
Claus Gittinger <cg@exept.de>
parents: 6717
diff changeset
  1946
7bbf6fdeda01 textDrag start with CTRL (optional)
Claus Gittinger <cg@exept.de>
parents: 6717
diff changeset
  1947
startTextDragWithControl:aBooleanOrNil
7bbf6fdeda01 textDrag start with CTRL (optional)
Claus Gittinger <cg@exept.de>
parents: 6717
diff changeset
  1948
    "if true, textDrag is only started when the CTRL-key is down"
7bbf6fdeda01 textDrag start with CTRL (optional)
Claus Gittinger <cg@exept.de>
parents: 6717
diff changeset
  1949
7bbf6fdeda01 textDrag start with CTRL (optional)
Claus Gittinger <cg@exept.de>
parents: 6717
diff changeset
  1950
    ^ self at:#startTextDragWithControl put:aBooleanOrNil
7bbf6fdeda01 textDrag start with CTRL (optional)
Claus Gittinger <cg@exept.de>
parents: 6717
diff changeset
  1951
7bbf6fdeda01 textDrag start with CTRL (optional)
Claus Gittinger <cg@exept.de>
parents: 6717
diff changeset
  1952
    "
7bbf6fdeda01 textDrag start with CTRL (optional)
Claus Gittinger <cg@exept.de>
parents: 6717
diff changeset
  1953
     UserPreferences current startTextDragWithControl:true
7bbf6fdeda01 textDrag start with CTRL (optional)
Claus Gittinger <cg@exept.de>
parents: 6717
diff changeset
  1954
     UserPreferences current startTextDragWithControl:false
7bbf6fdeda01 textDrag start with CTRL (optional)
Claus Gittinger <cg@exept.de>
parents: 6717
diff changeset
  1955
     UserPreferences current startTextDragWithControl
7bbf6fdeda01 textDrag start with CTRL (optional)
Claus Gittinger <cg@exept.de>
parents: 6717
diff changeset
  1956
    "
12522
0abaa650d83e added: #waitCursorVisibleTime
Stefan Vogel <sv@exept.de>
parents: 12501
diff changeset
  1957
!
0abaa650d83e added: #waitCursorVisibleTime
Stefan Vogel <sv@exept.de>
parents: 12501
diff changeset
  1958
13125
Claus Gittinger <cg@exept.de>
parents: 13124
diff changeset
  1959
toolTipAutoHideDelay
16466
11c565cfffc2 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16385
diff changeset
  1960
    "return the time in seconds, tooltips are shown. 0 means: show forever"
13125
Claus Gittinger <cg@exept.de>
parents: 13124
diff changeset
  1961
Claus Gittinger <cg@exept.de>
parents: 13124
diff changeset
  1962
    ^ self at:#toolTipAutoHideDelay ifAbsentPut:[FlyByHelp showTime]
Claus Gittinger <cg@exept.de>
parents: 13124
diff changeset
  1963
Claus Gittinger <cg@exept.de>
parents: 13124
diff changeset
  1964
    "
Claus Gittinger <cg@exept.de>
parents: 13124
diff changeset
  1965
     UserPreferences current toolTipAutoHideDelay
Claus Gittinger <cg@exept.de>
parents: 13124
diff changeset
  1966
    "
Claus Gittinger <cg@exept.de>
parents: 13124
diff changeset
  1967
Claus Gittinger <cg@exept.de>
parents: 13124
diff changeset
  1968
    "Created: / 10-11-2010 / 12:08:58 / cg"
Claus Gittinger <cg@exept.de>
parents: 13124
diff changeset
  1969
!
Claus Gittinger <cg@exept.de>
parents: 13124
diff changeset
  1970
Claus Gittinger <cg@exept.de>
parents: 13124
diff changeset
  1971
toolTipAutoHideDelay:aTimeDuration
16466
11c565cfffc2 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16385
diff changeset
  1972
    "set the time, tooltips are shown. 0 means: dont hide"
13125
Claus Gittinger <cg@exept.de>
parents: 13124
diff changeset
  1973
Claus Gittinger <cg@exept.de>
parents: 13124
diff changeset
  1974
    self at:#toolTipAutoHideDelay put:aTimeDuration.
16466
11c565cfffc2 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16385
diff changeset
  1975
    FlyByHelp showTime: (aTimeDuration isInteger 
11c565cfffc2 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16385
diff changeset
  1976
                            ifTrue:[aTimeDuration] 
11c565cfffc2 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16385
diff changeset
  1977
                            ifFalse:[aTimeDuration asSeconds]).
13125
Claus Gittinger <cg@exept.de>
parents: 13124
diff changeset
  1978
Claus Gittinger <cg@exept.de>
parents: 13124
diff changeset
  1979
    "
Claus Gittinger <cg@exept.de>
parents: 13124
diff changeset
  1980
     UserPreferences current toolTipAutoHideDelay:10 seconds
16466
11c565cfffc2 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16385
diff changeset
  1981
     UserPreferences current toolTipAutoHideDelay:0
13125
Claus Gittinger <cg@exept.de>
parents: 13124
diff changeset
  1982
    "
Claus Gittinger <cg@exept.de>
parents: 13124
diff changeset
  1983
Claus Gittinger <cg@exept.de>
parents: 13124
diff changeset
  1984
    "Created: / 10-11-2010 / 12:09:33 / cg"
13399
eb68067907e1 changed: #version_CVS
vrany
parents: 13391
diff changeset
  1985
    "Modified: / 07-03-2011 / 23:56:46 / Jan Vrany <jan.vrany@fit.cvut.cz>"
13125
Claus Gittinger <cg@exept.de>
parents: 13124
diff changeset
  1986
!
Claus Gittinger <cg@exept.de>
parents: 13124
diff changeset
  1987
15728
68b68fafbd79 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15726
diff changeset
  1988
toolTipShapeStyle
68b68fafbd79 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15726
diff changeset
  1989
    "return a symbol, or nil. If nil, the value from the stylesheet is used."
68b68fafbd79 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15726
diff changeset
  1990
68b68fafbd79 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15726
diff changeset
  1991
    ^ self at:#toolTipShapeStyle ifAbsent:[ nil ]
68b68fafbd79 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15726
diff changeset
  1992
68b68fafbd79 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15726
diff changeset
  1993
    "
68b68fafbd79 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15726
diff changeset
  1994
     UserPreferences current toolTipShapeStyle
68b68fafbd79 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15726
diff changeset
  1995
     UserPreferences current toolTipShapeStyle:#cartoon
68b68fafbd79 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15726
diff changeset
  1996
     UserPreferences current toolTipShapeStyle:nil
68b68fafbd79 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15726
diff changeset
  1997
    "
68b68fafbd79 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15726
diff changeset
  1998
!
68b68fafbd79 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15726
diff changeset
  1999
68b68fafbd79 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15726
diff changeset
  2000
toolTipShapeStyle:aSymbolOrNil
68b68fafbd79 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15726
diff changeset
  2001
    "A symbol, or nil. If nil, the value from the stylesheet is used."
68b68fafbd79 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15726
diff changeset
  2002
68b68fafbd79 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15726
diff changeset
  2003
    self at:#toolTipShapeStyle put:aSymbolOrNil
68b68fafbd79 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15726
diff changeset
  2004
68b68fafbd79 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15726
diff changeset
  2005
    "
68b68fafbd79 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15726
diff changeset
  2006
     UserPreferences current toolTipShapeStyle
68b68fafbd79 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15726
diff changeset
  2007
     UserPreferences current toolTipShapeStyle:#cartoon
68b68fafbd79 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15726
diff changeset
  2008
     UserPreferences current toolTipShapeStyle:nil
68b68fafbd79 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15726
diff changeset
  2009
    "
68b68fafbd79 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15726
diff changeset
  2010
!
68b68fafbd79 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15726
diff changeset
  2011
16265
32842903fc11 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16165
diff changeset
  2012
useXftFontsOnly
16266
d6dd2288fe0d class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16265
diff changeset
  2013
    "experimental:
d6dd2288fe0d class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16265
diff changeset
  2014
     return the flag which controls if ONLY Xft fonts should be used.
16265
32842903fc11 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16165
diff changeset
  2015
     If changed, this should be done very early during startup, before any other fonts
32842903fc11 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16165
diff changeset
  2016
     are already aquired (i.e. before any views are opened)"
32842903fc11 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16165
diff changeset
  2017
32842903fc11 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16165
diff changeset
  2018
    ^ self at:#useXftFontsOnly ifAbsent:[ false ]
32842903fc11 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16165
diff changeset
  2019
32842903fc11 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16165
diff changeset
  2020
    "
32842903fc11 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16165
diff changeset
  2021
     UserPreferences current useXftFontsOnly
32842903fc11 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16165
diff changeset
  2022
    "
32842903fc11 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16165
diff changeset
  2023
!
32842903fc11 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16165
diff changeset
  2024
32842903fc11 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16165
diff changeset
  2025
useXftFontsOnly:aBooleanOrNil
16266
d6dd2288fe0d class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16265
diff changeset
  2026
    "experimental:
d6dd2288fe0d class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16265
diff changeset
  2027
     set/clear the flag which controls if ONLY Xft fonts should be used.
16265
32842903fc11 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16165
diff changeset
  2028
     If changed, this should be done very early during startup, before any other fonts
32842903fc11 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16165
diff changeset
  2029
     are already aquired (i.e. before any views are opened)"
32842903fc11 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16165
diff changeset
  2030
32842903fc11 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16165
diff changeset
  2031
    ^ self at:#useXftFontsOnly put:aBooleanOrNil
32842903fc11 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16165
diff changeset
  2032
32842903fc11 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16165
diff changeset
  2033
    "
32842903fc11 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16165
diff changeset
  2034
     UserPreferences current useXftFontsOnly:true
32842903fc11 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16165
diff changeset
  2035
     UserPreferences current useXftFontsOnly:false
32842903fc11 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16165
diff changeset
  2036
     UserPreferences current useXftFontsOnly
32842903fc11 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16165
diff changeset
  2037
    "
32842903fc11 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16165
diff changeset
  2038
!
32842903fc11 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16165
diff changeset
  2039
12522
0abaa650d83e added: #waitCursorVisibleTime
Stefan Vogel <sv@exept.de>
parents: 12501
diff changeset
  2040
waitCursorVisibleTime
0abaa650d83e added: #waitCursorVisibleTime
Stefan Vogel <sv@exept.de>
parents: 12501
diff changeset
  2041
    "anser the time (in ms), how long a wait cursor should be visible at least"
0abaa650d83e added: #waitCursorVisibleTime
Stefan Vogel <sv@exept.de>
parents: 12501
diff changeset
  2042
13684
a55755f5d41b changed: #waitCursorVisibleTime
Claus Gittinger <cg@exept.de>
parents: 13652
diff changeset
  2043
    ^ 100
a55755f5d41b changed: #waitCursorVisibleTime
Claus Gittinger <cg@exept.de>
parents: 13652
diff changeset
  2044
a55755f5d41b changed: #waitCursorVisibleTime
Claus Gittinger <cg@exept.de>
parents: 13652
diff changeset
  2045
    "Modified: / 12-09-2011 / 11:08:53 / cg"
13122
ddeb0c08d6c7 added: #workAroundRenderingBugOnVista
Claus Gittinger <cg@exept.de>
parents: 13119
diff changeset
  2046
!
ddeb0c08d6c7 added: #workAroundRenderingBugOnVista
Claus Gittinger <cg@exept.de>
parents: 13119
diff changeset
  2047
ddeb0c08d6c7 added: #workAroundRenderingBugOnVista
Claus Gittinger <cg@exept.de>
parents: 13119
diff changeset
  2048
workAroundRenderingBugOnVista
13124
ae7477260767 changed: #workAroundRenderingBugOnVista
Claus Gittinger <cg@exept.de>
parents: 13122
diff changeset
  2049
    "a temporary kludge for the vista-cleartype character redraw bug"
13122
ddeb0c08d6c7 added: #workAroundRenderingBugOnVista
Claus Gittinger <cg@exept.de>
parents: 13119
diff changeset
  2050
ddeb0c08d6c7 added: #workAroundRenderingBugOnVista
Claus Gittinger <cg@exept.de>
parents: 13119
diff changeset
  2051
    ^ OperatingSystem isMSWINDOWSlike
ddeb0c08d6c7 added: #workAroundRenderingBugOnVista
Claus Gittinger <cg@exept.de>
parents: 13119
diff changeset
  2052
ddeb0c08d6c7 added: #workAroundRenderingBugOnVista
Claus Gittinger <cg@exept.de>
parents: 13119
diff changeset
  2053
    "Created: / 08-11-2010 / 14:47:52 / cg"
13124
ae7477260767 changed: #workAroundRenderingBugOnVista
Claus Gittinger <cg@exept.de>
parents: 13122
diff changeset
  2054
    "Modified: / 09-11-2010 / 13:02:43 / cg"
7549
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2055
! !
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2056
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2057
!UserPreferences methodsFor:'accessing-prefs-browser'!
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2058
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2059
autoFormatting
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2060
    "return the flag which controls automatic formatting of code (in some browsers)
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2061
     Notice, the regular browser does not (yet) do automatic formating."
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2062
8233
354850231fe7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8232
diff changeset
  2063
    ^ self at:#autoFormatting ifAbsent:false
7549
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2064
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2065
    "
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2066
     UserPreferences current autoFormatting
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2067
    "
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2068
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2069
    "Created: / 4.2.2000 / 20:08:08 / cg"
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2070
    "Modified: / 5.2.2000 / 15:38:33 / cg"
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2071
!
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2072
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2073
autoFormatting:aBoolean
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2074
    "turn on/off automatic formatting of code (in some browsers);
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2075
     Notice, the regular browser does not (yet) do automatic formating."
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2076
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2077
    ^ self at:#autoFormatting put:aBoolean
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2078
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2079
    "
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2080
     UserPreferences current autoFormatting:true
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2081
     UserPreferences current autoFormatting:false
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2082
    "
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2083
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2084
    "Created: / 4.2.2000 / 20:08:26 / cg"
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2085
    "Modified: / 5.2.2000 / 15:38:20 / cg"
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2086
!
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2087
15290
de9c34723d33 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15158
diff changeset
  2088
autoIndentInCodeView
de9c34723d33 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15158
diff changeset
  2089
    "return the flag which controls automatic cursor control in editors which
de9c34723d33 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15158
diff changeset
  2090
     show code(autoIndent)"
de9c34723d33 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15158
diff changeset
  2091
de9c34723d33 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15158
diff changeset
  2092
    ^ self at:#autoIndentInCodeView ifAbsent:false
de9c34723d33 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15158
diff changeset
  2093
de9c34723d33 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15158
diff changeset
  2094
    "
de9c34723d33 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15158
diff changeset
  2095
     UserPreferences current autoIndentInCodeView
de9c34723d33 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15158
diff changeset
  2096
    "
de9c34723d33 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15158
diff changeset
  2097
!
de9c34723d33 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15158
diff changeset
  2098
de9c34723d33 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15158
diff changeset
  2099
autoIndentInCodeView:aBoolean
de9c34723d33 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15158
diff changeset
  2100
    "flag which controls automatic cursor control in editors which
de9c34723d33 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15158
diff changeset
  2101
     show code(autoIndent)"
de9c34723d33 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15158
diff changeset
  2102
de9c34723d33 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15158
diff changeset
  2103
    ^ self at:#autoIndentInCodeView put:aBoolean
de9c34723d33 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15158
diff changeset
  2104
de9c34723d33 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15158
diff changeset
  2105
    "
de9c34723d33 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15158
diff changeset
  2106
     UserPreferences current autoIndentInCodeView:true
de9c34723d33 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15158
diff changeset
  2107
     UserPreferences current autoIndentInCodeView:false
de9c34723d33 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15158
diff changeset
  2108
    "
de9c34723d33 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15158
diff changeset
  2109
!
de9c34723d33 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15158
diff changeset
  2110
7549
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2111
enforceCodeStyle
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2112
    "return the flag which controls enforcing a certain code style (in some browsers)"
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2113
8233
354850231fe7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8232
diff changeset
  2114
    ^ self at:#enforceCodeStyle ifAbsent:false
7549
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2115
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2116
    "
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2117
     UserPreferences current enforceCodeStyle
10478
34a91987e7b6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10310
diff changeset
  2118
     UserPreferences current enforceCodeStyle:true
34a91987e7b6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10310
diff changeset
  2119
     UserPreferences current enforceCodeStyle:false
7549
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2120
    "
10478
34a91987e7b6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10310
diff changeset
  2121
34a91987e7b6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10310
diff changeset
  2122
    "Modified: / 27-03-2007 / 21:51:42 / cg"
6730
7bbf6fdeda01 textDrag start with CTRL (optional)
Claus Gittinger <cg@exept.de>
parents: 6717
diff changeset
  2123
!
7bbf6fdeda01 textDrag start with CTRL (optional)
Claus Gittinger <cg@exept.de>
parents: 6717
diff changeset
  2124
12947
Claus Gittinger <cg@exept.de>
parents: 12930
diff changeset
  2125
enforceComment
Claus Gittinger <cg@exept.de>
parents: 12930
diff changeset
  2126
    "return the flag which controls enforcing a comment in accepted methods"
Claus Gittinger <cg@exept.de>
parents: 12930
diff changeset
  2127
Claus Gittinger <cg@exept.de>
parents: 12930
diff changeset
  2128
    ^ self at:#enforceComment ifAbsent:false
Claus Gittinger <cg@exept.de>
parents: 12930
diff changeset
  2129
Claus Gittinger <cg@exept.de>
parents: 12930
diff changeset
  2130
    "
Claus Gittinger <cg@exept.de>
parents: 12930
diff changeset
  2131
     UserPreferences current enforceComment
Claus Gittinger <cg@exept.de>
parents: 12930
diff changeset
  2132
     UserPreferences current enforceComment:true
Claus Gittinger <cg@exept.de>
parents: 12930
diff changeset
  2133
     UserPreferences current enforceComment:false
Claus Gittinger <cg@exept.de>
parents: 12930
diff changeset
  2134
    "
Claus Gittinger <cg@exept.de>
parents: 12930
diff changeset
  2135
Claus Gittinger <cg@exept.de>
parents: 12930
diff changeset
  2136
    "Created: / 17-07-2010 / 14:16:27 / cg"
Claus Gittinger <cg@exept.de>
parents: 12930
diff changeset
  2137
!
Claus Gittinger <cg@exept.de>
parents: 12930
diff changeset
  2138
Claus Gittinger <cg@exept.de>
parents: 12930
diff changeset
  2139
enforceComment:aBoolean
Claus Gittinger <cg@exept.de>
parents: 12930
diff changeset
  2140
    "set/clear the flag which controls enforcing a comment in accepted methods"
Claus Gittinger <cg@exept.de>
parents: 12930
diff changeset
  2141
Claus Gittinger <cg@exept.de>
parents: 12930
diff changeset
  2142
    ^ self at:#enforceComment put:aBoolean
Claus Gittinger <cg@exept.de>
parents: 12930
diff changeset
  2143
Claus Gittinger <cg@exept.de>
parents: 12930
diff changeset
  2144
    "
Claus Gittinger <cg@exept.de>
parents: 12930
diff changeset
  2145
     UserPreferences current enforceComment:true
Claus Gittinger <cg@exept.de>
parents: 12930
diff changeset
  2146
     UserPreferences current enforceComment:false
Claus Gittinger <cg@exept.de>
parents: 12930
diff changeset
  2147
    "
Claus Gittinger <cg@exept.de>
parents: 12930
diff changeset
  2148
Claus Gittinger <cg@exept.de>
parents: 12930
diff changeset
  2149
    "Created: / 17-07-2010 / 14:17:02 / cg"
Claus Gittinger <cg@exept.de>
parents: 12930
diff changeset
  2150
!
Claus Gittinger <cg@exept.de>
parents: 12930
diff changeset
  2151
14415
Claus Gittinger <cg@exept.de>
parents: 14358
diff changeset
  2152
runLintChecksInBackground
Claus Gittinger <cg@exept.de>
parents: 14358
diff changeset
  2153
    "controls the browser's lint-check behavior;
Claus Gittinger <cg@exept.de>
parents: 14358
diff changeset
  2154
     background operation (Jan's pref) makes it difficult to stop and debug...)"
Claus Gittinger <cg@exept.de>
parents: 14358
diff changeset
  2155
Claus Gittinger <cg@exept.de>
parents: 14358
diff changeset
  2156
    ^ self at:#runLintChecksInBackground ifAbsent:true
Claus Gittinger <cg@exept.de>
parents: 14358
diff changeset
  2157
Claus Gittinger <cg@exept.de>
parents: 14358
diff changeset
  2158
    "
Claus Gittinger <cg@exept.de>
parents: 14358
diff changeset
  2159
     UserPreferences current runLintChecksInBackground
Claus Gittinger <cg@exept.de>
parents: 14358
diff changeset
  2160
     UserPreferences current runLintChecksInBackground:true
Claus Gittinger <cg@exept.de>
parents: 14358
diff changeset
  2161
     UserPreferences current runLintChecksInBackground:false
Claus Gittinger <cg@exept.de>
parents: 14358
diff changeset
  2162
    "
Claus Gittinger <cg@exept.de>
parents: 14358
diff changeset
  2163
Claus Gittinger <cg@exept.de>
parents: 14358
diff changeset
  2164
    "Created: / 17-07-2010 / 14:16:27 / cg"
Claus Gittinger <cg@exept.de>
parents: 14358
diff changeset
  2165
!
Claus Gittinger <cg@exept.de>
parents: 14358
diff changeset
  2166
Claus Gittinger <cg@exept.de>
parents: 14358
diff changeset
  2167
runLintChecksInBackground:aBoolean
Claus Gittinger <cg@exept.de>
parents: 14358
diff changeset
  2168
    "controls the browser's lint-check behavior;
Claus Gittinger <cg@exept.de>
parents: 14358
diff changeset
  2169
     background operation (Jan's pref) makes it difficult to stop and debug...)"
Claus Gittinger <cg@exept.de>
parents: 14358
diff changeset
  2170
Claus Gittinger <cg@exept.de>
parents: 14358
diff changeset
  2171
    ^ self at:#runLintChecksInBackground put:aBoolean
Claus Gittinger <cg@exept.de>
parents: 14358
diff changeset
  2172
Claus Gittinger <cg@exept.de>
parents: 14358
diff changeset
  2173
    "
Claus Gittinger <cg@exept.de>
parents: 14358
diff changeset
  2174
     UserPreferences current runLintChecksInBackground:true
Claus Gittinger <cg@exept.de>
parents: 14358
diff changeset
  2175
     UserPreferences current runLintChecksInBackground:false
Claus Gittinger <cg@exept.de>
parents: 14358
diff changeset
  2176
    "
Claus Gittinger <cg@exept.de>
parents: 14358
diff changeset
  2177
Claus Gittinger <cg@exept.de>
parents: 14358
diff changeset
  2178
    "Created: / 17-07-2010 / 14:17:02 / cg"
Claus Gittinger <cg@exept.de>
parents: 14358
diff changeset
  2179
!
Claus Gittinger <cg@exept.de>
parents: 14358
diff changeset
  2180
9320
3915cefea352 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9302
diff changeset
  2181
showAcceptCancelBarInBrowser
11214
ad61819068b9 changed #showAcceptCancelBarInBrowser
Claus Gittinger <cg@exept.de>
parents: 11213
diff changeset
  2182
    ^ self at:#showAcceptCancelBarInBrowser ifAbsent:true
9320
3915cefea352 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9302
diff changeset
  2183
3915cefea352 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9302
diff changeset
  2184
    "
3915cefea352 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9302
diff changeset
  2185
     UserPreferences current showAcceptCancelBarInBrowser
3915cefea352 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9302
diff changeset
  2186
     UserPreferences current showAcceptCancelBarInBrowser:true
3915cefea352 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9302
diff changeset
  2187
     UserPreferences current showAcceptCancelBarInBrowser:false
3915cefea352 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9302
diff changeset
  2188
    "
3915cefea352 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9302
diff changeset
  2189
!
3915cefea352 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9302
diff changeset
  2190
3915cefea352 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9302
diff changeset
  2191
showAcceptCancelBarInBrowser:aBoolean
3915cefea352 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9302
diff changeset
  2192
    "experimental."
3915cefea352 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9302
diff changeset
  2193
3915cefea352 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9302
diff changeset
  2194
    ^ self at:#showAcceptCancelBarInBrowser put:aBoolean
3915cefea352 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9302
diff changeset
  2195
3915cefea352 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9302
diff changeset
  2196
    "
3915cefea352 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9302
diff changeset
  2197
     UserPreferences current showAcceptCancelBarInBrowser:true
3915cefea352 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9302
diff changeset
  2198
     UserPreferences current showAcceptCancelBarInBrowser:false
3915cefea352 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9302
diff changeset
  2199
    "
3915cefea352 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9302
diff changeset
  2200
!
3915cefea352 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9302
diff changeset
  2201
3347
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  2202
syntaxColoring
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2203
    "return the flag which controls syntax coloring (in the browsers)"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2204
8233
354850231fe7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8232
diff changeset
  2205
    ^ self at:#syntaxColoring ifAbsent:true
3347
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  2206
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  2207
    "
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  2208
     UserPreferences current syntaxColoring
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  2209
    "
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  2210
3827
d3dd75b5ced3 syntax coloring is on by default;
Claus Gittinger <cg@exept.de>
parents: 3409
diff changeset
  2211
    "Modified: / 11.9.1998 / 00:09:59 / cg"
3347
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  2212
!
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  2213
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  2214
syntaxColoring:aBoolean
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2215
    "turn on/off syntaxColoring (in the browsers)."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2216
3347
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  2217
    ^ self at:#syntaxColoring put:aBoolean
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  2218
3357
bc42e06c8422 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3356
diff changeset
  2219
    "
bc42e06c8422 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3356
diff changeset
  2220
     UserPreferences current syntaxColoring:true
bc42e06c8422 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3356
diff changeset
  2221
     UserPreferences current syntaxColoring:false
bc42e06c8422 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3356
diff changeset
  2222
    "
bc42e06c8422 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3356
diff changeset
  2223
3347
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  2224
    "Created: / 31.3.1998 / 13:44:00 / cg"
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2225
    "Modified: / 1.4.1998 / 13:23:03 / cg"
12189
fm
parents: 12175
diff changeset
  2226
!
fm
parents: 12175
diff changeset
  2227
fm
parents: 12175
diff changeset
  2228
useSearchBarInBrowser
12191
e7cc3e6975cc comment/format in:
Claus Gittinger <cg@exept.de>
parents: 12189
diff changeset
  2229
    "true, if the search-entry fields are initially shown in the browser itself
12189
fm
parents: 12175
diff changeset
  2230
     (like in firefox). False if a dialog is to be opened."
fm
parents: 12175
diff changeset
  2231
fm
parents: 12175
diff changeset
  2232
    "/ cg: disabled for now, until fixed.
fm
parents: 12175
diff changeset
  2233
    "/ does not initially select the searchString.
fm
parents: 12175
diff changeset
  2234
    "/ thereby interrupting the workflow...
fm
parents: 12175
diff changeset
  2235
fm
parents: 12175
diff changeset
  2236
    ^ self at:#useSearchBarInBrowser ifAbsent:false
fm
parents: 12175
diff changeset
  2237
fm
parents: 12175
diff changeset
  2238
    "
fm
parents: 12175
diff changeset
  2239
     UserPreferences current useSearchBarInBrowser
fm
parents: 12175
diff changeset
  2240
     UserPreferences current useSearchBarInBrowser:true
fm
parents: 12175
diff changeset
  2241
     UserPreferences current useSearchBarInBrowser:false
fm
parents: 12175
diff changeset
  2242
    "
fm
parents: 12175
diff changeset
  2243
!
fm
parents: 12175
diff changeset
  2244
fm
parents: 12175
diff changeset
  2245
useSearchBarInBrowser:aBoolean
12191
e7cc3e6975cc comment/format in:
Claus Gittinger <cg@exept.de>
parents: 12189
diff changeset
  2246
    "true, if the search-entry fields are initially shown in the browser itself
12189
fm
parents: 12175
diff changeset
  2247
     (like in firefox). False if a dialog is to be opened."
fm
parents: 12175
diff changeset
  2248
fm
parents: 12175
diff changeset
  2249
    ^ self at:#useSearchBarInBrowser put:aBoolean
fm
parents: 12175
diff changeset
  2250
fm
parents: 12175
diff changeset
  2251
    "
fm
parents: 12175
diff changeset
  2252
     UserPreferences current useSearchBarInBrowser:true
fm
parents: 12175
diff changeset
  2253
     UserPreferences current useSearchBarInBrowser:false
fm
parents: 12175
diff changeset
  2254
    "
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2255
! !
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2256
7549
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2257
!UserPreferences methodsFor:'accessing-prefs-browser-colors'!
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2258
12905
Claus Gittinger <cg@exept.de>
parents: 12902
diff changeset
  2259
colorForInstrumentedFullyCoveredCode
Claus Gittinger <cg@exept.de>
parents: 12902
diff changeset
  2260
    "the color for code in the browser which is instrumented 
Claus Gittinger <cg@exept.de>
parents: 12902
diff changeset
  2261
     and where all branches have been executed (also code, which has been executed)"
Claus Gittinger <cg@exept.de>
parents: 12902
diff changeset
  2262
Claus Gittinger <cg@exept.de>
parents: 12902
diff changeset
  2263
    |clr|
Claus Gittinger <cg@exept.de>
parents: 12902
diff changeset
  2264
Claus Gittinger <cg@exept.de>
parents: 12902
diff changeset
  2265
    clr := self at:#colorForInstrumentedFullyCoveredCode ifAbsent:nil.
Claus Gittinger <cg@exept.de>
parents: 12902
diff changeset
  2266
    clr isNil ifTrue:[
15915
b8bc99b1b16f class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15913
diff changeset
  2267
        clr := Color green darkened. "/ slightlyDarkened.
b8bc99b1b16f class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15913
diff changeset
  2268
        "/ self at:#colorForInstrumentedFullyCoveredCode put:clr.
12905
Claus Gittinger <cg@exept.de>
parents: 12902
diff changeset
  2269
    ].
Claus Gittinger <cg@exept.de>
parents: 12902
diff changeset
  2270
    ^ clr
Claus Gittinger <cg@exept.de>
parents: 12902
diff changeset
  2271
Claus Gittinger <cg@exept.de>
parents: 12902
diff changeset
  2272
    "
Claus Gittinger <cg@exept.de>
parents: 12902
diff changeset
  2273
     UserPreferences current
Claus Gittinger <cg@exept.de>
parents: 12902
diff changeset
  2274
        at:#emphasisForInstrumentedFullyCoveredCode 
Claus Gittinger <cg@exept.de>
parents: 12902
diff changeset
  2275
        put:(Color green slightlyDarkened).
Claus Gittinger <cg@exept.de>
parents: 12902
diff changeset
  2276
    "
Claus Gittinger <cg@exept.de>
parents: 12902
diff changeset
  2277
Claus Gittinger <cg@exept.de>
parents: 12902
diff changeset
  2278
    "Created: / 28-04-2010 / 13:58:52 / cg"
Claus Gittinger <cg@exept.de>
parents: 12902
diff changeset
  2279
!
Claus Gittinger <cg@exept.de>
parents: 12902
diff changeset
  2280
15915
b8bc99b1b16f class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15913
diff changeset
  2281
colorForInstrumentedFullyCoveredCode:aColor
b8bc99b1b16f class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15913
diff changeset
  2282
    "the color for code in the browser which is instrumented 
b8bc99b1b16f class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15913
diff changeset
  2283
     and where all branches have been executed (also code, which has been executed)"
b8bc99b1b16f class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15913
diff changeset
  2284
b8bc99b1b16f class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15913
diff changeset
  2285
    self at:#colorForInstrumentedFullyCoveredCode put:aColor.
b8bc99b1b16f class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15913
diff changeset
  2286
b8bc99b1b16f class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15913
diff changeset
  2287
    "
b8bc99b1b16f class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15913
diff changeset
  2288
     UserPreferences current colorForInstrumentedFullyCoveredCode:(Color green slightlyDarkened).
b8bc99b1b16f class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15913
diff changeset
  2289
     UserPreferences current colorForInstrumentedFullyCoveredCode:nil.
b8bc99b1b16f class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15913
diff changeset
  2290
    "
b8bc99b1b16f class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15913
diff changeset
  2291
b8bc99b1b16f class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15913
diff changeset
  2292
    "Created: / 28-04-2010 / 13:58:52 / cg"
b8bc99b1b16f class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15913
diff changeset
  2293
!
b8bc99b1b16f class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15913
diff changeset
  2294
12905
Claus Gittinger <cg@exept.de>
parents: 12902
diff changeset
  2295
colorForInstrumentedNeverCalledCode
Claus Gittinger <cg@exept.de>
parents: 12902
diff changeset
  2296
    "the color for code in the browser which is instrumented but has never been called"
Claus Gittinger <cg@exept.de>
parents: 12902
diff changeset
  2297
Claus Gittinger <cg@exept.de>
parents: 12902
diff changeset
  2298
    |clr|
Claus Gittinger <cg@exept.de>
parents: 12902
diff changeset
  2299
Claus Gittinger <cg@exept.de>
parents: 12902
diff changeset
  2300
    clr := self at:#colorForInstrumentedNeverCalledCode ifAbsent:nil.
Claus Gittinger <cg@exept.de>
parents: 12902
diff changeset
  2301
    clr isNil ifTrue:[
15915
b8bc99b1b16f class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15913
diff changeset
  2302
        clr := Color red darkened. "/ slightlyDarkened.
b8bc99b1b16f class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15913
diff changeset
  2303
        "/ self at:#colorForInstrumentedNeverCalledCode put:clr.
12905
Claus Gittinger <cg@exept.de>
parents: 12902
diff changeset
  2304
    ].
Claus Gittinger <cg@exept.de>
parents: 12902
diff changeset
  2305
    ^ clr
Claus Gittinger <cg@exept.de>
parents: 12902
diff changeset
  2306
Claus Gittinger <cg@exept.de>
parents: 12902
diff changeset
  2307
    "
Claus Gittinger <cg@exept.de>
parents: 12902
diff changeset
  2308
     UserPreferences current
Claus Gittinger <cg@exept.de>
parents: 12902
diff changeset
  2309
        at:#colorForInstrumentedNeverCalledCode 
Claus Gittinger <cg@exept.de>
parents: 12902
diff changeset
  2310
        put:(Color red slightlyDarkened).
Claus Gittinger <cg@exept.de>
parents: 12902
diff changeset
  2311
    "
Claus Gittinger <cg@exept.de>
parents: 12902
diff changeset
  2312
Claus Gittinger <cg@exept.de>
parents: 12902
diff changeset
  2313
    "Created: / 28-04-2010 / 13:59:43 / cg"
Claus Gittinger <cg@exept.de>
parents: 12902
diff changeset
  2314
!
Claus Gittinger <cg@exept.de>
parents: 12902
diff changeset
  2315
15915
b8bc99b1b16f class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15913
diff changeset
  2316
colorForInstrumentedNeverCalledCode:aColor
b8bc99b1b16f class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15913
diff changeset
  2317
    "the color for code in the browser which is instrumented but has never been called"
b8bc99b1b16f class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15913
diff changeset
  2318
b8bc99b1b16f class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15913
diff changeset
  2319
    self at:#colorForInstrumentedNeverCalledCode put:aColor.
b8bc99b1b16f class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15913
diff changeset
  2320
b8bc99b1b16f class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15913
diff changeset
  2321
    "
b8bc99b1b16f class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15913
diff changeset
  2322
     UserPreferences current colorForInstrumentedNeverCalledCode:(Color red slightlyDarkened).
b8bc99b1b16f class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15913
diff changeset
  2323
     UserPreferences current colorForInstrumentedNeverCalledCode:nil.
b8bc99b1b16f class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15913
diff changeset
  2324
    "
b8bc99b1b16f class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15913
diff changeset
  2325
b8bc99b1b16f class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15913
diff changeset
  2326
    "Created: / 28-04-2010 / 13:59:43 / cg"
b8bc99b1b16f class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15913
diff changeset
  2327
!
b8bc99b1b16f class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15913
diff changeset
  2328
12905
Claus Gittinger <cg@exept.de>
parents: 12902
diff changeset
  2329
colorForInstrumentedPartiallyCoveredCode
Claus Gittinger <cg@exept.de>
parents: 12902
diff changeset
  2330
    "color for code in the browser which is instrumented and where some branches have been
Claus Gittinger <cg@exept.de>
parents: 12902
diff changeset
  2331
     executed"
Claus Gittinger <cg@exept.de>
parents: 12902
diff changeset
  2332
Claus Gittinger <cg@exept.de>
parents: 12902
diff changeset
  2333
    |clr|
Claus Gittinger <cg@exept.de>
parents: 12902
diff changeset
  2334
Claus Gittinger <cg@exept.de>
parents: 12902
diff changeset
  2335
    clr := self at:#colorForInstrumentedPartiallyCoveredCode ifAbsent:nil.
Claus Gittinger <cg@exept.de>
parents: 12902
diff changeset
  2336
    clr isNil ifTrue:[
15915
b8bc99b1b16f class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15913
diff changeset
  2337
        clr := Color orange slightlyDarkened.
b8bc99b1b16f class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15913
diff changeset
  2338
        "/ self at:#colorForInstrumentedPartiallyCoveredCode put:clr.
12905
Claus Gittinger <cg@exept.de>
parents: 12902
diff changeset
  2339
    ].
Claus Gittinger <cg@exept.de>
parents: 12902
diff changeset
  2340
    ^ clr
Claus Gittinger <cg@exept.de>
parents: 12902
diff changeset
  2341
Claus Gittinger <cg@exept.de>
parents: 12902
diff changeset
  2342
    "
Claus Gittinger <cg@exept.de>
parents: 12902
diff changeset
  2343
     UserPreferences current
Claus Gittinger <cg@exept.de>
parents: 12902
diff changeset
  2344
        at:#colorForInstrumentedPartiallyCoveredCode 
Claus Gittinger <cg@exept.de>
parents: 12902
diff changeset
  2345
        put:(Color orange slightlyLightened).
Claus Gittinger <cg@exept.de>
parents: 12902
diff changeset
  2346
    "
Claus Gittinger <cg@exept.de>
parents: 12902
diff changeset
  2347
Claus Gittinger <cg@exept.de>
parents: 12902
diff changeset
  2348
    "Created: / 28-04-2010 / 14:00:56 / cg"
Claus Gittinger <cg@exept.de>
parents: 12902
diff changeset
  2349
!
Claus Gittinger <cg@exept.de>
parents: 12902
diff changeset
  2350
15915
b8bc99b1b16f class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15913
diff changeset
  2351
colorForInstrumentedPartiallyCoveredCode:aColor
b8bc99b1b16f class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15913
diff changeset
  2352
    "color for code in the browser which is instrumented and where some branches have been
b8bc99b1b16f class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15913
diff changeset
  2353
     executed"
b8bc99b1b16f class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15913
diff changeset
  2354
b8bc99b1b16f class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15913
diff changeset
  2355
    self at:#colorForInstrumentedPartiallyCoveredCode put:aColor.
b8bc99b1b16f class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15913
diff changeset
  2356
b8bc99b1b16f class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15913
diff changeset
  2357
    "
b8bc99b1b16f class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15913
diff changeset
  2358
     UserPreferences current colorForInstrumentedPartiallyCoveredCode:(Color orange slightlyLightened).
b8bc99b1b16f class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15913
diff changeset
  2359
     UserPreferences current colorForInstrumentedPartiallyCoveredCode:nil.
b8bc99b1b16f class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15913
diff changeset
  2360
    "
b8bc99b1b16f class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15913
diff changeset
  2361
b8bc99b1b16f class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15913
diff changeset
  2362
    "Created: / 28-04-2010 / 14:00:56 / cg"
b8bc99b1b16f class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15913
diff changeset
  2363
!
b8bc99b1b16f class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15913
diff changeset
  2364
13652
af8438e37bd6 added: #colorForPseudoProtocolsInMethodListInBrowser
Claus Gittinger <cg@exept.de>
parents: 13597
diff changeset
  2365
colorForPseudoProtocolsInMethodListInBrowser
af8438e37bd6 added: #colorForPseudoProtocolsInMethodListInBrowser
Claus Gittinger <cg@exept.de>
parents: 13597
diff changeset
  2366
    "eventually, make this also a settings value (for people with weak gray-visibility)"
af8438e37bd6 added: #colorForPseudoProtocolsInMethodListInBrowser
Claus Gittinger <cg@exept.de>
parents: 13597
diff changeset
  2367
af8438e37bd6 added: #colorForPseudoProtocolsInMethodListInBrowser
Claus Gittinger <cg@exept.de>
parents: 13597
diff changeset
  2368
    |bg|
af8438e37bd6 added: #colorForPseudoProtocolsInMethodListInBrowser
Claus Gittinger <cg@exept.de>
parents: 13597
diff changeset
  2369
af8438e37bd6 added: #colorForPseudoProtocolsInMethodListInBrowser
Claus Gittinger <cg@exept.de>
parents: 13597
diff changeset
  2370
    SelectionInListView notNil ifTrue:[
af8438e37bd6 added: #colorForPseudoProtocolsInMethodListInBrowser
Claus Gittinger <cg@exept.de>
parents: 13597
diff changeset
  2371
        bg := SelectionInListView defaultBackgroundColor.
af8438e37bd6 added: #colorForPseudoProtocolsInMethodListInBrowser
Claus Gittinger <cg@exept.de>
parents: 13597
diff changeset
  2372
    ].
af8438e37bd6 added: #colorForPseudoProtocolsInMethodListInBrowser
Claus Gittinger <cg@exept.de>
parents: 13597
diff changeset
  2373
    bg isNil ifTrue:[
af8438e37bd6 added: #colorForPseudoProtocolsInMethodListInBrowser
Claus Gittinger <cg@exept.de>
parents: 13597
diff changeset
  2374
        View notNil ifTrue:[
af8438e37bd6 added: #colorForPseudoProtocolsInMethodListInBrowser
Claus Gittinger <cg@exept.de>
parents: 13597
diff changeset
  2375
            bg := View defaultBackgroundColor.
af8438e37bd6 added: #colorForPseudoProtocolsInMethodListInBrowser
Claus Gittinger <cg@exept.de>
parents: 13597
diff changeset
  2376
        ].
af8438e37bd6 added: #colorForPseudoProtocolsInMethodListInBrowser
Claus Gittinger <cg@exept.de>
parents: 13597
diff changeset
  2377
        bg isNil ifTrue:[
af8438e37bd6 added: #colorForPseudoProtocolsInMethodListInBrowser
Claus Gittinger <cg@exept.de>
parents: 13597
diff changeset
  2378
            ^ Color grey
af8438e37bd6 added: #colorForPseudoProtocolsInMethodListInBrowser
Claus Gittinger <cg@exept.de>
parents: 13597
diff changeset
  2379
        ].
af8438e37bd6 added: #colorForPseudoProtocolsInMethodListInBrowser
Claus Gittinger <cg@exept.de>
parents: 13597
diff changeset
  2380
    ].
af8438e37bd6 added: #colorForPseudoProtocolsInMethodListInBrowser
Claus Gittinger <cg@exept.de>
parents: 13597
diff changeset
  2381
af8438e37bd6 added: #colorForPseudoProtocolsInMethodListInBrowser
Claus Gittinger <cg@exept.de>
parents: 13597
diff changeset
  2382
    (Color grey brightness - (bg brightness)) abs < 0.3 ifTrue:[
af8438e37bd6 added: #colorForPseudoProtocolsInMethodListInBrowser
Claus Gittinger <cg@exept.de>
parents: 13597
diff changeset
  2383
        (bg brightness) > 0.7 ifTrue:[
af8438e37bd6 added: #colorForPseudoProtocolsInMethodListInBrowser
Claus Gittinger <cg@exept.de>
parents: 13597
diff changeset
  2384
            ^ Color grey:20.
af8438e37bd6 added: #colorForPseudoProtocolsInMethodListInBrowser
Claus Gittinger <cg@exept.de>
parents: 13597
diff changeset
  2385
        ].
af8438e37bd6 added: #colorForPseudoProtocolsInMethodListInBrowser
Claus Gittinger <cg@exept.de>
parents: 13597
diff changeset
  2386
        ^ Color grey:80.
af8438e37bd6 added: #colorForPseudoProtocolsInMethodListInBrowser
Claus Gittinger <cg@exept.de>
parents: 13597
diff changeset
  2387
    ].
af8438e37bd6 added: #colorForPseudoProtocolsInMethodListInBrowser
Claus Gittinger <cg@exept.de>
parents: 13597
diff changeset
  2388
    ^ Color grey
af8438e37bd6 added: #colorForPseudoProtocolsInMethodListInBrowser
Claus Gittinger <cg@exept.de>
parents: 13597
diff changeset
  2389
af8438e37bd6 added: #colorForPseudoProtocolsInMethodListInBrowser
Claus Gittinger <cg@exept.de>
parents: 13597
diff changeset
  2390
    "Created: / 07-09-2011 / 09:51:12 / cg"
af8438e37bd6 added: #colorForPseudoProtocolsInMethodListInBrowser
Claus Gittinger <cg@exept.de>
parents: 13597
diff changeset
  2391
!
af8438e37bd6 added: #colorForPseudoProtocolsInMethodListInBrowser
Claus Gittinger <cg@exept.de>
parents: 13597
diff changeset
  2392
7549
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2393
emphasisForChangedCode
10177
01b7ae1bb878 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10165
diff changeset
  2394
    "the emphasis for changed code (in changeSet) in the browser"
01b7ae1bb878 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10165
diff changeset
  2395
7549
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2396
    |emp|
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2397
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2398
    emp := self at:#emphasisForChangedCode ifAbsent:nil.
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2399
    emp isNil ifTrue:[
11143
3712ab6b344b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11064
diff changeset
  2400
	emp := #color->Color red darkened.
3712ab6b344b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11064
diff changeset
  2401
	emp := Array with:#bold with:emp.
3712ab6b344b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11064
diff changeset
  2402
	"/ emp := #color->Color blue darkened.
3712ab6b344b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11064
diff changeset
  2403
	self at:#emphasisForChangedCode put:emp.
7549
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2404
    ].
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2405
    ^ emp
9276
120c3f8fc50b changed code: boldify by default
Claus Gittinger <cg@exept.de>
parents: 9184
diff changeset
  2406
120c3f8fc50b changed code: boldify by default
Claus Gittinger <cg@exept.de>
parents: 9184
diff changeset
  2407
    "
120c3f8fc50b changed code: boldify by default
Claus Gittinger <cg@exept.de>
parents: 9184
diff changeset
  2408
     self allInstancesDo:[:pref |pref at:#emphasisForChangedCode put:nil].
9807
da320936bf87 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9742
diff changeset
  2409
     UserPreferences current emphasisForChangedCode.
da320936bf87 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9742
diff changeset
  2410
     UserPreferences current at:#emphasisForChangedCode put:nil.
9276
120c3f8fc50b changed code: boldify by default
Claus Gittinger <cg@exept.de>
parents: 9184
diff changeset
  2411
    "
9807
da320936bf87 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9742
diff changeset
  2412
10177
01b7ae1bb878 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10165
diff changeset
  2413
    "Modified: / 10-11-2006 / 17:27:23 / cg"
01b7ae1bb878 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10165
diff changeset
  2414
!
01b7ae1bb878 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10165
diff changeset
  2415
01b7ae1bb878 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10165
diff changeset
  2416
emphasisForChangedCodeInSmallTeam
01b7ae1bb878 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10165
diff changeset
  2417
    "the emphasis for changed code (in a remote changeSet) in the browser.
01b7ae1bb878 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10165
diff changeset
  2418
     You need the SmallTeam extension to be present for this to work."
01b7ae1bb878 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10165
diff changeset
  2419
01b7ae1bb878 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10165
diff changeset
  2420
    |emp|
01b7ae1bb878 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10165
diff changeset
  2421
01b7ae1bb878 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10165
diff changeset
  2422
    emp := self at:#emphasisForChangedCodeInSmallTeam ifAbsent:nil.
01b7ae1bb878 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10165
diff changeset
  2423
    emp isNil ifTrue:[
11143
3712ab6b344b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11064
diff changeset
  2424
	emp := #color->Color yellow darkened.
3712ab6b344b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11064
diff changeset
  2425
	emp := Array with:#bold with:emp.
3712ab6b344b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11064
diff changeset
  2426
	self at:#emphasisForChangedCodeInSmallTeam put:emp.
10177
01b7ae1bb878 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10165
diff changeset
  2427
    ].
01b7ae1bb878 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10165
diff changeset
  2428
    ^ emp
01b7ae1bb878 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10165
diff changeset
  2429
01b7ae1bb878 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10165
diff changeset
  2430
    "
01b7ae1bb878 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10165
diff changeset
  2431
     self allInstancesDo:[:pref |pref at:#emphasisForChangedCodeInSmallTeam put:nil].
01b7ae1bb878 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10165
diff changeset
  2432
     UserPreferences current emphasisForChangedCodeInSmallTeam.
01b7ae1bb878 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10165
diff changeset
  2433
     UserPreferences current at:#emphasisForChangedCodeInSmallTeam put:nil.
01b7ae1bb878 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10165
diff changeset
  2434
    "
01b7ae1bb878 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10165
diff changeset
  2435
01b7ae1bb878 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10165
diff changeset
  2436
    "Created: / 10-11-2006 / 16:31:00 / cg"
6832
4169c2542062 add the FileBrowserV2 settings
penk
parents: 6818
diff changeset
  2437
!
4169c2542062 add the FileBrowserV2 settings
penk
parents: 6818
diff changeset
  2438
7549
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2439
emphasisForDifferentPackage
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2440
    |emp|
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2441
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2442
    emp := self at:#emphasisForDifferentPackage ifAbsent:nil.
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2443
    emp isNil ifTrue:[
11143
3712ab6b344b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11064
diff changeset
  2444
	emp := #color->Color green darkened.
3712ab6b344b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11064
diff changeset
  2445
	"/ emp := Array with:#bold with:emp.
3712ab6b344b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11064
diff changeset
  2446
	self at:#emphasisForDifferentPackage put:emp.
7549
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2447
    ].
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2448
    ^ emp
9276
120c3f8fc50b changed code: boldify by default
Claus Gittinger <cg@exept.de>
parents: 9184
diff changeset
  2449
120c3f8fc50b changed code: boldify by default
Claus Gittinger <cg@exept.de>
parents: 9184
diff changeset
  2450
    "
120c3f8fc50b changed code: boldify by default
Claus Gittinger <cg@exept.de>
parents: 9184
diff changeset
  2451
     self allInstancesDo:[:pref |pref at:#emphasisForDifferentPackage put:nil].
120c3f8fc50b changed code: boldify by default
Claus Gittinger <cg@exept.de>
parents: 9184
diff changeset
  2452
    "
6832
4169c2542062 add the FileBrowserV2 settings
penk
parents: 6818
diff changeset
  2453
!
4169c2542062 add the FileBrowserV2 settings
penk
parents: 6818
diff changeset
  2454
12901
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2455
emphasisForInstrumentedFullyCoveredCode
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2456
    "the emphasis for code in the browser which is instrumented and where all branches have been
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2457
     executed"
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2458
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2459
    |emp|
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2460
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2461
    emp := self at:#emphasisForInstrumentedFullyCoveredCode ifAbsent:nil.
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2462
    emp isNil ifTrue:[
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2463
        emp := #color->Color green slightlyDarkened.
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2464
        emp := Array with:#bold with:emp.
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2465
        "/ emp := #color->Color blue darkened.
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2466
        self at:#emphasisForInstrumentedFullyCoveredCode put:emp.
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2467
    ].
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2468
    ^ emp
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2469
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2470
    "
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2471
     UserPreferences current
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2472
        at:#emphasisForInstrumentedFullyCoveredCode 
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2473
        put:(Array with:#bold with:(#color->Color green slightlyDarkened)).
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2474
    "
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2475
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2476
    "Created: / 27-04-2010 / 13:01:01 / cg"
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2477
    "Modified: / 27-04-2010 / 14:48:11 / cg"
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2478
!
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2479
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2480
emphasisForInstrumentedNeverCalledCode
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2481
    "the emphasis for code in the browser which is instrumented but has never been called"
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2482
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2483
    |emp|
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2484
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2485
    emp := self at:#emphasisForInstrumentedNeverCalledCode ifAbsent:nil.
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2486
    emp isNil ifTrue:[
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2487
        emp := #color->Color red slightlyDarkened.
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2488
        emp := Array with:#bold with:emp.
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2489
        "/ emp := #color->Color blue darkened.
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2490
        self at:#emphasisForInstrumentedNeverCalledCode put:emp.
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2491
    ].
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2492
    ^ emp
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2493
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2494
    "
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2495
     UserPreferences current
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2496
        at:#emphasisForInstrumentedNeverCalledCode 
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2497
        put:(Array with:#bold with:(#color->Color red slightlyDarkened)).
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2498
    "
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2499
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2500
    "Created: / 27-04-2010 / 12:59:47 / cg"
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2501
    "Modified: / 27-04-2010 / 14:48:39 / cg"
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2502
!
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2503
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2504
emphasisForInstrumentedPartiallyCoveredCode
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2505
    "the emphasis for code in the browser which is instrumented and where some branches have been
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2506
     executed"
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2507
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2508
    |emp|
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2509
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2510
    emp := self at:#emphasisForInstrumentedPartiallyCoveredCode ifAbsent:nil.
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2511
    emp isNil ifTrue:[
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2512
        emp := #color->Color orange.
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2513
        emp := Array with:#bold with:emp.
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2514
        "/ emp := #color->Color blue darkened.
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2515
        self at:#emphasisForInstrumentedPartiallyCoveredCode put:emp.
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2516
    ].
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2517
    ^ emp
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2518
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2519
    "
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2520
     UserPreferences current
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2521
        at:#emphasisForInstrumentedPartiallyCoveredCode 
12902
a7d0611e313a comment/format in: #emphasisForInstrumentedPartiallyCoveredCode
Claus Gittinger <cg@exept.de>
parents: 12901
diff changeset
  2522
        put:(Array with:#bold with:(#color->Color orange slightlyLightened)).
12901
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2523
    "
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2524
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2525
    "Created: / 27-04-2010 / 13:01:20 / cg"
12902
a7d0611e313a comment/format in: #emphasisForInstrumentedPartiallyCoveredCode
Claus Gittinger <cg@exept.de>
parents: 12901
diff changeset
  2526
    "Modified: / 27-04-2010 / 18:50:43 / cg"
12901
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2527
!
Claus Gittinger <cg@exept.de>
parents: 12793
diff changeset
  2528
7549
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2529
emphasisForModifiedBuffer
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2530
    |emp|
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2531
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2532
    emp := self at:#emphasisForModifiedBuffer ifAbsent:nil.
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2533
    emp isNil ifTrue:[
11143
3712ab6b344b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11064
diff changeset
  2534
	emp := #color->Color red darkened.
3712ab6b344b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11064
diff changeset
  2535
	emp := Array with:#bold with:emp.
3712ab6b344b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11064
diff changeset
  2536
	self at:#emphasisForModifiedBuffer put:emp.
7549
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2537
    ].
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2538
    ^ emp
9276
120c3f8fc50b changed code: boldify by default
Claus Gittinger <cg@exept.de>
parents: 9184
diff changeset
  2539
120c3f8fc50b changed code: boldify by default
Claus Gittinger <cg@exept.de>
parents: 9184
diff changeset
  2540
    "
120c3f8fc50b changed code: boldify by default
Claus Gittinger <cg@exept.de>
parents: 9184
diff changeset
  2541
     self allInstancesDo:[:pref |pref at:#emphasisForModifiedBuffer put:nil].
120c3f8fc50b changed code: boldify by default
Claus Gittinger <cg@exept.de>
parents: 9184
diff changeset
  2542
    "
6832
4169c2542062 add the FileBrowserV2 settings
penk
parents: 6818
diff changeset
  2543
!
4169c2542062 add the FileBrowserV2 settings
penk
parents: 6818
diff changeset
  2544
13399
eb68067907e1 changed: #version_CVS
vrany
parents: 13391
diff changeset
  2545
emphasisForNamespacedCode
eb68067907e1 changed: #version_CVS
vrany
parents: 13391
diff changeset
  2546
    "the emphasis for changed code (in changeSet) in the browser"
eb68067907e1 changed: #version_CVS
vrany
parents: 13391
diff changeset
  2547
eb68067907e1 changed: #version_CVS
vrany
parents: 13391
diff changeset
  2548
    |emp|
eb68067907e1 changed: #version_CVS
vrany
parents: 13391
diff changeset
  2549
eb68067907e1 changed: #version_CVS
vrany
parents: 13391
diff changeset
  2550
    emp := self at:#emphasisForNamespacedCode ifAbsent:nil.
eb68067907e1 changed: #version_CVS
vrany
parents: 13391
diff changeset
  2551
    emp isNil ifTrue:[
eb68067907e1 changed: #version_CVS
vrany
parents: 13391
diff changeset
  2552
        emp := #color->Color green darkened.
eb68067907e1 changed: #version_CVS
vrany
parents: 13391
diff changeset
  2553
        "/ emp := Array with:#bold with:emp.
eb68067907e1 changed: #version_CVS
vrany
parents: 13391
diff changeset
  2554
        "/ emp := #color->Color blue darkened.
eb68067907e1 changed: #version_CVS
vrany
parents: 13391
diff changeset
  2555
        self at:#emphasisForNamespacedCode put:emp.
eb68067907e1 changed: #version_CVS
vrany
parents: 13391
diff changeset
  2556
    ].
eb68067907e1 changed: #version_CVS
vrany
parents: 13391
diff changeset
  2557
    ^ emp
eb68067907e1 changed: #version_CVS
vrany
parents: 13391
diff changeset
  2558
eb68067907e1 changed: #version_CVS
vrany
parents: 13391
diff changeset
  2559
    "
eb68067907e1 changed: #version_CVS
vrany
parents: 13391
diff changeset
  2560
     self allInstancesDo:[:pref |pref at:#emphasisForNamespacedCode put:nil]. 
eb68067907e1 changed: #version_CVS
vrany
parents: 13391
diff changeset
  2561
     UserPreferences current emphasisForNamespacedCode. 
eb68067907e1 changed: #version_CVS
vrany
parents: 13391
diff changeset
  2562
     UserPreferences current at:#emphasisForNamespacedCode put:nil.
eb68067907e1 changed: #version_CVS
vrany
parents: 13391
diff changeset
  2563
    "
eb68067907e1 changed: #version_CVS
vrany
parents: 13391
diff changeset
  2564
eb68067907e1 changed: #version_CVS
vrany
parents: 13391
diff changeset
  2565
    "Created: / 01-07-2010 / 18:39:18 / Jan Vrany <jan.vrany@fit.cvut.cz>"
eb68067907e1 changed: #version_CVS
vrany
parents: 13391
diff changeset
  2566
!
eb68067907e1 changed: #version_CVS
vrany
parents: 13391
diff changeset
  2567
7549
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2568
emphasisForObsoleteCode
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2569
    |emp|
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2570
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2571
    emp := self at:#emphasisForObsoleteCode ifAbsent:nil.
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2572
    emp isNil ifTrue:[
11143
3712ab6b344b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11064
diff changeset
  2573
	emp := #color->Color red.
3712ab6b344b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11064
diff changeset
  2574
	emp := Array with:#bold with:emp.
3712ab6b344b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11064
diff changeset
  2575
	self at:#emphasisForObsoleteCode put:emp.
7549
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2576
    ].
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2577
    ^ emp
9276
120c3f8fc50b changed code: boldify by default
Claus Gittinger <cg@exept.de>
parents: 9184
diff changeset
  2578
120c3f8fc50b changed code: boldify by default
Claus Gittinger <cg@exept.de>
parents: 9184
diff changeset
  2579
    "
120c3f8fc50b changed code: boldify by default
Claus Gittinger <cg@exept.de>
parents: 9184
diff changeset
  2580
     self allInstancesDo:[:pref |pref at:#emphasisForObsoleteCode put:nil].
120c3f8fc50b changed code: boldify by default
Claus Gittinger <cg@exept.de>
parents: 9184
diff changeset
  2581
    "
6832
4169c2542062 add the FileBrowserV2 settings
penk
parents: 6818
diff changeset
  2582
!
4169c2542062 add the FileBrowserV2 settings
penk
parents: 6818
diff changeset
  2583
7549
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2584
emphasisForReadVariable
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2585
    |emp|
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2586
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2587
    emp := self at:#emphasisForReadVariable ifAbsent:nil.
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2588
    emp isNil ifTrue:[
11143
3712ab6b344b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11064
diff changeset
  2589
	emp := #underline.
3712ab6b344b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11064
diff changeset
  2590
	self at:#emphasisForReadVariable put:emp.
7549
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2591
    ].
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2592
    ^ emp
6832
4169c2542062 add the FileBrowserV2 settings
penk
parents: 6818
diff changeset
  2593
!
4169c2542062 add the FileBrowserV2 settings
penk
parents: 6818
diff changeset
  2594
7549
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2595
emphasisForWrittenVariable
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2596
    |emp|
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2597
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2598
    emp := self at:#emphasisForWrittenVariable ifAbsent:nil.
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2599
    emp isNil ifTrue:[
11143
3712ab6b344b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11064
diff changeset
  2600
	emp := Array with:#underline with:#underlineColor->Color red.
3712ab6b344b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11064
diff changeset
  2601
	self at:#emphasisForWrittenVariable put:emp.
7549
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2602
    ].
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2603
    ^ emp
6832
4169c2542062 add the FileBrowserV2 settings
penk
parents: 6818
diff changeset
  2604
! !
4169c2542062 add the FileBrowserV2 settings
penk
parents: 6818
diff changeset
  2605
7549
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  2606
!UserPreferences methodsFor:'accessing-prefs-browser-syntaxColoring'!
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2607
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2608
argumentIdentifierColor
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2609
    "the color used for argument identifiers;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2610
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2611
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2612
    ^ self at:#argumentIdentifierColor ifAbsentPut:[self identifierColor]
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2613
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2614
    "Created: / 31.3.1998 / 15:08:20 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2615
    "Modified: / 1.4.1998 / 13:19:58 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2616
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2617
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2618
argumentIdentifierEmphasis
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2619
    "the emphasis used for argument identifiers;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2620
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2621
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2622
    ^ self at:#argumentIdentifierEmphasis ifAbsentPut:[self identifierEmphasis]
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2623
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2624
    "Created: / 31.3.1998 / 15:16:40 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2625
    "Modified: / 1.4.1998 / 13:19:55 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2626
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2627
4326
9b1d4f1bf719 inserted badIdentifierColor & emphasis
Claus Gittinger <cg@exept.de>
parents: 4320
diff changeset
  2628
badIdentifierColor
9b1d4f1bf719 inserted badIdentifierColor & emphasis
Claus Gittinger <cg@exept.de>
parents: 4320
diff changeset
  2629
    "the color used for illegal identifiers;
9b1d4f1bf719 inserted badIdentifierColor & emphasis
Claus Gittinger <cg@exept.de>
parents: 4320
diff changeset
  2630
     If syntaxColoring is turned on."
9b1d4f1bf719 inserted badIdentifierColor & emphasis
Claus Gittinger <cg@exept.de>
parents: 4320
diff changeset
  2631
4336
1e9719956923 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4335
diff changeset
  2632
    ^ self at:#badIdentifierColor ifAbsentPut:[self identifierColor]
4326
9b1d4f1bf719 inserted badIdentifierColor & emphasis
Claus Gittinger <cg@exept.de>
parents: 4320
diff changeset
  2633
9b1d4f1bf719 inserted badIdentifierColor & emphasis
Claus Gittinger <cg@exept.de>
parents: 4320
diff changeset
  2634
!
9b1d4f1bf719 inserted badIdentifierColor & emphasis
Claus Gittinger <cg@exept.de>
parents: 4320
diff changeset
  2635
9b1d4f1bf719 inserted badIdentifierColor & emphasis
Claus Gittinger <cg@exept.de>
parents: 4320
diff changeset
  2636
badIdentifierEmphasis
9b1d4f1bf719 inserted badIdentifierColor & emphasis
Claus Gittinger <cg@exept.de>
parents: 4320
diff changeset
  2637
    "the emphasis used for illegal identifiers;
9b1d4f1bf719 inserted badIdentifierColor & emphasis
Claus Gittinger <cg@exept.de>
parents: 4320
diff changeset
  2638
     If syntaxColoring is turned on."
9b1d4f1bf719 inserted badIdentifierColor & emphasis
Claus Gittinger <cg@exept.de>
parents: 4320
diff changeset
  2639
13347
b3245e290ed0 changed:6 methods
Claus Gittinger <cg@exept.de>
parents: 13346
diff changeset
  2640
    ^ self at:#badIdentifierEmphasis ifAbsentPut:[UserPreferences default at:#badIdentifierEmphasis ifAbsent:#normal]
b3245e290ed0 changed:6 methods
Claus Gittinger <cg@exept.de>
parents: 13346
diff changeset
  2641
b3245e290ed0 changed:6 methods
Claus Gittinger <cg@exept.de>
parents: 13346
diff changeset
  2642
    "Modified: / 21-04-2011 / 12:34:50 / cg"
4326
9b1d4f1bf719 inserted badIdentifierColor & emphasis
Claus Gittinger <cg@exept.de>
parents: 4320
diff changeset
  2643
!
9b1d4f1bf719 inserted badIdentifierColor & emphasis
Claus Gittinger <cg@exept.de>
parents: 4320
diff changeset
  2644
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2645
booleanConstantColor
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2646
    "the color used for boolean constants;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2647
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2648
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2649
    ^ self at:#booleanConstantColor ifAbsentPut:[self constantColor]
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2650
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2651
    "Created: / 31.3.1998 / 18:12:06 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2652
    "Modified: / 1.4.1998 / 13:20:07 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2653
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2654
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2655
booleanConstantEmphasis
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2656
    "the emphasis used for boolean constants;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2657
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2658
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2659
    ^ self at:#booleanConstantEmphasis ifAbsentPut:[self constantEmphasis]
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2660
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2661
    "Created: / 31.3.1998 / 18:12:46 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2662
    "Modified: / 1.4.1998 / 13:26:01 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2663
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2664
3361
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
  2665
bracketColor
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
  2666
    "the color used for brackets;
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
  2667
     If syntaxColoring is turned on."
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
  2668
4317
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
  2669
    ^ self at:#bracketColor ifAbsentPut:[self defaultSyntaxColor]
3361
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
  2670
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
  2671
    "
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
  2672
     self current at:#bracketColor  put:Color red.
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
  2673
     self current at:#bracketEmphasis  put:#bold
4317
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
  2674
11143
3712ab6b344b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11064
diff changeset
  2675
     self current bracketColor
3712ab6b344b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11064
diff changeset
  2676
     self current bracketEmphasis
3361
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
  2677
    "
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
  2678
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
  2679
    "Created: / 31.3.1998 / 19:11:38 / cg"
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
  2680
    "Modified: / 1.4.1998 / 13:22:33 / cg"
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
  2681
!
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
  2682
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
  2683
bracketEmphasis
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
  2684
    "the emphasis used for brackets;
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
  2685
     If syntaxColoring is turned on."
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
  2686
4317
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
  2687
    ^ self at:#bracketEmphasis ifAbsentPut:[self defaultSyntaxEmphasis]
3361
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
  2688
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
  2689
    "
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
  2690
     self current at:#bracketEmphasis  put:#bold
11143
3712ab6b344b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11064
diff changeset
  2691
     self current bracketEmphasis
3361
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
  2692
    "
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
  2693
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
  2694
    "Created: / 31.3.1998 / 19:11:38 / cg"
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
  2695
    "Modified: / 1.4.1998 / 13:22:33 / cg"
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
  2696
!
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
  2697
4320
9d6e4f645e97 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4319
diff changeset
  2698
classVariableIdentifierColor
9d6e4f645e97 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4319
diff changeset
  2699
    "the color used for classVar/classInstVar identifiers
9d6e4f645e97 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4319
diff changeset
  2700
     If syntaxColoring is turned on."
9d6e4f645e97 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4319
diff changeset
  2701
9d6e4f645e97 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4319
diff changeset
  2702
    ^ self at:#classVariableIdentifierColor ifAbsentPut:[self globalIdentifierColor]
9d6e4f645e97 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4319
diff changeset
  2703
9d6e4f645e97 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4319
diff changeset
  2704
    "Modified: / 1.4.1998 / 13:20:47 / cg"
9d6e4f645e97 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4319
diff changeset
  2705
    "Created: / 4.3.1999 / 12:50:31 / cg"
9d6e4f645e97 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4319
diff changeset
  2706
!
9d6e4f645e97 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4319
diff changeset
  2707
9d6e4f645e97 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4319
diff changeset
  2708
classVariableIdentifierEmphasis
9d6e4f645e97 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4319
diff changeset
  2709
    "the color used for classVar/classInstVar identifiers
9d6e4f645e97 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4319
diff changeset
  2710
     If syntaxColoring is turned on."
9d6e4f645e97 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4319
diff changeset
  2711
9d6e4f645e97 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4319
diff changeset
  2712
    ^ self at:#classVariableIdentifierEmphasis ifAbsentPut:[self globalIdentifierEmphasis]
9d6e4f645e97 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4319
diff changeset
  2713
9d6e4f645e97 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4319
diff changeset
  2714
    "Modified: / 1.4.1998 / 13:20:47 / cg"
9d6e4f645e97 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4319
diff changeset
  2715
    "Created: / 4.3.1999 / 12:50:31 / cg"
9d6e4f645e97 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4319
diff changeset
  2716
!
9d6e4f645e97 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4319
diff changeset
  2717
14012
Claus Gittinger <cg@exept.de>
parents: 14007
diff changeset
  2718
collectionEnumerationSelectorColor
Claus Gittinger <cg@exept.de>
parents: 14007
diff changeset
  2719
    "the color used for some selected collection enumeration
Claus Gittinger <cg@exept.de>
parents: 14007
diff changeset
  2720
     selectors (such as collect:, select: etc.);
Claus Gittinger <cg@exept.de>
parents: 14007
diff changeset
  2721
     If syntaxColoring is turned on.
Claus Gittinger <cg@exept.de>
parents: 14007
diff changeset
  2722
     If left nil, the normal selector color is used."
Claus Gittinger <cg@exept.de>
parents: 14007
diff changeset
  2723
Claus Gittinger <cg@exept.de>
parents: 14007
diff changeset
  2724
    ^ self at:#collectionEnumerationSelectorColor ifAbsent:nil
Claus Gittinger <cg@exept.de>
parents: 14007
diff changeset
  2725
Claus Gittinger <cg@exept.de>
parents: 14007
diff changeset
  2726
    "Created: / 14-02-2012 / 15:52:39 / cg"
Claus Gittinger <cg@exept.de>
parents: 14007
diff changeset
  2727
!
Claus Gittinger <cg@exept.de>
parents: 14007
diff changeset
  2728
Claus Gittinger <cg@exept.de>
parents: 14007
diff changeset
  2729
collectionEnumerationSelectorEmphasis
Claus Gittinger <cg@exept.de>
parents: 14007
diff changeset
  2730
    "the color used for some selected collection enumeration
Claus Gittinger <cg@exept.de>
parents: 14007
diff changeset
  2731
     selectors (such as collect:, select: etc.);
Claus Gittinger <cg@exept.de>
parents: 14007
diff changeset
  2732
     If syntaxColoring is turned on.
Claus Gittinger <cg@exept.de>
parents: 14007
diff changeset
  2733
     If left nil, the normal selector emphasis is used."
Claus Gittinger <cg@exept.de>
parents: 14007
diff changeset
  2734
Claus Gittinger <cg@exept.de>
parents: 14007
diff changeset
  2735
    ^ self at:#collectionEnumerationSelectorEmphasis ifAbsent:nil
Claus Gittinger <cg@exept.de>
parents: 14007
diff changeset
  2736
Claus Gittinger <cg@exept.de>
parents: 14007
diff changeset
  2737
    "Created: / 14-02-2012 / 15:58:58 / cg"
Claus Gittinger <cg@exept.de>
parents: 14007
diff changeset
  2738
!
Claus Gittinger <cg@exept.de>
parents: 14007
diff changeset
  2739
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2740
commentColor
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2741
    "the color used for comments;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2742
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2743
13346
9f020c62dbfe changed:11 methods
Claus Gittinger <cg@exept.de>
parents: 13340
diff changeset
  2744
    ^ self at:#commentColor ifAbsentPut:[UserPreferences default at:#commentColor ifAbsent:[Color black]]
9f020c62dbfe changed:11 methods
Claus Gittinger <cg@exept.de>
parents: 13340
diff changeset
  2745
9f020c62dbfe changed:11 methods
Claus Gittinger <cg@exept.de>
parents: 13340
diff changeset
  2746
    "Created: / 31-03-1998 / 15:10:23 / cg"
9f020c62dbfe changed:11 methods
Claus Gittinger <cg@exept.de>
parents: 13340
diff changeset
  2747
    "Modified: / 21-04-2011 / 12:33:39 / cg"
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2748
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2749
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2750
commentEmphasis
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2751
    "the emphasis used for comments;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2752
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2753
13347
b3245e290ed0 changed:6 methods
Claus Gittinger <cg@exept.de>
parents: 13346
diff changeset
  2754
    ^ self at:#commentEmphasis ifAbsentPut:[UserPreferences default at:#commentEmphasis ifAbsent:#normal]
13346
9f020c62dbfe changed:11 methods
Claus Gittinger <cg@exept.de>
parents: 13340
diff changeset
  2755
9f020c62dbfe changed:11 methods
Claus Gittinger <cg@exept.de>
parents: 13340
diff changeset
  2756
    "Created: / 31-03-1998 / 15:09:59 / cg"
13347
b3245e290ed0 changed:6 methods
Claus Gittinger <cg@exept.de>
parents: 13346
diff changeset
  2757
    "Modified: / 21-04-2011 / 12:34:48 / cg"
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2758
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2759
5258
3490a1891a53 query added
Claus Gittinger <cg@exept.de>
parents: 5236
diff changeset
  2760
commentEmphasisAndColor
13307
Claus Gittinger <cg@exept.de>
parents: 13304
diff changeset
  2761
    ^ self emphasis:(self commentEmphasis) andColor:(self commentColor).
Claus Gittinger <cg@exept.de>
parents: 13304
diff changeset
  2762
Claus Gittinger <cg@exept.de>
parents: 13304
diff changeset
  2763
    "Modified: / 17-02-2011 / 14:20:41 / cg"
5258
3490a1891a53 query added
Claus Gittinger <cg@exept.de>
parents: 5236
diff changeset
  2764
!
3490a1891a53 query added
Claus Gittinger <cg@exept.de>
parents: 5236
diff changeset
  2765
15925
80810829f468 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15917
diff changeset
  2766
commentFont
80810829f468 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15917
diff changeset
  2767
    "the font used for comments; nil if no special font has been defined.
80810829f468 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15917
diff changeset
  2768
     If syntaxColoring is turned on."
80810829f468 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15917
diff changeset
  2769
80810829f468 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15917
diff changeset
  2770
    ^ self at:#commentFont ifAbsent:nil
80810829f468 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15917
diff changeset
  2771
!
80810829f468 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15917
diff changeset
  2772
80810829f468 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15917
diff changeset
  2773
commentFont:aFont
80810829f468 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15917
diff changeset
  2774
    "the font used for comments; nil if no special font has been defined.
80810829f468 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15917
diff changeset
  2775
     If syntaxColoring is turned on."
80810829f468 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15917
diff changeset
  2776
80810829f468 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15917
diff changeset
  2777
    self at:#commentFont put:aFont
80810829f468 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15917
diff changeset
  2778
80810829f468 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15917
diff changeset
  2779
    "
80810829f468 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15917
diff changeset
  2780
     UserPreferences current commentFont:(XftFontDescription family: 'Comic Sans' size: 12)
80810829f468 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15917
diff changeset
  2781
     UserPreferences current commentFont
80810829f468 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15917
diff changeset
  2782
    "
80810829f468 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15917
diff changeset
  2783
!
80810829f468 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15917
diff changeset
  2784
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2785
constantColor
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2786
    "the color used for constants;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2787
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2788
13346
9f020c62dbfe changed:11 methods
Claus Gittinger <cg@exept.de>
parents: 13340
diff changeset
  2789
    ^ self at:#constantColor ifAbsentPut:[UserPreferences default at:#constantColor ifAbsent:[Color black]]
9f020c62dbfe changed:11 methods
Claus Gittinger <cg@exept.de>
parents: 13340
diff changeset
  2790
9f020c62dbfe changed:11 methods
Claus Gittinger <cg@exept.de>
parents: 13340
diff changeset
  2791
    "Created: / 31-03-1998 / 18:13:15 / cg"
9f020c62dbfe changed:11 methods
Claus Gittinger <cg@exept.de>
parents: 13340
diff changeset
  2792
    "Modified: / 21-04-2011 / 12:33:36 / cg"
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2793
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2794
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2795
constantEmphasis
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2796
    "the emphasis used for constants;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2797
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2798
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2799
    ^ self at:#constantEmphasis ifAbsentPut:[self identifierEmphasis]
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2800
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2801
    "Created: / 31.3.1998 / 18:13:23 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2802
    "Modified: / 1.4.1998 / 13:25:43 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2803
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2804
9834
0be637339fce control flow color&emphasis
Claus Gittinger <cg@exept.de>
parents: 9820
diff changeset
  2805
controlFlowSelectorColor
0be637339fce control flow color&emphasis
Claus Gittinger <cg@exept.de>
parents: 9820
diff changeset
  2806
    "the color used for some selected controlFlow selectors (such as if, while etc.);
0be637339fce control flow color&emphasis
Claus Gittinger <cg@exept.de>
parents: 9820
diff changeset
  2807
     If syntaxColoring is turned on."
0be637339fce control flow color&emphasis
Claus Gittinger <cg@exept.de>
parents: 9820
diff changeset
  2808
14012
Claus Gittinger <cg@exept.de>
parents: 14007
diff changeset
  2809
    ^ self at:#controlFlowSelectorColor ifAbsent:nil
9834
0be637339fce control flow color&emphasis
Claus Gittinger <cg@exept.de>
parents: 9820
diff changeset
  2810
0be637339fce control flow color&emphasis
Claus Gittinger <cg@exept.de>
parents: 9820
diff changeset
  2811
    "Created: / 08-09-2006 / 15:51:20 / cg"
0be637339fce control flow color&emphasis
Claus Gittinger <cg@exept.de>
parents: 9820
diff changeset
  2812
!
0be637339fce control flow color&emphasis
Claus Gittinger <cg@exept.de>
parents: 9820
diff changeset
  2813
0be637339fce control flow color&emphasis
Claus Gittinger <cg@exept.de>
parents: 9820
diff changeset
  2814
controlFlowSelectorEmphasis
0be637339fce control flow color&emphasis
Claus Gittinger <cg@exept.de>
parents: 9820
diff changeset
  2815
    "the emphasis used for some selected controlFlow selectors (such as if, while etc.);
0be637339fce control flow color&emphasis
Claus Gittinger <cg@exept.de>
parents: 9820
diff changeset
  2816
     If syntaxColoring is turned on."
0be637339fce control flow color&emphasis
Claus Gittinger <cg@exept.de>
parents: 9820
diff changeset
  2817
14012
Claus Gittinger <cg@exept.de>
parents: 14007
diff changeset
  2818
    ^ self at:#controlFlowSelectorEmphasis ifAbsent:nil
9834
0be637339fce control flow color&emphasis
Claus Gittinger <cg@exept.de>
parents: 9820
diff changeset
  2819
0be637339fce control flow color&emphasis
Claus Gittinger <cg@exept.de>
parents: 9820
diff changeset
  2820
    "Created: / 08-09-2006 / 15:51:04 / cg"
0be637339fce control flow color&emphasis
Claus Gittinger <cg@exept.de>
parents: 9820
diff changeset
  2821
!
0be637339fce control flow color&emphasis
Claus Gittinger <cg@exept.de>
parents: 9820
diff changeset
  2822
15545
afc9b6289701 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15427
diff changeset
  2823
debugSelectorColor
afc9b6289701 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15427
diff changeset
  2824
    "the color used for some selected debug
afc9b6289701 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15427
diff changeset
  2825
     selectors (such as halt etc.);
afc9b6289701 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15427
diff changeset
  2826
     If syntaxColoring is turned on.
afc9b6289701 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15427
diff changeset
  2827
     If left nil, the normal selector color is used."
afc9b6289701 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15427
diff changeset
  2828
afc9b6289701 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15427
diff changeset
  2829
    ^ self at:#debugSelectorColor ifAbsent:nil
afc9b6289701 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15427
diff changeset
  2830
!
afc9b6289701 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15427
diff changeset
  2831
afc9b6289701 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15427
diff changeset
  2832
debugSelectorEmphasis
afc9b6289701 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15427
diff changeset
  2833
    "the color used for some selected debug
afc9b6289701 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15427
diff changeset
  2834
     selectors (such as halt etc.);
afc9b6289701 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15427
diff changeset
  2835
     If syntaxColoring is turned on.
afc9b6289701 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15427
diff changeset
  2836
     If left nil, the normal selector emphasis is used."
afc9b6289701 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15427
diff changeset
  2837
afc9b6289701 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15427
diff changeset
  2838
    ^ self at:#debugSelectorEmphasis ifAbsent:nil
afc9b6289701 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15427
diff changeset
  2839
!
afc9b6289701 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15427
diff changeset
  2840
4317
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
  2841
defaultSyntaxColor
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
  2842
    "the color used for anything else;
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
  2843
     If syntaxColoring is turned on."
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
  2844
13346
9f020c62dbfe changed:11 methods
Claus Gittinger <cg@exept.de>
parents: 13340
diff changeset
  2845
    ^ self at:#defaultSyntaxColor ifAbsentPut:[UserPreferences default at:#defaultSyntaxColor ifAbsent:[Color black]]
9f020c62dbfe changed:11 methods
Claus Gittinger <cg@exept.de>
parents: 13340
diff changeset
  2846
9f020c62dbfe changed:11 methods
Claus Gittinger <cg@exept.de>
parents: 13340
diff changeset
  2847
    "Modified: / 21-04-2011 / 12:31:48 / cg"
4317
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
  2848
!
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
  2849
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
  2850
defaultSyntaxEmphasis
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
  2851
    "the emphasis used for anything else;
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
  2852
     If syntaxColoring is turned on."
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
  2853
13307
Claus Gittinger <cg@exept.de>
parents: 13304
diff changeset
  2854
    ^ self 
Claus Gittinger <cg@exept.de>
parents: 13304
diff changeset
  2855
        at:#defaultSyntaxEmphasis 
13347
b3245e290ed0 changed:6 methods
Claus Gittinger <cg@exept.de>
parents: 13346
diff changeset
  2856
        ifAbsentPut:[UserPreferences default at:#defaultSyntaxEmphasis ifAbsent:#normal]
b3245e290ed0 changed:6 methods
Claus Gittinger <cg@exept.de>
parents: 13346
diff changeset
  2857
b3245e290ed0 changed:6 methods
Claus Gittinger <cg@exept.de>
parents: 13346
diff changeset
  2858
    "Modified: / 21-04-2011 / 12:34:46 / cg"
4317
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
  2859
!
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
  2860
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
  2861
doesNotUnderstand:aMessage
4580
654e30c513ec init defaults lazy
Claus Gittinger <cg@exept.de>
parents: 4396
diff changeset
  2862
    |k def|
4317
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
  2863
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
  2864
    k := aMessage selector.
6252
23fcbd461e9b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 6177
diff changeset
  2865
    aMessage numArgs == 0 ifTrue:[
13597
1d17dd4b5fda changed: #doesNotUnderstand:
Claus Gittinger <cg@exept.de>
parents: 13596
diff changeset
  2866
        (self includesKey:k) ifTrue:[
1d17dd4b5fda changed: #doesNotUnderstand:
Claus Gittinger <cg@exept.de>
parents: 13596
diff changeset
  2867
            ^ self at:k
1d17dd4b5fda changed: #doesNotUnderstand:
Claus Gittinger <cg@exept.de>
parents: 13596
diff changeset
  2868
        ].
1d17dd4b5fda changed: #doesNotUnderstand:
Claus Gittinger <cg@exept.de>
parents: 13596
diff changeset
  2869
        ((def := self class default) includesKey:k) ifTrue:[
1d17dd4b5fda changed: #doesNotUnderstand:
Claus Gittinger <cg@exept.de>
parents: 13596
diff changeset
  2870
            ^ def at:k
1d17dd4b5fda changed: #doesNotUnderstand:
Claus Gittinger <cg@exept.de>
parents: 13596
diff changeset
  2871
        ].
1d17dd4b5fda changed: #doesNotUnderstand:
Claus Gittinger <cg@exept.de>
parents: 13596
diff changeset
  2872
        ^ self defaultValue
4317
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
  2873
    ].
13597
1d17dd4b5fda changed: #doesNotUnderstand:
Claus Gittinger <cg@exept.de>
parents: 13596
diff changeset
  2874
1d17dd4b5fda changed: #doesNotUnderstand:
Claus Gittinger <cg@exept.de>
parents: 13596
diff changeset
  2875
    "/ this is needed, if a setting is loaded (via the settings.stx) at a time
1d17dd4b5fda changed: #doesNotUnderstand:
Claus Gittinger <cg@exept.de>
parents: 13596
diff changeset
  2876
    "/ when the corresponding package which uses that setting is not yet loaded;
1d17dd4b5fda changed: #doesNotUnderstand:
Claus Gittinger <cg@exept.de>
parents: 13596
diff changeset
  2877
    "/ for example: libsvn settings, with no libsvn being present.
1d17dd4b5fda changed: #doesNotUnderstand:
Claus Gittinger <cg@exept.de>
parents: 13596
diff changeset
  2878
    "/ if obsolete keys accumulate over time, we might need a settings cleanup GUI to
1d17dd4b5fda changed: #doesNotUnderstand:
Claus Gittinger <cg@exept.de>
parents: 13596
diff changeset
  2879
    "/ care for that.
1d17dd4b5fda changed: #doesNotUnderstand:
Claus Gittinger <cg@exept.de>
parents: 13596
diff changeset
  2880
1d17dd4b5fda changed: #doesNotUnderstand:
Claus Gittinger <cg@exept.de>
parents: 13596
diff changeset
  2881
    ((aMessage numArgs == 1)
1d17dd4b5fda changed: #doesNotUnderstand:
Claus Gittinger <cg@exept.de>
parents: 13596
diff changeset
  2882
    and:[ (k endsWith:$:)])
1d17dd4b5fda changed: #doesNotUnderstand:
Claus Gittinger <cg@exept.de>
parents: 13596
diff changeset
  2883
    ifTrue:[
15158
073911af23f1 Changed usage of deprecated #copyWithoutLast: to #copyButLast:
Stefan Vogel <sv@exept.de>
parents: 15130
diff changeset
  2884
        k := (k copyButLast:1) asSymbol.
13597
1d17dd4b5fda changed: #doesNotUnderstand:
Claus Gittinger <cg@exept.de>
parents: 13596
diff changeset
  2885
        ^ self at:k put:(aMessage arg1)
1d17dd4b5fda changed: #doesNotUnderstand:
Claus Gittinger <cg@exept.de>
parents: 13596
diff changeset
  2886
    ].
6252
23fcbd461e9b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 6177
diff changeset
  2887
7272
a45033450ad8 *** empty log message ***
penk
parents: 7271
diff changeset
  2888
    aMessage numArgs == 1 ifTrue:[
13597
1d17dd4b5fda changed: #doesNotUnderstand:
Claus Gittinger <cg@exept.de>
parents: 13596
diff changeset
  2889
        ('UserPreferences [info]: obsolete settings key: ' , aMessage selector , ' - ignored.') infoPrintCR.
1d17dd4b5fda changed: #doesNotUnderstand:
Claus Gittinger <cg@exept.de>
parents: 13596
diff changeset
  2890
        ^ nil
7272
a45033450ad8 *** empty log message ***
penk
parents: 7271
diff changeset
  2891
    ].
6252
23fcbd461e9b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 6177
diff changeset
  2892
4317
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
  2893
    ^ super doesNotUnderstand:aMessage
13597
1d17dd4b5fda changed: #doesNotUnderstand:
Claus Gittinger <cg@exept.de>
parents: 13596
diff changeset
  2894
1d17dd4b5fda changed: #doesNotUnderstand:
Claus Gittinger <cg@exept.de>
parents: 13596
diff changeset
  2895
    "Modified (comment): / 19-08-2011 / 14:01:56 / cg"
4317
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
  2896
!
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
  2897
13307
Claus Gittinger <cg@exept.de>
parents: 13304
diff changeset
  2898
emphasis:e andColor:c
Claus Gittinger <cg@exept.de>
parents: 13304
diff changeset
  2899
    ^ Text addEmphasis:e to:(#color->c).
Claus Gittinger <cg@exept.de>
parents: 13304
diff changeset
  2900
Claus Gittinger <cg@exept.de>
parents: 13304
diff changeset
  2901
    "Created: / 17-02-2011 / 14:20:25 / cg"
Claus Gittinger <cg@exept.de>
parents: 13304
diff changeset
  2902
!
Claus Gittinger <cg@exept.de>
parents: 13304
diff changeset
  2903
8965
b3cebce55744 emphasize parenthesis nesting
Claus Gittinger <cg@exept.de>
parents: 8869
diff changeset
  2904
emphasizeParenthesisLevel
b3cebce55744 emphasize parenthesis nesting
Claus Gittinger <cg@exept.de>
parents: 8869
diff changeset
  2905
    ^ self at:#emphasizeParenthesisLevel ifAbsent:true
b3cebce55744 emphasize parenthesis nesting
Claus Gittinger <cg@exept.de>
parents: 8869
diff changeset
  2906
b3cebce55744 emphasize parenthesis nesting
Claus Gittinger <cg@exept.de>
parents: 8869
diff changeset
  2907
    "
b3cebce55744 emphasize parenthesis nesting
Claus Gittinger <cg@exept.de>
parents: 8869
diff changeset
  2908
     UserPreferences current emphasizeParenthesisLevel
b3cebce55744 emphasize parenthesis nesting
Claus Gittinger <cg@exept.de>
parents: 8869
diff changeset
  2909
     UserPreferences current emphasizeParenthesisLevel:true
b3cebce55744 emphasize parenthesis nesting
Claus Gittinger <cg@exept.de>
parents: 8869
diff changeset
  2910
     UserPreferences current emphasizeParenthesisLevel:false
b3cebce55744 emphasize parenthesis nesting
Claus Gittinger <cg@exept.de>
parents: 8869
diff changeset
  2911
    "
b3cebce55744 emphasize parenthesis nesting
Claus Gittinger <cg@exept.de>
parents: 8869
diff changeset
  2912
!
b3cebce55744 emphasize parenthesis nesting
Claus Gittinger <cg@exept.de>
parents: 8869
diff changeset
  2913
b3cebce55744 emphasize parenthesis nesting
Claus Gittinger <cg@exept.de>
parents: 8869
diff changeset
  2914
emphasizeParenthesisLevel:aBoolean
b3cebce55744 emphasize parenthesis nesting
Claus Gittinger <cg@exept.de>
parents: 8869
diff changeset
  2915
    self at:#emphasizeParenthesisLevel put:aBoolean
b3cebce55744 emphasize parenthesis nesting
Claus Gittinger <cg@exept.de>
parents: 8869
diff changeset
  2916
b3cebce55744 emphasize parenthesis nesting
Claus Gittinger <cg@exept.de>
parents: 8869
diff changeset
  2917
    "
b3cebce55744 emphasize parenthesis nesting
Claus Gittinger <cg@exept.de>
parents: 8869
diff changeset
  2918
     UserPreferences current emphasizeParenthesisLevel
b3cebce55744 emphasize parenthesis nesting
Claus Gittinger <cg@exept.de>
parents: 8869
diff changeset
  2919
     UserPreferences current emphasizeParenthesisLevel:true
b3cebce55744 emphasize parenthesis nesting
Claus Gittinger <cg@exept.de>
parents: 8869
diff changeset
  2920
     UserPreferences current emphasizeParenthesisLevel:false
b3cebce55744 emphasize parenthesis nesting
Claus Gittinger <cg@exept.de>
parents: 8869
diff changeset
  2921
    "
b3cebce55744 emphasize parenthesis nesting
Claus Gittinger <cg@exept.de>
parents: 8869
diff changeset
  2922
!
b3cebce55744 emphasize parenthesis nesting
Claus Gittinger <cg@exept.de>
parents: 8869
diff changeset
  2923
4341
eb862eba0a0b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4336
diff changeset
  2924
errorColor
eb862eba0a0b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4336
diff changeset
  2925
    "the color used for illegal identifiers;
eb862eba0a0b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4336
diff changeset
  2926
     If syntaxColoring is turned on."
eb862eba0a0b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4336
diff changeset
  2927
13346
9f020c62dbfe changed:11 methods
Claus Gittinger <cg@exept.de>
parents: 13340
diff changeset
  2928
    ^ self at:#errorColor ifAbsentPut:[UserPreferences default at:#errorColor ifAbsent:[Color black]]
9f020c62dbfe changed:11 methods
Claus Gittinger <cg@exept.de>
parents: 13340
diff changeset
  2929
9f020c62dbfe changed:11 methods
Claus Gittinger <cg@exept.de>
parents: 13340
diff changeset
  2930
    "Modified: / 21-04-2011 / 12:33:33 / cg"
4341
eb862eba0a0b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4336
diff changeset
  2931
!
eb862eba0a0b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4336
diff changeset
  2932
15545
afc9b6289701 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15427
diff changeset
  2933
errorRaisingSelectorColor
afc9b6289701 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15427
diff changeset
  2934
    "the color used for some selected error raising
afc9b6289701 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15427
diff changeset
  2935
     selectors (such as raise etc.);
afc9b6289701 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15427
diff changeset
  2936
     If syntaxColoring is turned on.
afc9b6289701 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15427
diff changeset
  2937
     If left nil, the normal selector color is used."
afc9b6289701 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15427
diff changeset
  2938
afc9b6289701 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15427
diff changeset
  2939
    ^ self at:#errorRaisingSelectorColor ifAbsent:nil
afc9b6289701 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15427
diff changeset
  2940
!
afc9b6289701 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15427
diff changeset
  2941
afc9b6289701 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15427
diff changeset
  2942
errorRaisingSelectorEmphasis
afc9b6289701 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15427
diff changeset
  2943
    "the color used for some selected error raising
afc9b6289701 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15427
diff changeset
  2944
     selectors (such as raise etc.);
afc9b6289701 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15427
diff changeset
  2945
     If syntaxColoring is turned on.
afc9b6289701 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15427
diff changeset
  2946
     If left nil, the normal selector emphasis is used."
afc9b6289701 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15427
diff changeset
  2947
afc9b6289701 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15427
diff changeset
  2948
    ^ self at:#errorRaisingSelectorEmphasis ifAbsent:nil
afc9b6289701 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15427
diff changeset
  2949
!
afc9b6289701 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15427
diff changeset
  2950
4306
a4720d8dd3b7 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4121
diff changeset
  2951
fullSelectorCheck
a4720d8dd3b7 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4121
diff changeset
  2952
    "with fullSelector check, selectors are searched immediately for
a4720d8dd3b7 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4121
diff changeset
  2953
     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
  2954
4628
Claus Gittinger <cg@exept.de>
parents: 4583
diff changeset
  2955
    ^ self at:#fullSelectorCheck ifAbsentPut:[UserPreferences default at:#fullSelectorCheck]
4306
a4720d8dd3b7 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4121
diff changeset
  2956
a4720d8dd3b7 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4121
diff changeset
  2957
    "Created: / 31.3.1998 / 15:09:41 / cg"
a4720d8dd3b7 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4121
diff changeset
  2958
    "Modified: / 1.4.1998 / 13:25:06 / cg"
a4720d8dd3b7 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4121
diff changeset
  2959
!
a4720d8dd3b7 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4121
diff changeset
  2960
4023
46805a0a73b3 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3883
diff changeset
  2961
globalClassIdentifierColor
46805a0a73b3 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3883
diff changeset
  2962
    "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
  2963
     If syntaxColoring is turned on."
46805a0a73b3 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3883
diff changeset
  2964
46805a0a73b3 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3883
diff changeset
  2965
    ^ self at:#globalClassIdentifierColor ifAbsentPut:[self globalIdentifierColor]
46805a0a73b3 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3883
diff changeset
  2966
46805a0a73b3 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3883
diff changeset
  2967
    "Modified: / 1.4.1998 / 13:20:47 / cg"
46805a0a73b3 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3883
diff changeset
  2968
    "Created: / 4.3.1999 / 12:50:31 / cg"
46805a0a73b3 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3883
diff changeset
  2969
!
46805a0a73b3 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3883
diff changeset
  2970
46805a0a73b3 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3883
diff changeset
  2971
globalClassIdentifierEmphasis
46805a0a73b3 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3883
diff changeset
  2972
    "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
  2973
     If syntaxColoring is turned on."
46805a0a73b3 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3883
diff changeset
  2974
46805a0a73b3 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3883
diff changeset
  2975
    ^ self at:#globalClassIdentifierEmphasis ifAbsentPut:[self globalIdentifierEmphasis]
46805a0a73b3 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3883
diff changeset
  2976
46805a0a73b3 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3883
diff changeset
  2977
    "Modified: / 1.4.1998 / 13:25:31 / cg"
46805a0a73b3 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3883
diff changeset
  2978
    "Created: / 4.3.1999 / 12:51:00 / cg"
46805a0a73b3 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3883
diff changeset
  2979
!
46805a0a73b3 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3883
diff changeset
  2980
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2981
globalIdentifierColor
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2982
    "the color used for global identifiers;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2983
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2984
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2985
    ^ self at:#globalIdentifierColor ifAbsentPut:[self identifierColor]
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2986
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2987
    "Created: / 31.3.1998 / 15:18:49 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2988
    "Modified: / 1.4.1998 / 13:20:47 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2989
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2990
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2991
globalIdentifierEmphasis
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2992
    "the emphasis used for global variable identifiers;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2993
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2994
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2995
    ^ self at:#globalIdentifierEmphasis ifAbsentPut:[self identifierEmphasis]
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2996
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2997
    "Created: / 31.3.1998 / 15:18:29 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2998
    "Modified: / 1.4.1998 / 13:25:31 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  2999
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3000
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3001
hereColor
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3002
    "the color used for the here pseudoVariable;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3003
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3004
4317
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
  3005
    ^ self at:#hereColor ifAbsentPut:[self selfColor]
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3006
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3007
    "Created: / 31.3.1998 / 17:38:09 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3008
    "Modified: / 1.4.1998 / 13:20:57 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3009
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3010
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3011
hereEmphasis
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3012
    "the emphasis used for the hre special variable;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3013
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3014
4317
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
  3015
    ^ self at:#hereEmphasis ifAbsentPut:[self selfEmphasis]
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3016
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3017
    "Created: / 31.3.1998 / 17:35:13 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3018
    "Modified: / 1.4.1998 / 13:25:17 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3019
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3020
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3021
identifierColor
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3022
    "the color used for other identifiers;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3023
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3024
4317
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
  3025
    ^ self at:#identifierColor ifAbsentPut:[self defaultSyntaxColor]
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3026
3362
6855944431e9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3361
diff changeset
  3027
    "
6855944431e9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3361
diff changeset
  3028
     UserPreferences current at:#identifierColor put:Color green darkened darkened.
6855944431e9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3361
diff changeset
  3029
     UserPreferences current at:#identifierColor put:Color black.
6855944431e9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3361
diff changeset
  3030
    "
6855944431e9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3361
diff changeset
  3031
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3032
    "Created: / 31.3.1998 / 17:35:55 / cg"
3362
6855944431e9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3361
diff changeset
  3033
    "Modified: / 2.4.1998 / 10:39:42 / cg"
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3034
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3035
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3036
identifierEmphasis
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3037
    "the emphasis used for other identifiers;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3038
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3039
4317
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
  3040
    ^ self at:#identifierEmphasis ifAbsentPut:[self defaultSyntaxEmphasis]
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3041
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3042
    "Created: / 31.3.1998 / 15:09:41 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3043
    "Modified: / 1.4.1998 / 13:25:06 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3044
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3045
3378
92288628a6bf checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3377
diff changeset
  3046
instVarIdentifierColor
3377
9d7c8b2ef58e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
  3047
    "the color used for instance variable identifiers;
9d7c8b2ef58e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
  3048
     If syntaxColoring is turned on."
9d7c8b2ef58e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
  3049
3378
92288628a6bf checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3377
diff changeset
  3050
    ^ self at:#instVarIdentifierColor ifAbsentPut:[self identifierColor]
3377
9d7c8b2ef58e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
  3051
9d7c8b2ef58e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
  3052
    "
3378
92288628a6bf checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3377
diff changeset
  3053
     UserPreferences current at:#instVarIdentifierColor put:Color green darkened.
92288628a6bf checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3377
diff changeset
  3054
     UserPreferences current at:#instVarIdentifierColor put:Color black.
11143
3712ab6b344b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11064
diff changeset
  3055
     UserPreferences current instVarIdentifierColor
3377
9d7c8b2ef58e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
  3056
    "
9d7c8b2ef58e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
  3057
9d7c8b2ef58e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
  3058
    "Created: / 16.4.1998 / 18:31:29 / cg"
3378
92288628a6bf checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3377
diff changeset
  3059
    "Modified: / 16.4.1998 / 18:57:06 / cg"
3377
9d7c8b2ef58e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
  3060
!
9d7c8b2ef58e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
  3061
3378
92288628a6bf checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3377
diff changeset
  3062
instVarIdentifierEmphasis
3377
9d7c8b2ef58e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
  3063
    "the emphais used for instance variable identifiers;
9d7c8b2ef58e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
  3064
     If syntaxColoring is turned on."
9d7c8b2ef58e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
  3065
3378
92288628a6bf checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3377
diff changeset
  3066
    ^ self at:#instVarIdentifierEmphasis ifAbsentPut:[self identifierEmphasis]
3377
9d7c8b2ef58e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
  3067
9d7c8b2ef58e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
  3068
    "Modified: / 1.4.1998 / 13:24:42 / cg"
3378
92288628a6bf checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3377
diff changeset
  3069
    "Created: / 16.4.1998 / 18:40:05 / cg"
3377
9d7c8b2ef58e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
  3070
!
9d7c8b2ef58e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3364
diff changeset
  3071
8420
08756fae71a0 prefs for js
ca
parents: 8252
diff changeset
  3072
jsKeywordColor
08756fae71a0 prefs for js
ca
parents: 8252
diff changeset
  3073
    ^ self at:#jsKeywordColor ifAbsentPut:[self defaultSyntaxColor]
08756fae71a0 prefs for js
ca
parents: 8252
diff changeset
  3074
!
08756fae71a0 prefs for js
ca
parents: 8252
diff changeset
  3075
08756fae71a0 prefs for js
ca
parents: 8252
diff changeset
  3076
jsKeywordEmphasis
08756fae71a0 prefs for js
ca
parents: 8252
diff changeset
  3077
    ^ self at:#jsKeywordEmphasis ifAbsentPut:[self defaultSyntaxEmphasis]
08756fae71a0 prefs for js
ca
parents: 8252
diff changeset
  3078
!
08756fae71a0 prefs for js
ca
parents: 8252
diff changeset
  3079
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3080
localIdentifierColor
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3081
    "the color used for local variable identifiers;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3082
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3083
9144
f2066ee39215 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9099
diff changeset
  3084
    ^ self at:#localIdentifierColor ifAbsent:[self identifierColor]
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3085
3362
6855944431e9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3361
diff changeset
  3086
    "
6855944431e9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3361
diff changeset
  3087
     UserPreferences current at:#localIdentifierColor put:Color green darkened.
6855944431e9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3361
diff changeset
  3088
     UserPreferences current at:#localIdentifierColor put:Color black.
6855944431e9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3361
diff changeset
  3089
    "
6855944431e9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3361
diff changeset
  3090
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3091
    "Created: / 31.3.1998 / 15:18:07 / cg"
3362
6855944431e9 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3361
diff changeset
  3092
    "Modified: / 2.4.1998 / 10:40:05 / cg"
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3093
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3094
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3095
localIdentifierEmphasis
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3096
    "the emphais used for local variable identifiers;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3097
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3098
9144
f2066ee39215 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9099
diff changeset
  3099
    ^ self at:#localIdentifierEmphasis ifAbsent:[self identifierEmphasis]
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3100
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3101
    "Created: / 31.3.1998 / 15:16:56 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3102
    "Modified: / 1.4.1998 / 13:24:42 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3103
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3104
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3105
methodSelectorColor
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3106
    "the color used for a methods selector pattern;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3107
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3108
4317
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
  3109
    ^ self at:#methodSelectorColor ifAbsentPut:[self defaultSyntaxColor]
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3110
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3111
    "Created: / 31.3.1998 / 15:11:24 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3112
    "Modified: / 1.4.1998 / 13:24:26 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3113
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3114
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3115
methodSelectorEmphasis
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3116
    "the emphasis used for a methods selector pattern;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3117
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3118
13347
b3245e290ed0 changed:6 methods
Claus Gittinger <cg@exept.de>
parents: 13346
diff changeset
  3119
    ^ self at:#methodSelectorEmphasis ifAbsentPut:[UserPreferences default at:#methodSelectorEmphasis ifAbsent:#normal]
13346
9f020c62dbfe changed:11 methods
Claus Gittinger <cg@exept.de>
parents: 13340
diff changeset
  3120
9f020c62dbfe changed:11 methods
Claus Gittinger <cg@exept.de>
parents: 13340
diff changeset
  3121
    "Created: / 31-03-1998 / 15:11:16 / cg"
13347
b3245e290ed0 changed:6 methods
Claus Gittinger <cg@exept.de>
parents: 13346
diff changeset
  3122
    "Modified: / 21-04-2011 / 12:34:42 / cg"
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3123
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3124
9144
f2066ee39215 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9099
diff changeset
  3125
numberConstantColor
f2066ee39215 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9099
diff changeset
  3126
    "the color used for number constants;
f2066ee39215 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9099
diff changeset
  3127
     If syntaxColoring is turned on."
f2066ee39215 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9099
diff changeset
  3128
f2066ee39215 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9099
diff changeset
  3129
    ^ self at:#numberConstantColor ifAbsent:[ self constantColor ]
f2066ee39215 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9099
diff changeset
  3130
!
f2066ee39215 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9099
diff changeset
  3131
f2066ee39215 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9099
diff changeset
  3132
numberConstantEmphasis
f2066ee39215 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9099
diff changeset
  3133
    "the emphasis used for number constants;
f2066ee39215 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9099
diff changeset
  3134
     If syntaxColoring is turned on."
f2066ee39215 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9099
diff changeset
  3135
f2066ee39215 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9099
diff changeset
  3136
    ^ self at:#numberConstantEmphasis ifAbsent:[ self constantEmphasis ]
f2066ee39215 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9099
diff changeset
  3137
!
f2066ee39215 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9099
diff changeset
  3138
8551
de314b9f8fa3 sharedPools
ca
parents: 8545
diff changeset
  3139
poolVariableIdentifierColor
de314b9f8fa3 sharedPools
ca
parents: 8545
diff changeset
  3140
    "the color used for pool variable identifiers
de314b9f8fa3 sharedPools
ca
parents: 8545
diff changeset
  3141
     If syntaxColoring is turned on."
de314b9f8fa3 sharedPools
ca
parents: 8545
diff changeset
  3142
de314b9f8fa3 sharedPools
ca
parents: 8545
diff changeset
  3143
    ^ self at:#poolVariableIdentifierColor ifAbsentPut:[self globalIdentifierColor]
de314b9f8fa3 sharedPools
ca
parents: 8545
diff changeset
  3144
!
de314b9f8fa3 sharedPools
ca
parents: 8545
diff changeset
  3145
de314b9f8fa3 sharedPools
ca
parents: 8545
diff changeset
  3146
poolVariableIdentifierEmphasis
de314b9f8fa3 sharedPools
ca
parents: 8545
diff changeset
  3147
    "the color used for pool variable identifiers
de314b9f8fa3 sharedPools
ca
parents: 8545
diff changeset
  3148
     If syntaxColoring is turned on."
de314b9f8fa3 sharedPools
ca
parents: 8545
diff changeset
  3149
de314b9f8fa3 sharedPools
ca
parents: 8545
diff changeset
  3150
    ^ self at:#poolVariableIdentifierEmphasis ifAbsentPut:[self globalIdentifierEmphasis]
de314b9f8fa3 sharedPools
ca
parents: 8545
diff changeset
  3151
!
de314b9f8fa3 sharedPools
ca
parents: 8545
diff changeset
  3152
4076
96cb7146bc59 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4075
diff changeset
  3153
returnColor
96cb7146bc59 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4075
diff changeset
  3154
    "the color used for the return expression;
96cb7146bc59 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4075
diff changeset
  3155
     If syntaxColoring is turned on."
96cb7146bc59 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4075
diff changeset
  3156
4317
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
  3157
    ^ self at:#returnColor ifAbsentPut:[self defaultSyntaxColor]
4076
96cb7146bc59 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4075
diff changeset
  3158
96cb7146bc59 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4075
diff changeset
  3159
    "Modified: / 5.1.1980 / 00:43:52 / cg"
96cb7146bc59 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4075
diff changeset
  3160
!
96cb7146bc59 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4075
diff changeset
  3161
96cb7146bc59 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4075
diff changeset
  3162
returnEmphasis
96cb7146bc59 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4075
diff changeset
  3163
    "the emphasis used for returns;
96cb7146bc59 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4075
diff changeset
  3164
     If syntaxColoring is turned on."
96cb7146bc59 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4075
diff changeset
  3165
4317
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
  3166
    ^ self at:#returnEmphasis ifAbsentPut:[self defaultSyntaxEmphasis]
4076
96cb7146bc59 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4075
diff changeset
  3167
96cb7146bc59 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4075
diff changeset
  3168
    "Created: / 5.1.1980 / 00:43:39 / cg"
96cb7146bc59 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4075
diff changeset
  3169
!
96cb7146bc59 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4075
diff changeset
  3170
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3171
selectorColor
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3172
    "the color used for message selectors;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3173
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3174
4317
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
  3175
    ^ self at:#selectorColor ifAbsentPut:[self defaultSyntaxColor]
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3176
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3177
    "Created: / 31.3.1998 / 15:19:19 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3178
    "Modified: / 1.4.1998 / 13:24:04 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3179
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3180
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3181
selectorEmphasis
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3182
    "the emphasis used for message selectors;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3183
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3184
13347
b3245e290ed0 changed:6 methods
Claus Gittinger <cg@exept.de>
parents: 13346
diff changeset
  3185
    ^ self at:#selectorEmphasis ifAbsentPut:[UserPreferences default at:#selectorEmphasis ifAbsent:#normal]
13346
9f020c62dbfe changed:11 methods
Claus Gittinger <cg@exept.de>
parents: 13340
diff changeset
  3186
9f020c62dbfe changed:11 methods
Claus Gittinger <cg@exept.de>
parents: 13340
diff changeset
  3187
    "Created: / 31-03-1998 / 15:19:09 / cg"
13347
b3245e290ed0 changed:6 methods
Claus Gittinger <cg@exept.de>
parents: 13346
diff changeset
  3188
    "Modified: / 21-04-2011 / 12:34:39 / cg"
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3189
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3190
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3191
selfColor
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3192
    "the color used for the self pseudoVariable;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3193
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3194
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3195
    ^ self at:#selfColor ifAbsentPut:[self identifierColor]
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3196
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3197
    "Created: / 31.3.1998 / 17:35:45 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3198
    "Modified: / 1.4.1998 / 13:21:07 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3199
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3200
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3201
selfEmphasis
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3202
    "the emphasis used for the self pseudoVariable;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3203
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3204
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3205
    ^ self at:#selfEmphasis ifAbsentPut:[self identifierEmphasis]
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3206
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3207
    "Created: / 31.3.1998 / 17:34:57 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3208
    "Modified: / 1.4.1998 / 13:21:51 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3209
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3210
14004
Claus Gittinger <cg@exept.de>
parents: 13973
diff changeset
  3211
sideEffectAssignmentBackgroundColor
Claus Gittinger <cg@exept.de>
parents: 13973
diff changeset
  3212
    "the bg-color used for assignments with side effect (i.e. to instvars, globals, classvars or pool vars).
Claus Gittinger <cg@exept.de>
parents: 13973
diff changeset
  3213
     If nil is returned, the variable's color is used"
Claus Gittinger <cg@exept.de>
parents: 13973
diff changeset
  3214
Claus Gittinger <cg@exept.de>
parents: 13973
diff changeset
  3215
    ^ self at:#sideEffectAssignmentBackgroundColor ifAbsent:[ nil ]
Claus Gittinger <cg@exept.de>
parents: 13973
diff changeset
  3216
Claus Gittinger <cg@exept.de>
parents: 13973
diff changeset
  3217
    "Created: / 13-02-2012 / 11:35:20 / cg"
Claus Gittinger <cg@exept.de>
parents: 13973
diff changeset
  3218
!
Claus Gittinger <cg@exept.de>
parents: 13973
diff changeset
  3219
Claus Gittinger <cg@exept.de>
parents: 13973
diff changeset
  3220
sideEffectAssignmentColor
Claus Gittinger <cg@exept.de>
parents: 13973
diff changeset
  3221
    "the color used for assignments with side effect (i.e. to instvars, globals, classvars or pool vars).
Claus Gittinger <cg@exept.de>
parents: 13973
diff changeset
  3222
     If nil is returned, the variable's color is used"
Claus Gittinger <cg@exept.de>
parents: 13973
diff changeset
  3223
Claus Gittinger <cg@exept.de>
parents: 13973
diff changeset
  3224
    ^ self at:#sideEffectAssignmentColor ifAbsent:[ nil ]
Claus Gittinger <cg@exept.de>
parents: 13973
diff changeset
  3225
Claus Gittinger <cg@exept.de>
parents: 13973
diff changeset
  3226
    "Created: / 13-02-2012 / 11:35:09 / cg"
Claus Gittinger <cg@exept.de>
parents: 13973
diff changeset
  3227
!
Claus Gittinger <cg@exept.de>
parents: 13973
diff changeset
  3228
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3229
stringColor
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3230
    "the color used for string constants;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3231
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3232
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3233
    ^ self at:#stringColor ifAbsentPut:[self constantColor]
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3234
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3235
    "Created: / 31.3.1998 / 15:19:50 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3236
    "Modified: / 1.4.1998 / 13:22:06 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3237
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3238
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3239
stringEmphasis
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3240
    "the emphasis used for string constants;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3241
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3242
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3243
    ^ self at:#stringEmphasis ifAbsentPut:[self constantEmphasis]
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3244
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3245
    "Created: / 31.3.1998 / 15:19:09 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3246
    "Modified: / 1.4.1998 / 13:22:00 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3247
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3248
13308
d49548a99889 added: #stringEmphasisAndColor
Claus Gittinger <cg@exept.de>
parents: 13307
diff changeset
  3249
stringEmphasisAndColor
d49548a99889 added: #stringEmphasisAndColor
Claus Gittinger <cg@exept.de>
parents: 13307
diff changeset
  3250
    ^ self emphasis:(self stringEmphasis) andColor:(self stringColor).
d49548a99889 added: #stringEmphasisAndColor
Claus Gittinger <cg@exept.de>
parents: 13307
diff changeset
  3251
d49548a99889 added: #stringEmphasisAndColor
Claus Gittinger <cg@exept.de>
parents: 13307
diff changeset
  3252
    "Created: / 17-02-2011 / 14:29:10 / cg"
d49548a99889 added: #stringEmphasisAndColor
Claus Gittinger <cg@exept.de>
parents: 13307
diff changeset
  3253
!
d49548a99889 added: #stringEmphasisAndColor
Claus Gittinger <cg@exept.de>
parents: 13307
diff changeset
  3254
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3255
superColor
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3256
    "the color used for the super pseudoVariable;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3257
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3258
4317
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
  3259
    ^ self at:#superColor ifAbsentPut:[self selfColor]
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3260
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3261
    "Created: / 31.3.1998 / 17:37:56 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3262
    "Modified: / 1.4.1998 / 13:21:15 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3263
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3264
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3265
superEmphasis
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3266
    "the emphasis used for the super pseudoVariable;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3267
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3268
4317
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
  3269
    ^ self at:#superEmphasis ifAbsentPut:[self selfEmphasis]
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3270
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3271
    "Created: / 31.3.1998 / 17:35:08 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3272
    "Modified: / 1.4.1998 / 13:21:41 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3273
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3274
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3275
symbolColor
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3276
    "the color used for symbol constants;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3277
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3278
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3279
    ^ self at:#symbolColor ifAbsentPut:[self constantColor]
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3280
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3281
    "Created: / 1.4.1998 / 12:57:35 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3282
    "Modified: / 1.4.1998 / 13:22:16 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3283
!
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3284
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3285
symbolEmphasis
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3286
    "the emphasis used for symbol constants;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3287
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3288
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3289
    ^ self at:#symbolEmphasis ifAbsentPut:[self constantEmphasis]
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3290
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3291
    "Created: / 1.4.1998 / 12:57:43 / cg"
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3292
    "Modified: / 1.4.1998 / 13:23:43 / cg"
3352
ebf6c330ff71 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3351
diff changeset
  3293
!
ebf6c330ff71 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3351
diff changeset
  3294
ebf6c330ff71 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3351
diff changeset
  3295
thisContextColor
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3296
    "the color used for the thisContext pseudoVariable;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3297
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3298
3355
d013e5affe18 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3354
diff changeset
  3299
    ^ self at:#thisContextColor ifAbsentPut:[self identifierColor]
3352
ebf6c330ff71 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3351
diff changeset
  3300
ebf6c330ff71 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3351
diff changeset
  3301
    "Created: / 31.3.1998 / 17:37:49 / cg"
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3302
    "Modified: / 1.4.1998 / 13:21:24 / cg"
3352
ebf6c330ff71 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3351
diff changeset
  3303
!
ebf6c330ff71 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3351
diff changeset
  3304
ebf6c330ff71 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3351
diff changeset
  3305
thisContextEmphasis
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3306
    "the emphasis used for the thisContext pseudoVariable;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3307
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3308
3355
d013e5affe18 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3354
diff changeset
  3309
    ^ self at:#thisContextEmphasis ifAbsentPut:[self identifierEmphasis]
3352
ebf6c330ff71 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3351
diff changeset
  3310
ebf6c330ff71 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3351
diff changeset
  3311
    "Created: / 31.3.1998 / 17:35:27 / cg"
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3312
    "Modified: / 1.4.1998 / 13:21:30 / cg"
3354
9336b571ee90 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3353
diff changeset
  3313
!
9336b571ee90 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3353
diff changeset
  3314
4316
c3934d0d1e3e added unimplementedSelector emphasis&colors
Claus Gittinger <cg@exept.de>
parents: 4306
diff changeset
  3315
unimplementedSelectorColor
c3934d0d1e3e added unimplementedSelector emphasis&colors
Claus Gittinger <cg@exept.de>
parents: 4306
diff changeset
  3316
    "the color used for bad message selectors;
c3934d0d1e3e added unimplementedSelector emphasis&colors
Claus Gittinger <cg@exept.de>
parents: 4306
diff changeset
  3317
     If syntaxColoring is turned on."
c3934d0d1e3e added unimplementedSelector emphasis&colors
Claus Gittinger <cg@exept.de>
parents: 4306
diff changeset
  3318
13346
9f020c62dbfe changed:11 methods
Claus Gittinger <cg@exept.de>
parents: 13340
diff changeset
  3319
    ^ self at:#unimplementedSelectorColor ifAbsentPut:[UserPreferences default at:#unimplementedSelectorColor ifAbsent:[Color black]]
9f020c62dbfe changed:11 methods
Claus Gittinger <cg@exept.de>
parents: 13340
diff changeset
  3320
9f020c62dbfe changed:11 methods
Claus Gittinger <cg@exept.de>
parents: 13340
diff changeset
  3321
    "Modified: / 21-04-2011 / 12:33:29 / cg"
4316
c3934d0d1e3e added unimplementedSelector emphasis&colors
Claus Gittinger <cg@exept.de>
parents: 4306
diff changeset
  3322
!
c3934d0d1e3e added unimplementedSelector emphasis&colors
Claus Gittinger <cg@exept.de>
parents: 4306
diff changeset
  3323
c3934d0d1e3e added unimplementedSelector emphasis&colors
Claus Gittinger <cg@exept.de>
parents: 4306
diff changeset
  3324
unimplementedSelectorEmphasis
c3934d0d1e3e added unimplementedSelector emphasis&colors
Claus Gittinger <cg@exept.de>
parents: 4306
diff changeset
  3325
    "the emphasis used for bad message selectors;
c3934d0d1e3e added unimplementedSelector emphasis&colors
Claus Gittinger <cg@exept.de>
parents: 4306
diff changeset
  3326
     If syntaxColoring is turned on."
c3934d0d1e3e added unimplementedSelector emphasis&colors
Claus Gittinger <cg@exept.de>
parents: 4306
diff changeset
  3327
13347
b3245e290ed0 changed:6 methods
Claus Gittinger <cg@exept.de>
parents: 13346
diff changeset
  3328
    ^ self at:#unimplementedSelectorEmphasis ifAbsentPut:[UserPreferences default at:#unimplementedSelectorEmphasis ifAbsent:#normal]
13346
9f020c62dbfe changed:11 methods
Claus Gittinger <cg@exept.de>
parents: 13340
diff changeset
  3329
9f020c62dbfe changed:11 methods
Claus Gittinger <cg@exept.de>
parents: 13340
diff changeset
  3330
    "Created: / 31-03-1998 / 15:19:09 / cg"
13347
b3245e290ed0 changed:6 methods
Claus Gittinger <cg@exept.de>
parents: 13346
diff changeset
  3331
    "Modified: / 21-04-2011 / 12:34:36 / cg"
4316
c3934d0d1e3e added unimplementedSelector emphasis&colors
Claus Gittinger <cg@exept.de>
parents: 4306
diff changeset
  3332
!
c3934d0d1e3e added unimplementedSelector emphasis&colors
Claus Gittinger <cg@exept.de>
parents: 4306
diff changeset
  3333
3354
9336b571ee90 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3353
diff changeset
  3334
unknownIdentifierColor
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3335
    "the color used for unknown identifiers;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3336
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3337
4326
9b1d4f1bf719 inserted badIdentifierColor & emphasis
Claus Gittinger <cg@exept.de>
parents: 4320
diff changeset
  3338
    ^ self at:#unknownIdentifierColor ifAbsentPut:[self badIdentifierColor]
3354
9336b571ee90 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3353
diff changeset
  3339
3361
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
  3340
    "
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
  3341
     self current at:#unknownIdentifierColor  put:Color red.
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
  3342
     self current at:#unknownIdentifierEmphasis  put:#bold
4317
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
  3343
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
  3344
     self current unknownIdentifierColor
aba88adaf752 concentrated defaults into #initialize method.
Claus Gittinger <cg@exept.de>
parents: 4316
diff changeset
  3345
     self current unknownIdentifierEmphasis
3361
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
  3346
    "
daabd9bf9c3b checkin from browser
ca
parents: 3360
diff changeset
  3347
3354
9336b571ee90 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3353
diff changeset
  3348
    "Created: / 31.3.1998 / 19:11:38 / cg"
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3349
    "Modified: / 1.4.1998 / 13:22:33 / cg"
3354
9336b571ee90 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3353
diff changeset
  3350
!
9336b571ee90 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3353
diff changeset
  3351
9336b571ee90 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3353
diff changeset
  3352
unknownIdentifierEmphasis
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3353
    "the emphasis used for unknown identifiers;
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3354
     If syntaxColoring is turned on."
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3355
4326
9b1d4f1bf719 inserted badIdentifierColor & emphasis
Claus Gittinger <cg@exept.de>
parents: 4320
diff changeset
  3356
    ^ self at:#unknownIdentifierEmphasis ifAbsentPut:[self badIdentifierEmphasis]
3354
9336b571ee90 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3353
diff changeset
  3357
9336b571ee90 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 3353
diff changeset
  3358
    "Created: / 31.3.1998 / 19:11:55 / cg"
3360
3ca08e2afd68 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3359
diff changeset
  3359
    "Modified: / 1.4.1998 / 13:22:45 / cg"
13307
Claus Gittinger <cg@exept.de>
parents: 13304
diff changeset
  3360
!
Claus Gittinger <cg@exept.de>
parents: 13304
diff changeset
  3361
13522
Claus Gittinger <cg@exept.de>
parents: 13503
diff changeset
  3362
xmlAttributeColor
Claus Gittinger <cg@exept.de>
parents: 13503
diff changeset
  3363
    "the emphasis used for xml-attributes;
Claus Gittinger <cg@exept.de>
parents: 13503
diff changeset
  3364
     If syntaxColoring is turned on."
Claus Gittinger <cg@exept.de>
parents: 13503
diff changeset
  3365
Claus Gittinger <cg@exept.de>
parents: 13503
diff changeset
  3366
    ^ self at:#xmlAttributeColor ifAbsentPut:[ Color green darkened ]
Claus Gittinger <cg@exept.de>
parents: 13503
diff changeset
  3367
Claus Gittinger <cg@exept.de>
parents: 13503
diff changeset
  3368
    "
Claus Gittinger <cg@exept.de>
parents: 13503
diff changeset
  3369
     self current at:#xmlAttributeColor put:Color black
Claus Gittinger <cg@exept.de>
parents: 13503
diff changeset
  3370
     self current xmlAttributeColor         
Claus Gittinger <cg@exept.de>
parents: 13503
diff changeset
  3371
    "
Claus Gittinger <cg@exept.de>
parents: 13503
diff changeset
  3372
Claus Gittinger <cg@exept.de>
parents: 13503
diff changeset
  3373
    "Created: / 24-07-2011 / 21:30:59 / cg"
Claus Gittinger <cg@exept.de>
parents: 13503
diff changeset
  3374
!
Claus Gittinger <cg@exept.de>
parents: 13503
diff changeset
  3375
Claus Gittinger <cg@exept.de>
parents: 13503
diff changeset
  3376
xmlAttributeEmphasis
Claus Gittinger <cg@exept.de>
parents: 13503
diff changeset
  3377
    "the emphasis used for xml-attributes;
Claus Gittinger <cg@exept.de>
parents: 13503
diff changeset
  3378
     If syntaxColoring is turned on."
Claus Gittinger <cg@exept.de>
parents: 13503
diff changeset
  3379
Claus Gittinger <cg@exept.de>
parents: 13503
diff changeset
  3380
    ^ self at:#xmlAttributeEmphasis ifAbsentPut:[ #normal ]
Claus Gittinger <cg@exept.de>
parents: 13503
diff changeset
  3381
Claus Gittinger <cg@exept.de>
parents: 13503
diff changeset
  3382
    "
Claus Gittinger <cg@exept.de>
parents: 13503
diff changeset
  3383
     self current at:#xmlAttributeEmphasis put:#normal
Claus Gittinger <cg@exept.de>
parents: 13503
diff changeset
  3384
     self current xmlAttributeEmphasis
Claus Gittinger <cg@exept.de>
parents: 13503
diff changeset
  3385
    "
Claus Gittinger <cg@exept.de>
parents: 13503
diff changeset
  3386
Claus Gittinger <cg@exept.de>
parents: 13503
diff changeset
  3387
    "Created: / 24-07-2011 / 21:30:29 / cg"
Claus Gittinger <cg@exept.de>
parents: 13503
diff changeset
  3388
!
Claus Gittinger <cg@exept.de>
parents: 13503
diff changeset
  3389
Claus Gittinger <cg@exept.de>
parents: 13503
diff changeset
  3390
xmlCDataColor
Claus Gittinger <cg@exept.de>
parents: 13503
diff changeset
  3391
    "the emphasis used for xml-CData;
Claus Gittinger <cg@exept.de>
parents: 13503
diff changeset
  3392
     If syntaxColoring is turned on."
Claus Gittinger <cg@exept.de>
parents: 13503
diff changeset
  3393
Claus Gittinger <cg@exept.de>
parents: 13503
diff changeset
  3394
    ^ self at:#xmlCDataColor ifAbsentPut:[ Color blue ]
Claus Gittinger <cg@exept.de>
parents: 13503
diff changeset
  3395
Claus Gittinger <cg@exept.de>
parents: 13503
diff changeset
  3396
    "
Claus Gittinger <cg@exept.de>
parents: 13503
diff changeset
  3397
     self current at:#xmlCDataColor put:Color black
Claus Gittinger <cg@exept.de>
parents: 13503
diff changeset
  3398
     self current xmlCDataColor         
Claus Gittinger <cg@exept.de>
parents: 13503
diff changeset
  3399
    "
Claus Gittinger <cg@exept.de>
parents: 13503
diff changeset
  3400
Claus Gittinger <cg@exept.de>
parents: 13503
diff changeset
  3401
    "Created: / 24-07-2011 / 21:31:30 / cg"
Claus Gittinger <cg@exept.de>
parents: 13503
diff changeset
  3402
!
Claus Gittinger <cg@exept.de>
parents: 13503
diff changeset
  3403
Claus Gittinger <cg@exept.de>
parents: 13503
diff changeset
  3404
xmlCDataEmphasis
Claus Gittinger <cg@exept.de>
parents: 13503
diff changeset
  3405
    "the emphasis used for xml-CData;
Claus Gittinger <cg@exept.de>
parents: 13503
diff changeset
  3406
     If syntaxColoring is turned on."
Claus Gittinger <cg@exept.de>
parents: 13503
diff changeset
  3407
Claus Gittinger <cg@exept.de>
parents: 13503
diff changeset
  3408
    ^ self at:#xmlCDataEmphasis ifAbsentPut:[ #normal ]
Claus Gittinger <cg@exept.de>
parents: 13503
diff changeset
  3409
Claus Gittinger <cg@exept.de>
parents: 13503
diff changeset
  3410
    "
Claus Gittinger <cg@exept.de>
parents: 13503
diff changeset
  3411
     self current at:#xmlCDataEmphasis put:#normal
Claus Gittinger <cg@exept.de>
parents: 13503
diff changeset
  3412
     self current xmlCDataEmphasis
Claus Gittinger <cg@exept.de>
parents: 13503
diff changeset
  3413
    "
Claus Gittinger <cg@exept.de>
parents: 13503
diff changeset
  3414
Claus Gittinger <cg@exept.de>
parents: 13503
diff changeset
  3415
    "Created: / 24-07-2011 / 21:31:52 / cg"
Claus Gittinger <cg@exept.de>
parents: 13503
diff changeset
  3416
!
Claus Gittinger <cg@exept.de>
parents: 13503
diff changeset
  3417
13307
Claus Gittinger <cg@exept.de>
parents: 13304
diff changeset
  3418
xmlTagColor
Claus Gittinger <cg@exept.de>
parents: 13304
diff changeset
  3419
    "the emphasis used for xml-tags;
Claus Gittinger <cg@exept.de>
parents: 13304
diff changeset
  3420
     If syntaxColoring is turned on."
Claus Gittinger <cg@exept.de>
parents: 13304
diff changeset
  3421
Claus Gittinger <cg@exept.de>
parents: 13304
diff changeset
  3422
    ^ self at:#xmlTagColor ifAbsentPut:[ Color blue ]
Claus Gittinger <cg@exept.de>
parents: 13304
diff changeset
  3423
Claus Gittinger <cg@exept.de>
parents: 13304
diff changeset
  3424
    "
Claus Gittinger <cg@exept.de>
parents: 13304
diff changeset
  3425
     self current at:#xmlTagColor put:Color black
Claus Gittinger <cg@exept.de>
parents: 13304
diff changeset
  3426
     self current xmlTagColor         
Claus Gittinger <cg@exept.de>
parents: 13304
diff changeset
  3427
    "
Claus Gittinger <cg@exept.de>
parents: 13304
diff changeset
  3428
Claus Gittinger <cg@exept.de>
parents: 13304
diff changeset
  3429
    "Created: / 17-02-2011 / 14:18:28 / cg"
Claus Gittinger <cg@exept.de>
parents: 13304
diff changeset
  3430
!
Claus Gittinger <cg@exept.de>
parents: 13304
diff changeset
  3431
Claus Gittinger <cg@exept.de>
parents: 13304
diff changeset
  3432
xmlTagEmphasis
Claus Gittinger <cg@exept.de>
parents: 13304
diff changeset
  3433
    "the emphasis used for xml-tags;
Claus Gittinger <cg@exept.de>
parents: 13304
diff changeset
  3434
     If syntaxColoring is turned on."
Claus Gittinger <cg@exept.de>
parents: 13304
diff changeset
  3435
Claus Gittinger <cg@exept.de>
parents: 13304
diff changeset
  3436
    ^ self at:#xmlTagEmphasis ifAbsentPut:[ #bold ]
Claus Gittinger <cg@exept.de>
parents: 13304
diff changeset
  3437
Claus Gittinger <cg@exept.de>
parents: 13304
diff changeset
  3438
    "
Claus Gittinger <cg@exept.de>
parents: 13304
diff changeset
  3439
     self current at:#xmlTagEmphasis put:#normal
Claus Gittinger <cg@exept.de>
parents: 13304
diff changeset
  3440
     self current xmlTagEmphasis
Claus Gittinger <cg@exept.de>
parents: 13304
diff changeset
  3441
    "
Claus Gittinger <cg@exept.de>
parents: 13304
diff changeset
  3442
Claus Gittinger <cg@exept.de>
parents: 13304
diff changeset
  3443
    "Created: / 17-02-2011 / 14:18:01 / cg"
3347
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  3444
! !
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  3445
8232
371649bcd96a generateComments (from codeGenerator tool) settings
Claus Gittinger <cg@exept.de>
parents: 8005
diff changeset
  3446
!UserPreferences methodsFor:'accessing-prefs-code'!
371649bcd96a generateComments (from codeGenerator tool) settings
Claus Gittinger <cg@exept.de>
parents: 8005
diff changeset
  3447
371649bcd96a generateComments (from codeGenerator tool) settings
Claus Gittinger <cg@exept.de>
parents: 8005
diff changeset
  3448
categoryForMenuActionsMethods
371649bcd96a generateComments (from codeGenerator tool) settings
Claus Gittinger <cg@exept.de>
parents: 8005
diff changeset
  3449
    ^ 'menu actions'.
12117
5ffce12a6b14 added: #numberOfLinesForLongMethod
Claus Gittinger <cg@exept.de>
parents: 12104
diff changeset
  3450
!
5ffce12a6b14 added: #numberOfLinesForLongMethod
Claus Gittinger <cg@exept.de>
parents: 12104
diff changeset
  3451
15715
88c954271347 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15713
diff changeset
  3452
haltInObsoleteMethod
88c954271347 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15713
diff changeset
  3453
    "sometimes, these are annoying..."
88c954271347 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15713
diff changeset
  3454
88c954271347 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15713
diff changeset
  3455
    ^ self at:#haltInObsoleteMethod ifAbsent:true
88c954271347 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15713
diff changeset
  3456
88c954271347 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15713
diff changeset
  3457
    "
88c954271347 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15713
diff changeset
  3458
     UserPreferences current haltInObsoleteMethod 
88c954271347 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15713
diff changeset
  3459
88c954271347 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15713
diff changeset
  3460
     UserPreferences current haltInObsoleteMethod:true
88c954271347 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15713
diff changeset
  3461
     UserPreferences current haltInObsoleteMethod:false
88c954271347 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15713
diff changeset
  3462
    "
88c954271347 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15713
diff changeset
  3463
!
88c954271347 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15713
diff changeset
  3464
13722
Claus Gittinger <cg@exept.de>
parents: 13684
diff changeset
  3465
ignorePublicPrivateCategories
Claus Gittinger <cg@exept.de>
parents: 13684
diff changeset
  3466
    "used when loading dolphin code (which defines multiple categories per method);
Claus Gittinger <cg@exept.de>
parents: 13684
diff changeset
  3467
     if on, categories like public and private are ignored (if the method already has a category).
Claus Gittinger <cg@exept.de>
parents: 13684
diff changeset
  3468
     Turn this on, to get reasonable categories when loading dolphin code"
Claus Gittinger <cg@exept.de>
parents: 13684
diff changeset
  3469
Claus Gittinger <cg@exept.de>
parents: 13684
diff changeset
  3470
    ^ self at:#ignorePublicPrivateCategories ifAbsent:true
Claus Gittinger <cg@exept.de>
parents: 13684
diff changeset
  3471
Claus Gittinger <cg@exept.de>
parents: 13684
diff changeset
  3472
    "
Claus Gittinger <cg@exept.de>
parents: 13684
diff changeset
  3473
     UserPreferences current ignorePublicPrivateCategories
Claus Gittinger <cg@exept.de>
parents: 13684
diff changeset
  3474
    "
Claus Gittinger <cg@exept.de>
parents: 13684
diff changeset
  3475
Claus Gittinger <cg@exept.de>
parents: 13684
diff changeset
  3476
    "Created: / 23-09-2011 / 19:49:37 / cg"
Claus Gittinger <cg@exept.de>
parents: 13684
diff changeset
  3477
!
Claus Gittinger <cg@exept.de>
parents: 13684
diff changeset
  3478
Claus Gittinger <cg@exept.de>
parents: 13684
diff changeset
  3479
ignorePublicPrivateCategories:aBoolean
Claus Gittinger <cg@exept.de>
parents: 13684
diff changeset
  3480
    "used when loading dolphin code (which defines multiple categories per method);
Claus Gittinger <cg@exept.de>
parents: 13684
diff changeset
  3481
     if on, categories like public and private are ignored (if the method already has a category).
Claus Gittinger <cg@exept.de>
parents: 13684
diff changeset
  3482
     Turn this on, to get reasonable categories when loading dolphin code"
Claus Gittinger <cg@exept.de>
parents: 13684
diff changeset
  3483
Claus Gittinger <cg@exept.de>
parents: 13684
diff changeset
  3484
    self at:#ignorePublicPrivateCategories put:aBoolean
Claus Gittinger <cg@exept.de>
parents: 13684
diff changeset
  3485
Claus Gittinger <cg@exept.de>
parents: 13684
diff changeset
  3486
    "
Claus Gittinger <cg@exept.de>
parents: 13684
diff changeset
  3487
     UserPreferences current ignorePublicPrivateCategories
Claus Gittinger <cg@exept.de>
parents: 13684
diff changeset
  3488
    "
Claus Gittinger <cg@exept.de>
parents: 13684
diff changeset
  3489
Claus Gittinger <cg@exept.de>
parents: 13684
diff changeset
  3490
    "Created: / 23-09-2011 / 19:49:54 / cg"
Claus Gittinger <cg@exept.de>
parents: 13684
diff changeset
  3491
!
Claus Gittinger <cg@exept.de>
parents: 13684
diff changeset
  3492
12618
Claus Gittinger <cg@exept.de>
parents: 12563
diff changeset
  3493
keepMethodSourceCode
Claus Gittinger <cg@exept.de>
parents: 12563
diff changeset
  3494
    "when fetching the source from a file/cvs, should the source be kept in the image ?
12619
baba8c6085e2 comment/format in:
Claus Gittinger <cg@exept.de>
parents: 12618
diff changeset
  3495
     If on, the image will grow over time by about 10-20 Mb.
baba8c6085e2 comment/format in:
Claus Gittinger <cg@exept.de>
parents: 12618
diff changeset
  3496
     (will stay that high, even if switched off afterwards)"
12618
Claus Gittinger <cg@exept.de>
parents: 12563
diff changeset
  3497
Claus Gittinger <cg@exept.de>
parents: 12563
diff changeset
  3498
    ^ self at:#keepMethodSourceCode ifAbsent:false
Claus Gittinger <cg@exept.de>
parents: 12563
diff changeset
  3499
Claus Gittinger <cg@exept.de>
parents: 12563
diff changeset
  3500
    "
Claus Gittinger <cg@exept.de>
parents: 12563
diff changeset
  3501
     UserPreferences current keepMethodSourceCode
Claus Gittinger <cg@exept.de>
parents: 12563
diff changeset
  3502
    "
Claus Gittinger <cg@exept.de>
parents: 12563
diff changeset
  3503
!
Claus Gittinger <cg@exept.de>
parents: 12563
diff changeset
  3504
Claus Gittinger <cg@exept.de>
parents: 12563
diff changeset
  3505
keepMethodSourceCode:aBoolean
Claus Gittinger <cg@exept.de>
parents: 12563
diff changeset
  3506
    "when fetching the source from a file/cvs, should the source be kept in the image ?
12619
baba8c6085e2 comment/format in:
Claus Gittinger <cg@exept.de>
parents: 12618
diff changeset
  3507
     If on, the image will grow over time by about 10-20 Mb.
baba8c6085e2 comment/format in:
Claus Gittinger <cg@exept.de>
parents: 12618
diff changeset
  3508
     (will stay that high, even if switched off afterwards)"
12618
Claus Gittinger <cg@exept.de>
parents: 12563
diff changeset
  3509
Claus Gittinger <cg@exept.de>
parents: 12563
diff changeset
  3510
    ^ self at:#keepMethodSourceCode put:aBoolean
Claus Gittinger <cg@exept.de>
parents: 12563
diff changeset
  3511
Claus Gittinger <cg@exept.de>
parents: 12563
diff changeset
  3512
    "
Claus Gittinger <cg@exept.de>
parents: 12563
diff changeset
  3513
     UserPreferences current keepMethodSourceCode
Claus Gittinger <cg@exept.de>
parents: 12563
diff changeset
  3514
     UserPreferences current keepMethodSourceCode:true
Claus Gittinger <cg@exept.de>
parents: 12563
diff changeset
  3515
    "
Claus Gittinger <cg@exept.de>
parents: 12563
diff changeset
  3516
!
Claus Gittinger <cg@exept.de>
parents: 12563
diff changeset
  3517
12117
5ffce12a6b14 added: #numberOfLinesForLongMethod
Claus Gittinger <cg@exept.de>
parents: 12104
diff changeset
  3518
numberOfLinesForLongMethod
5ffce12a6b14 added: #numberOfLinesForLongMethod
Claus Gittinger <cg@exept.de>
parents: 12104
diff changeset
  3519
    "how many lines for a method's source to be considered as 'long'"
5ffce12a6b14 added: #numberOfLinesForLongMethod
Claus Gittinger <cg@exept.de>
parents: 12104
diff changeset
  3520
12175
d22d131dbfed changed: #numberOfLinesForLongMethod
Claus Gittinger <cg@exept.de>
parents: 12167
diff changeset
  3521
    ^ self at:#numberOfLinesForLongMethod ifAbsent:30
d22d131dbfed changed: #numberOfLinesForLongMethod
Claus Gittinger <cg@exept.de>
parents: 12167
diff changeset
  3522
d22d131dbfed changed: #numberOfLinesForLongMethod
Claus Gittinger <cg@exept.de>
parents: 12167
diff changeset
  3523
    "
d22d131dbfed changed: #numberOfLinesForLongMethod
Claus Gittinger <cg@exept.de>
parents: 12167
diff changeset
  3524
     UserPreferences current numberOfLinesForLongMethod
d22d131dbfed changed: #numberOfLinesForLongMethod
Claus Gittinger <cg@exept.de>
parents: 12167
diff changeset
  3525
    "
8232
371649bcd96a generateComments (from codeGenerator tool) settings
Claus Gittinger <cg@exept.de>
parents: 8005
diff changeset
  3526
! !
371649bcd96a generateComments (from codeGenerator tool) settings
Claus Gittinger <cg@exept.de>
parents: 8005
diff changeset
  3527
12501
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3528
!UserPreferences methodsFor:'accessing-prefs-code generator'!
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3529
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3530
generateComments
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3531
    "return true; comments shall be generated (by the codeGenerator tool)"
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3532
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3533
    ^ self at:#generateComments ifAbsent:true.
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3534
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3535
    "
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3536
     UserPreferences current generateComments  
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3537
     UserPreferences current generateComments:false
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3538
     UserPreferences current generateComments:true
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3539
    "
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3540
!
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3541
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3542
generateComments:aBoolean
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3543
    "true if comments shall be generated (by the codeGenerator tool)"
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3544
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3545
    self at:#generateComments put:aBoolean.
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3546
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3547
    "
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3548
     UserPreferences current generateComments
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3549
     UserPreferences current generateComments:false
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3550
    "
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3551
!
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3552
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3553
generateCommentsForAspectMethods
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3554
    "return true; comments shall be generated (by the codeGenerator tool)"
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3555
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3556
    ^ self at:#generateCommentsForAspectMethods ifAbsent:true.
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3557
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3558
    "
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3559
     UserPreferences current generateCommentsForAspectMethods
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3560
    "
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3561
!
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3562
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3563
generateCommentsForAspectMethods:aBoolean
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3564
    "true if comments shall be generated (by the codeGenerator tool)"
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3565
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3566
    self at:#generateCommentsForAspectMethods put:aBoolean.
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3567
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3568
    "
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3569
     UserPreferences current generateCommentsForAspectMethods:false
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3570
    "
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3571
!
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3572
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3573
generateCommentsForGetters
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3574
    "return true if comments for simple getters are to be generated (by the codeGenerator tool).
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3575
     The default is now false, as these look stupid in the browser and were only generated
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3576
     for the HTMLDocumentGenerator, which is not able  to generate these comments on the fly."
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3577
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3578
    ^ self generateComments and:[self at:#generateCommentsForGetters ifAbsent:false].
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3579
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3580
    "
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3581
     UserPreferences current generateCommentsForGetters
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3582
    "
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3583
!
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3584
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3585
generateCommentsForGetters:aBoolean
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3586
    "true if comments for simple getters are to be generated (by the codeGenerator tool).
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3587
     The default is now false, as these look stupid in the browser and were only generated
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3588
     for the HTMLDocumentGenerator, which is not able  to generate these comments on the fly."
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3589
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3590
    self at:#generateCommentsForGetters put:aBoolean.
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3591
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3592
    "
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3593
     UserPreferences current generateCommentsForGetters
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3594
    "
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3595
!
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3596
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3597
generateCommentsForSetters
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3598
    "return true if comments for simple setters are to be generated (by the codeGenerator tool).
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3599
     The default is now false, as these look stupid in the browser and were only generated
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3600
     for the HTMLDocumentGenerator, which is not able  to generate these comments on the fly."
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3601
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3602
    ^ self generateComments and:[self at:#generateCommentsForSetters ifAbsent:false].
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3603
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3604
    "
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3605
     UserPreferences current generateCommentsForSetters
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3606
    "
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3607
!
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3608
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3609
generateCommentsForSetters:aBoolean
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3610
    "true if comments for simple setters are to be generated (by the codeGenerator tool).
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3611
     The default is now false, as these look stupid in the browser and were only generated
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3612
     for the HTMLDocumentGenerator, which is not able  to generate these comments on the fly."
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3613
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3614
    self at:#generateCommentsForSetters put:aBoolean.
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3615
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3616
    "
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3617
     UserPreferences current generateSommentsForGetters
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3618
    "
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3619
! !
0d9b7d311412 added:5 methods
Claus Gittinger <cg@exept.de>
parents: 12391
diff changeset
  3620
14732
d52239daa817 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14698
diff changeset
  3621
!UserPreferences methodsFor:'accessing-prefs-code view'!
d52239daa817 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14698
diff changeset
  3622
15426
8fb81aa4e9e2 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15417
diff changeset
  3623
assignmentBackgroundColorForNavigationService
8fb81aa4e9e2 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15417
diff changeset
  3624
    ^ (Color rgbValue:16rFFDBDB)
8fb81aa4e9e2 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15417
diff changeset
  3625
!
8fb81aa4e9e2 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15417
diff changeset
  3626
15290
de9c34723d33 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15158
diff changeset
  3627
codeView2AutoPrettyPrint
de9c34723d33 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15158
diff changeset
  3628
de9c34723d33 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15158
diff changeset
  3629
    ^self at:#codeView2AutoPrettyPrint ifAbsent: false
de9c34723d33 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15158
diff changeset
  3630
de9c34723d33 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15158
diff changeset
  3631
    "
de9c34723d33 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15158
diff changeset
  3632
     UserPreferences current codeView2AutoPrettyPrint 
de9c34723d33 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15158
diff changeset
  3633
     UserPreferences current codeView2AutoPrettyPrint:true 
de9c34723d33 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15158
diff changeset
  3634
     UserPreferences current codeView2AutoPrettyPrint:false"
de9c34723d33 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15158
diff changeset
  3635
de9c34723d33 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15158
diff changeset
  3636
    "Modified: / 15-02-2010 / 09:26:16 / Jan Vrany <jan.vrany@fit.cvut.cz>"
de9c34723d33 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15158
diff changeset
  3637
    "Created: / 07-08-2011 / 12:46:59 / Jan Vrany <jan.vrany@fit.cvut.cz>"
de9c34723d33 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15158
diff changeset
  3638
!
de9c34723d33 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15158
diff changeset
  3639
de9c34723d33 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15158
diff changeset
  3640
codeView2AutoPrettyPrint: aBoolean
de9c34723d33 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15158
diff changeset
  3641
de9c34723d33 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15158
diff changeset
  3642
    ^self at:#codeView2AutoPrettyPrint put: aBoolean
de9c34723d33 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15158
diff changeset
  3643
de9c34723d33 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15158
diff changeset
  3644
    "
de9c34723d33 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15158
diff changeset
  3645
     UserPreferences current codeView2AutoPrettyPrint 
de9c34723d33 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15158
diff changeset
  3646
     UserPreferences current codeView2AutoPrettyPrint:true 
de9c34723d33 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15158
diff changeset
  3647
     UserPreferences current codeView2AutoPrettyPrint:false"
de9c34723d33 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15158
diff changeset
  3648
de9c34723d33 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15158
diff changeset
  3649
    "Modified: / 15-02-2010 / 09:26:16 / Jan Vrany <jan.vrany@fit.cvut.cz>"
de9c34723d33 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15158
diff changeset
  3650
    "Created: / 07-08-2011 / 12:47:09 / Jan Vrany <jan.vrany@fit.cvut.cz>"
de9c34723d33 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15158
diff changeset
  3651
!
de9c34723d33 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15158
diff changeset
  3652
14732
d52239daa817 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14698
diff changeset
  3653
codeView2QuickSendersAndImplementorsOnControl
14733
d354dd094956 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14732
diff changeset
  3654
    "if true, CTRL-click opens the quick senders/implementors menu;
d354dd094956 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14732
diff changeset
  3655
     if false, you have to press ALT"
d354dd094956 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14732
diff changeset
  3656
14732
d52239daa817 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14698
diff changeset
  3657
    ^self at:#codeView2QuickSendersAndImplementorsOnControl ifAbsent: false
d52239daa817 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14698
diff changeset
  3658
d52239daa817 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14698
diff changeset
  3659
    "
d52239daa817 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14698
diff changeset
  3660
     UserPreferences current codeView2QuickSendersAndImplementorsOnControl 
d52239daa817 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14698
diff changeset
  3661
     UserPreferences current codeView2QuickSendersAndImplementorsOnControl:true 
d52239daa817 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14698
diff changeset
  3662
     UserPreferences current codeView2QuickSendersAndImplementorsOnControl:false"
d52239daa817 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14698
diff changeset
  3663
!
d52239daa817 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14698
diff changeset
  3664
d52239daa817 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14698
diff changeset
  3665
codeView2QuickSendersAndImplementorsOnControl: aBoolean
14733
d354dd094956 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14732
diff changeset
  3666
    "if true, CTRL-click opens the quick senders/implementors menu;
d354dd094956 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14732
diff changeset
  3667
     if false, you have to press ALT"
d354dd094956 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14732
diff changeset
  3668
14732
d52239daa817 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14698
diff changeset
  3669
    ^self at:#codeView2QuickSendersAndImplementorsOnControl put: aBoolean
d52239daa817 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14698
diff changeset
  3670
d52239daa817 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14698
diff changeset
  3671
    "
d52239daa817 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14698
diff changeset
  3672
     UserPreferences current codeView2QuickSendersAndImplementorsOnControl 
d52239daa817 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14698
diff changeset
  3673
     UserPreferences current codeView2QuickSendersAndImplementorsOnControl:true 
d52239daa817 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14698
diff changeset
  3674
     UserPreferences current codeView2QuickSendersAndImplementorsOnControl:false"
14915
a6cc6e21f9cf class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14761
diff changeset
  3675
!
a6cc6e21f9cf class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14761
diff changeset
  3676
a6cc6e21f9cf class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14761
diff changeset
  3677
selectorBackgroundColorForNavigationService
a6cc6e21f9cf class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14761
diff changeset
  3678
    ^ (Color rgbValue:"16rADD9FF" 16rDBEEFF)
a6cc6e21f9cf class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14761
diff changeset
  3679
!
a6cc6e21f9cf class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14761
diff changeset
  3680
a6cc6e21f9cf class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14761
diff changeset
  3681
variableBackgroundColorForNavigationService
16385
f61769553d61 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16377
diff changeset
  3682
    ^ self 
f61769553d61 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16377
diff changeset
  3683
        at: #variableBackgroundColorForNavigationService 
f61769553d61 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16377
diff changeset
  3684
        ifAbsent: [ 
f61769553d61 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16377
diff changeset
  3685
            (Color rgbValue:16rFFFFA7) 
f61769553d61 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16377
diff changeset
  3686
            "/ (Color rgbValue:16rEFD7A7) 
f61769553d61 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16377
diff changeset
  3687
        ]
15960
fec5ba031704 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15925
diff changeset
  3688
fec5ba031704 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15925
diff changeset
  3689
    "Modified: / 01-10-2013 / 11:35:29 / Jan Vrany <jan.vrany@fit.cvut.cz>"
14732
d52239daa817 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14698
diff changeset
  3690
! !
13547
f08daec3c459 changed: #historyManagerSignature
Claus Gittinger <cg@exept.de>
parents: 13523
diff changeset
  3691
10055
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3692
!UserPreferences methodsFor:'accessing-prefs-editor'!
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3693
15913
9ed7da7df9b7 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15893
diff changeset
  3694
appendAbbreviationsToCompletionSuggestions
9ed7da7df9b7 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15893
diff changeset
  3695
    "show abbreviations in completion"                                                                 
9ed7da7df9b7 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15893
diff changeset
  3696
9ed7da7df9b7 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15893
diff changeset
  3697
    ^ self at:#appendAbbreviationsToCompletionSuggestions ifAbsent:false
9ed7da7df9b7 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15893
diff changeset
  3698
9ed7da7df9b7 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15893
diff changeset
  3699
    "
9ed7da7df9b7 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15893
diff changeset
  3700
     UserPreferences current appendAbbreviationsToCompletionSuggestions
9ed7da7df9b7 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15893
diff changeset
  3701
     UserPreferences current appendAbbreviationsToCompletionSuggestions:true
9ed7da7df9b7 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15893
diff changeset
  3702
     UserPreferences current appendAbbreviationsToCompletionSuggestions:false
9ed7da7df9b7 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15893
diff changeset
  3703
    "
9ed7da7df9b7 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15893
diff changeset
  3704
!
9ed7da7df9b7 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15893
diff changeset
  3705
9ed7da7df9b7 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15893
diff changeset
  3706
appendAbbreviationsToCompletionSuggestions:aBoolean
9ed7da7df9b7 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15893
diff changeset
  3707
    "show abbreviations in completion"                                                                 
9ed7da7df9b7 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15893
diff changeset
  3708
9ed7da7df9b7 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15893
diff changeset
  3709
    ^ self at:#appendAbbreviationsToCompletionSuggestions put:aBoolean
9ed7da7df9b7 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15893
diff changeset
  3710
9ed7da7df9b7 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15893
diff changeset
  3711
    "
9ed7da7df9b7 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15893
diff changeset
  3712
     UserPreferences current appendAbbreviationsToCompletionSuggestions
9ed7da7df9b7 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15893
diff changeset
  3713
     UserPreferences current appendAbbreviationsToCompletionSuggestions:true
9ed7da7df9b7 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15893
diff changeset
  3714
     UserPreferences current appendAbbreviationsToCompletionSuggestions:false
9ed7da7df9b7 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15893
diff changeset
  3715
    "
9ed7da7df9b7 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15893
diff changeset
  3716
!
9ed7da7df9b7 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15893
diff changeset
  3717
15742
47bbc2ffe61e class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15728
diff changeset
  3718
codeCompletionOnControlKey
47bbc2ffe61e class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15728
diff changeset
  3719
    "show completion with CTRL-key - experimental"                                                                 
47bbc2ffe61e class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15728
diff changeset
  3720
47bbc2ffe61e class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15728
diff changeset
  3721
    ^ self at:#codeCompletionOnControlKey ifAbsent:false
47bbc2ffe61e class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15728
diff changeset
  3722
47bbc2ffe61e class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15728
diff changeset
  3723
    "
47bbc2ffe61e class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15728
diff changeset
  3724
     UserPreferences current codeCompletionOnControlKey
47bbc2ffe61e class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15728
diff changeset
  3725
     UserPreferences current codeCompletionOnControlKey:true
47bbc2ffe61e class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15728
diff changeset
  3726
     UserPreferences current codeCompletionOnControlKey:false
47bbc2ffe61e class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15728
diff changeset
  3727
    "
47bbc2ffe61e class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15728
diff changeset
  3728
!
47bbc2ffe61e class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15728
diff changeset
  3729
47bbc2ffe61e class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15728
diff changeset
  3730
codeCompletionOnControlKey:aBoolean
47bbc2ffe61e class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15728
diff changeset
  3731
    "show completion with CTRL key - experimental"                                                                 
47bbc2ffe61e class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15728
diff changeset
  3732
47bbc2ffe61e class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15728
diff changeset
  3733
    ^ self at:#codeCompletionOnControlKey put:aBoolean
47bbc2ffe61e class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15728
diff changeset
  3734
47bbc2ffe61e class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15728
diff changeset
  3735
    "
47bbc2ffe61e class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15728
diff changeset
  3736
     UserPreferences current codeCompletionOnControlKey
47bbc2ffe61e class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15728
diff changeset
  3737
     UserPreferences current codeCompletionOnControlKey:true
47bbc2ffe61e class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15728
diff changeset
  3738
     UserPreferences current codeCompletionOnControlKey:false
47bbc2ffe61e class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15728
diff changeset
  3739
    "
47bbc2ffe61e class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15728
diff changeset
  3740
!
47bbc2ffe61e class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15728
diff changeset
  3741
15747
bba1859a6cd8 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15742
diff changeset
  3742
codeCompletionOnTabKey
bba1859a6cd8 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15742
diff changeset
  3743
    "show completion with TAB-key - experimental"                                                                 
bba1859a6cd8 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15742
diff changeset
  3744
15767
169f9c6acec2 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15748
diff changeset
  3745
    ^ self at:#codeCompletionOnTabKey ifAbsent:true
15747
bba1859a6cd8 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15742
diff changeset
  3746
bba1859a6cd8 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15742
diff changeset
  3747
    "
bba1859a6cd8 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15742
diff changeset
  3748
     UserPreferences current codeCompletionOnTabKey
bba1859a6cd8 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15742
diff changeset
  3749
     UserPreferences current codeCompletionOnTabKey:true
bba1859a6cd8 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15742
diff changeset
  3750
     UserPreferences current codeCompletionOnTabKey:false
bba1859a6cd8 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15742
diff changeset
  3751
    "
bba1859a6cd8 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15742
diff changeset
  3752
!
bba1859a6cd8 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15742
diff changeset
  3753
bba1859a6cd8 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15742
diff changeset
  3754
codeCompletionOnTabKey:aBoolean 
bba1859a6cd8 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15742
diff changeset
  3755
    "show completion with TAB-key - experimental"                                                                 
bba1859a6cd8 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15742
diff changeset
  3756
bba1859a6cd8 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15742
diff changeset
  3757
    self at:#codeCompletionOnTabKey put:aBoolean
bba1859a6cd8 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15742
diff changeset
  3758
bba1859a6cd8 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15742
diff changeset
  3759
    "
bba1859a6cd8 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15742
diff changeset
  3760
     UserPreferences current codeCompletionOnTabKey
bba1859a6cd8 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15742
diff changeset
  3761
     UserPreferences current codeCompletionOnTabKey:true
bba1859a6cd8 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15742
diff changeset
  3762
     UserPreferences current codeCompletionOnTabKey:false
bba1859a6cd8 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15742
diff changeset
  3763
    "
bba1859a6cd8 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15742
diff changeset
  3764
!
bba1859a6cd8 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15742
diff changeset
  3765
10055
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3766
deleteSetsClipboardText
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3767
    "if true, a delete also updates the clipboard with the deleted text"
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3768
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3769
    ^ self at:#deleteSetsClipboardText ifAbsent:false
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3770
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3771
    "
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3772
     UserPreferences current deleteSetsClipboardText
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3773
    "
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3774
!
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3775
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3776
deleteSetsClipboardText:aBooleanOrNil
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3777
    "if true, a delete also updates the clipboard with the deleted text"
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3778
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3779
    ^ self at:#deleteSetsClipboardText put:aBooleanOrNil
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3780
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3781
    "
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3782
     UserPreferences current deleteSetsClipboardTextdeleteSetsClipboardText:true
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3783
     UserPreferences current deleteSetsClipboardText:false
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3784
     UserPreferences current deleteSetsClipboardText
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3785
    "
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3786
!
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3787
11897
e8003f2d538c Always Paste the Contents when Dropping a File
Claus Gittinger <cg@exept.de>
parents: 11694
diff changeset
  3788
enforcedDropModeForFiles
12930
bc3ca82d5a81 comment/format in:
Claus Gittinger <cg@exept.de>
parents: 12905
diff changeset
  3789
    "when dropping a file, paste the #name, the #contents or ask ?
11897
e8003f2d538c Always Paste the Contents when Dropping a File
Claus Gittinger <cg@exept.de>
parents: 11694
diff changeset
  3790
     (default is nil, for ask)"
e8003f2d538c Always Paste the Contents when Dropping a File
Claus Gittinger <cg@exept.de>
parents: 11694
diff changeset
  3791
e8003f2d538c Always Paste the Contents when Dropping a File
Claus Gittinger <cg@exept.de>
parents: 11694
diff changeset
  3792
    ^ self at:#enforcedDropModeForFiles ifAbsent:nil
e8003f2d538c Always Paste the Contents when Dropping a File
Claus Gittinger <cg@exept.de>
parents: 11694
diff changeset
  3793
e8003f2d538c Always Paste the Contents when Dropping a File
Claus Gittinger <cg@exept.de>
parents: 11694
diff changeset
  3794
    "
e8003f2d538c Always Paste the Contents when Dropping a File
Claus Gittinger <cg@exept.de>
parents: 11694
diff changeset
  3795
     UserPreferences current enforcedDropModeForFiles
e8003f2d538c Always Paste the Contents when Dropping a File
Claus Gittinger <cg@exept.de>
parents: 11694
diff changeset
  3796
    "
e8003f2d538c Always Paste the Contents when Dropping a File
Claus Gittinger <cg@exept.de>
parents: 11694
diff changeset
  3797
!
e8003f2d538c Always Paste the Contents when Dropping a File
Claus Gittinger <cg@exept.de>
parents: 11694
diff changeset
  3798
e8003f2d538c Always Paste the Contents when Dropping a File
Claus Gittinger <cg@exept.de>
parents: 11694
diff changeset
  3799
enforcedDropModeForFiles:aSymbolOrNil
12930
bc3ca82d5a81 comment/format in:
Claus Gittinger <cg@exept.de>
parents: 12905
diff changeset
  3800
    "when dropping a file, paste the #name, the #contents or ask ?
11897
e8003f2d538c Always Paste the Contents when Dropping a File
Claus Gittinger <cg@exept.de>
parents: 11694
diff changeset
  3801
     (default is nil, for ask)"
e8003f2d538c Always Paste the Contents when Dropping a File
Claus Gittinger <cg@exept.de>
parents: 11694
diff changeset
  3802
e8003f2d538c Always Paste the Contents when Dropping a File
Claus Gittinger <cg@exept.de>
parents: 11694
diff changeset
  3803
    ^ self at:#enforcedDropModeForFiles put:aSymbolOrNil
e8003f2d538c Always Paste the Contents when Dropping a File
Claus Gittinger <cg@exept.de>
parents: 11694
diff changeset
  3804
e8003f2d538c Always Paste the Contents when Dropping a File
Claus Gittinger <cg@exept.de>
parents: 11694
diff changeset
  3805
    "
12930
bc3ca82d5a81 comment/format in:
Claus Gittinger <cg@exept.de>
parents: 12905
diff changeset
  3806
     UserPreferences current enforcedDropModeForFiles:#contents
bc3ca82d5a81 comment/format in:
Claus Gittinger <cg@exept.de>
parents: 12905
diff changeset
  3807
     UserPreferences current enforcedDropModeForFiles:#name
11897
e8003f2d538c Always Paste the Contents when Dropping a File
Claus Gittinger <cg@exept.de>
parents: 11694
diff changeset
  3808
    "
e8003f2d538c Always Paste the Contents when Dropping a File
Claus Gittinger <cg@exept.de>
parents: 11694
diff changeset
  3809
!
e8003f2d538c Always Paste the Contents when Dropping a File
Claus Gittinger <cg@exept.de>
parents: 11694
diff changeset
  3810
10055
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3811
extendedWordSelectMode
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3812
    "when double clicking, include underscore, dollar and at-character as word-characters ?
10880
96f17c8c9d3a expandSelectionOnMouseMoveWithButtonPressed
Claus Gittinger <cg@exept.de>
parents: 10861
diff changeset
  3813
     (default is on)"
10055
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3814
10310
89d972739353 extendedWordSelectMode (underline in word) defaults to true
Claus Gittinger <cg@exept.de>
parents: 10240
diff changeset
  3815
    ^ self at:#extendedWordSelectMode ifAbsent:true
10055
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3816
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3817
    "
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3818
     UserPreferences current extendedWordSelectMode
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3819
    "
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3820
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3821
    "Created: / 03-07-2006 / 16:49:58 / cg"
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3822
!
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3823
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3824
extendedWordSelectMode:aBoolean
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3825
    "when double clicking, include underscore, dollar and at-character as word-characters ?
10880
96f17c8c9d3a expandSelectionOnMouseMoveWithButtonPressed
Claus Gittinger <cg@exept.de>
parents: 10861
diff changeset
  3826
     (default is on)"
10055
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3827
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3828
    ^ self at:#extendedWordSelectMode put:aBoolean
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3829
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3830
    "
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3831
     UserPreferences current extendedWordSelectMode:true
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3832
     UserPreferences current extendedWordSelectMode:false
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3833
    "
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3834
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3835
    "Created: / 03-07-2006 / 16:50:20 / cg"
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3836
!
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3837
15724
d28434d361f3 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15715
diff changeset
  3838
immediateCodeCompletion
d28434d361f3 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15715
diff changeset
  3839
    "show completion, as you type - experimental"                                                                 
d28434d361f3 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15715
diff changeset
  3840
15726
a38e1e075388 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15725
diff changeset
  3841
    ^ self at:#immediateCodeCompletion ifAbsent:false
15724
d28434d361f3 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15715
diff changeset
  3842
d28434d361f3 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15715
diff changeset
  3843
    "
15725
a1ac75bd5b52 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15724
diff changeset
  3844
     UserPreferences current immediateCodeCompletion
a1ac75bd5b52 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15724
diff changeset
  3845
     UserPreferences current immediateCodeCompletion:true
a1ac75bd5b52 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15724
diff changeset
  3846
     UserPreferences current immediateCodeCompletion:false
15724
d28434d361f3 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15715
diff changeset
  3847
    "
d28434d361f3 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15715
diff changeset
  3848
!
d28434d361f3 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15715
diff changeset
  3849
d28434d361f3 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15715
diff changeset
  3850
immediateCodeCompletion:aBoolean
d28434d361f3 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15715
diff changeset
  3851
    "show completion, as you type - experimental"                                                                 
d28434d361f3 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15715
diff changeset
  3852
15726
a38e1e075388 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15725
diff changeset
  3853
    ^ self at:#immediateCodeCompletion put:aBoolean
15724
d28434d361f3 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15715
diff changeset
  3854
d28434d361f3 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15715
diff changeset
  3855
    "
15725
a1ac75bd5b52 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15724
diff changeset
  3856
     UserPreferences current immediateCodeCompletion
a1ac75bd5b52 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15724
diff changeset
  3857
     UserPreferences current immediateCodeCompletion:true
a1ac75bd5b52 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15724
diff changeset
  3858
     UserPreferences current immediateCodeCompletion:false
15724
d28434d361f3 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15715
diff changeset
  3859
    "
d28434d361f3 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15715
diff changeset
  3860
!
d28434d361f3 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15715
diff changeset
  3861
10055
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3862
numberOfRememberedUndoOperationsInEditor
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3863
    "the number of possible undo-operations.
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3864
     Nil means: unlimited.
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3865
     Notice: you may run out of memory, if editing a lot and the number of undos is not limited."
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3866
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3867
    ^ self at:#numberOfRememberedUndoOperationsInEditor ifAbsent:nil
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3868
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3869
    "
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3870
     UserPreferences current numberOfRememberedUndoOperationsInEditor
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3871
    "
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3872
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3873
    "Modified: / 09-10-2006 / 11:01:35 / cg"
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3874
!
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3875
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3876
numberOfRememberedUndoOperationsInEditor:aNumberOrNil
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3877
    "the number of possible undo-operations.
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3878
     Nil means: unlimited.
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3879
     Notice: you may run out of memory, if editing a lot and the number of undos is not limited."
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3880
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3881
    ^ self at:#numberOfRememberedUndoOperationsInEditor put:aNumberOrNil
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3882
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3883
    "
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3884
     UserPreferences current numberOfRememberedUndoOperationsInEditor:20
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3885
    "
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3886
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3887
    "Created: / 09-10-2006 / 11:00:56 / cg"
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3888
!
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3889
14052
Claus Gittinger <cg@exept.de>
parents: 14012
diff changeset
  3890
selectAllWhenClickingBeyondEnd
Claus Gittinger <cg@exept.de>
parents: 14012
diff changeset
  3891
    "select mode, when clicking after the end of text,
Claus Gittinger <cg@exept.de>
parents: 14012
diff changeset
  3892
     as in st80 (or squeak), select all"
Claus Gittinger <cg@exept.de>
parents: 14012
diff changeset
  3893
Claus Gittinger <cg@exept.de>
parents: 14012
diff changeset
  3894
    ^ self at:#selectAllWhenClickingBeyondEnd ifAbsent:false
Claus Gittinger <cg@exept.de>
parents: 14012
diff changeset
  3895
Claus Gittinger <cg@exept.de>
parents: 14012
diff changeset
  3896
    "
Claus Gittinger <cg@exept.de>
parents: 14012
diff changeset
  3897
     UserPreferences current selectAllWhenClickingBeyondEnd
Claus Gittinger <cg@exept.de>
parents: 14012
diff changeset
  3898
    "
Claus Gittinger <cg@exept.de>
parents: 14012
diff changeset
  3899
Claus Gittinger <cg@exept.de>
parents: 14012
diff changeset
  3900
    "Created: / 07-03-2012 / 14:00:17 / cg"
Claus Gittinger <cg@exept.de>
parents: 14012
diff changeset
  3901
!
Claus Gittinger <cg@exept.de>
parents: 14012
diff changeset
  3902
Claus Gittinger <cg@exept.de>
parents: 14012
diff changeset
  3903
selectAllWhenClickingBeyondEnd:aBoolean
Claus Gittinger <cg@exept.de>
parents: 14012
diff changeset
  3904
    "select mode, when clicking after the end of text,
Claus Gittinger <cg@exept.de>
parents: 14012
diff changeset
  3905
     as in st80 (or squeak), select all"
Claus Gittinger <cg@exept.de>
parents: 14012
diff changeset
  3906
Claus Gittinger <cg@exept.de>
parents: 14012
diff changeset
  3907
    ^ self at:#selectAllWhenClickingBeyondEnd put:aBoolean
Claus Gittinger <cg@exept.de>
parents: 14012
diff changeset
  3908
Claus Gittinger <cg@exept.de>
parents: 14012
diff changeset
  3909
    "
Claus Gittinger <cg@exept.de>
parents: 14012
diff changeset
  3910
     UserPreferences current selectAllWhenClickingBeyondEnd:true
Claus Gittinger <cg@exept.de>
parents: 14012
diff changeset
  3911
     UserPreferences current selectAllWhenClickingBeyondEnd:false
Claus Gittinger <cg@exept.de>
parents: 14012
diff changeset
  3912
    "
Claus Gittinger <cg@exept.de>
parents: 14012
diff changeset
  3913
Claus Gittinger <cg@exept.de>
parents: 14012
diff changeset
  3914
    "Created: / 07-03-2012 / 14:00:23 / cg"
Claus Gittinger <cg@exept.de>
parents: 14012
diff changeset
  3915
!
Claus Gittinger <cg@exept.de>
parents: 14012
diff changeset
  3916
16284
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3917
selectionExtensionMode
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3918
    "Returns selection extension mode. Mode is either
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3919
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3920
    #traditional ... Shift-End always moves end of selection (iff it is on the same line)
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3921
                     Shift->Home always moves beggining of selection (iff it is on the same line)
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3922
                     That's how CG likes it.
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3923
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3924
    #standard ...    That's how vast majority text editors and text widgets behaves, therefore
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3925
                     this is how most users expects it to behave.
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3926
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3927
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3928
    For historical reasons, #traditional is the default..."
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3929
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3930
    ^ self at: #selectionExtensionMode ifAbsent:[ #traditional ]
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3931
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3932
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3933
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3934
    "
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3935
    UserPreferences current selectionExtensionMode
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3936
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3937
    UserPreferences current selectionExtensionMode:#traditional
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3938
    UserPreferences current selectionExtensionMode:#standard
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3939
    UserPreferences current selectionExtensionMode:nil
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3940
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3941
    UserPreferences current selectionExtensionMode
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3942
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3943
    "
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3944
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3945
    "Created: / 27-03-2014 / 09:19:45 / Jan Vrany <jan.vrany@fit.cvut.cz>"
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3946
!
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3947
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3948
selectionExtensionMode: aSymbol
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3949
    "Sets selection extension mode. Must be either:
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3950
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3951
    #traditional ... Shift-End always moves end of selection (iff it is on the same line)
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3952
                     Shift->Home always moves beggining of selection (iff it is on the same line)
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3953
                     That's how CG likes it.
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3954
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3955
    #standard ...    That's how vast majority text editors and text widgets behaves, therefore
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3956
                     this is how most users expects it to behave.
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3957
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3958
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3959
    For historical reasons, #traditional is the default..."
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3960
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3961
    aSymbol isNil ifTrue:[ 
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3962
        self removeKey:#selectionExtensionMode.
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3963
        ^ self.
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3964
    ].
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3965
    
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3966
    (#(traditional standard) includes: aSymbol) ifFalse:[ 
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3967
        self error:'Invalid value. Possible values are #traditional and #standard'.
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3968
    ].
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3969
    self at: #selectionExtensionMode put: aSymbol  
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3970
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3971
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3972
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3973
    "
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3974
    UserPreferences current selectionExtensionMode
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3975
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3976
    UserPreferences current selectionExtensionMode:#traditional
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3977
    UserPreferences current selectionExtensionMode:#standard
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3978
    UserPreferences current selectionExtensionMode:nil
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3979
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3980
    UserPreferences current selectionExtensionMode
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3981
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3982
    "
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3983
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3984
    "Created: / 27-03-2014 / 09:18:56 / Jan Vrany <jan.vrany@fit.cvut.cz>"
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3985
!
6eb367d12be5 class: UserPreferences
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 16278
diff changeset
  3986
10055
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3987
st80EditMode
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3988
    "editing as in st80 (do not allow cursor beyond endOfLine/endOftext)."
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3989
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3990
    ^ self at:#st80EditMode ifAbsent:false
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3991
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3992
    "
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3993
     UserPreferences current st80EditMode
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3994
    "
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3995
!
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3996
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3997
st80EditMode:aBoolean
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3998
    "editing as in st80 (do not allow cursor beyond endOfLine/endOftext)."
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  3999
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  4000
    ^ self at:#st80EditMode put:aBoolean
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  4001
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  4002
    "
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  4003
     UserPreferences current st80EditMode:true
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  4004
    "
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  4005
!
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  4006
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  4007
st80SelectMode
11143
3712ab6b344b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11064
diff changeset
  4008
    "select mode, when double clicking as in st80
10055
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  4009
     (select to corresponding lparen/double-quote) ?"
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  4010
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  4011
    ^ self at:#st80SelectMode ifAbsent:false
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  4012
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  4013
    "
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  4014
     UserPreferences current st80SelectMode
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  4015
    "
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  4016
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  4017
    "Created: / 03-07-2006 / 16:25:19 / cg"
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  4018
!
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  4019
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  4020
st80SelectMode:aBoolean
11143
3712ab6b344b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11064
diff changeset
  4021
    "select mode, when double clicking as in st80
10055
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  4022
     (select to corresponding lparen/double-quote)."
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  4023
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  4024
    ^ self at:#st80SelectMode put:aBoolean
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  4025
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  4026
    "
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  4027
     UserPreferences current st80SelectMode:true
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  4028
     UserPreferences current st80SelectMode:false
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  4029
    "
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  4030
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  4031
    "Created: / 03-07-2006 / 16:25:27 / cg"
10880
96f17c8c9d3a expandSelectionOnMouseMoveWithButtonPressed
Claus Gittinger <cg@exept.de>
parents: 10861
diff changeset
  4032
!
96f17c8c9d3a expandSelectionOnMouseMoveWithButtonPressed
Claus Gittinger <cg@exept.de>
parents: 10861
diff changeset
  4033
96f17c8c9d3a expandSelectionOnMouseMoveWithButtonPressed
Claus Gittinger <cg@exept.de>
parents: 10861
diff changeset
  4034
whitespaceWordSelectMode
96f17c8c9d3a expandSelectionOnMouseMoveWithButtonPressed
Claus Gittinger <cg@exept.de>
parents: 10861
diff changeset
  4035
    "when double clicking, treat ANY non-whitespace as word-characters ?
96f17c8c9d3a expandSelectionOnMouseMoveWithButtonPressed
Claus Gittinger <cg@exept.de>
parents: 10861
diff changeset
  4036
     (default is off)"
96f17c8c9d3a expandSelectionOnMouseMoveWithButtonPressed
Claus Gittinger <cg@exept.de>
parents: 10861
diff changeset
  4037
96f17c8c9d3a expandSelectionOnMouseMoveWithButtonPressed
Claus Gittinger <cg@exept.de>
parents: 10861
diff changeset
  4038
    ^ self at:#whitespaceWordSelectMode ifAbsent:false
96f17c8c9d3a expandSelectionOnMouseMoveWithButtonPressed
Claus Gittinger <cg@exept.de>
parents: 10861
diff changeset
  4039
96f17c8c9d3a expandSelectionOnMouseMoveWithButtonPressed
Claus Gittinger <cg@exept.de>
parents: 10861
diff changeset
  4040
    "
96f17c8c9d3a expandSelectionOnMouseMoveWithButtonPressed
Claus Gittinger <cg@exept.de>
parents: 10861
diff changeset
  4041
     UserPreferences current whitespaceWordSelectMode
96f17c8c9d3a expandSelectionOnMouseMoveWithButtonPressed
Claus Gittinger <cg@exept.de>
parents: 10861
diff changeset
  4042
    "
96f17c8c9d3a expandSelectionOnMouseMoveWithButtonPressed
Claus Gittinger <cg@exept.de>
parents: 10861
diff changeset
  4043
96f17c8c9d3a expandSelectionOnMouseMoveWithButtonPressed
Claus Gittinger <cg@exept.de>
parents: 10861
diff changeset
  4044
    "Created: / 03-07-2006 / 16:49:58 / cg"
96f17c8c9d3a expandSelectionOnMouseMoveWithButtonPressed
Claus Gittinger <cg@exept.de>
parents: 10861
diff changeset
  4045
!
96f17c8c9d3a expandSelectionOnMouseMoveWithButtonPressed
Claus Gittinger <cg@exept.de>
parents: 10861
diff changeset
  4046
96f17c8c9d3a expandSelectionOnMouseMoveWithButtonPressed
Claus Gittinger <cg@exept.de>
parents: 10861
diff changeset
  4047
whitespaceWordSelectMode:aBoolean
96f17c8c9d3a expandSelectionOnMouseMoveWithButtonPressed
Claus Gittinger <cg@exept.de>
parents: 10861
diff changeset
  4048
    "when double clicking, treat ANY non-whitespace as word-characters ?
96f17c8c9d3a expandSelectionOnMouseMoveWithButtonPressed
Claus Gittinger <cg@exept.de>
parents: 10861
diff changeset
  4049
     (default is off)"
96f17c8c9d3a expandSelectionOnMouseMoveWithButtonPressed
Claus Gittinger <cg@exept.de>
parents: 10861
diff changeset
  4050
96f17c8c9d3a expandSelectionOnMouseMoveWithButtonPressed
Claus Gittinger <cg@exept.de>
parents: 10861
diff changeset
  4051
    ^ self at:#whitespaceWordSelectMode put:aBoolean
96f17c8c9d3a expandSelectionOnMouseMoveWithButtonPressed
Claus Gittinger <cg@exept.de>
parents: 10861
diff changeset
  4052
96f17c8c9d3a expandSelectionOnMouseMoveWithButtonPressed
Claus Gittinger <cg@exept.de>
parents: 10861
diff changeset
  4053
    "
96f17c8c9d3a expandSelectionOnMouseMoveWithButtonPressed
Claus Gittinger <cg@exept.de>
parents: 10861
diff changeset
  4054
     UserPreferences current whitespaceWordSelectMode:true
96f17c8c9d3a expandSelectionOnMouseMoveWithButtonPressed
Claus Gittinger <cg@exept.de>
parents: 10861
diff changeset
  4055
     UserPreferences current whitespaceWordSelectMode:false
96f17c8c9d3a expandSelectionOnMouseMoveWithButtonPressed
Claus Gittinger <cg@exept.de>
parents: 10861
diff changeset
  4056
    "
96f17c8c9d3a expandSelectionOnMouseMoveWithButtonPressed
Claus Gittinger <cg@exept.de>
parents: 10861
diff changeset
  4057
96f17c8c9d3a expandSelectionOnMouseMoveWithButtonPressed
Claus Gittinger <cg@exept.de>
parents: 10861
diff changeset
  4058
    "Created: / 03-07-2006 / 16:50:20 / cg"
10055
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  4059
! !
48ecfd4958a2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10012
diff changeset
  4060
13373
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4061
!UserPreferences methodsFor:'accessing-prefs-localization'!
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4062
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4063
language
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4064
    "/ intermediate migration code;
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4065
    "/ for now, Smalltalk uses a global language and territory setting;
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4066
    "/ however, for multi-user operation, this must be in a preference-setting.
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4067
    "/ For now, forward to smalltalk, until all references to "Smalltalk-language"
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4068
    "/ are replaced with "UserPreferences current language"
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4069
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4070
    ^ self at:#language ifAbsent:[Smalltalk language].
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4071
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4072
    "
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4073
     UserPreferences current language
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4074
    "
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4075
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4076
    "Created: / 20-09-2006 / 23:55:01 / cg"
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4077
!
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4078
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4079
language:aLanguageSymbol
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4080
    "/ intermediate migration code;
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4081
    "/ for now, Smalltalk uses a global language and territory setting;
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4082
    "/ however, for multi-user operation, this must be in a preference-setting.
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4083
    "/ For now, forward to smalltalk, until all references to "Smalltalk-language"
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4084
    "/ are replaced with "UserPreferences current language"
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4085
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4086
    self at:#language put:aLanguageSymbol.
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4087
    Smalltalk language:aLanguageSymbol
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4088
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4089
    "
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4090
     UserPreferences current language
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4091
     UserPreferences current language:#en
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4092
    "
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4093
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4094
    "Created: / 20-09-2006 / 23:55:01 / cg"
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4095
!
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4096
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4097
languageTerritory
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4098
    "/ intermediate migration code;
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4099
    "/ for now, Smalltalk uses a global language and territory setting;
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4100
    "/ however, for multi-user operation, this must be in a preference-setting.
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4101
    "/ for now, forward to smalltalk, while all references to "Smalltalk-language"
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4102
    "/ are replaced with "UserPreferences current language"
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4103
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4104
    ^ self at:#languageTerritory ifAbsent:[Smalltalk languageTerritory]
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4105
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4106
    "
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4107
     UserPreferences current languageTerritory
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4108
    "
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4109
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4110
    "Created: / 20-09-2006 / 23:55:01 / cg"
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4111
!
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4112
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4113
languageTerritory:aLanguageSymbol
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4114
    "/ intermediate migration code;
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4115
    "/ for now, Smalltalk uses a global language and territory setting;
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4116
    "/ however, for multi-user operation, this must be in a preference-setting.
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4117
    "/ For now, forward to smalltalk, until all references to "Smalltalk-language"
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4118
    "/ are replaced with "UserPreferences current language"
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4119
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4120
    self at:#languageTerritory put:aLanguageSymbol.
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4121
    Smalltalk languageTerritory:aLanguageSymbol
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4122
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4123
    "
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4124
     UserPreferences current languageTerritory 
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4125
     UserPreferences current languageTerritory:#en
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4126
    "
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4127
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4128
    "Created: / 20-09-2006 / 23:55:01 / cg"
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4129
! !
4aae1409ec97 changed:5 methods
Stefan Vogel <sv@exept.de>
parents: 13347
diff changeset
  4130
7549
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4131
!UserPreferences methodsFor:'accessing-prefs-times'!
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4132
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4133
timeToAutoExpandItemsWhenDraggingOver
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4134
    "in a hierarchical tree view"
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4135
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4136
    ^ 700  "/ millis
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4137
!
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4138
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4139
twoDigitDateHandler
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4140
    "return a block which converts a two-digit date.
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4141
     Possible algorithms:
11143
3712ab6b344b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11064
diff changeset
  4142
	- identity: treat as year 00..99
3712ab6b344b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11064
diff changeset
  4143
	- add 1900: treat as 1900..1999
3712ab6b344b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11064
diff changeset
  4144
	- around: treat as 1950..1999 if value is 50..99; 2000..2049 otherwise.
7549
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4145
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4146
     TODO: make this configurable, keep in dictionary and add to settings.
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4147
    "
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4148
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4149
    ^ [:x | (x >= 50) ifTrue:[1900+x] ifFalse:[2000+x]].
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4150
    "/ ^ [:x | 1900+x].
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4151
    "/ ^ [:x | x].
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4152
! !
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4153
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4154
!UserPreferences methodsFor:'accessing-prefs-tools'!
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4155
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4156
allowSendMailFromDebugger
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4157
    "if true inserts a button in Debugger for open a GUI to send useful debugger infos per mail to a default
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4158
     mail account "
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4159
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4160
    ^ self at:#allowSendMailFromDebugger ifAbsent:true
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4161
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4162
    "
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4163
     UserPreferences current allowSendMailFromDebugger
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4164
    "
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4165
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4166
    "Modified: / 11.9.1998 / 00:09:59 / cg"
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4167
!
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4168
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4169
allowSendMailFromDebugger:aBoolean
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4170
    "if true inserts a button in Debugger for open a GUI to send useful debugger infos per mail to a default
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4171
     mail account "
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4172
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4173
    ^ self at:#allowSendMailFromDebugger put:aBoolean
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4174
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4175
    "
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4176
     UserPreferences current allowSendMailFromDebugger:true
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4177
     UserPreferences current allowSendMailFromDebugger:false
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4178
    "
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4179
!
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4180
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4181
autoDefineWorkspaceVariables
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4182
    "return the flag which controls automatic definition of unknown variables
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4183
     as workspace variables (in doIts)"
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4184
9302
f3dae8816824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9286
diff changeset
  4185
    ^ self at:#autoDefineWorkspaceVariables ifAbsent:false
7549
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4186
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4187
    "
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4188
     UserPreferences current autoDefineWorkspaceVariables
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4189
    "
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4190
!
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4191
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4192
autoDefineWorkspaceVariables:aBoolean
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4193
    "turn on/off automatic definition of unknown variables
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4194
     as workspace variables (in doIts)"
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4195
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4196
    ^ self at:#autoDefineWorkspaceVariables put:aBoolean
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4197
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4198
    "
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4199
     UserPreferences current autoDefineWorkspaceVariables:true
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4200
     UserPreferences current autoDefineWorkspaceVariables:false
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4201
    "
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4202
!
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4203
10540
ccead52b3fd9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10478
diff changeset
  4204
autoRaiseDebugger
ccead52b3fd9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10478
diff changeset
  4205
    "if true, the debugger raises itself automatically when entered.
ccead52b3fd9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10478
diff changeset
  4206
     The default is true"
ccead52b3fd9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10478
diff changeset
  4207
ccead52b3fd9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10478
diff changeset
  4208
    ^ self at:#autoRaiseDebugger ifAbsent:true
ccead52b3fd9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10478
diff changeset
  4209
ccead52b3fd9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10478
diff changeset
  4210
    "
ccead52b3fd9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10478
diff changeset
  4211
     UserPreferences current autoRaiseDebugger
ccead52b3fd9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10478
diff changeset
  4212
    "
ccead52b3fd9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10478
diff changeset
  4213
ccead52b3fd9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10478
diff changeset
  4214
    "Created: / 15-05-2007 / 13:29:10 / cg"
ccead52b3fd9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10478
diff changeset
  4215
!
ccead52b3fd9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10478
diff changeset
  4216
ccead52b3fd9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10478
diff changeset
  4217
autoRaiseDebugger:aBoolean
ccead52b3fd9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10478
diff changeset
  4218
    "if true, the debugger raises itself automatically when entered.
ccead52b3fd9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10478
diff changeset
  4219
     The default is true"
ccead52b3fd9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10478
diff changeset
  4220
ccead52b3fd9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10478
diff changeset
  4221
    ^ self at:#autoRaiseDebugger put:aBoolean
ccead52b3fd9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10478
diff changeset
  4222
ccead52b3fd9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10478
diff changeset
  4223
    "
11143
3712ab6b344b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11064
diff changeset
  4224
     UserPreferences current autoRaiseDebugger
10540
ccead52b3fd9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10478
diff changeset
  4225
     UserPreferences current autoRaiseDebugger:false
ccead52b3fd9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10478
diff changeset
  4226
     UserPreferences current autoRaiseDebugger:true
ccead52b3fd9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10478
diff changeset
  4227
    "
ccead52b3fd9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10478
diff changeset
  4228
ccead52b3fd9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10478
diff changeset
  4229
    "Created: / 15-05-2007 / 13:29:31 / cg"
ccead52b3fd9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10478
diff changeset
  4230
!
ccead52b3fd9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10478
diff changeset
  4231
15130
df8a9794fd74 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14915
diff changeset
  4232
autoRaiseOnFocusInDelay
df8a9794fd74 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14915
diff changeset
  4233
    "if non-nil, an application window will raise automatically,
df8a9794fd74 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14915
diff changeset
  4234
     when it gets the focus (via the window manager) after that 
df8a9794fd74 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14915
diff changeset
  4235
     number of milliseconds. If nil, autoRaise is disabled.
df8a9794fd74 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14915
diff changeset
  4236
     Especially useful with focusFollowsMouse under X11"
df8a9794fd74 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14915
diff changeset
  4237
df8a9794fd74 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14915
diff changeset
  4238
    ^ self at:#autoRaiseOnFocusInDelay ifAbsent:nil
df8a9794fd74 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14915
diff changeset
  4239
df8a9794fd74 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14915
diff changeset
  4240
    "
df8a9794fd74 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14915
diff changeset
  4241
     UserPreferences current autoRaiseOnFocusInDelay
df8a9794fd74 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14915
diff changeset
  4242
    "
df8a9794fd74 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14915
diff changeset
  4243
!
df8a9794fd74 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14915
diff changeset
  4244
df8a9794fd74 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14915
diff changeset
  4245
autoRaiseOnFocusInDelay:anIntegerOrNil
df8a9794fd74 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14915
diff changeset
  4246
    "if non-nil, an application window will raise automatically,
df8a9794fd74 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14915
diff changeset
  4247
     when it gets the focus (via the window manager) after that 
df8a9794fd74 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14915
diff changeset
  4248
     number of milliseconds. If nil, autoRaise is disabled.
df8a9794fd74 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14915
diff changeset
  4249
     Especially useful with focusFollowsMouse under X11"
df8a9794fd74 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14915
diff changeset
  4250
df8a9794fd74 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14915
diff changeset
  4251
    ^ self at:#autoRaiseOnFocusInDelay put:anIntegerOrNil
df8a9794fd74 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14915
diff changeset
  4252
df8a9794fd74 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14915
diff changeset
  4253
    "
df8a9794fd74 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14915
diff changeset
  4254
     UserPreferences current autoRaiseOnFocusInDelay
df8a9794fd74 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14915
diff changeset
  4255
     UserPreferences current autoRaiseOnFocusInDelay:nil
df8a9794fd74 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14915
diff changeset
  4256
     UserPreferences current autoRaiseOnFocusInDelay:750
df8a9794fd74 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14915
diff changeset
  4257
    "
df8a9794fd74 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14915
diff changeset
  4258
!
df8a9794fd74 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14915
diff changeset
  4259
15417
13b0cb902059 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15290
diff changeset
  4260
autoRaiseTranscript
13b0cb902059 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15290
diff changeset
  4261
    "if true, the transcript raises itself automatically when new messages appear.
13b0cb902059 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15290
diff changeset
  4262
     The default is false"
13b0cb902059 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15290
diff changeset
  4263
13b0cb902059 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15290
diff changeset
  4264
    ^ self at:#autoRaiseTranscript ifAbsent:false
13b0cb902059 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15290
diff changeset
  4265
13b0cb902059 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15290
diff changeset
  4266
    "
13b0cb902059 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15290
diff changeset
  4267
     UserPreferences current autoRaiseTranscript
13b0cb902059 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15290
diff changeset
  4268
    "
13b0cb902059 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15290
diff changeset
  4269
!
13b0cb902059 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15290
diff changeset
  4270
13b0cb902059 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15290
diff changeset
  4271
autoRaiseTranscript:aBoolean
13b0cb902059 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15290
diff changeset
  4272
    "if true, the transcript raises itself automatically when new messages appear.
13b0cb902059 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15290
diff changeset
  4273
     The default is false"
13b0cb902059 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15290
diff changeset
  4274
15427
56edc9d91140 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15426
diff changeset
  4275
    |transcript|
56edc9d91140 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15426
diff changeset
  4276
56edc9d91140 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15426
diff changeset
  4277
    self at:#autoRaiseTranscript put:aBoolean.
56edc9d91140 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15426
diff changeset
  4278
    (self == UserPreferences current) ifTrue:[
56edc9d91140 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15426
diff changeset
  4279
        transcript := Transcript current.
56edc9d91140 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15426
diff changeset
  4280
        (transcript notNil and:[transcript isExternalStream not]) ifTrue:[
56edc9d91140 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15426
diff changeset
  4281
            transcript autoRaise:aBoolean.
56edc9d91140 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15426
diff changeset
  4282
        ].
56edc9d91140 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15426
diff changeset
  4283
    ].
15417
13b0cb902059 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15290
diff changeset
  4284
13b0cb902059 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15290
diff changeset
  4285
    "
13b0cb902059 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15290
diff changeset
  4286
     UserPreferences current autoRaiseTranscript:true
13b0cb902059 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15290
diff changeset
  4287
     UserPreferences current autoRaiseTranscript:false
13b0cb902059 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15290
diff changeset
  4288
     UserPreferences current autoRaiseTranscript
13b0cb902059 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15290
diff changeset
  4289
    "
13b0cb902059 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15290
diff changeset
  4290
!
13b0cb902059 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15290
diff changeset
  4291
11419
ee9207931cac *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11390
diff changeset
  4292
editToolbarVisibleInWorkspace
ee9207931cac *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11390
diff changeset
  4293
    "return the flag which defaults the edit-toolbar-visibility in a workspace application"
ee9207931cac *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11390
diff changeset
  4294
ee9207931cac *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11390
diff changeset
  4295
    ^ self at:#editToolbarVisibleInWorkspace ifAbsent:false
ee9207931cac *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11390
diff changeset
  4296
!
ee9207931cac *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11390
diff changeset
  4297
ee9207931cac *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11390
diff changeset
  4298
editToolbarVisibleInWorkspace:aBooleanOrNil
ee9207931cac *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11390
diff changeset
  4299
    "set the flag which defaults the edit-toolbar-visibility in a workspace application"
ee9207931cac *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11390
diff changeset
  4300
ee9207931cac *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11390
diff changeset
  4301
    ^ self at:#editToolbarVisibleInWorkspace put:aBooleanOrNil
ee9207931cac *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11390
diff changeset
  4302
!
ee9207931cac *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11390
diff changeset
  4303
7549
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4304
functionKeySequences
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4305
    "return the collection of function-key macros.
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4306
     Thats a dictionary, which assigns code to F-keys"
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4307
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4308
    ^ self at:#functionKeySequences ifAbsentPut:[Dictionary new]
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4309
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4310
    "
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4311
     UserPreferences current functionKeySequences
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4312
    "
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4313
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4314
    "Modified: / 11.9.1998 / 00:09:59 / cg"
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4315
!
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4316
14160
Claus Gittinger <cg@exept.de>
parents: 14159
diff changeset
  4317
hideSupportCodeInDebugger
Claus Gittinger <cg@exept.de>
parents: 14159
diff changeset
  4318
    ^ self at:#hideSupportCodeInDebugger ifAbsent:true
Claus Gittinger <cg@exept.de>
parents: 14159
diff changeset
  4319
Claus Gittinger <cg@exept.de>
parents: 14159
diff changeset
  4320
    "
Claus Gittinger <cg@exept.de>
parents: 14159
diff changeset
  4321
     UserPreferences current hideSupportCodeInDebugger
Claus Gittinger <cg@exept.de>
parents: 14159
diff changeset
  4322
    "
Claus Gittinger <cg@exept.de>
parents: 14159
diff changeset
  4323
Claus Gittinger <cg@exept.de>
parents: 14159
diff changeset
  4324
    "Created: / 10-06-2012 / 21:24:09 / cg"
Claus Gittinger <cg@exept.de>
parents: 14159
diff changeset
  4325
!
Claus Gittinger <cg@exept.de>
parents: 14159
diff changeset
  4326
Claus Gittinger <cg@exept.de>
parents: 14159
diff changeset
  4327
hideSupportCodeInDebugger:aBooleanOrNil
Claus Gittinger <cg@exept.de>
parents: 14159
diff changeset
  4328
    ^ self at:#hideSupportCodeInDebugger put:aBooleanOrNil
Claus Gittinger <cg@exept.de>
parents: 14159
diff changeset
  4329
Claus Gittinger <cg@exept.de>
parents: 14159
diff changeset
  4330
    "Created: / 10-06-2012 / 21:24:18 / cg"
14159
Claus Gittinger <cg@exept.de>
parents: 14140
diff changeset
  4331
!
Claus Gittinger <cg@exept.de>
parents: 14140
diff changeset
  4332
10661
b7a36c50567c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10540
diff changeset
  4333
infoVisibleInWorkspace
b7a36c50567c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10540
diff changeset
  4334
    "return the flag which defaults the info-visibility in a workspace application"
b7a36c50567c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10540
diff changeset
  4335
b7a36c50567c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10540
diff changeset
  4336
    ^ self at:#infoVisibleInWorkspace ifAbsent:false
b7a36c50567c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10540
diff changeset
  4337
b7a36c50567c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10540
diff changeset
  4338
    "Created: / 14-07-2007 / 16:43:37 / cg"
b7a36c50567c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10540
diff changeset
  4339
!
b7a36c50567c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10540
diff changeset
  4340
b7a36c50567c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10540
diff changeset
  4341
infoVisibleInWorkspace:aBooleanOrNil
b7a36c50567c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10540
diff changeset
  4342
    "set the flag which defaults the info-visibility in a workspace application"
b7a36c50567c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10540
diff changeset
  4343
b7a36c50567c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10540
diff changeset
  4344
    ^ self at:#infoVisibleInWorkspace put:aBooleanOrNil
b7a36c50567c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10540
diff changeset
  4345
b7a36c50567c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10540
diff changeset
  4346
    "Created: / 14-07-2007 / 16:43:44 / cg"
b7a36c50567c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10540
diff changeset
  4347
!
b7a36c50567c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10540
diff changeset
  4348
16377
b4401b17b2eb class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16330
diff changeset
  4349
sendMessagesAlsoToTranscript
b4401b17b2eb class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16330
diff changeset
  4350
    "return the flag which controls if info/error messages are to be shown
b4401b17b2eb class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16330
diff changeset
  4351
     on both Stderr AND the Transcript, or only on Stderr"
b4401b17b2eb class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16330
diff changeset
  4352
b4401b17b2eb class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16330
diff changeset
  4353
    ^ self at:#sendMessagesAlsoToTranscript ifAbsent:true
b4401b17b2eb class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16330
diff changeset
  4354
b4401b17b2eb class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16330
diff changeset
  4355
    "
b4401b17b2eb class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16330
diff changeset
  4356
     UserPreferences current sendMessagesAlsoToTranscript
b4401b17b2eb class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16330
diff changeset
  4357
    "
b4401b17b2eb class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16330
diff changeset
  4358
!
b4401b17b2eb class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16330
diff changeset
  4359
b4401b17b2eb class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16330
diff changeset
  4360
sendMessagesAlsoToTranscript:aBooleanOrNil
b4401b17b2eb class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16330
diff changeset
  4361
    "set/clear the flag which controls if info/error messages are to be shown
b4401b17b2eb class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16330
diff changeset
  4362
     on both Stderr AND the Transcript, or only on Stderr"
b4401b17b2eb class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16330
diff changeset
  4363
b4401b17b2eb class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16330
diff changeset
  4364
    ^ self at:#sendMessagesAlsoToTranscript put:aBooleanOrNil
b4401b17b2eb class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16330
diff changeset
  4365
b4401b17b2eb class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16330
diff changeset
  4366
    "
b4401b17b2eb class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16330
diff changeset
  4367
     UserPreferences current sendMessagesAlsoToTranscript:false.
b4401b17b2eb class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16330
diff changeset
  4368
     'hello' infoPrintCR.
b4401b17b2eb class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16330
diff changeset
  4369
b4401b17b2eb class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16330
diff changeset
  4370
     UserPreferences current sendMessagesAlsoToTranscript:true.
b4401b17b2eb class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16330
diff changeset
  4371
     'hello' infoPrintCR.
b4401b17b2eb class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16330
diff changeset
  4372
    "
b4401b17b2eb class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16330
diff changeset
  4373
!
b4401b17b2eb class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16330
diff changeset
  4374
7549
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4375
showClockInLauncher
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4376
    "return the flag which controls if a clock is shown in the launcher"
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4377
9302
f3dae8816824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9286
diff changeset
  4378
    ^ self at:#showClockInLauncher ifAbsent:false
7549
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4379
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4380
    "
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4381
     UserPreferences current showClockInLauncher
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4382
    "
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4383
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4384
    "Modified: / 11.9.1998 / 00:09:59 / cg"
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4385
!
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4386
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4387
showClockInLauncher:aBooleanOrNil
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4388
    "set/clear the flag which controls if a clock is shown in the launcher"
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4389
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4390
    ^ self at:#showClockInLauncher put:aBooleanOrNil
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4391
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4392
    "
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4393
     UserPreferences current showClockInLauncher:false.
11143
3712ab6b344b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11064
diff changeset
  4394
     NewLauncher open.
7549
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4395
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4396
     UserPreferences current showClockInLauncher:true.
11143
3712ab6b344b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11064
diff changeset
  4397
     NewLauncher open.
7549
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4398
    "
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4399
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4400
    "Modified: / 11.9.1998 / 00:09:59 / cg"
7624
44f0109f5115 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7614
diff changeset
  4401
!
44f0109f5115 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7614
diff changeset
  4402
14140
Claus Gittinger <cg@exept.de>
parents: 14064
diff changeset
  4403
showTypeIndicatorInInspector
Claus Gittinger <cg@exept.de>
parents: 14064
diff changeset
  4404
    ^ self at:#showTypeIndicatorInInspector ifAbsent:true
Claus Gittinger <cg@exept.de>
parents: 14064
diff changeset
  4405
Claus Gittinger <cg@exept.de>
parents: 14064
diff changeset
  4406
    "
Claus Gittinger <cg@exept.de>
parents: 14064
diff changeset
  4407
     UserPreferences current showTypeIndicatorInInspector
Claus Gittinger <cg@exept.de>
parents: 14064
diff changeset
  4408
    "
Claus Gittinger <cg@exept.de>
parents: 14064
diff changeset
  4409
Claus Gittinger <cg@exept.de>
parents: 14064
diff changeset
  4410
    "Created: / 16-05-2012 / 19:09:50 / cg"
Claus Gittinger <cg@exept.de>
parents: 14064
diff changeset
  4411
!
Claus Gittinger <cg@exept.de>
parents: 14064
diff changeset
  4412
Claus Gittinger <cg@exept.de>
parents: 14064
diff changeset
  4413
showTypeIndicatorInInspector:aBooleanOrNil
Claus Gittinger <cg@exept.de>
parents: 14064
diff changeset
  4414
    ^ self at:#showTypeIndicatorInInspector put:aBooleanOrNil
Claus Gittinger <cg@exept.de>
parents: 14064
diff changeset
  4415
Claus Gittinger <cg@exept.de>
parents: 14064
diff changeset
  4416
    "
Claus Gittinger <cg@exept.de>
parents: 14064
diff changeset
  4417
     UserPreferences current showTypeIndicatorInInspector:false.
Claus Gittinger <cg@exept.de>
parents: 14064
diff changeset
  4418
     NewLauncher inspect.
Claus Gittinger <cg@exept.de>
parents: 14064
diff changeset
  4419
Claus Gittinger <cg@exept.de>
parents: 14064
diff changeset
  4420
     UserPreferences current showTypeIndicatorInInspector:true.
Claus Gittinger <cg@exept.de>
parents: 14064
diff changeset
  4421
     NewLauncher inspect.
Claus Gittinger <cg@exept.de>
parents: 14064
diff changeset
  4422
    "
Claus Gittinger <cg@exept.de>
parents: 14064
diff changeset
  4423
Claus Gittinger <cg@exept.de>
parents: 14064
diff changeset
  4424
    "Created: / 16-05-2012 / 19:10:13 / cg"
Claus Gittinger <cg@exept.de>
parents: 14064
diff changeset
  4425
!
Claus Gittinger <cg@exept.de>
parents: 14064
diff changeset
  4426
10661
b7a36c50567c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10540
diff changeset
  4427
toolbarVisibleInWorkspace
b7a36c50567c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10540
diff changeset
  4428
    "return the flag which defaults the toolbar-visibility in a workspace application"
b7a36c50567c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10540
diff changeset
  4429
10665
fd0702c99a8b toolbarVisibleInWorkspace default
Claus Gittinger <cg@exept.de>
parents: 10661
diff changeset
  4430
    ^ self at:#toolbarVisibleInWorkspace ifAbsent:true
fd0702c99a8b toolbarVisibleInWorkspace default
Claus Gittinger <cg@exept.de>
parents: 10661
diff changeset
  4431
fd0702c99a8b toolbarVisibleInWorkspace default
Claus Gittinger <cg@exept.de>
parents: 10661
diff changeset
  4432
    "Modified: / 18-07-2007 / 08:55:44 / cg"
10661
b7a36c50567c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10540
diff changeset
  4433
!
b7a36c50567c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10540
diff changeset
  4434
b7a36c50567c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10540
diff changeset
  4435
toolbarVisibleInWorkspace:aBooleanOrNil
b7a36c50567c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10540
diff changeset
  4436
    "set the flag which defaults the toolbar-visibility in a workspace application"
b7a36c50567c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10540
diff changeset
  4437
b7a36c50567c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10540
diff changeset
  4438
    ^ self at:#toolbarVisibleInWorkspace put:aBooleanOrNil
b7a36c50567c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10540
diff changeset
  4439
b7a36c50567c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10540
diff changeset
  4440
    "Created: / 14-07-2007 / 16:42:09 / cg"
b7a36c50567c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10540
diff changeset
  4441
!
b7a36c50567c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 10540
diff changeset
  4442
11024
464465f8b891 new layout in debugger
Claus Gittinger <cg@exept.de>
parents: 11023
diff changeset
  4443
useNewLayoutInDebugger
464465f8b891 new layout in debugger
Claus Gittinger <cg@exept.de>
parents: 11023
diff changeset
  4444
    ^ self at:#useNewLayoutInDebugger ifAbsent:true
464465f8b891 new layout in debugger
Claus Gittinger <cg@exept.de>
parents: 11023
diff changeset
  4445
464465f8b891 new layout in debugger
Claus Gittinger <cg@exept.de>
parents: 11023
diff changeset
  4446
    "
464465f8b891 new layout in debugger
Claus Gittinger <cg@exept.de>
parents: 11023
diff changeset
  4447
     UserPreferences current useNewLayoutInDebugger
464465f8b891 new layout in debugger
Claus Gittinger <cg@exept.de>
parents: 11023
diff changeset
  4448
    "
464465f8b891 new layout in debugger
Claus Gittinger <cg@exept.de>
parents: 11023
diff changeset
  4449
!
464465f8b891 new layout in debugger
Claus Gittinger <cg@exept.de>
parents: 11023
diff changeset
  4450
464465f8b891 new layout in debugger
Claus Gittinger <cg@exept.de>
parents: 11023
diff changeset
  4451
useNewLayoutInDebugger:aBoolean
464465f8b891 new layout in debugger
Claus Gittinger <cg@exept.de>
parents: 11023
diff changeset
  4452
    ^ self at:#useNewLayoutInDebugger put:aBoolean
464465f8b891 new layout in debugger
Claus Gittinger <cg@exept.de>
parents: 11023
diff changeset
  4453
!
464465f8b891 new layout in debugger
Claus Gittinger <cg@exept.de>
parents: 11023
diff changeset
  4454
7624
44f0109f5115 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7614
diff changeset
  4455
useRefactoringSupport
44f0109f5115 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7614
diff changeset
  4456
    "return the flag which enables/disables use of refactoring package in browser.
44f0109f5115 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7614
diff changeset
  4457
     If enabled, this enables all kinds of refactorings, better search and undo features.
44f0109f5115 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7614
diff changeset
  4458
     There is usually no reason to disable these."
44f0109f5115 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7614
diff changeset
  4459
9302
f3dae8816824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9286
diff changeset
  4460
    ^ self at:#useRefactoringSupport ifAbsent:true
7624
44f0109f5115 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7614
diff changeset
  4461
!
44f0109f5115 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7614
diff changeset
  4462
44f0109f5115 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7614
diff changeset
  4463
useRefactoringSupport:aBooleanOrNil
44f0109f5115 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7614
diff changeset
  4464
    "enable/disable use of refactoring package in browser.
44f0109f5115 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7614
diff changeset
  4465
     If enabled, this enables all kinds of refactorings, better search and undo features.
44f0109f5115 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7614
diff changeset
  4466
     There is usually no reason to disable these."
44f0109f5115 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7614
diff changeset
  4467
44f0109f5115 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7614
diff changeset
  4468
    ^ self at:#useRefactoringSupport put:aBooleanOrNil
7625
b5a9bf06be59 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7624
diff changeset
  4469
b5a9bf06be59 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7624
diff changeset
  4470
    "
b5a9bf06be59 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7624
diff changeset
  4471
     UserPreferences current useRefactoringSupport:false
b5a9bf06be59 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7624
diff changeset
  4472
     UserPreferences current useRefactoringSupport:true
b5a9bf06be59 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7624
diff changeset
  4473
    "
11024
464465f8b891 new layout in debugger
Claus Gittinger <cg@exept.de>
parents: 11023
diff changeset
  4474
!
464465f8b891 new layout in debugger
Claus Gittinger <cg@exept.de>
parents: 11023
diff changeset
  4475
464465f8b891 new layout in debugger
Claus Gittinger <cg@exept.de>
parents: 11023
diff changeset
  4476
verboseBacktraceInDebugger
464465f8b891 new layout in debugger
Claus Gittinger <cg@exept.de>
parents: 11023
diff changeset
  4477
    ^ self at:#verboseBacktraceInDebugger ifAbsent:true
464465f8b891 new layout in debugger
Claus Gittinger <cg@exept.de>
parents: 11023
diff changeset
  4478
464465f8b891 new layout in debugger
Claus Gittinger <cg@exept.de>
parents: 11023
diff changeset
  4479
    "
464465f8b891 new layout in debugger
Claus Gittinger <cg@exept.de>
parents: 11023
diff changeset
  4480
     UserPreferences current verboseBacktraceInDebugger
464465f8b891 new layout in debugger
Claus Gittinger <cg@exept.de>
parents: 11023
diff changeset
  4481
    "
464465f8b891 new layout in debugger
Claus Gittinger <cg@exept.de>
parents: 11023
diff changeset
  4482
!
464465f8b891 new layout in debugger
Claus Gittinger <cg@exept.de>
parents: 11023
diff changeset
  4483
464465f8b891 new layout in debugger
Claus Gittinger <cg@exept.de>
parents: 11023
diff changeset
  4484
verboseBacktraceInDebugger:aBoolean
464465f8b891 new layout in debugger
Claus Gittinger <cg@exept.de>
parents: 11023
diff changeset
  4485
    ^ self at:#verboseBacktraceInDebugger put:aBoolean
7549
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4486
! !
442051ac6373 category changes
Claus Gittinger <cg@exept.de>
parents: 7523
diff changeset
  4487
13967
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  4488
!UserPreferences methodsFor:'accessing-prefs-tools-building'!
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  4489
15917
ac687dc34fbd class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15915
diff changeset
  4490
autoUnloadAutoloadedClassesInProjectDefinition
ac687dc34fbd class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15915
diff changeset
  4491
    ^ self at:#autoUnloadAutoloadedClassesInProjectDefinition ifAbsent:false
ac687dc34fbd class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15915
diff changeset
  4492
ac687dc34fbd class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15915
diff changeset
  4493
    "
ac687dc34fbd class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15915
diff changeset
  4494
     UserPreferences current autoUnloadAutoloadedClassesInProjectDefinition
ac687dc34fbd class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15915
diff changeset
  4495
    "
ac687dc34fbd class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15915
diff changeset
  4496
ac687dc34fbd class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15915
diff changeset
  4497
    "Created: / 28-01-2014 / 21:42:59 / cg"
ac687dc34fbd class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15915
diff changeset
  4498
!
ac687dc34fbd class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15915
diff changeset
  4499
ac687dc34fbd class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15915
diff changeset
  4500
autoUnloadAutoloadedClassesInProjectDefinition:aBoolean
ac687dc34fbd class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15915
diff changeset
  4501
    ^ self at:#autoUnloadAutoloadedClassesInProjectDefinition put:aBoolean
ac687dc34fbd class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15915
diff changeset
  4502
ac687dc34fbd class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15915
diff changeset
  4503
    "
ac687dc34fbd class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15915
diff changeset
  4504
     UserPreferences current autoUnloadAutoloadedClassesInProjectDefinition
ac687dc34fbd class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15915
diff changeset
  4505
     UserPreferences current autoUnloadAutoloadedClassesInProjectDefinition:false
ac687dc34fbd class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15915
diff changeset
  4506
    "
ac687dc34fbd class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15915
diff changeset
  4507
ac687dc34fbd class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15915
diff changeset
  4508
    "Created: / 28-01-2014 / 21:43:18 / cg"
ac687dc34fbd class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15915
diff changeset
  4509
!
ac687dc34fbd class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15915
diff changeset
  4510
13967
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  4511
buildDirectory
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  4512
    ^ self at:#buildDirectory ifAbsent:nil
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  4513
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  4514
    "
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  4515
     UserPreferences current buildDirectory
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  4516
    "
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  4517
!
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  4518
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  4519
buildDirectory:aFilenameStringOrNil
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  4520
    ^ self at:#buildDirectory put:aFilenameStringOrNil
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  4521
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  4522
    "
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  4523
     UserPreferences current buildDirectory
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  4524
    "
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  4525
!
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  4526
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  4527
localBuild
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  4528
    "deployment-build in  a local directory (as opposed to making via the repository)"
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  4529
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  4530
    ^ self at:#localBuild ifAbsent:true
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  4531
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  4532
    "Created: / 20-09-2006 / 23:55:01 / cg"
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  4533
!
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  4534
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  4535
localBuild:aBoolean
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  4536
    "deployment-build in  a local directory (as opposed to making via the repository)"
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  4537
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  4538
    ^ self at:#localBuild put:aBoolean
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  4539
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  4540
    "
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  4541
     UserPreferences current localBuild
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  4542
    "
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  4543
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  4544
    "Created: / 20-09-2006 / 23:55:26 / cg"
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  4545
!
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  4546
15917
ac687dc34fbd class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15915
diff changeset
  4547
suppressProjectDefinitionWarnings
ac687dc34fbd class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15915
diff changeset
  4548
    ^ self at:#suppressProjectDefinitionWarnings ifAbsent:true
ac687dc34fbd class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15915
diff changeset
  4549
ac687dc34fbd class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15915
diff changeset
  4550
    "
ac687dc34fbd class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15915
diff changeset
  4551
     UserPreferences current suppressProjectDefinitionWarnings
ac687dc34fbd class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15915
diff changeset
  4552
    "
ac687dc34fbd class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15915
diff changeset
  4553
ac687dc34fbd class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15915
diff changeset
  4554
    "Created: / 28-01-2014 / 21:41:01 / cg"
ac687dc34fbd class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15915
diff changeset
  4555
!
ac687dc34fbd class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15915
diff changeset
  4556
ac687dc34fbd class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15915
diff changeset
  4557
suppressProjectDefinitionWarnings:aBoolean
ac687dc34fbd class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15915
diff changeset
  4558
    ^ self at:#suppressProjectDefinitionWarnings put:aBoolean
ac687dc34fbd class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15915
diff changeset
  4559
ac687dc34fbd class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15915
diff changeset
  4560
    "
ac687dc34fbd class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15915
diff changeset
  4561
     UserPreferences current suppressProjectDefinitionWarnings
ac687dc34fbd class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15915
diff changeset
  4562
     UserPreferences current suppressProjectDefinitionWarnings:true
ac687dc34fbd class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15915
diff changeset
  4563
    "
ac687dc34fbd class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15915
diff changeset
  4564
ac687dc34fbd class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15915
diff changeset
  4565
    "Created: / 28-01-2014 / 21:41:12 / cg"
ac687dc34fbd class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15915
diff changeset
  4566
!
ac687dc34fbd class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15915
diff changeset
  4567
13967
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  4568
usedCompilerForBuild
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  4569
    ^ self at:#usedCompilerForBuild ifAbsent:nil
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  4570
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  4571
    "
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  4572
     UserPreferences current usedCompilerForBuild
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  4573
    "
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  4574
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  4575
    "Created: / 22-01-2012 / 10:52:47 / cg"
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  4576
!
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  4577
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  4578
usedCompilerForBuild:aString
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  4579
    ^ self at:#usedCompilerForBuild put:aString
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  4580
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  4581
    "
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  4582
     UserPreferences current usedCompilerForBuild
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  4583
     UserPreferences current usedCompilerForBuild:'bcc'
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  4584
    "
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  4585
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  4586
    "Created: / 22-01-2012 / 10:52:59 / cg"
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  4587
! !
Claus Gittinger <cg@exept.de>
parents: 13943
diff changeset
  4588
13941
0621bed84963 added:9 methods
Claus Gittinger <cg@exept.de>
parents: 13885
diff changeset
  4589
!UserPreferences methodsFor:'accessing-scm'!
13596
Claus Gittinger <cg@exept.de>
parents: 13547
diff changeset
  4590
Claus Gittinger <cg@exept.de>
parents: 13547
diff changeset
  4591
showBadRevisionStringDialogs
Claus Gittinger <cg@exept.de>
parents: 13547
diff changeset
  4592
    "show a dialog when a bad revision string is encountered, or silently fix it"
Claus Gittinger <cg@exept.de>
parents: 13547
diff changeset
  4593
Claus Gittinger <cg@exept.de>
parents: 13547
diff changeset
  4594
    ^ self at: #'showBadRevisionStringDialogs' ifAbsent:true
Claus Gittinger <cg@exept.de>
parents: 13547
diff changeset
  4595
Claus Gittinger <cg@exept.de>
parents: 13547
diff changeset
  4596
    "Created: / 19-08-2011 / 12:51:25 / cg"
Claus Gittinger <cg@exept.de>
parents: 13547
diff changeset
  4597
!
Claus Gittinger <cg@exept.de>
parents: 13547
diff changeset
  4598
Claus Gittinger <cg@exept.de>
parents: 13547
diff changeset
  4599
showBadRevisionStringDialogs:aBoolean
Claus Gittinger <cg@exept.de>
parents: 13547
diff changeset
  4600
    "show a dialog when a bad revision string is encountered, or silently fix it"
Claus Gittinger <cg@exept.de>
parents: 13547
diff changeset
  4601
Claus Gittinger <cg@exept.de>
parents: 13547
diff changeset
  4602
    ^ self at: #'showBadRevisionStringDialogs' put:aBoolean
Claus Gittinger <cg@exept.de>
parents: 13547
diff changeset
  4603
Claus Gittinger <cg@exept.de>
parents: 13547
diff changeset
  4604
    "Created: / 19-08-2011 / 12:51:58 / cg"
Claus Gittinger <cg@exept.de>
parents: 13547
diff changeset
  4605
! !
Claus Gittinger <cg@exept.de>
parents: 13547
diff changeset
  4606
15960
fec5ba031704 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15925
diff changeset
  4607
13943
26472baf6c58 category of:20 methods
Claus Gittinger <cg@exept.de>
parents: 13942
diff changeset
  4608
!UserPreferences methodsFor:'default settings-syntax colors'!
4342
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
  4609
6169
1176368a973a syntax coloring stuff
Claus Gittinger <cg@exept.de>
parents: 6059
diff changeset
  4610
listOfPredefinedSyntaxColoringSchemes
6171
cf2befb8562e more coloring styles
Claus Gittinger <cg@exept.de>
parents: 6169
diff changeset
  4611
    "return a list of pre-defined syntax highlightning styles
cf2befb8562e more coloring styles
Claus Gittinger <cg@exept.de>
parents: 6169
diff changeset
  4612
     (as shown in the Launchers 'source and debugger settings' dialog."
cf2befb8562e more coloring styles
Claus Gittinger <cg@exept.de>
parents: 6169
diff changeset
  4613
cf2befb8562e more coloring styles
Claus Gittinger <cg@exept.de>
parents: 6169
diff changeset
  4614
    ^ #(
14063
3601e2191b9d added: #resetSyntaxColorsToVAgeStyle
Claus Gittinger <cg@exept.de>
parents: 14062
diff changeset
  4615
            (#resetSyntaxColors                                         'default [ST/X style]')
3601e2191b9d added: #resetSyntaxColorsToVAgeStyle
Claus Gittinger <cg@exept.de>
parents: 14062
diff changeset
  4616
            (#resetSyntaxColorsWithSideEffectHighlighting               'default with side effect highlighting [new ST/X style]')
3601e2191b9d added: #resetSyntaxColorsToVAgeStyle
Claus Gittinger <cg@exept.de>
parents: 14062
diff changeset
  4617
            (#resetSyntaxColorsToVCStyle                                'green comments; blue controlFlow, red constants [VISUAL-C style]')
11672
202d14e5686d another syntax color
Claus Gittinger <cg@exept.de>
parents: 11598
diff changeset
  4618
            (#resetSyntaxColorsBlueControlFlowSelectors                 'blue controlFlow')
202d14e5686d another syntax color
Claus Gittinger <cg@exept.de>
parents: 11598
diff changeset
  4619
            (#resetSyntaxColorsGreenComments                            'green comments')
202d14e5686d another syntax color
Claus Gittinger <cg@exept.de>
parents: 11598
diff changeset
  4620
            (#resetSyntaxColorsGreenCommentsBlueControlFlowSelectors    'green comments; blue controlFlow')
14063
3601e2191b9d added: #resetSyntaxColorsToVAgeStyle
Claus Gittinger <cg@exept.de>
parents: 14062
diff changeset
  4621
            (#resetSyntaxColorsBlueSelectorsGreenComments               'blue selectors; green comments [DOLPHIN style]')
11672
202d14e5686d another syntax color
Claus Gittinger <cg@exept.de>
parents: 11598
diff changeset
  4622
            (#resetSyntaxColorsBlueSelectorsGreyComments                'blue selectors; grey comments')
14063
3601e2191b9d added: #resetSyntaxColorsToVAgeStyle
Claus Gittinger <cg@exept.de>
parents: 14062
diff changeset
  4623
            (#resetSyntaxColorsToSqueakStyle1                           'blue selectors; green comments [SQUEAK style]')
3601e2191b9d added: #resetSyntaxColorsToVAgeStyle
Claus Gittinger <cg@exept.de>
parents: 14062
diff changeset
  4624
            (#resetSyntaxColorsToSqueakStyle2                           'blue selectors; green comments; brown self [new SQUEAK style]')
11672
202d14e5686d another syntax color
Claus Gittinger <cg@exept.de>
parents: 11598
diff changeset
  4625
            (#resetSyntaxColorsAllBlackExceptBadIDs                     'no colors, but highlight errors')
14063
3601e2191b9d added: #resetSyntaxColorsToVAgeStyle
Claus Gittinger <cg@exept.de>
parents: 14062
diff changeset
  4626
            (#resetSyntaxColorsToVAgeStyle                              'blue globals; green comments [V''Age style]')
3601e2191b9d added: #resetSyntaxColorsToVAgeStyle
Claus Gittinger <cg@exept.de>
parents: 14062
diff changeset
  4627
            (#resetSyntaxColorsToVW7Style                               'light blue comments [VW7 style]')
6171
cf2befb8562e more coloring styles
Claus Gittinger <cg@exept.de>
parents: 6169
diff changeset
  4628
      )
9834
0be637339fce control flow color&emphasis
Claus Gittinger <cg@exept.de>
parents: 9820
diff changeset
  4629
14063
3601e2191b9d added: #resetSyntaxColorsToVAgeStyle
Claus Gittinger <cg@exept.de>
parents: 14062
diff changeset
  4630
    "Modified: / 17-03-2012 / 10:40:18 / cg"
6169
1176368a973a syntax coloring stuff
Claus Gittinger <cg@exept.de>
parents: 6059
diff changeset
  4631
!
1176368a973a syntax coloring stuff
Claus Gittinger <cg@exept.de>
parents: 6059
diff changeset
  4632
4342
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
  4633
resetSyntaxColors
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
  4634
    "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
  4635
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
  4636
    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
  4637
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
  4638
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
  4639
!
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
  4640
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
  4641
resetSyntaxColorsAllBlackExceptBadIDs
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
  4642
    "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
  4643
     except for bad identifiers, which are underwaved."
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
  4644
14062
2827c508307f changed:11 methods
Claus Gittinger <cg@exept.de>
parents: 14052
diff changeset
  4645
    self resetSyntaxColors.
8551
de314b9f8fa3 sharedPools
ca
parents: 8545
diff changeset
  4646
    self at:#badIdentifierEmphasis  put:(Array with:#underwave with:(#underlineColor->Color red)).
de314b9f8fa3 sharedPools
ca
parents: 8545
diff changeset
  4647
    self at:#errorColor             put:Color black.
de314b9f8fa3 sharedPools
ca
parents: 8545
diff changeset
  4648
    self at:#commentColor           put:Color black.
de314b9f8fa3 sharedPools
ca
parents: 8545
diff changeset
  4649
    self at:#constantColor          put:Color black.
4342
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
  4650
    self at:#methodSelectorEmphasis put:#normal.
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
  4651
    self at:#selectorEmphasis       put:#normal.
14062
2827c508307f changed:11 methods
Claus Gittinger <cg@exept.de>
parents: 14052
diff changeset
  4652
2827c508307f changed:11 methods
Claus Gittinger <cg@exept.de>
parents: 14052
diff changeset
  4653
    "Modified: / 16-03-2012 / 10:35:02 / cg"
4342
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
  4654
!
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
  4655
9834
0be637339fce control flow color&emphasis
Claus Gittinger <cg@exept.de>
parents: 9820
diff changeset
  4656
resetSyntaxColorsBlueControlFlowSelectors
0be637339fce control flow color&emphasis
Claus Gittinger <cg@exept.de>
parents: 9820
diff changeset
  4657
    "resets the colors in the CurrentPreferences to alternative default values
0be637339fce control flow color&emphasis
Claus Gittinger <cg@exept.de>
parents: 9820
diff changeset
  4658
     (with blue control flow selectors)"
0be637339fce control flow color&emphasis
Claus Gittinger <cg@exept.de>
parents: 9820
diff changeset
  4659
14062
2827c508307f changed:11 methods
Claus Gittinger <cg@exept.de>
parents: 14052
diff changeset
  4660
    self resetSyntaxColors.
9834
0be637339fce control flow color&emphasis
Claus Gittinger <cg@exept.de>
parents: 9820
diff changeset
  4661
    self at:#controlFlowSelectorColor put:(Color blue).
0be637339fce control flow color&emphasis
Claus Gittinger <cg@exept.de>
parents: 9820
diff changeset
  4662
0be637339fce control flow color&emphasis
Claus Gittinger <cg@exept.de>
parents: 9820
diff changeset
  4663
    "Created: / 08-09-2006 / 16:11:52 / cg"
0be637339fce control flow color&emphasis
Claus Gittinger <cg@exept.de>
parents: 9820
diff changeset
  4664
!
0be637339fce control flow color&emphasis
Claus Gittinger <cg@exept.de>
parents: 9820
diff changeset
  4665
6171
cf2befb8562e more coloring styles
Claus Gittinger <cg@exept.de>
parents: 6169
diff changeset
  4666
resetSyntaxColorsBlueSelectorsGreenComments
cf2befb8562e more coloring styles
Claus Gittinger <cg@exept.de>
parents: 6169
diff changeset
  4667
    "resets the colors in the CurrentPreferences to alternative default values
cf2befb8562e more coloring styles
Claus Gittinger <cg@exept.de>
parents: 6169
diff changeset
  4668
     (with blue selectors and green comments)"
cf2befb8562e more coloring styles
Claus Gittinger <cg@exept.de>
parents: 6169
diff changeset
  4669
14062
2827c508307f changed:11 methods
Claus Gittinger <cg@exept.de>
parents: 14052
diff changeset
  4670
    self resetSyntaxColors.
8551
de314b9f8fa3 sharedPools
ca
parents: 8545
diff changeset
  4671
    self at:#commentColor           put:(Color green darkened).
de314b9f8fa3 sharedPools
ca
parents: 8545
diff changeset
  4672
    self at:#commentEmphasis        put:#italic.
de314b9f8fa3 sharedPools
ca
parents: 8545
diff changeset
  4673
    self at:#selectorColor          put:(Color blue).
de314b9f8fa3 sharedPools
ca
parents: 8545
diff changeset
  4674
    self at:#selectorEmphasis       put:#normal.
de314b9f8fa3 sharedPools
ca
parents: 8545
diff changeset
  4675
    self at:#methodSelectorColor    put:(Color blue).
6171
cf2befb8562e more coloring styles
Claus Gittinger <cg@exept.de>
parents: 6169
diff changeset
  4676
    self at:#methodSelectorEmphasis put:#bold.
14062
2827c508307f changed:11 methods
Claus Gittinger <cg@exept.de>
parents: 14052
diff changeset
  4677
2827c508307f changed:11 methods
Claus Gittinger <cg@exept.de>
parents: 14052
diff changeset
  4678
    "Modified: / 16-03-2012 / 10:34:55 / cg"
6171
cf2befb8562e more coloring styles
Claus Gittinger <cg@exept.de>
parents: 6169
diff changeset
  4679
!
cf2befb8562e more coloring styles
Claus Gittinger <cg@exept.de>
parents: 6169
diff changeset
  4680
cf2befb8562e more coloring styles
Claus Gittinger <cg@exept.de>
parents: 6169
diff changeset
  4681
resetSyntaxColorsBlueSelectorsGreyComments
6169
1176368a973a syntax coloring stuff
Claus Gittinger <cg@exept.de>
parents: 6059
diff changeset
  4682
    "resets the colors in the CurrentPreferences to alternative default values
1176368a973a syntax coloring stuff
Claus Gittinger <cg@exept.de>
parents: 6059
diff changeset
  4683
     (with blue selectors and grey comments)"
1176368a973a syntax coloring stuff
Claus Gittinger <cg@exept.de>
parents: 6059
diff changeset
  4684
6171
cf2befb8562e more coloring styles
Claus Gittinger <cg@exept.de>
parents: 6169
diff changeset
  4685
    self resetSyntaxColorsBlueSelectorsGreenComments.
cf2befb8562e more coloring styles
Claus Gittinger <cg@exept.de>
parents: 6169
diff changeset
  4686
    self at:#commentColor    put:(Color gray).
6169
1176368a973a syntax coloring stuff
Claus Gittinger <cg@exept.de>
parents: 6059
diff changeset
  4687
!
1176368a973a syntax coloring stuff
Claus Gittinger <cg@exept.de>
parents: 6059
diff changeset
  4688
4342
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
  4689
resetSyntaxColorsGreenComments
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
  4690
    "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
  4691
     (with green comments)"
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
  4692
14062
2827c508307f changed:11 methods
Claus Gittinger <cg@exept.de>
parents: 14052
diff changeset
  4693
    self resetSyntaxColors.
4342
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
  4694
    self at:#commentColor put:(Color green darkened).
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
  4695
14062
2827c508307f changed:11 methods
Claus Gittinger <cg@exept.de>
parents: 14052
diff changeset
  4696
    "Modified: / 16-03-2012 / 10:34:50 / cg"
9144
f2066ee39215 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9099
diff changeset
  4697
!
f2066ee39215 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9099
diff changeset
  4698
9834
0be637339fce control flow color&emphasis
Claus Gittinger <cg@exept.de>
parents: 9820
diff changeset
  4699
resetSyntaxColorsGreenCommentsBlueControlFlowSelectors
0be637339fce control flow color&emphasis
Claus Gittinger <cg@exept.de>
parents: 9820
diff changeset
  4700
    "resets the colors in the CurrentPreferences to alternative default values
0be637339fce control flow color&emphasis
Claus Gittinger <cg@exept.de>
parents: 9820
diff changeset
  4701
     (with green comments, blue control flow)"
0be637339fce control flow color&emphasis
Claus Gittinger <cg@exept.de>
parents: 9820
diff changeset
  4702
14062
2827c508307f changed:11 methods
Claus Gittinger <cg@exept.de>
parents: 14052
diff changeset
  4703
    self resetSyntaxColors.
9834
0be637339fce control flow color&emphasis
Claus Gittinger <cg@exept.de>
parents: 9820
diff changeset
  4704
    self at:#commentColor put:(Color green darkened).
0be637339fce control flow color&emphasis
Claus Gittinger <cg@exept.de>
parents: 9820
diff changeset
  4705
    self at:#controlFlowSelectorColor put:(Color blue).
0be637339fce control flow color&emphasis
Claus Gittinger <cg@exept.de>
parents: 9820
diff changeset
  4706
0be637339fce control flow color&emphasis
Claus Gittinger <cg@exept.de>
parents: 9820
diff changeset
  4707
    "Created: / 08-09-2006 / 16:10:38 / cg"
0be637339fce control flow color&emphasis
Claus Gittinger <cg@exept.de>
parents: 9820
diff changeset
  4708
!
0be637339fce control flow color&emphasis
Claus Gittinger <cg@exept.de>
parents: 9820
diff changeset
  4709
9144
f2066ee39215 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9099
diff changeset
  4710
resetSyntaxColorsToSqueakStyle
14063
3601e2191b9d added: #resetSyntaxColorsToVAgeStyle
Claus Gittinger <cg@exept.de>
parents: 14062
diff changeset
  4711
    "resets the colors in the CurrentPreferences to alternative default values"
9144
f2066ee39215 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9099
diff changeset
  4712
12281
Claus Gittinger <cg@exept.de>
parents: 12209
diff changeset
  4713
    self resetSyntaxColorsToSqueakStyle2
14063
3601e2191b9d added: #resetSyntaxColorsToVAgeStyle
Claus Gittinger <cg@exept.de>
parents: 14062
diff changeset
  4714
3601e2191b9d added: #resetSyntaxColorsToVAgeStyle
Claus Gittinger <cg@exept.de>
parents: 14062
diff changeset
  4715
    "Modified (comment): / 17-03-2012 / 10:38:07 / cg"
12281
Claus Gittinger <cg@exept.de>
parents: 12209
diff changeset
  4716
!
Claus Gittinger <cg@exept.de>
parents: 12209
diff changeset
  4717
Claus Gittinger <cg@exept.de>
parents: 12209
diff changeset
  4718
resetSyntaxColorsToSqueakStyle1
Claus Gittinger <cg@exept.de>
parents: 12209
diff changeset
  4719
    "resets the colors in the CurrentPreferences to alternative default values
Claus Gittinger <cg@exept.de>
parents: 12209
diff changeset
  4720
     (with blue selectors and green comments)"
Claus Gittinger <cg@exept.de>
parents: 12209
diff changeset
  4721
14062
2827c508307f changed:11 methods
Claus Gittinger <cg@exept.de>
parents: 14052
diff changeset
  4722
    self resetSyntaxColors.
9144
f2066ee39215 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9099
diff changeset
  4723
    self at:#commentColor             put:(Color green darkened).
f2066ee39215 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9099
diff changeset
  4724
    self at:#commentEmphasis          put:#italic.
f2066ee39215 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9099
diff changeset
  4725
    self at:#selectorColor            put:(Color blue:80).
f2066ee39215 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9099
diff changeset
  4726
    self at:#selectorEmphasis         put:#normal.
f2066ee39215 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9099
diff changeset
  4727
    self at:#methodSelectorColor      put:(Color black).
f2066ee39215 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9099
diff changeset
  4728
    self at:#methodSelectorEmphasis   put:#bold.
f2066ee39215 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9099
diff changeset
  4729
    self at:#globalIdentifierEmphasis put:#bold.
f2066ee39215 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9099
diff changeset
  4730
    self at:#localIdentifierColor     put:(Color grey:40).
f2066ee39215 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9099
diff changeset
  4731
    self at:#instVarIdentifierEmphasis put:#bold.
f2066ee39215 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9099
diff changeset
  4732
    self at:#constantColor            put:(Color red:67).
14062
2827c508307f changed:11 methods
Claus Gittinger <cg@exept.de>
parents: 14052
diff changeset
  4733
2827c508307f changed:11 methods
Claus Gittinger <cg@exept.de>
parents: 14052
diff changeset
  4734
    "Modified: / 16-03-2012 / 10:34:40 / cg"
14063
3601e2191b9d added: #resetSyntaxColorsToVAgeStyle
Claus Gittinger <cg@exept.de>
parents: 14062
diff changeset
  4735
    "Modified (comment): / 17-03-2012 / 10:38:47 / cg"
9184
d56887fab7ed *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9144
diff changeset
  4736
!
d56887fab7ed *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9144
diff changeset
  4737
12281
Claus Gittinger <cg@exept.de>
parents: 12209
diff changeset
  4738
resetSyntaxColorsToSqueakStyle2
Claus Gittinger <cg@exept.de>
parents: 12209
diff changeset
  4739
    "resets the colors in the CurrentPreferences to alternative default values
Claus Gittinger <cg@exept.de>
parents: 12209
diff changeset
  4740
     (with blue selectors and green comments)"
Claus Gittinger <cg@exept.de>
parents: 12209
diff changeset
  4741
14062
2827c508307f changed:11 methods
Claus Gittinger <cg@exept.de>
parents: 14052
diff changeset
  4742
    self resetSyntaxColors.
12281
Claus Gittinger <cg@exept.de>
parents: 12209
diff changeset
  4743
    self at:#commentColor             put:(Color green darkened).
Claus Gittinger <cg@exept.de>
parents: 12209
diff changeset
  4744
    self at:#commentEmphasis          put:#italic.
Claus Gittinger <cg@exept.de>
parents: 12209
diff changeset
  4745
    self at:#selectorColor            put:(Color blue:80).
Claus Gittinger <cg@exept.de>
parents: 12209
diff changeset
  4746
    self at:#selectorEmphasis         put:#normal.
12391
35ee0cb7fd56 changed: #resetSyntaxColorsToSqueakStyle2
Claus Gittinger <cg@exept.de>
parents: 12348
diff changeset
  4747
    self at:#controlFlowSelectorEmphasis put:#bold.
12281
Claus Gittinger <cg@exept.de>
parents: 12209
diff changeset
  4748
    self at:#methodSelectorColor      put:(Color black).
Claus Gittinger <cg@exept.de>
parents: 12209
diff changeset
  4749
    self at:#methodSelectorEmphasis   put:#bold.
Claus Gittinger <cg@exept.de>
parents: 12209
diff changeset
  4750
    self at:#globalIdentifierEmphasis put:#bold.
Claus Gittinger <cg@exept.de>
parents: 12209
diff changeset
  4751
    self at:#localIdentifierColor     put:(Color grey:40).
Claus Gittinger <cg@exept.de>
parents: 12209
diff changeset
  4752
    self at:#instVarIdentifierEmphasis put:#bold.
Claus Gittinger <cg@exept.de>
parents: 12209
diff changeset
  4753
    self at:#constantColor            put:(Color red:67).
Claus Gittinger <cg@exept.de>
parents: 12209
diff changeset
  4754
    self at:#selfColor                put:(Color red:50 ).
Claus Gittinger <cg@exept.de>
parents: 12209
diff changeset
  4755
    self at:#selfEmphasis             put:#bold.
12282
03a6891e3ca5 changed: #resetSyntaxColorsToSqueakStyle2
Claus Gittinger <cg@exept.de>
parents: 12281
diff changeset
  4756
    self at:#localIdentifierColor     put:(Color grey:50 ).
03a6891e3ca5 changed: #resetSyntaxColorsToSqueakStyle2
Claus Gittinger <cg@exept.de>
parents: 12281
diff changeset
  4757
    self at:#localIdentifierEmphasis  put:#normal.
14062
2827c508307f changed:11 methods
Claus Gittinger <cg@exept.de>
parents: 14052
diff changeset
  4758
2827c508307f changed:11 methods
Claus Gittinger <cg@exept.de>
parents: 14052
diff changeset
  4759
    "Modified: / 16-03-2012 / 10:34:35 / cg"
14063
3601e2191b9d added: #resetSyntaxColorsToVAgeStyle
Claus Gittinger <cg@exept.de>
parents: 14062
diff changeset
  4760
    "Modified (comment): / 17-03-2012 / 10:38:57 / cg"
3601e2191b9d added: #resetSyntaxColorsToVAgeStyle
Claus Gittinger <cg@exept.de>
parents: 14062
diff changeset
  4761
!
3601e2191b9d added: #resetSyntaxColorsToVAgeStyle
Claus Gittinger <cg@exept.de>
parents: 14062
diff changeset
  4762
3601e2191b9d added: #resetSyntaxColorsToVAgeStyle
Claus Gittinger <cg@exept.de>
parents: 14062
diff changeset
  4763
resetSyntaxColorsToVAgeStyle
3601e2191b9d added: #resetSyntaxColorsToVAgeStyle
Claus Gittinger <cg@exept.de>
parents: 14062
diff changeset
  4764
    "resets the colors in the CurrentPreferences to alternative default values
3601e2191b9d added: #resetSyntaxColorsToVAgeStyle
Claus Gittinger <cg@exept.de>
parents: 14062
diff changeset
  4765
     (green comments, blue globals)"
3601e2191b9d added: #resetSyntaxColorsToVAgeStyle
Claus Gittinger <cg@exept.de>
parents: 14062
diff changeset
  4766
3601e2191b9d added: #resetSyntaxColorsToVAgeStyle
Claus Gittinger <cg@exept.de>
parents: 14062
diff changeset
  4767
    self resetSyntaxColors.
3601e2191b9d added: #resetSyntaxColorsToVAgeStyle
Claus Gittinger <cg@exept.de>
parents: 14062
diff changeset
  4768
    self at:#identifierColor          put:(Color rgbValue:16r00007F).
14064
c80388807776 changed: #resetSyntaxColorsToVAgeStyle
Claus Gittinger <cg@exept.de>
parents: 14063
diff changeset
  4769
    self at:#argumentColor            put:(Color rgbValue:16r00007F).
14063
3601e2191b9d added: #resetSyntaxColorsToVAgeStyle
Claus Gittinger <cg@exept.de>
parents: 14062
diff changeset
  4770
    self at:#identifierEmphasis       put:#normal.
3601e2191b9d added: #resetSyntaxColorsToVAgeStyle
Claus Gittinger <cg@exept.de>
parents: 14062
diff changeset
  4771
    self at:#commentColor             put:(Color rgbValue:16r007F00).
3601e2191b9d added: #resetSyntaxColorsToVAgeStyle
Claus Gittinger <cg@exept.de>
parents: 14062
diff changeset
  4772
    self at:#selfColor                put:(Color rgbValue:16r7F007F).
3601e2191b9d added: #resetSyntaxColorsToVAgeStyle
Claus Gittinger <cg@exept.de>
parents: 14062
diff changeset
  4773
    self at:#constantColor            put:(Color rgbValue:16r7F0000).
3601e2191b9d added: #resetSyntaxColorsToVAgeStyle
Claus Gittinger <cg@exept.de>
parents: 14062
diff changeset
  4774
    self at:#selectorColor            put:(Color black).
3601e2191b9d added: #resetSyntaxColorsToVAgeStyle
Claus Gittinger <cg@exept.de>
parents: 14062
diff changeset
  4775
    self at:#selectorEmphasis         put:#bold.
3601e2191b9d added: #resetSyntaxColorsToVAgeStyle
Claus Gittinger <cg@exept.de>
parents: 14062
diff changeset
  4776
    self at:#globalIdentifierColor    put:(Color blue).
3601e2191b9d added: #resetSyntaxColorsToVAgeStyle
Claus Gittinger <cg@exept.de>
parents: 14062
diff changeset
  4777
    self at:#methodSelectorColor      put:(Color black).
3601e2191b9d added: #resetSyntaxColorsToVAgeStyle
Claus Gittinger <cg@exept.de>
parents: 14062
diff changeset
  4778
    self at:#methodSelectorEmphasis   put:#bold.
3601e2191b9d added: #resetSyntaxColorsToVAgeStyle
Claus Gittinger <cg@exept.de>
parents: 14062
diff changeset
  4779
3601e2191b9d added: #resetSyntaxColorsToVAgeStyle
Claus Gittinger <cg@exept.de>
parents: 14062
diff changeset
  4780
    "Created: / 17-03-2012 / 10:37:42 / cg"
12281
Claus Gittinger <cg@exept.de>
parents: 12209
diff changeset
  4781
!
Claus Gittinger <cg@exept.de>
parents: 12209
diff changeset
  4782
11672
202d14e5686d another syntax color
Claus Gittinger <cg@exept.de>
parents: 11598
diff changeset
  4783
resetSyntaxColorsToVCStyle
202d14e5686d another syntax color
Claus Gittinger <cg@exept.de>
parents: 11598
diff changeset
  4784
    "resets the colors in the CurrentPreferences to visual C default style
202d14e5686d another syntax color
Claus Gittinger <cg@exept.de>
parents: 11598
diff changeset
  4785
     (green comments, blue keywords, redish string constants)"
202d14e5686d another syntax color
Claus Gittinger <cg@exept.de>
parents: 11598
diff changeset
  4786
14062
2827c508307f changed:11 methods
Claus Gittinger <cg@exept.de>
parents: 14052
diff changeset
  4787
    self resetSyntaxColors.
11672
202d14e5686d another syntax color
Claus Gittinger <cg@exept.de>
parents: 11598
diff changeset
  4788
    self at:#controlFlowSelectorColor put:(Color blue).
202d14e5686d another syntax color
Claus Gittinger <cg@exept.de>
parents: 11598
diff changeset
  4789
    self at:#commentColor             put:(Color green darkened).
202d14e5686d another syntax color
Claus Gittinger <cg@exept.de>
parents: 11598
diff changeset
  4790
    self at:#constantColor            put:(Color red:64 green:8 blue:8).
14062
2827c508307f changed:11 methods
Claus Gittinger <cg@exept.de>
parents: 14052
diff changeset
  4791
2827c508307f changed:11 methods
Claus Gittinger <cg@exept.de>
parents: 14052
diff changeset
  4792
    "Modified: / 16-03-2012 / 10:34:30 / cg"
14063
3601e2191b9d added: #resetSyntaxColorsToVAgeStyle
Claus Gittinger <cg@exept.de>
parents: 14062
diff changeset
  4793
    "Modified (comment): / 17-03-2012 / 10:39:11 / cg"
11672
202d14e5686d another syntax color
Claus Gittinger <cg@exept.de>
parents: 11598
diff changeset
  4794
!
202d14e5686d another syntax color
Claus Gittinger <cg@exept.de>
parents: 11598
diff changeset
  4795
9184
d56887fab7ed *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9144
diff changeset
  4796
resetSyntaxColorsToVW7Style
d56887fab7ed *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9144
diff changeset
  4797
    "resets the colors in the CurrentPreferences to alternative default values
d56887fab7ed *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9144
diff changeset
  4798
     (with light blue comments, green variables)"
d56887fab7ed *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9144
diff changeset
  4799
14062
2827c508307f changed:11 methods
Claus Gittinger <cg@exept.de>
parents: 14052
diff changeset
  4800
    self resetSyntaxColors.
9184
d56887fab7ed *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9144
diff changeset
  4801
    self at:#commentColor             put:(Color blue lightened).
d56887fab7ed *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9144
diff changeset
  4802
    self at:#selectorColor            put:(Color black).
d56887fab7ed *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9144
diff changeset
  4803
    self at:#selectorEmphasis         put:#normal.
d56887fab7ed *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9144
diff changeset
  4804
    self at:#methodSelectorColor      put:(Color black).
d56887fab7ed *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9144
diff changeset
  4805
    self at:#methodSelectorEmphasis   put:#bold.
d56887fab7ed *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9144
diff changeset
  4806
    self at:#identifierEmphasis       put:#normal.
d56887fab7ed *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 9144
diff changeset
  4807
    self at:#identifierColor          put:(Color green darkened).
14062
2827c508307f changed:11 methods
Claus Gittinger <cg@exept.de>
parents: 14052
diff changeset
  4808
2827c508307f changed:11 methods
Claus Gittinger <cg@exept.de>
parents: 14052
diff changeset
  4809
    "Modified: / 16-03-2012 / 10:34:26 / cg"
14063
3601e2191b9d added: #resetSyntaxColorsToVAgeStyle
Claus Gittinger <cg@exept.de>
parents: 14062
diff changeset
  4810
    "Modified (comment): / 17-03-2012 / 10:39:18 / cg"
14005
7d4c58528d0e added: #resetSyntaxColorsWithSideEffectHighlighting
Claus Gittinger <cg@exept.de>
parents: 14004
diff changeset
  4811
!
7d4c58528d0e added: #resetSyntaxColorsWithSideEffectHighlighting
Claus Gittinger <cg@exept.de>
parents: 14004
diff changeset
  4812
7d4c58528d0e added: #resetSyntaxColorsWithSideEffectHighlighting
Claus Gittinger <cg@exept.de>
parents: 14004
diff changeset
  4813
resetSyntaxColorsWithSideEffectHighlighting
7d4c58528d0e added: #resetSyntaxColorsWithSideEffectHighlighting
Claus Gittinger <cg@exept.de>
parents: 14004
diff changeset
  4814
    "resets the colors in the CurrentPreferences to their default values
14063
3601e2191b9d added: #resetSyntaxColorsToVAgeStyle
Claus Gittinger <cg@exept.de>
parents: 14062
diff changeset
  4815
     plus side effect highlighting (assignments to instvars and globals are marked)"
14005
7d4c58528d0e added: #resetSyntaxColorsWithSideEffectHighlighting
Claus Gittinger <cg@exept.de>
parents: 14004
diff changeset
  4816
14062
2827c508307f changed:11 methods
Claus Gittinger <cg@exept.de>
parents: 14052
diff changeset
  4817
    self resetSyntaxColors.
14005
7d4c58528d0e added: #resetSyntaxColorsWithSideEffectHighlighting
Claus Gittinger <cg@exept.de>
parents: 14004
diff changeset
  4818
    self at:#sideEffectAssignmentBackgroundColor put:(Color rgbValue:16rFFDBDB).
7d4c58528d0e added: #resetSyntaxColorsWithSideEffectHighlighting
Claus Gittinger <cg@exept.de>
parents: 14004
diff changeset
  4819
7d4c58528d0e added: #resetSyntaxColorsWithSideEffectHighlighting
Claus Gittinger <cg@exept.de>
parents: 14004
diff changeset
  4820
    "Created: / 13-02-2012 / 12:12:56 / cg"
4342
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
  4821
! !
f2bbfcd2f072 added some default color settings
Claus Gittinger <cg@exept.de>
parents: 4341
diff changeset
  4822
7266
f2b64d3b43cf method category rename
Claus Gittinger <cg@exept.de>
parents: 7246
diff changeset
  4823
!UserPreferences methodsFor:'default values'!
4582
31cbce168a1d return false for nonexisting keys
Claus Gittinger <cg@exept.de>
parents: 4580
diff changeset
  4824
4583
9f6051955f6a checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4582
diff changeset
  4825
defaultValue
9f6051955f6a checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4582
diff changeset
  4826
    "the defaultValue for non-existing keys"
9f6051955f6a checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4582
diff changeset
  4827
9f6051955f6a checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4582
diff changeset
  4828
    ^ false
9f6051955f6a checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4582
diff changeset
  4829
!
9f6051955f6a checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4582
diff changeset
  4830
4582
31cbce168a1d return false for nonexisting keys
Claus Gittinger <cg@exept.de>
parents: 4580
diff changeset
  4831
errorKeyNotFound:aKey
31cbce168a1d return false for nonexisting keys
Claus Gittinger <cg@exept.de>
parents: 4580
diff changeset
  4832
    "for any non-existing key, false is returned"
31cbce168a1d return false for nonexisting keys
Claus Gittinger <cg@exept.de>
parents: 4580
diff changeset
  4833
4583
9f6051955f6a checkin from browser
Claus Gittinger <cg@exept.de>
parents: 4582
diff changeset
  4834
    ^ self defaultValue
4582
31cbce168a1d return false for nonexisting keys
Claus Gittinger <cg@exept.de>
parents: 4580
diff changeset
  4835
! !
31cbce168a1d return false for nonexisting keys
Claus Gittinger <cg@exept.de>
parents: 4580
diff changeset
  4836
10789
d63299ba576b care for flyByHelp
Claus Gittinger <cg@exept.de>
parents: 10723
diff changeset
  4837
!UserPreferences methodsFor:'misc'!
d63299ba576b care for flyByHelp
Claus Gittinger <cg@exept.de>
parents: 10723
diff changeset
  4838
d63299ba576b care for flyByHelp
Claus Gittinger <cg@exept.de>
parents: 10723
diff changeset
  4839
flyByHelpSettingChanged
d63299ba576b care for flyByHelp
Claus Gittinger <cg@exept.de>
parents: 10723
diff changeset
  4840
    FlyByHelp notNil ifTrue:[
11143
3712ab6b344b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11064
diff changeset
  4841
	(CurrentPreferences at:#flyByHelpActive) ifTrue:[
3712ab6b344b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11064
diff changeset
  4842
	    FlyByHelp start.
3712ab6b344b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11064
diff changeset
  4843
	] ifFalse:[
3712ab6b344b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11064
diff changeset
  4844
	    FlyByHelp stop.
3712ab6b344b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 11064
diff changeset
  4845
	].
10789
d63299ba576b care for flyByHelp
Claus Gittinger <cg@exept.de>
parents: 10723
diff changeset
  4846
    ].
d63299ba576b care for flyByHelp
Claus Gittinger <cg@exept.de>
parents: 10723
diff changeset
  4847
! !
d63299ba576b care for flyByHelp
Claus Gittinger <cg@exept.de>
parents: 10723
diff changeset
  4848
6937
3054abf221c9 *** empty log message ***
penk
parents: 6936
diff changeset
  4849
!UserPreferences methodsFor:'obsolete'!
3054abf221c9 *** empty log message ***
penk
parents: 6936
diff changeset
  4850
3054abf221c9 *** empty log message ***
penk
parents: 6936
diff changeset
  4851
useNewSettinsApplication
11598
970f65d53e13 Mark obsolete methods
Stefan Vogel <sv@exept.de>
parents: 11589
diff changeset
  4852
    <resource: #obsolete>
8545
37d394b08f2b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8433
diff changeset
  4853
    "obsolete - will be removed in next release.
37d394b08f2b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8433
diff changeset
  4854
     (this is kept for a while, as it may have found its way into some
37d394b08f2b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8433
diff changeset
  4855
      saved user preference files)"
6937
3054abf221c9 *** empty log message ***
penk
parents: 6936
diff changeset
  4856
6941
1700d0c53837 make old to settings changed settins methods obsolete
penk
parents: 6937
diff changeset
  4857
    self obsoleteMethodWarning.
7029
a73bc40f9bdb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7028
diff changeset
  4858
    ^ self useNewSettingsApplication
6937
3054abf221c9 *** empty log message ***
penk
parents: 6936
diff changeset
  4859
!
3054abf221c9 *** empty log message ***
penk
parents: 6936
diff changeset
  4860
3054abf221c9 *** empty log message ***
penk
parents: 6936
diff changeset
  4861
useNewSettinsApplication:aBoolean
11598
970f65d53e13 Mark obsolete methods
Stefan Vogel <sv@exept.de>
parents: 11589
diff changeset
  4862
    <resource: #obsolete>
7030
52b794e6abee *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7029
diff changeset
  4863
    "obsolete - will be removed in next release"
6937
3054abf221c9 *** empty log message ***
penk
parents: 6936
diff changeset
  4864
6941
1700d0c53837 make old to settings changed settins methods obsolete
penk
parents: 6937
diff changeset
  4865
    self obsoleteMethodWarning.
7029
a73bc40f9bdb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7028
diff changeset
  4866
    self useNewSettingsApplication:aBoolean.
6937
3054abf221c9 *** empty log message ***
penk
parents: 6936
diff changeset
  4867
! !
3054abf221c9 *** empty log message ***
penk
parents: 6936
diff changeset
  4868
7028
0911f2698be9 saveSettings here
Claus Gittinger <cg@exept.de>
parents: 7026
diff changeset
  4869
!UserPreferences methodsFor:'saving'!
0911f2698be9 saveSettings here
Claus Gittinger <cg@exept.de>
parents: 7026
diff changeset
  4870
0911f2698be9 saveSettings here
Claus Gittinger <cg@exept.de>
parents: 7026
diff changeset
  4871
saveIn:fileName
0911f2698be9 saveSettings here
Claus Gittinger <cg@exept.de>
parents: 7026
diff changeset
  4872
    self class saveSettings:self in:fileName
0911f2698be9 saveSettings here
Claus Gittinger <cg@exept.de>
parents: 7026
diff changeset
  4873
! !
0911f2698be9 saveSettings here
Claus Gittinger <cg@exept.de>
parents: 7026
diff changeset
  4874
3347
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  4875
!UserPreferences class methodsFor:'documentation'!
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  4876
13885
Claus Gittinger <cg@exept.de>
parents: 13884
diff changeset
  4877
version
16542
9c8eb61c5f36 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16484
diff changeset
  4878
    ^ '$Header: /cvs/stx/stx/libbasic/UserPreferences.st,v 1.370 2014-06-05 14:37:07 cg Exp $'
13885
Claus Gittinger <cg@exept.de>
parents: 13884
diff changeset
  4879
!
Claus Gittinger <cg@exept.de>
parents: 13884
diff changeset
  4880
13399
eb68067907e1 changed: #version_CVS
vrany
parents: 13391
diff changeset
  4881
version_CVS
16542
9c8eb61c5f36 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 16484
diff changeset
  4882
    ^ '$Header: /cvs/stx/stx/libbasic/UserPreferences.st,v 1.370 2014-06-05 14:37:07 cg Exp $'
12096
Claus Gittinger <cg@exept.de>
parents: 12027
diff changeset
  4883
!
Claus Gittinger <cg@exept.de>
parents: 12027
diff changeset
  4884
13399
eb68067907e1 changed: #version_CVS
vrany
parents: 13391
diff changeset
  4885
version_SVN
15290
de9c34723d33 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 15158
diff changeset
  4886
    ^ '$ Id: UserPreferences.st 10648 2011-06-23 15:55:10Z vranyj1  $'
3347
67d788da4fc0 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  4887
! !
14698
5eeda6b08571 class: UserPreferences
Claus Gittinger <cg@exept.de>
parents: 14543
diff changeset
  4888