|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.text.EditorKit
javax.swing.text.DefaultEditorKit
org.fife.ui.rtextarea.RTextAreaEditorKit
org.fife.ui.rsyntaxtextarea.RSyntaxTextAreaEditorKit
public class RSyntaxTextAreaEditorKit
An extension of RTextAreaEditorKit
that adds functionality for
programming-specific stuff. There are currently subclasses to handle:
Nested Class Summary | |
---|---|
protected static class |
RSyntaxTextAreaEditorKit.BeginWordAction
Positions the caret at the beginning of the word. |
static class |
RSyntaxTextAreaEditorKit.CloseCurlyBraceAction
Action that (optionally) aligns a closing curly brace with the line containing its matching opening curly brace. |
static class |
RSyntaxTextAreaEditorKit.CloseMarkupTagAction
(Optionally) completes a closing markup tag. |
static class |
RSyntaxTextAreaEditorKit.CopyAsRtfAction
Action for copying text as RTF. |
static class |
RSyntaxTextAreaEditorKit.DecreaseFontSizeAction
Action for decreasing the font size of all fonts in the text area. |
static class |
RSyntaxTextAreaEditorKit.DecreaseIndentAction
Action for when un-indenting lines (either the current line if there is selection, or all selected lines if there is one). |
protected static class |
RSyntaxTextAreaEditorKit.EndWordAction
Positions the caret at the end of the word. |
static class |
RSyntaxTextAreaEditorKit.GoToMatchingBracketAction
Action for moving the caret to the "matching bracket" of the bracket at the caret position (either before or after). |
static class |
RSyntaxTextAreaEditorKit.IncreaseFontSizeAction
Action for increasing the font size of all fonts in the text area. |
static class |
RSyntaxTextAreaEditorKit.InsertBreakAction
Action for when the user presses the Enter key. |
static class |
RSyntaxTextAreaEditorKit.InsertTabAction
Action for inserting tabs. |
static class |
RSyntaxTextAreaEditorKit.NextWordAction
Action to move the selection and/or caret. |
static class |
RSyntaxTextAreaEditorKit.PossiblyInsertTemplateAction
Action for when the user tries to insert a template (that is, they've typed a template ID and pressed the trigger character (a space) in an attempt to do the substitution). |
static class |
RSyntaxTextAreaEditorKit.PreviousWordAction
Action to move the selection and/or caret. |
static class |
RSyntaxTextAreaEditorKit.SelectWordAction
Selects the word around the caret. |
static class |
RSyntaxTextAreaEditorKit.ToggleCommentAction
Action that toggles whether the currently selected lines are commented. |
Field Summary | |
---|---|
static String |
rstaCloseCurlyBraceAction
|
static String |
rstaCloseMarkupTagAction
|
static String |
rstaCopyAsRtfAction
|
static String |
rstaDecreaseIndentAction
|
static String |
rstaGoToMatchingBracketAction
|
static String |
rstaPossiblyInsertTemplateAction
|
static String |
rstaToggleCommentAction
|
Constructor Summary | |
---|---|
RSyntaxTextAreaEditorKit()
Constructor. |
Method Summary | |
---|---|
Document |
createDefaultDocument()
Returns the default document used by RSyntaxTextArea s. |
Action[] |
getActions()
Fetches the set of commands that can be used on a text component that is using a model and view produced by this kit. |
Methods inherited from class org.fife.ui.rtextarea.RTextAreaEditorKit |
---|
read |
Methods inherited from class javax.swing.text.DefaultEditorKit |
---|
createCaret, getContentType, getViewFactory, read, write, write |
Methods inherited from class javax.swing.text.EditorKit |
---|
clone, deinstall, install |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String rstaCloseCurlyBraceAction
public static final String rstaCloseMarkupTagAction
public static final String rstaCopyAsRtfAction
public static final String rstaDecreaseIndentAction
public static final String rstaGoToMatchingBracketAction
public static final String rstaPossiblyInsertTemplateAction
public static final String rstaToggleCommentAction
Constructor Detail |
---|
public RSyntaxTextAreaEditorKit()
Method Detail |
---|
public Document createDefaultDocument()
RSyntaxTextArea
s.
createDefaultDocument
in class DefaultEditorKit
public Action[] getActions()
getActions
in class RTextAreaEditorKit
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |