ErrorList Plugin |
By Slava Pestov
sp@gjt.org |
The ErrorList plugin displays errors and warnings
generated by other plugins. It does
nothing on its own; for it to be useful, some plugins that support the
EditBus error API must be installed.
First of all, ErrorList manages an error list, which can be viewed by
selecting Plugins>Error List>Error List.
Clicking on a line in
the error list will open the guilty file and move the selection to the
error location.
Errors and warnings are displayed with different icons in the error list;
errors have a red traffic light, while warnings have a yellow one.
This plugin also highlights any errors in open buffers on the fly;
for example, if the console reported that Foo.java had an error on line 10,
line 10 of Foo.java would be drawn with a red underline (warnings are also
highlighted, but drawn with a yellow underline). Placing the
mouse over the offending line would display a tooltip with the error
message, as reported by the console.
Other plugins can report errors by using the EditBus ErrorSource service.
EditBus is a system that allows plugins to
communicate and share information without being aware of each other's
internals.
Version 1.0.2
Requires jEdit 3.1pre1 and EditBus 1.0.
- Error highlights would be painted in the wrong place if sections
of the buffer were folded
Version 1.0.1
Requires jEdit 3.1pre1 and EditBus 1.0.
- 'Previous Error' command didn't work
- Updated for jEdit 3.1 API changes
Version 1.0
Requires jEdit 3.0final and EditBus 1.0.
- 'Previous Error' and 'Next Error' commands now return focus to the text area
- Updated for jEdit 3.0 action API
Version 0.12
Requires jEdit 2.6pre3 and EditBus 0.9.4.
- 'Previous Error' and 'Next Error' commands (Dirk Moebius)
Version 0.11
Requires jEdit 2.6pre3 and EditBus 0.9.4.
- Now uses jEdit 2.6 plugin docking API
- 'Show on error' feature available again
Version 0.10
Requires jEdit 2.5.1, EditBus 0.9.4 and PluginHolder 0.0.5.
- 2.6preX/2.5.1 compatibility fix
- Now a HoldablePlugin
- 'Show on error' feature temporarily disabled; will be available in the
next release
Version 0.9.3
Requires jEdit 2.5pre3 and EditBus 0.9.3.
- 2.5preX compatibility fix
Version 0.9.2
Requires EditBus 0.9.2 and jEdit 2.4.2.
- Updated for new option pane API
- Updated to use jEdit.get/setBooleanProperty() for boolean properties
- Compatibility fix for upcoming jEdit 2.5pre1
Version 0.9.1
Requires EditBus 0.9 and jEdit 2.3final.
- Finally fixes 'show on error' code
Version 0.9
Requires EditBus 0.9 and jEdit 2.3final.
- The error list is sorted now
- A status bar in error list windows shows the number of errors and warnings
- 'Show on error' code was buggy
Version 0.8
Requires EditBus 0.9 and jEdit 2.3final.
- Fixed incompatibility with jEdit 2.4pre1
- Option pane added
- Error and warning highlight colors can now be customized
- The error list is now optionally displayed as soon as errors are generated
Version 0.7
Requires EditBus 0.9 and jEdit 2.3pre3.
- Action command can now be given to error-list action in macros so that
the error list is always opened, even if it is already showing
- Clicking on an error in the error list will bring the current view
to the front
Version 0.6.1
Requires EditBus 0.9 and jEdit 2.3pre3.
- Fixed possible infinite loop when working with more than one buffer
Version 0.6
Requires EditBus 0.9 and jEdit 2.3pre3.
- Supports the new EditBus 0.9 'error type' feature
- Error list geometry wasn't being saved
- Updated for jEdit 2.3pre3
Version 0.5
Requires EditBus 0.7 and jEdit 2.2pre8.
Version 0.3.2
Requires EditBus 0.6 and jEdit 2.2pre6.
- Fixed BadLocationException when painting invalid highlights
Version 0.3.1
Requires EditBus 0.6 and jEdit 2.2pre6.
- ErrorHighlight.getToolTipText() would throw a NullPointerException
if no error sources were available
Version 0.3
Requires EditBus 0.4 and jEdit 2.2pre4.
- The menu item now has a check box
- Fixed a bug where error highlights were not drawn if the horizontal
scrollbar was used
- Fixed a bug where clicking on an error would not work if it was in
a file other than the one currently being edited
Version 0.2
Requires EditBus 0.4 and jEdit 2.2pre3.
- A JList is used instead of a JTable to list errors
Version 0.1
Requires EditBus 0.3 and jEdit 2.2pre3. Change log started.