EditorSvc Class

com.bea.ide.sourceeditor
EditorSvc Class

public class EditorSvc

    extends Object

Hierarchy
Object
  EditorSvc

Nested Class Summary

public static interfaceEditorSvc.I

Field Summary

public static final String
ATTR_ALIGN_CLOSING_BRACE
Names the property that determines if we should auto-indent the brace.
public static final String
ATTR_AUTO_INDENT
Names the property that indicates whether we should auto indent.
public static final String
ATTR_COLOR_BREAKPOINT
Key that may be passed to getFore/BackGroundColor() to get the colors at a breakpoint
public static final String
ATTR_COLOR_COLLAPSE_PREVIEW
Key that may be passed to getFore/BackGroundColor() to get the colors of a collapsed region's preview
public static final String
ATTR_COLOR_CONTROL_HOVER
Key that may be passed to getFore/BackGroundColor() to get the colors of a link
public static final String
ATTR_COLOR_CURSORLINE
Key that may be passed to getFore/BackGroundColor() to get the colors on the cursor line
public static final String
ATTR_COLOR_DEFAULT
Key that may be passed to getFore/BackGroundColor() to get the default colors
public static final String
ATTR_COLOR_ERROR_SQUIGGLE
Key that may be passed to getFore/BackGroundColor() to get the colors of a compiler error
public static final String
ATTR_COLOR_INFO_SQUIGGLE
Key that may be passed to getFore/BackGroundColor() to get a third color to complement error & warning
public static final String
ATTR_COLOR_INSTRUCTION
Key that may be passed to getFore/BackGroundColor() to get the colors at the instruction point
public static final String
ATTR_COLOR_LINEBAR
Key that may be passed to getFore/BackGroundColor() to get the colors of the line bar
public static final String
ATTR_COLOR_MATCHING_CHAR
Key that may be passed to getFore/BackGroundColor() to get the colors of matching characters
public static final String
ATTR_COLOR_MISMATCHED_CHAR
Key that may be passed to getFore/BackGroundColor() to get the colors of mismatched characters
public static final String
ATTR_COLOR_SELECTION
Key that may be passed to getFore/BackGroundColor() to get the colors in a selection
public static final String
ATTR_COLOR_SELECTION_INACTIVE
Key that may be passed to getFore/BackGroundColor() to get the colors in an inactive selection
public static final String
ATTR_COLOR_STACKPOINT
Key that may be passed to getFore/BackGroundColor() to get the colors at a callstack instruction
public static final String
ATTR_COLOR_UNKNOWN
Key that may be passed to getFore/BackGroundColor() to get the colors of unknown compiler tokens
public static final String
ATTR_COLOR_WARNING_SQUIGGLE
Key that may be passed to getFore/BackGroundColor() to get the colors of a compiler warning
public static final String
ATTR_COLOR_WHITESPACE
Key that may be passed to getFore/BackGroundColor() to get the colors whitespace when visible
public static final String
ATTR_EDIT_READONLY
Names the property that indicates whether we should allow editing of read-only files.
public static final String
ATTR_ENABLE_COLLAPSING
Key for the attribute that stores whether we should enable line collapsing.
public static final String
ATTR_ERROR_SQUIGGLES
Key for the attribute that stores the font smoothing preference.
public static final String
ATTR_FONT_NAME
Key for the attribute that stores the font name.
public static final String
ATTR_FONT_SIZE
Key for the attribute that stores the font size.
public static final String
ATTR_FONT_SMOOTHING
Key for the attribute that stores the font smoothing preference.
public static final String
ATTR_INDENT_AFTER_BRACE
Names the property that indicates whether we should add an extra indent for each opening brace on the line before.
public static final String
ATTR_INDENT_WIDTH
Key for the attribute that stores the indent width.
public static final String
ATTR_INSERT_STAR
Names the property that indicates whether we should insert a star after newline within a comment indent.
public static final String
ATTR_INSERT_TABS
Names the property that stores whether tabs can be used for indenting.
public static final String
ATTR_METHOD_COMPLETION
Names the property that stores whether method completion is enabled.
public static final String
ATTR_MOUSE_OVER_DELAY
Names the property used for the delay before trying to put up window displaying information about the token (a.k.a. tooltip).
public static final String
ATTR_OVERWRITE
Names the property that stores whether we are in overwrite mode.
public static final String
ATTR_PARAM_COMPLETION
Names the property that stores whether parameter completion is enabled.
public static final String
ATTR_SHOW_LINE_NUMBERS
Key for the atribute that stores whether we display line numbers in the source editor.
public static final String
ATTR_SHOW_MATCHING_CHARS
Key for the atribute that stores whether we display line numbers in the source editor.
public static final String
ATTR_SHOW_SEPARATORS
Key for the attribute that stores whether we draw a line between methods.
public static final String
ATTR_SHOW_WHITESPACE
Key for the attribute that stores whether we should draw whitespace.
public static final String
ATTR_SMART_BACKSPACE
Names the property that indicates whether we backspace in indent-sized blocks when the caret is on an indention boundary.
public static final String
ATTR_TAB_WIDTH
Key for the attribute that stores the tab width.
public static final String
ATTR_WARNING_SQUIGGLES
Key for the attribute that stores the font smoothing preference.
protected static EditorSvc.I
instance
EditorSvc.I
public static final int
SCROLL_MIDDLE
If a new selection is off the screen, scroll it to the middle of the screen.
public static final int
SCROLL_MIDDLE_FORCE
If a new selection is not in the middle of the screen, scroll it to the middle of the screen.
public static final int
SCROLL_MINIMAL
If a new selection is off the screen, scroll it barely onto the screen.
 

Constructor Summary

EditorSvc()

 

Method Summary

public static EditorSvc.I
get()
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   

Field Detail

ATTR_ALIGN_CLOSING_BRACE

public static final String ATTR_ALIGN_CLOSING_BRACE
Names the property that determines if we should auto-indent the brace.


ATTR_AUTO_INDENT

public static final String ATTR_AUTO_INDENT
Names the property that indicates whether we should auto indent.


ATTR_COLOR_BREAKPOINT

public static final String ATTR_COLOR_BREAKPOINT
Key that may be passed to getFore/BackGroundColor() to get the colors at a breakpoint


ATTR_COLOR_COLLAPSE_PREVIEW

public static final String ATTR_COLOR_COLLAPSE_PREVIEW
Key that may be passed to getFore/BackGroundColor() to get the colors of a collapsed region's preview


ATTR_COLOR_CONTROL_HOVER

public static final String ATTR_COLOR_CONTROL_HOVER
Key that may be passed to getFore/BackGroundColor() to get the colors of a link


ATTR_COLOR_CURSORLINE

public static final String ATTR_COLOR_CURSORLINE
Key that may be passed to getFore/BackGroundColor() to get the colors on the cursor line


ATTR_COLOR_DEFAULT

public static final String ATTR_COLOR_DEFAULT
Key that may be passed to getFore/BackGroundColor() to get the default colors


ATTR_COLOR_ERROR_SQUIGGLE

public static final String ATTR_COLOR_ERROR_SQUIGGLE
Key that may be passed to getFore/BackGroundColor() to get the colors of a compiler error


ATTR_COLOR_INFO_SQUIGGLE

public static final String ATTR_COLOR_INFO_SQUIGGLE
Key that may be passed to getFore/BackGroundColor() to get a third color to complement error & warning


ATTR_COLOR_INSTRUCTION

public static final String ATTR_COLOR_INSTRUCTION
Key that may be passed to getFore/BackGroundColor() to get the colors at the instruction point


ATTR_COLOR_LINEBAR

public static final String ATTR_COLOR_LINEBAR
Key that may be passed to getFore/BackGroundColor() to get the colors of the line bar


ATTR_COLOR_MATCHING_CHAR

public static final String ATTR_COLOR_MATCHING_CHAR
Key that may be passed to getFore/BackGroundColor() to get the colors of matching characters


ATTR_COLOR_MISMATCHED_CHAR

public static final String ATTR_COLOR_MISMATCHED_CHAR
Key that may be passed to getFore/BackGroundColor() to get the colors of mismatched characters


ATTR_COLOR_SELECTION

public static final String ATTR_COLOR_SELECTION
Key that may be passed to getFore/BackGroundColor() to get the colors in a selection


ATTR_COLOR_SELECTION_INACTIVE

public static final String ATTR_COLOR_SELECTION_INACTIVE
Key that may be passed to getFore/BackGroundColor() to get the colors in an inactive selection


ATTR_COLOR_STACKPOINT

public static final String ATTR_COLOR_STACKPOINT
Key that may be passed to getFore/BackGroundColor() to get the colors at a callstack instruction


ATTR_COLOR_UNKNOWN

public static final String ATTR_COLOR_UNKNOWN
Key that may be passed to getFore/BackGroundColor() to get the colors of unknown compiler tokens


ATTR_COLOR_WARNING_SQUIGGLE

public static final String ATTR_COLOR_WARNING_SQUIGGLE
Key that may be passed to getFore/BackGroundColor() to get the colors of a compiler warning


ATTR_COLOR_WHITESPACE

public static final String ATTR_COLOR_WHITESPACE
Key that may be passed to getFore/BackGroundColor() to get the colors whitespace when visible


ATTR_EDIT_READONLY

public static final String ATTR_EDIT_READONLY
Names the property that indicates whether we should allow editing of read-only files.


ATTR_ENABLE_COLLAPSING

public static final String ATTR_ENABLE_COLLAPSING
Key for the attribute that stores whether we should enable line collapsing.


ATTR_ERROR_SQUIGGLES

public static final String ATTR_ERROR_SQUIGGLES
Key for the attribute that stores the font smoothing preference.


ATTR_FONT_NAME

public static final String ATTR_FONT_NAME
Key for the attribute that stores the font name.


ATTR_FONT_SIZE

public static final String ATTR_FONT_SIZE
Key for the attribute that stores the font size.


ATTR_FONT_SMOOTHING

public static final String ATTR_FONT_SMOOTHING
Key for the attribute that stores the font smoothing preference.


ATTR_INDENT_AFTER_BRACE

public static final String ATTR_INDENT_AFTER_BRACE
Names the property that indicates whether we should add an extra indent for each opening brace on the line before.


ATTR_INDENT_WIDTH

public static final String ATTR_INDENT_WIDTH
Key for the attribute that stores the indent width.


ATTR_INSERT_STAR

public static final String ATTR_INSERT_STAR
Names the property that indicates whether we should insert a star after newline within a comment indent.


ATTR_INSERT_TABS

public static final String ATTR_INSERT_TABS
Names the property that stores whether tabs can be used for indenting.


ATTR_METHOD_COMPLETION

public static final String ATTR_METHOD_COMPLETION
Names the property that stores whether method completion is enabled.


ATTR_MOUSE_OVER_DELAY

public static final String ATTR_MOUSE_OVER_DELAY
Names the property used for the delay before trying to put up window displaying information about the token (a.k.a. tooltip).


ATTR_OVERWRITE

public static final String ATTR_OVERWRITE
Names the property that stores whether we are in overwrite mode.


ATTR_PARAM_COMPLETION

public static final String ATTR_PARAM_COMPLETION
Names the property that stores whether parameter completion is enabled.


ATTR_SHOW_LINE_NUMBERS

public static final String ATTR_SHOW_LINE_NUMBERS
Key for the atribute that stores whether we display line numbers in the source editor.


ATTR_SHOW_MATCHING_CHARS

public static final String ATTR_SHOW_MATCHING_CHARS
Key for the atribute that stores whether we display line numbers in the source editor.


ATTR_SHOW_SEPARATORS

public static final String ATTR_SHOW_SEPARATORS
Key for the attribute that stores whether we draw a line between methods.


ATTR_SHOW_WHITESPACE

public static final String ATTR_SHOW_WHITESPACE
Key for the attribute that stores whether we should draw whitespace.


ATTR_SMART_BACKSPACE

public static final String ATTR_SMART_BACKSPACE
Names the property that indicates whether we backspace in indent-sized blocks when the caret is on an indention boundary.


ATTR_TAB_WIDTH

public static final String ATTR_TAB_WIDTH
Key for the attribute that stores the tab width.


ATTR_WARNING_SQUIGGLES

public static final String ATTR_WARNING_SQUIGGLES
Key for the attribute that stores the font smoothing preference.


instance

protected static EditorSvc.I instance


SCROLL_MIDDLE

public static final int SCROLL_MIDDLE
If a new selection is off the screen, scroll it to the middle of the screen.


SCROLL_MIDDLE_FORCE

public static final int SCROLL_MIDDLE_FORCE
If a new selection is not in the middle of the screen, scroll it to the middle of the screen. That is, selections in the top 2 or bottom 5 visible lines will scroll to the middle.


SCROLL_MINIMAL

public static final int SCROLL_MINIMAL
If a new selection is off the screen, scroll it barely onto the screen.

 

Constructor Detail

EditorSvc

public EditorSvc()
 

Method Detail

get() Method

public static EditorSvc.I get()