jEdit 4.0pre2 now available
Submitted by Sunday, 25 November, 2001 - 04:28
on
New Features
Enhancements
Bug Fixes
API Changes
- MacOS plugin bundled (Kris Kopicki)
- jEdit exits cleanly when Command+Q is pressed
- Files created or associated with jEdit can now be opened from the Finder by double-clicking on them, or dragging them to the jEdit icon
- jEdit is assigned as the creator of new files
- jEdit exits cleanly when Command+Q is pressed
- A few Alt-key shortcuts added for commonly-used commands so that you don't have to move your fingers all over the keyboard:
- A+i, A+k: prev, next line
- A+j, A+l: prev, next character
- A+q, A+a: page up, page down
- A+z, A+x: home, end
- A+d: delete next character
- A+i, A+k: prev, next line
- A new View->Docking menu; contains commands for closing the left, top, right and bottom docking areas (shortcuts: C+e 1,2,3,4)
- Narrowing re-implemented. This feature was present in jEdit 3.2 but was missing from 4.0pre1.
Enhancements
- Bracket matching improvements:
- If the highlighted bracket is off screen, the text of the matching line is shown in the status bar. And here's the best part: if the matching line cosists of only a bracket and whitespace, the *previous* line is shown in the status bar instead
- Clicking the scope indicator in the gutter moves the caret between the two matching brackets
- Control-clicking the scope indicator or a bracket in the text area selects all text between the two matching brackets
- If the highlighted bracket is off screen, the text of the matching line is shown in the status bar. And here's the best part: if the matching line cosists of only a bracket and whitespace, the *previous* line is shown in the status bar instead
- File system browser improvements:
- Parent directories are now listed in a widget at the top of the file system browser
- File->Recent Directories menu lists directories that were recently visted in the file system browser
- File selection dialog boxes now have a status bar that shows the number of pending I/O requests
- Middle mouse button click in file system browser now has the same effect as double-clicking
- You can now enter relative paths in the file system browser's path field
- 'More' menu split into 'Commands' and 'Plugins' menus
- 'Commands' menu and tool bar now have the same set of commands
- 'Favorites' menu added for quicker access to favorites
- If invoked while a file is selected, the 'Search in Directory' command now sets the search file name filter to that file's extension
- Parent directories are now listed in a widget at the top of the file system browser
- Icons added to 'BeanShell Error' and 'Close All' dialog boxes
- Updated PV-WAVE mode (Ed Stewart)
- Updated Transact-SQL mode (Ollie Rutherfurd)
- Updated Omnimark mode (Lionel Fiol)
- Closing a docked window now returns focus to the text area
- Memory indicator tooltip now shows used and total Java heap memory in kilobytes
- Option for search and replace to beep on auto wrap (Kenrick Drew)
- Faster (in theory anyway) file loading as a side effect of some bug fixes
- Improved help viewer welcome screen
- Updated QuickNotepad sample plugin for jEdit 4.0 API changes (John Gellene)
- 'Delete Line' now leaves the caret in the same column
- '~' in buffer and directory path names is now automatically expanded to the home directory
- Improved undo
- Pressing Tab while there is a selection will now only shift the line's leading indent if the selection spans more than one line
- If indent on tab is enabled, a line will only be indented if Tab is pressed inside the leading whitespace of that line. Indent on tab is now enabled by default
- Bundled set of macros slimmed down somewhat. You can find more macros at http://community.jedit.org (John Gellene)
- Text selection commands (Select Word, Select Line, and so on) are now multiple selection aware
Bug Fixes
- Fixed a memory leak with the search and replace dialog box
- Undo would be broken after a file was reloaded
- Fixed exception thrown if a buffer contained definitions for integer properties (tab size, maximum line length, ...)
- Changing the gutter font didn't update the gutter width
- Fixed broken scrolling behavior
- Some files would open with only one line visible
- MiscUtilities.compareStrings() would throw exceptions with strings that contained embedded numbers larger than 2^31
- Creating a new view or splitting the view didn't work
- Tool bar tooltips were broken
- With the Windows look and feel, file names were invisible in the file system browser
- In the help viewer, the top-level user's guide link was broken
- BufferChangeAdapter didn't properly implement BufferChangeListener interface (Maik Schreiber)
- GUIUtilities.loadToolButton() no longer throws an exception with invalid tool bar buttons
- It was not possible to bind an action to a non-alphanumeric key without any modifiers
- The file system browser's notion of the current directory is not changed until the directory is actually loaded successfully
- Some directories could not be deleted from the favorites
- It is no longer possible to add the same directory to the favorites twice
- File->Current Directory menu now shows 'No Files' if there are no files in the current directory
- Fixed a few bugs in the File System Browser->Colors option pane
- Compound edits were rather buggy
- 'Trailing EOL' setting did not work
- Fixed possible MacOS x keyboard problems (again...)
- Fixed a buffer corruption bug
- 'Select Fold' command threw an exception of there were no folds in the buffer
- Fixed a few bracket matching bugs
- Fixed cosmetic bug in search and replace code that was triggered by the Tags plugin
- Fixed minor repaint bug with multiple selections
API Changes
- New method in VFS class: _canonPath().
- VFS.DirectoryEntry constructor accepting a 'color' parameter removed. Instead, write a VFS.DirectoryEntry subclass that overrides the getColor() method
- MiscUtilities.constructPath(), .getFileName(), .getParentOfPath() methods are now VFS-aware
- Note that the behavior of correspondingly-named methods in the VFS class has changed in a suttle manner, and they should no longer be called directly. Use the MiscUtilities methods for all path manipulation.
- EditAction.getView() deprecated, call GUIUtilities.getView() instead