Class CppLangJSyntaxKit
java.lang.Object
javax.swing.text.EditorKit
javax.swing.text.DefaultEditorKit
javax.swing.text.StyledEditorKit
net.thevpc.jeep.editor.JSyntaxKit
net.thevpc.jeep.editorkits.CppLangJSyntaxKit
- All Implemented Interfaces:
Serializable, Cloneable, ViewFactory
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class StyledEditorKit
StyledEditorKit.AlignmentAction, StyledEditorKit.BoldAction, StyledEditorKit.FontFamilyAction, StyledEditorKit.FontSizeAction, StyledEditorKit.ForegroundAction, StyledEditorKit.ItalicAction, StyledEditorKit.StyledTextAction, StyledEditorKit.UnderlineActionNested classes/interfaces inherited from class DefaultEditorKit
DefaultEditorKit.BeepAction, DefaultEditorKit.CopyAction, DefaultEditorKit.CutAction, DefaultEditorKit.DefaultKeyTypedAction, DefaultEditorKit.InsertBreakAction, DefaultEditorKit.InsertContentAction, DefaultEditorKit.InsertTabAction, DefaultEditorKit.PasteAction -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final JTokenDefstatic final intFields inherited from class JSyntaxKit
STYLE_BG1, STYLE_BG2, STYLE_BG3, STYLE_BG4, STYLE_BG5, STYLE_BG6, STYLE_BG7, STYLE_BG8, STYLE_BG9, STYLE_BOLD, STYLE_BOLD_ITALIC, STYLE_BOOLEAN_LITERALS, STYLE_CODE, STYLE_COMMENTS, STYLE_CROSS_OUT, STYLE_DIRECTIVES, STYLE_ERROR, STYLE_INFO, STYLE_ITALIC, STYLE_KEYWORDS, STYLE_KEYWORDS2, STYLE_NUMBERS, STYLE_OPERATORS, STYLE_PRE, STYLE_PRIMITIVE_TYPES, STYLE_REGEXPS, STYLE_SEPARATORS, STYLE_STRING, STYLE_STRINGS, STYLE_STRINGS2, STYLE_SUCCESS, STYLE_TEMPORALS, STYLE_TITLE1, STYLE_TITLE2, STYLE_TITLE3, STYLE_TITLE4, STYLE_TITLE5, STYLE_TITLE6, STYLE_TITLE7, STYLE_TITLE8, STYLE_TITLE9, STYLE_UNDERLINE, STYLE_WARN, UI_KEY_COMMENTS, UI_KEY_DEFAULT, UI_KEY_DIRECTIVE, UI_KEY_ERROR, UI_KEY_FORE1, UI_KEY_FORE10, UI_KEY_FORE2, UI_KEY_FORE3, UI_KEY_FORE4, UI_KEY_FORE5, UI_KEY_FORE6, UI_KEY_FORE7, UI_KEY_FORE8, UI_KEY_FORE9, UI_KEY_INFO, UI_KEY_LITERAL_BOOLEAN, UI_KEY_LITERAL_DATE, UI_KEY_LITERAL_NUMBER, UI_KEY_LITERAL_REGEXP, UI_KEY_LITERAL_STRING, UI_KEY_LITERAL_STRING2, UI_KEY_OPERATOR, UI_KEY_RESERVED_WORD, UI_KEY_RESERVED_WORD2, UI_KEY_RESERVED_WORD3, UI_KEY_SEPARATOR, UI_KEY_SUCCESS, UI_KEY_TYPE_PRIMITIVE, UI_KEY_WARNINGFields inherited from class DefaultEditorKit
backwardAction, beepAction, beginAction, beginLineAction, beginLineUpAction, beginParagraphAction, beginWordAction, copyAction, cutAction, defaultKeyTypedAction, deleteNextCharAction, deleteNextWordAction, deletePrevCharAction, deletePrevWordAction, downAction, endAction, endLineAction, endLineDownAction, EndOfLineStringProperty, endParagraphAction, endWordAction, forwardAction, insertBreakAction, insertContentAction, insertTabAction, nextWordAction, pageDownAction, pageUpAction, pasteAction, previousWordAction, readOnlyAction, selectAllAction, selectionBackwardAction, selectionBeginAction, selectionBeginLineAction, selectionBeginParagraphAction, selectionBeginWordAction, selectionDownAction, selectionEndAction, selectionEndLineAction, selectionEndParagraphAction, selectionEndWordAction, selectionForwardAction, selectionNextWordAction, selectionPreviousWordAction, selectionUpAction, selectLineAction, selectParagraphAction, selectWordAction, upAction, writableAction -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class JSyntaxKit
addSyntaxActions, create, createDefaultDocument, deinstall, getBackgroundStyle, getContentTypes, getForegroundStyle, getStyles, getTitleStyle, getViewFactory, install, registerContentType, setJcontext, setMenuSelectedIndex, setStylesMethods inherited from class StyledEditorKit
clone, createInputAttributes, getActions, getCharacterAttributeRun, getInputAttributesMethods inherited from class DefaultEditorKit
createCaret, getContentType, read, read, write, write
-
Field Details
-
OFFSET_LEFT_PARENTHESIS
public static final int OFFSET_LEFT_PARENTHESIS- See Also:
-
OFFSET_RIGHT_CURLY_BRACKET
public static final int OFFSET_RIGHT_CURLY_BRACKET- See Also:
-
OFFSET_COMMA
public static final int OFFSET_COMMA- See Also:
-
TOKEN_DIRECTIVE
public static final int TOKEN_DIRECTIVE- See Also:
-
TOKEN_DEF_DIRECTIVE
-
-
Constructor Details
-
CppLangJSyntaxKit
public CppLangJSyntaxKit(boolean cpp)
-