public class AbstractDecoratedTextEditorPreferenceConstants extends Object
Modifier and Type | Field and Description |
---|---|
static String |
EDITOR_CURRENT_LINE
A named preference that controls whether the current line highlighting is turned on or off
(value
"currentLine" ). |
static String |
EDITOR_CURRENT_LINE_COLOR
A named preference that holds the color used to highlight the current line
(value
"currentLineColor" ). |
static String |
EDITOR_DISABLE_OVERWRITE_MODE
A named preference that controls disabling of the overwrite mode.
|
static String |
EDITOR_HOVER_ENRICH_MODE
A named preference that controls if hovers should automatically be closed
when the mouse is moved into them, or when they should be enriched.
|
static String |
EDITOR_HYPERLINK_COLOR
A named preference that holds the color used for hyperlinks.
|
static String |
EDITOR_HYPERLINK_COLOR_SYSTEM_DEFAULT
A named preference that holds the preference whether to use the native link color.
|
static String |
EDITOR_HYPERLINK_KEY_MODIFIER
A named preference that controls the key modifier for hyperlinks.
|
static String |
EDITOR_HYPERLINK_KEY_MODIFIER_MASK
A named preference that controls the key modifier mask for hyperlinks.
|
static String |
EDITOR_HYPERLINKS_ENABLED
A named preference that controls if hyperlinks are turned on or off.
|
static String |
EDITOR_LINE_NUMBER_RULER
A named preference that controls if the line number ruler is shown in the UI
(value
"lineNumberRuler" ). |
static String |
EDITOR_LINE_NUMBER_RULER_COLOR
A named preference that holds the color used to render line numbers inside the line number ruler
(value
"lineNumberColor" ). |
static String |
EDITOR_OVERVIEW_RULER
A named preference that controls if the overview ruler is shown in the UI
(value
"overviewRuler" ). |
static String |
EDITOR_PRINT_MARGIN
A named preference that controls whether the print margin is turned on or off
(value
"printMargin" ). |
static String |
EDITOR_PRINT_MARGIN_COLOR
A named preference that holds the color used to render the print margin
(value
"printMarginColor" ). |
static String |
EDITOR_PRINT_MARGIN_COLUMN
Print margin column
(value
"printMarginColumn" ). |
static String |
EDITOR_SELECTION_BACKGROUND_COLOR
A named preference that holds the color used as the text selection background.
|
static String |
EDITOR_SELECTION_BACKGROUND_DEFAULT_COLOR
A named preference that describes if the system default selection background color
is used as the text selection background.
|
static String |
EDITOR_SELECTION_FOREGROUND_COLOR
A named preference that holds the color used as the text selection foreground.
|
static String |
EDITOR_SELECTION_FOREGROUND_DEFAULT_COLOR
A named preference that describes if the system default selection foreground color
is used as the text selection foreground.
|
static String |
EDITOR_SHOW_CARRIAGE_RETURN
A named preference that controls the display of Carriage Return characters.
|
static String |
EDITOR_SHOW_ENCLOSED_IDEOGRAPHIC_SPACES
A named preference that controls the display of enclosed Ideographic Space characters.
|
static String |
EDITOR_SHOW_ENCLOSED_SPACES
A named preference that controls the display of enclosed Space characters.
|
static String |
EDITOR_SHOW_ENCLOSED_TABS
A named preference that controls the display of enclosed Tab characters.
|
static String |
EDITOR_SHOW_LEADING_IDEOGRAPHIC_SPACES
A named preference that controls the display of leading Ideographic Space characters.
|
static String |
EDITOR_SHOW_LEADING_SPACES
A named preference that controls the display of leading Space characters.
|
static String |
EDITOR_SHOW_LEADING_TABS
A named preference that controls the display of leading Tab characters.
|
static String |
EDITOR_SHOW_LINE_FEED
A named preference that controls the display of Line Feed characters.
|
static String |
EDITOR_SHOW_TEXT_HOVER_AFFORDANCE
A named preference that defines whether the hint to make hover sticky should be shown.
|
static String |
EDITOR_SHOW_TRAILING_IDEOGRAPHIC_SPACES
A named preference that controls the display of trailing Ideographic Space characters.
|
static String |
EDITOR_SHOW_TRAILING_SPACES
A named preference that controls the display of trailing Space characters.
|
static String |
EDITOR_SHOW_TRAILING_TABS
A named preference that controls the display of trailing Tab characters.
|
static String |
EDITOR_SHOW_WHITESPACE_CHARACTERS
A named preference that controls the display of whitespace characters.
|
static String |
EDITOR_SMART_HOME_END
A named preference that controls if smart home/end navigation is on or off
Value is of type
Boolean . |
static String |
EDITOR_SPACES_FOR_TABS
A named preference that specifies if the editor uses spaces for tabs.
|
static String |
EDITOR_TAB_WIDTH
A named preference that holds the number of spaces used per tab in the text editor.
|
static String |
EDITOR_TEXT_DRAG_AND_DROP_ENABLED
A named preference that controls whether text drag and drop is enabled.
|
static String |
EDITOR_UNDO_HISTORY_SIZE
A named preference that holds the size of the editor's undo history.
|
static String |
EDITOR_UNKNOWN_INDICATION
Deprecated.
as of 3.0 there are no UNKNOWN annotations any more
|
static String |
EDITOR_UNKNOWN_INDICATION_COLOR
Deprecated.
As of 3.0, there are no UNKNOWN annotations any more
|
static String |
EDITOR_UNKNOWN_INDICATION_IN_OVERVIEW_RULER
Deprecated.
As of 3.0, there are no UNKNOWN annotations any more
|
static String |
EDITOR_USE_CUSTOM_CARETS
A named preference that controls whether custom carets are used in the
editor or not.
|
static String |
EDITOR_WARN_IF_INPUT_DERIVED
A named preference that controls whether a confirmation
dialog is shown before editing derived input.
|
static String |
EDITOR_WHITESPACE_CHARACTER_ALPHA_VALUE
A named preference that controls the alpha value of whitespace characters.
|
static String |
EDITOR_WIDE_CARET
A named preference that controls whether carets are drawn wide or not.
|
static String |
QUICK_DIFF_ALWAYS_ON
A named preference that controls whether quick diff colors are shown on the line number bar.
|
static String |
QUICK_DIFF_CHARACTER_MODE
A named preference that controls the default quick diff reference provider.
|
static String |
QUICK_DIFF_DEFAULT_PROVIDER
A named preference that controls the default quick diff reference provider.
|
static String |
REVISION_ASK_BEFORE_QUICKDIFF_SWITCH
A named preference that controls whether the user is asked before switching the quick diff
reference when showing revision information..
|
static String |
REVISION_RULER_RENDERING_MODE
A named preference that controls the rendering mode of the revision ruler.
|
static String |
REVISION_RULER_SHOW_AUTHOR
A named preference that controls the rendering of the author on the revision ruler.
|
static String |
REVISION_RULER_SHOW_REVISION
A named preference that controls rendering of the revision on the revision ruler.
|
static String |
SHOW_RANGE_INDICATOR
A named preference that controls the display of the range indicator.
|
static String |
USE_ANNOTATIONS_PREFERENCE_PAGE
A named preference that controls whether this plug-in's
Annotations preference page is used to configure annotations.
|
static String |
USE_QUICK_DIFF_PREFERENCE_PAGE
A named preference that controls whether this plug-in's
Quick Diff preference page is used to configure Quick Diff.
|
static String |
USE_SATURATED_COLORS_IN_OVERVIEW_RULER
A named preference that controls whether to use saturated colors in the overview ruler.
|
Modifier and Type | Method and Description |
---|---|
static void |
initializeDefaultValues(IPreferenceStore store)
Initializes the given preference store with the default values.
|
public static final String EDITOR_CURRENT_LINE
"currentLine"
).
The preference value is of type Boolean
.
public static final String EDITOR_CURRENT_LINE_COLOR
"currentLineColor"
).
The preference value is of type String
. A RGB color value encoded as a string
using class PreferenceConverter
.
public static final String EDITOR_TAB_WIDTH
Value is of type int
: positive int value specifying the number of
spaces per tab.
public static final String EDITOR_SPACES_FOR_TABS
Value is of type Boolean
. If true
spaces instead of tabs are used
in the editor. If false
the editor inserts a tab character when pressing the tab
key.
public static final String EDITOR_UNDO_HISTORY_SIZE
Value is of type int
: 0 or positive int value specifying the size of
the editor's undo history.
public static final String EDITOR_PRINT_MARGIN
"printMargin"
).
The preference value is of type Boolean
.
public static final String EDITOR_PRINT_MARGIN_COLOR
"printMarginColor"
).
The preference value is of type String
. A RGB color value encoded as a string
using class PreferenceConverter
.
public static final String EDITOR_PRINT_MARGIN_COLUMN
"printMarginColumn"
).
The preference value is of type int
.
public static final String EDITOR_UNKNOWN_INDICATION
"othersIndication"
).
The preference value is of type Boolean
.
public static final String EDITOR_UNKNOWN_INDICATION_COLOR
"othersIndicationColor"
).
The preference value is of type String
. A RGB color value encoded as a string
using class PreferenceConverter
.
public static final String EDITOR_UNKNOWN_INDICATION_IN_OVERVIEW_RULER
"othersIndicationInOverviewRuler"
).
The preference value is of type Boolean
.
public static final String EDITOR_OVERVIEW_RULER
"overviewRuler"
).
The preference value is of type Boolean
.
public static final String EDITOR_LINE_NUMBER_RULER
"lineNumberRuler"
).
The preference value is of type Boolean
.
public static final String EDITOR_LINE_NUMBER_RULER_COLOR
"lineNumberColor"
).
The preference value is of type String
. A RGB color value encoded as a string
using class PreferenceConverter
.
public static final String USE_ANNOTATIONS_PREFERENCE_PAGE
Value is of type boolean
.
public static final String USE_QUICK_DIFF_PREFERENCE_PAGE
Value is of type boolean
.
public static final String QUICK_DIFF_ALWAYS_ON
Value is of type boolean
.
public static final String QUICK_DIFF_DEFAULT_PROVIDER
Value is of type String
.
public static final String QUICK_DIFF_CHARACTER_MODE
Value is of type String
.
public static final String EDITOR_USE_CUSTOM_CARETS
Value is of type Boolean
. If false
, only
the default caret is used in the editor.
public static final String EDITOR_WIDE_CARET
Value is of type Boolean
. If true
, the caret is
twice as wide as the default caret.
public static final String USE_SATURATED_COLORS_IN_OVERVIEW_RULER
Value is of type Boolean
. If true
, saturated colors are used
IOverviewRulerExtension.setUseSaturatedColors(boolean)
,
Constant Field Valuespublic static final String EDITOR_SELECTION_FOREGROUND_COLOR
Value is of type String
. A RGB color value encoded as a string
using class PreferenceConverter
public static final String EDITOR_SELECTION_FOREGROUND_DEFAULT_COLOR
Value is of type Boolean
.
public static final String EDITOR_SELECTION_BACKGROUND_COLOR
Value is of type String
. A RGB color value encoded as a string
using class PreferenceConverter
public static final String EDITOR_SELECTION_BACKGROUND_DEFAULT_COLOR
Value is of type Boolean
.
public static final String EDITOR_HYPERLINKS_ENABLED
Value is of type Boolean
.
public static final String EDITOR_HYPERLINK_KEY_MODIFIER
Value is of type String
.
public static final String EDITOR_HYPERLINK_KEY_MODIFIER_MASK
EDITOR_HYPERLINK_KEY_MODIFIER
cannot be resolved to valid SWT modifier bits.
Value is of type String
.
EDITOR_HYPERLINK_KEY_MODIFIER
,
Constant Field Valuespublic static final String EDITOR_HYPERLINK_COLOR
Value is of type String
. A RGB color value encoded as a string
using class PreferenceConverter
StringConverter
,
PreferenceConverter
,
Constant Field Valuespublic static final String EDITOR_HYPERLINK_COLOR_SYSTEM_DEFAULT
The preference value is of type Boolean
.
public static final String EDITOR_DISABLE_OVERWRITE_MODE
Value is of type Boolean
.
Note: As of 3.3, this preference can no longer
be set via UI but is still honored by the code. A workspace that
was started at least once with 3.3 has this preference set to false
.
Workspaces started with 3.4 keep their current preference.
public static final String EDITOR_WARN_IF_INPUT_DERIVED
Value is of type Boolean
.
public static final String EDITOR_SMART_HOME_END
Value is of type Boolean
.
public static final String EDITOR_SHOW_WHITESPACE_CHARACTERS
Value is of type Boolean
.
The following preferences can be used for fine-grained configuration when enabled.
EDITOR_SHOW_LEADING_SPACES
EDITOR_SHOW_ENCLOSED_SPACES
EDITOR_SHOW_TRAILING_SPACES
EDITOR_SHOW_LEADING_IDEOGRAPHIC_SPACES
EDITOR_SHOW_ENCLOSED_IDEOGRAPHIC_SPACES
EDITOR_SHOW_TRAILING_IDEOGRAPHIC_SPACES
EDITOR_SHOW_LEADING_TABS
EDITOR_SHOW_ENCLOSED_TABS
EDITOR_SHOW_TRAILING_TABS
EDITOR_SHOW_CARRIAGE_RETURN
EDITOR_SHOW_LINE_FEED
EDITOR_WHITESPACE_CHARACTER_ALPHA_VALUE
public static final String EDITOR_SHOW_LEADING_SPACES
EDITOR_SHOW_WHITESPACE_CHARACTERS
is true
.
Value is of type Boolean
.
public static final String EDITOR_SHOW_ENCLOSED_SPACES
EDITOR_SHOW_WHITESPACE_CHARACTERS
is true
.
Value is of type Boolean
.
public static final String EDITOR_SHOW_TRAILING_SPACES
EDITOR_SHOW_WHITESPACE_CHARACTERS
is true
.
Value is of type Boolean
.
public static final String EDITOR_SHOW_LEADING_IDEOGRAPHIC_SPACES
EDITOR_SHOW_WHITESPACE_CHARACTERS
is
true
.
Value is of type Boolean
.
public static final String EDITOR_SHOW_ENCLOSED_IDEOGRAPHIC_SPACES
EDITOR_SHOW_WHITESPACE_CHARACTERS
is
true
.
Value is of type Boolean
.
public static final String EDITOR_SHOW_TRAILING_IDEOGRAPHIC_SPACES
EDITOR_SHOW_WHITESPACE_CHARACTERS
is
true
.
Value is of type Boolean
.
public static final String EDITOR_SHOW_LEADING_TABS
EDITOR_SHOW_WHITESPACE_CHARACTERS
is true
.
Value is of type Boolean
.
public static final String EDITOR_SHOW_ENCLOSED_TABS
EDITOR_SHOW_WHITESPACE_CHARACTERS
is true
.
Value is of type Boolean
.
public static final String EDITOR_SHOW_TRAILING_TABS
EDITOR_SHOW_WHITESPACE_CHARACTERS
is true
.
Value is of type Boolean
.
public static final String EDITOR_SHOW_CARRIAGE_RETURN
EDITOR_SHOW_WHITESPACE_CHARACTERS
is true
.
Value is of type Boolean
.
public static final String EDITOR_SHOW_LINE_FEED
EDITOR_SHOW_WHITESPACE_CHARACTERS
is true
.
Value is of type Boolean
.
public static final String EDITOR_WHITESPACE_CHARACTER_ALPHA_VALUE
EDITOR_SHOW_WHITESPACE_CHARACTERS
is true
.
Value is of type Integer
.
public static final String SHOW_RANGE_INDICATOR
Value is of type Boolean
.
public static final String REVISION_ASK_BEFORE_QUICKDIFF_SWITCH
Value is of type String
.
public static final String REVISION_RULER_RENDERING_MODE
Value is of type String
and should contain the name of a
IRevisionRulerColumnExtension.RenderingMode
.
public static final String REVISION_RULER_SHOW_AUTHOR
Value is of type Boolean
.
public static final String REVISION_RULER_SHOW_REVISION
Value is of type Boolean
.
public static final String EDITOR_TEXT_DRAG_AND_DROP_ENABLED
Value is of type Boolean
.
public static final String EDITOR_SHOW_TEXT_HOVER_AFFORDANCE
Value is of type Boolean
.
public static final String EDITOR_HOVER_ENRICH_MODE
Value is of type Integer
and maps to the following
ITextViewerExtension8.EnrichMode
:
null
(don't allow moving the mouse into a hover),ITextViewerExtension8.EnrichMode.AFTER_DELAY
,ITextViewerExtension8.EnrichMode.IMMEDIATELY
,ITextViewerExtension8.EnrichMode.ON_CLICK
.public static void initializeDefaultValues(IPreferenceStore store)
store
- the preference store to be initialized
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.