📄 changes.txt
字号:
- Added "Mark All" functionality to the find and replace dialogs. The color
used for "mark all" can be toggled in the Options dialog and is remembered
between RText sessions.
- Made find, replace, and replace all actions more memory efficient.
- Fixed a bug where an NPE was thrown if you tried to bring up the file
chooser, but its working directory was removed out from under it (1069094).
- Fixed a bug where if you saved a read-only file with a new filename, the
newly-created file was assumed to be read-only (even though it isn't)
(1069102).
- Fixed a bug where drag-and-drop FROM a text area in RText (not into) was
accidentally disabled in 0.8.9.2.
- Minor tweaks to the syntax highlighting code (made it more extendable,
etc.).
0.8.9.3 (11/06/2004):
---------------------
- RText now uses token styles (bold, italics) in word wrap mode!
- Added JavaScript syntax highlighting, both for *.js files and inside
"<script>"/"</script>" tag pairs when highlighting HTML. This is
configurable in the "File Filters" option panel.
- Enhanced Java syntax highlighting as follows:
- Javadoc metadata tags (@author, @version, etc.), are now highlighted.
- Annotations are highlighted (JDK 5.0 addition)
- Now colorizes Unicode char literals (e.g. '\u0003') as chars. Before
this release, such tokens were colored as errors.
- Added the ability to toggle viewing whitespace. This is remembered
between RText sessions.
- Added menu items/actions to block-indent the current line/all selected
lines (Alt+left arrow, Alt+right arrow).
- Added menu items under the Edit menu to make the current selection upper-
case, lower-case, or invert its case. These actions will be remembered
in macros.
- Added a "Macro" option panel in the Options dialog. From here you can
delete old macros you don't want/need anymore.
- Added a "File Chooser" option panel in the Options dialog. From here you
can fully configure the file chooser.
- Added an option in the Options dialog to enable "smooth fonts" (i.e.,
antialiasing). This option is remembered between RText sessions.
- Fixed a bug in macros where the actions cut, copy, paste, and delete
wouldn't be recorded in a macro.
- Modified the syntax-highlighting API to be more like that found in the
javax.swing.text package.
- Added a custom cursor for when macros are being recorded.
- Enhanced the "file-system aware" text fields found in the file dialog and
the find in files dialogs. You can now actually scroll their popup menus
via the mouse, and use page-up/down to scroll through them pages at a time.
- Made the "Text Area" option panel into two separate panels, "Text Area"
and "Syntax Highlighting". Note that some of the options in the "Syntax
Highlighting" panel may appear to belong in the "Text Area" one, but these
options panels actually reflect options for RTextArea and RSyntaxTextArea
respectively; thus, options for each text area are on their respective
panels. This unfortunately makes "Syntax Highlighting" an inaccurate
option panel title.
- Simplified the insert/overwrite caret code in RTextArea.
- Made the Options dialog default to taking up much less screen real estate.
- Fixed a bug where you could insert a time/datestamp or change some text's
case via menu options when editing a read-only document.
- Moved TimeDateAction from package org.fife.rtext to be a subclass in
org.fife.ui.rtextarea.RTextAreaEditorKit.
- Extended the default file associations to include *.pm files as Perl files
and *.manifest files as XML (for C#).
- Fixed up the Javadoc to build with no warnings.
- A few other small bug fixes.
0.8.9.2 (09/29/2004):
---------------------
- Added macro support. Recording a temporary macro stores it in memory, and
every time you execute a macro after that (Ctrl+Shift+M), the temporary
macro will play. If you record a non-temporary macro, you will be prompted
for a name for it after you finish recording it. It can then be accessed
via the Macros menu. Ctrl+Shift+M will always play back the last recorded/
played macro, regardless of whether it was temporary or not. The next
release should see a "Macro Manager" panel in the Options dialog, where you
will be able to remove/rename macros. While recording a macro, the cursor
currently changes to a crosshair cursor over text areas; a custom cursor
will come with the next release.
- Made the File chooser automatically detect the encoding of files. Now,
when you select a file, its encoding (one of ASCII, UTF-8, or one of the
16-bit Unicodes) will be selected as well.
- Added initial drag-and-drop support to the tabbed view. You can now
drag tabs across the tabbed pane to sort the documents opened in it.
- Made the Options dialog resizable and spiced it up a tad.
- Changed all "Color buttons" so they now present a popup menu when clicked
instaed of a JColorChooser. This popup has several common color "swatches"
to choose from, as well as a menu item to bring up the color chooser.
This feature should make it easier to change the various color properties
in RText.
- Made the status bar look Windows XP-ish, and made the Find in Files dialog
use an "official" StatusBar instead of its own homebrew version.
- Made the Help dialog into a JFrame so it can be minimized/put behind the
main RText window, etc.
- Improved undo/redo while in overwrite mode.
- Fixed a benign NullPointerException from occuring when switching the view
style from tabbed to any one of the others.
- Fixed bug: Case-insensitive languages such as HTML, Windows batch and SAS
were being case-sensitive in their keyword identification. This is fixed.
0.8.9.1 (09/07/2004):
---------------------
- Enhanced the About dialog to contain some system information.
- Made the Replace dialog's layout a little nicer.
- Added mnemonics to Font dialog.
- Made yet more preparations for macro support (still not there yet).
- Enhanced auto-indent intelligence.
- Made pressing the Home key first go to the first non-whitespace character
on the current line, then to the first position in the line (used to be the
other way around; this new behavior matches that of other programming
editors).
0.8.9.0 (09/01/2004):
---------------------
- Added "auto-indent" functionality to the text area. It simply remembers
the whitespace at the beginning of the previous line and applies it to the
new line when you press Enter. This is not yet configurable.
- Added a "Shortcuts" section to the Options dialog where you can change the
shortcuts (accelerators) associated with the various menu items.
- Small optimizations to the syntax highlighting code.
- Added the following key mappings:
- Ctrl+Delete - Deletes the text from the caret position to the end of the
current line.
- Made text area's input model more closely aligned with that of JTextArea.
- Fixed a bug in the XML syntax highlighting with multiline tags.
- Made the Print dialog contain the name of the file being printed as the
"Job name."
- Added more mnemonics here and there.
- Began laying the foundation for macros.
- Added "RText" 3D text to the About dialog and splash screen image.
0.8.8.9 (08/18/2004):
---------------------
- Deleting from the longest line in no-line-wrap mode did not
update the text area's horizontal scrollbar. This was fixed.
- Added XML syntax highlighting.
- RText now handles long lines better (it's a little smarter about clipping
when painting, and it shows up when scrolling a document with long lines).
- Fixed a bug in the background rendering code when the background was set to
an image that was introduced in 0.8.8.7.
- HTML syntax highlighting sometimes broke down in 0.8.8.7 due to
the expanded syntax highlighting styles; this should be fixed now.
- Updated "Save a Copy as Web Page" to include the new syntax styles (bold,
italic) in generated web pages.
- Fixed a focus bug when using the tabbed pane view with a 1.5 JRE.
- Made RTextAreas slightly more memory efficient.
- The "Window" menu visible in MDI view wasn't properly updated
when the user changed Look and Feels. This was fixed.
- Although it would never affect RText, a bug in the RTextArea API
was fixed where if the user right-clicked to bring up the popup
menu, but no icons had been assigned to the popup menu, an
exception was thrown and the popup wasn't shown. This was fixed,
so now an RTextArea can show the popup menu with no icons.
- FindInFilesDialog quietly threw an exception when the user double-
clicked in the match list if it was empty. Although it did no damage,
it still got fixed.
- Updated RTextFileChooser and FindInFilesDialog's constructors to
use SpringLayout in a couple of places, simplifying their initialization.
- Made the size grip friendlier toward *NIX systems that don't support
java.awt.Robot. You now don't get a dialog box with the "not supported"
error every time you start up RText.
0.8.8.8 (08/11/2004):
---------------------
- Changed all "file-system-aware" combo boxes into "file-system-aware"
text fields. These new components simplify the code a little, but more
importantly, they're a little more flexible for the user (i.e., you can now
select the only item in a one-item dropdown list).
- Moved FindInFilesDialog into the more-apt org.fife.ui.search. Now any
program can take advantage of the "find in files" features found in RText.
You interact with it via a new FindInFilesListener interface.
- Fixed a bug with file-system-aware combo boxes: they didn't draw their
borders in most Look-and-Feels.
- Fixed a bug in line numbering code that sometimes kept the line numbers
from being updated when the user inserted multiple lines.
- Line numbering was very goobered when word wrap was enabled in the
last release, thanks to my tweaking with the painting code. This should
be fixed now.
- Internationalized the Find in Files dialog (translations for English and
Spanish locales, just like the rest of RText).
- Added mnemonics to the Find in Files dialog.
0.8.8.7 (08/07/2004):
---------------------
- Added the ability to change the style of individual token types to
include bold and italic. This is a very nice feature that further extends
the ability to customize the view and makes the code easier to grasp
visually. This is currently only available when word wrap is off; when
word wrap is turned on, any individually-set token styles will be ignored.
- Updated the line numbering code to be more efficient.
- Added mnemonics to the various widgets on the Find and Replace dialogs.
0.8.8.6 (07/31/2004):
---------------------
- Did some refactoring so more of RText's widgets and tools were usable by
other applications.
- You can now set the background color of tokens, as well as the text
color.
- Fixed an intermittent bug where the caret wouldn't properly change to
reflect the text mode (insert vs. overwrite).
0.8.8.5 (07/19/2004):
---------------------
- RText now uses its own custom file chooser for opening/saving files.
I did this for several reasons, including:
- The new file chooser is more flexible than the standard Java one.
For all Look and Feels, it includes list, details, and icons views,
as well as a right-click popup menu allowing you to rename files,
delete files, create new directories, and more.
- It knows what files are open, and displays open files with an
underlined file name so you don't accidentally open the same file
twice.
- It recognizes file types RText can syntax-highlight, and color-
codes them so you can easily pick them out.
- I hate the Motif file chooser, and now I won't have to deal with
it when I use RText on UNIX hosts.
Soon there will be a panel in the Options dialog allowing you to
configure the file chooser.
- Added support for file encodings. RText can now open files with ANSI,
UTF-8, or Unicode encoding. This is handled through the new file
chooser.
- The source browser can now be made floatable in its own window, as well
as docked to one side of the main RText window.
- Fixed a bug where the source browser didn't always destroy the spawned
ctags process when an exception occured during its execution.
0.8.8.1 (06/22/2004):
---------------------
- Made source browser refresh its contents when the current file
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -