- AbstractContextEditorPopup - Class in org.jeditor.gui
-
A popup menu which is aware of the position of the menu in the editor line and column.
- AbstractContextEditorPopup() - Constructor for class org.jeditor.gui.AbstractContextEditorPopup
-
- AbstractContextEditorPopup(String) - Constructor for class org.jeditor.gui.AbstractContextEditorPopup
-
- AbstractDialogPane - Class in org.jeditor.gui
-
This class is an abstract Dialog pane, with a yes/no Buttons at the bottom of the dialog.
- AbstractDialogPane() - Constructor for class org.jeditor.gui.AbstractDialogPane
-
Constructor.
- AbstractDialogPane(String) - Constructor for class org.jeditor.gui.AbstractDialogPane
-
Constructor.
- AbstractEditorPopup - Class in org.jeditor.gui
-
An abstract popup usable with the JEditor.
- AbstractEditorPopup() - Constructor for class org.jeditor.gui.AbstractEditorPopup
-
- AbstractEditorPopup(String) - Constructor for class org.jeditor.gui.AbstractEditorPopup
-
- AbstractGutterHandler - Class in org.jeditor.gui
-
The AbstractGutterHandler is a
GutterHandler
which allows to:
Show a specific image on specific lines
Have a custom behavior upon clicking on the Gutter
Have a custom behavior upon hovering on a line the gutter, such as for example showing a tooltip
Example
The following handler:
Handles a right-click on the gutter and shows a menu for each line
Shows a tooltip on lines which paint an image
private class MyGutterHandler extends AbstractGutterHandler {
public boolean handleClick(Gutter gutter, int mouseButton, int x, int y) {
if (mouseButton == MouseEvent.BUTTON3) {
JPopupMenu menu = new JPopupMenu();
int number = gutter.getLineNumber(y);
menu.add(new JMenuItem("An Action on " + number));
menu.show(gutter, x, y);
return true;
} else {
return false;
}
}
public void handleMoved(Gutter gutter, int x, int y) {
int number = gutter.getLineNumber(y);
if (isPainting(number)) {
this.showTooltip("The tooltip on line" + number);
} else {
this.hideTooltip();
}
}
}
- AbstractGutterHandler() - Constructor for class org.jeditor.gui.AbstractGutterHandler
-
- AbstractGutterHandler(Gutter) - Constructor for class org.jeditor.gui.AbstractGutterHandler
-
Constructor.
- actionName - Variable in class org.jeditor.gui.JEditor.KeyBinding
-
The name of the action for the key.
- actionPerformed(ActionEvent) - Method in class org.jeditor.gui.InputHandler.backspace
-
- actionPerformed(ActionEvent) - Method in class org.jeditor.gui.InputHandler.backspace_word
-
- actionPerformed(ActionEvent) - Method in class org.jeditor.gui.InputHandler.delete
-
- actionPerformed(ActionEvent) - Method in class org.jeditor.gui.InputHandler.delete_word
-
- actionPerformed(ActionEvent) - Method in class org.jeditor.gui.InputHandler.document_end
-
- actionPerformed(ActionEvent) - Method in class org.jeditor.gui.InputHandler.document_home
-
- actionPerformed(ActionEvent) - Method in class org.jeditor.gui.InputHandler.end
-
- actionPerformed(ActionEvent) - Method in class org.jeditor.gui.InputHandler.home
-
- actionPerformed(ActionEvent) - Method in class org.jeditor.gui.InputHandler.insert_break
-
- actionPerformed(ActionEvent) - Method in class org.jeditor.gui.InputHandler.insert_char
-
- actionPerformed(ActionEvent) - Method in class org.jeditor.gui.InputHandler.insert_tab
-
- actionPerformed(ActionListener, String) - Method in interface org.jeditor.gui.InputHandler.MacroRecorder
-
- actionPerformed(ActionEvent) - Method in class org.jeditor.gui.InputHandler.next_char
-
- actionPerformed(ActionEvent) - Method in class org.jeditor.gui.InputHandler.next_line
-
- actionPerformed(ActionEvent) - Method in class org.jeditor.gui.InputHandler.next_page
-
- actionPerformed(ActionEvent) - Method in class org.jeditor.gui.InputHandler.next_word
-
- actionPerformed(ActionEvent) - Method in class org.jeditor.gui.InputHandler.overwrite
-
- actionPerformed(ActionEvent) - Method in class org.jeditor.gui.InputHandler.prev_char
-
- actionPerformed(ActionEvent) - Method in class org.jeditor.gui.InputHandler.prev_line
-
- actionPerformed(ActionEvent) - Method in class org.jeditor.gui.InputHandler.prev_page
-
- actionPerformed(ActionEvent) - Method in class org.jeditor.gui.InputHandler.prev_word
-
- actionPerformed(ActionEvent) - Method in class org.jeditor.gui.InputHandler.redo
-
- actionPerformed(ActionEvent) - Method in class org.jeditor.gui.InputHandler.repeat
-
- actionPerformed(ActionEvent) - Method in class org.jeditor.gui.InputHandler.save
-
- actionPerformed(ActionEvent) - Method in class org.jeditor.gui.InputHandler.select_all
-
- actionPerformed(ActionEvent) - Method in class org.jeditor.gui.InputHandler.shift_left
-
- actionPerformed(ActionEvent) - Method in class org.jeditor.gui.InputHandler.shift_right
-
- actionPerformed(ActionEvent) - Method in class org.jeditor.gui.InputHandler.toggle_rect
-
- actionPerformed(ActionEvent) - Method in class org.jeditor.gui.InputHandler.undo
-
- actionPerformed(ActionEvent) - Method in class org.jeditor.gui.JEditor.CaretBlinker
-
- add(String, byte) - Method in class org.jeditor.scripts.base.KeywordMap
-
Adds a key-value mapping.
- addCaretListener(CaretListener) - Method in class org.jeditor.gui.JEditor
-
Adds a caret change listener to this editor.
- addCustomHighlight(CodeEditorPainter.Highlight) - Method in class org.jeditor.gui.CodeEditorPainter
-
Adds a custom highlight painter.
- addDefaultKeyBindings() - Method in class org.jeditor.gui.DefaultInputHandler
-
Sets up the default key bindings.
- addDefaultKeyBindings() - Method in class org.jeditor.gui.InputHandler
-
Adds the default key bindings to this input handler.
- ADDED - Static variable in class org.jeditor.diff.Change
-
Denotes a new text.
- addEditorStateListener(EditorStateListener) - Method in class org.jeditor.gui.JEditor
-
Add a state listener.
- addExceptionListener(EditorExceptionListener) - Method in class org.jeditor.gui.JEditor
-
Add an exception listener to the editor.
- addExtension(String) - Method in class org.jeditor.scripts.Syntax
-
Add a supported extension for the syntax.
- addGutter() - Method in class org.jeditor.core.CodeEditorDefaults
-
Set the gutter as visible and make it expandable.
- addImage(int, String) - Method in class org.jeditor.gui.AbstractGutterHandler
-
Add a binding between a line number and an image resource name.
- addImageResource(String, URL) - Method in class org.jeditor.gui.AbstractGutterHandler
-
Add an image resource.
- addImageResource(String, URL, int, int) - Method in class org.jeditor.gui.AbstractGutterHandler
-
Add an image resource.
- addKeyBinding(String, ActionListener) - Method in class org.jeditor.gui.DefaultInputHandler
-
Adds a key binding to this input handler.
- addKeyBinding(String, ActionListener) - Method in class org.jeditor.gui.InputHandler
-
Adds a key binding to this input handler.
- addKeymap(String, Keymap) - Static method in class org.jeditor.gui.JEditor
-
Adds a new keymap into the keymap hierarchy.
- addMIME(String) - Method in class org.jeditor.scripts.Syntax
-
Add a supported mime type for the syntax.
- addNotify() - Method in class org.jeditor.gui.JEditor
-
Called by the AWT when this component is added to a parent.
- addSyntaxForExtension(String, Syntax) - Method in class org.jeditor.scripts.SyntaxMapper
-
Add an existing syntax for a new extension.
- addSyntaxForMIME(String, Syntax) - Method in class org.jeditor.scripts.SyntaxMapper
-
Add an existing syntax for a new MIME type.
- addToken(int, byte) - Method in class org.jeditor.scripts.base.TokenMarker
-
Adds a token to the token list.
- addZone(int, int) - Method in class org.jeditor.gui.CodeEditorHighlighter.ZoneHighlight
-
Add a highlighted zone on the line.
- analyze_hunk(Diff.change) - Method in class org.jeditor.diff.DiffBase
-
Look at a hunk of edit script and report the range of lines in each file that it applies to.
- analyzeHunk(Diff.change) - Method in class org.jeditor.diff.DiffPrint.Base
-
Look at a hunk of edit script and report the range of lines in each file that it applies to.
- anchorMarkColor - Variable in class org.jeditor.core.CodeEditorDefaults
-
- append(int, Color) - Method in class org.jeditor.gui.CodeEditorHighlighter
-
Add a highlight for a specified line number.
- append(int, Color, int, int) - Method in class org.jeditor.gui.CodeEditorHighlighter
-
Add a highlight for a specified line number and offset.
- appendText(String) - Method in class org.jeditor.gui.JEditor
-
Append text at the end of this editor.
- appendTextline(String) - Method in class org.jeditor.gui.JEditor
-
Append a line of text at the end of this editor.
- applySyntax(Document) - Method in class org.jeditor.core.SyntaxTokenizer
-
Apply the syntax of the SyntaxTokenizer on a Document and return the associated StyledDocument.
- AUTO - Static variable in class org.jeditor.app.SettingsDialog
-