File Release Notes and Changelog
Notes:
Changes:
JEDIT 4.3 VERSION HISTORY
{{{ Version 4.3pre9
Thanks to Björn "Vampire" Kautler, Akber Choudhry, Matthieu Casanova
Jean-Francois Larvoire, Martin Raspe, Kazutoshi Satoda, Alan Ezust, Marcelo
Vanzin, and Nicholas O'Leary for contributing to this release.
{{{ Bug Fixes
- avoid NPE from getIndentRules (patch #1611766) (Kazutoshi Satoda)
- bufferio operations are now exception-safe (patch #1597168) (Kazutoshi Satoda)
- Encoding errors properly reported on save (patch #1601830) (Kazutoshi Satoda)
- Filter Box lose focus bug (patch #1608948) (kuljc)
- Fixed the broken quick copy behaviour (Björn "Vampire" Kautler)
- Fixed the wrong text in SearchAndReplace Dialog (bug #1592529)
(Björn "Vampire" Kautler)
- Fixed wrong highlighting of multiline strings in cobol editmode
(bug #785290) (Björn "Vampire" Kautler)
- Plugins in plugins options are now sorted case-insentively
(bug #1593410) (Matthieu Casanova)
- Fixed the not resolved IMPORTs in IMPORTs (bug #1569735)
(Björn "Vampire" Kautler)
- Fix SF Bug #1596756: Annoying problem with file system browser in 4.3pre7
When reopening the "recent" files on startup, a buffer might fail to
load (because, e.g., it's on a FTP server and the user canceled the
password dialog). So ignore the buffer if it's null when restoring the
view. (Marcelo Vanzin)
- Fix SF Bug #1590250: Bad EOF handling code in CBzip2InputStream
The code seems to have other error handling problems, but at least
now it doesn't compare a char to -1. It would be interesting to see
what happens if we have a corrupted jar file... (Marcelo Vanzin)
- Fix SF Bug #1571752: 'Add Explicit Fold' in PHP mode - wrong comments
Be smarter when inserting explicit folds in mode boundaries by trying
harder to use the comment characters for the mode of the text that
is being wrapped. Also do some tweaking for when to insert new lines
and when not to. (Marcelo Vanzin)
- Fix SF Bug #1594910: Indentation of Javascript embedded in HTML is broken
The fix is more generic than what the bug suggest. The indent rules
were being kept locally by each buffer, and reflected the "top level"
mode's rules. So rules for sections of the buffer that were delegated
to other modes were ignored. The fix keeps the indent rules in the mode
instance, and the buffers retrieve the context-sensitive rules when
applying auto-indentation. (Marcelo Vanzin)
- When deactivating a plugin if the VFS Browser was open but it's menubar
disabled, a NPE occured (#1593392) (Matthieu Casanova)
- Fixed a bug I introduced with the new HASH_CHAR handling
(bug #1600380) (Björn "Vampire" Kautler)
- Fixed another bug with the new HASH_CHAR handling
(bug #1600401) (Björn "Vampire" Kautler)
- Fixed precedence of Recent Files List caretposition over commandline
supplied caret position (Björn "Vampire" Kautler)
- SearchMatcher in SearchAndReplace cannot match empty Strings anymore
(#1601718) (Matthieu Casanova)
- If you use two stage save and your file is writeable but in a folder
where you cannot write, a dialog will ask you if you want to save using
normal method (#1609303) (Matthieu Casanova)
- Fixed that ESCAPE sequence of RULES tag couldn't appear at the beginning
of a rule. Now this is possible. Also added documentation about the
ESCAPE attribute. (Björn "Vampire" Kautler)
- Hypersearch now report occurences count and line count (#1565447)
(Matthieu Casanova)
- Several exceptions fixed in plugin manager after update or remove plugins
(Matthieu Casanova)
- When simplified keyboard handling was off, typing Alt+F o to open
a file, the o was also written in the textarea. (#1593359) (Matthieu Casanova)
- VariableGridLayout resized Components to sizes bigger than their maximum size,
now it resizes it only up to its maximum size and positions the Components
according to their alignmentX/alignmentY values if the cell is bigger than
the Component's size. (Björn "Vampire" Kautler)
- Horizontal scrollbar in the textarea was not always updated
(#1534016, #1617483) (Matthieu Casanova)
- In hypersearch when switching to flat nodes, the full path is displayed
correctly (#1593523) (Matthieu Casanova)
- The VFS Browser filter was not working as expected
(#1617509) (Matthieu Casanova)
- When reloading a buffer, the markers were not saved for each EditPanes
(Matthieu Casanova)
- When closing an untitled buffer is is removed from the CaretInfo map
of the EditPanes (Matthieu Casanova)
- When a buffer is renamed the key is changed in the CaretInfo map
of the EditPanes (Matthieu Casanova)
- Memory tooltip in status bar reports wrong values (#1538051) (Matthieu Casanova)
- Better handling of plugin optional dependencies (Matthieu Casanova)
- Fixed some cursor changes when dragging the dockable panel split bar
(Matthieu Casanova)
}}}
{{{ Editing
- New edit mode: quake.xml
- Updated TCL edit mode (Jean-Francois Larvoire)
- Updated Lilypond edit mode (Bertalan Fodor)
- Fixed some invalid mode files (Björn "Vampire" Kautler)
- Updated some mode files that were still in jEdit 4.0 syntax (Björn "Vampire" Kautler)
- Perl edit mode - support for fully qualified variable names like $Some::Module::test.
(Martin Raspe)
- Updated python edit mode to unindent lines after "pass" (Matthieu Casanova)
- Better highlighting of function calls in makefiles. (Marcelo Vanzin)
}}}
{{{ Miscellaneous
- BufferSwitcher has a hovertip to give you full filename
(request # 1628053) (Alan Ezust)
- Textfield for filtering recent files menu (Patch # 1546200)
(Joerg - spj)
- FSB deletes directories recursively now
(bug #1593389) (patch #1593900) (Akber Choudhry)
- Added a FIRST_LINE_GLOB to the "awk" mode in modes catalog (fr #1582241)
(Björn "Vampire" Kautler)
- Incremental searchbar now use the invalid syntax color to show if the searched
text was found (Matthieu Casanova)
- FR #1599024: add a submenu to the file menu that allows reloading the
current buffer with a specific encoding.
- HASH_CHAR in mode-files is now optional and multicharacter
(Björn "Vampire" Kautler)
- HASH_CHARS got invented for mode-files as alternative to HASH_CHAR,
whereby HASH_CHARS lists possible first characters of the matched
result literally (Björn "Vampire" Kautler)
- Fixed some wrong documentation and added some new
about HASH_CHAR and HASH_CHARS (Björn "Vampire" Kautler)
- SplashScreen change : more step added for progress bar and it tells now
what jEdit is doing (Matthieu Casanova)
- When closing the current buffer, if there is only one buffer, untitled and
not dirty it is not closed (not needed since another one would be created)
(Matthieu Casanova)
- The Files change dialog has now an ignore button to set the
autoreload and autoreloaddialog flags to false (Matthieu Casanova)
- VariableGridLayout, two new capabilities: it can
take minimum and maximum sizes of a Component into account when
distributing free space and you can supply distances to the borders
of the Container. The new capabilites are useable by the two new
constructors. For more information, see the JavaDoc documentation.
(Björn "Vampire" Kautler)
- Reload/ReloadAll now ignores buffers with the NEW_FILE flag set. This
was causing IO error messages when the Untitled buffers could not
be reloaded. (Nicholas O'Leary)
- More infos about the socket connection when the plugin manager updates it's
plugin list (Matthieu Casanova)
- Now the multiple selection and rectangular selection flags are saved
for each buffer on each edit pane. So you can now in a textarea edit
a buffer using rectangular selection, and use normal selection with another one
(Matthieu Casanova)
- Option panes are now in a JScrollPane (feature #1593735) (Matthieu Casanova)
- New option for the File System Manager : use default icons.
If you uncheck the checkbox, some custom icons can be used.
At this time only local file system have custom icons (feature #1593464)
(Matthieu Casanova)
- Buffer saving is now buffered, it changes everything with large files
(Matthieu Casanova)
- jEdit can now use continuous layout in it's JSplitPane.
You can change this option in the Appearance panel (#1638642)
(Matthieu Casanova)
- The update panel of the plugin manager now shows the installed version
and the version existing on the plugin central server (Matthieu Casanova)
}}}
{{{ API Changes
- Refactored the manually implemented HashSet of LinkedLists to use the
Java Collections HashSet and ArrayList. Therefore the ParserRule.next
and the ParserRuleSet.getRules(char) got deprecated in favor of
ParserRuleSet.getRules(Character) (Björn "Vampire" Kautler)
- Deprecated JEditBuffer.isElectricKey(char).
Added JEditBuffer.isElectricKey(char, int) to replace it.
(Marcelo Vanzin)
- Deprecated some of the ParserRule.createXXX() methods which accepted
only one character HASH_CHAR, while introduced new ones that accept
whole Strings. Additionally new ones for accepting HASH_CHARS got
added. (Björn "Vampire" Kautler)
- SearchDialog.preloadSearchDialog(View) is deprecated, this is
not necessary on our big computers and JVM with JIT (Matthieu Casanova)
- VariableGridLayout has two new constructors to use the new capabilites.
For more information see section Miscellaneous. (Björn "Vampire" Kautler)
- PluginManager.getPluginList() is not public anymore. It was not useful
since the PluginList class cannot be accessed outside of it's package
(Matthieu Casanova)
- MiscUtilities.moveFile(File, File) is deprecated, use
IOUtilities.moveFile(File, File) instead (Matthieu Casanova)
- Plugin API : now the EditPlugin has two new methods :
EditPlugin.getPluginHome() that will returns the path where the plugin
should write it's data (it can return null if you run with nosettings).
It is a folder build like that
jEditSettingsDirectory/plugins/pluginClassName
ex :
~/.jedit/plugins/sidekick.SidekickPlugin
I hope this will help to make some cleanup in the jEdit settings directory folder
(this folder is not created by jEdit, plugin developers must create it themselves)
The second method is EditPlugin.usePluginHome()
that plugin developers should overload to tell jEdit if they use this new folder
The default is false (Matthieu Casanova)
- VFSFile.getIcon() and VFSFile.getDefaultIcon(). The getIcon() method
can be override to use a custom icon for some VFS (Matthieu Casanova)
- Added org.gjt.sp.jedit.msg.PropertiesChanging; an EditBus message that is
sent right before the global options dialog is shown, to allow plugins to
flush any data that might be used by the option panes.
(Marcelo Vanzin)
- OptionsDialog.init(String,String) was made protected (was private).
(Marcelo Vanzin)
- New GUIUtilities.initContinuousLayout(JSplitPane) method that will
init the JSplitPane with the appearance.continuousLayout property.
It can be used by plugins that has JSplitPane when receiving a PropertiesChanged
}}}
}}}