📄 changes.txt
字号:
1. Place the Look and Feel's jar file in directory <RText-root>/lnfs.
2. Open up the file <RText-root>/lnfs/lookandfeels.xml. Add the XML
necessary to have RText display your Look and Feel as an option
(an example is in lookandfeels.xml).
3. Restart RText. In the Format->Look & Feel menu, you should now see
the Look and Feel you added as an option!
Your third party Look and Feel will be remembered and used on subsequent
startups. If the Jar file is moved, RText will default to the JRE's
default look and feel.
- Added Japanese translation (thanks tomoM!).
- Updated Italian translation to have correct mnemonics.
- The time/date stamp action (F5) now inserts a localized time/date stamp.
Before it always used the format used by US Windows XP's Notepad.
- Fixed a bug where a silent exception would be thrown if you tried to print
when no print services were available.
- Made changes to the internal workings of localization.
- Upgraded to the new 1.0.2 Office Look and Feels jar.
0.9.0.6 (02/26/2005):
---------------------
- RText can now load/save text files in any encoding supported by your JVM.
Unicode files are still auto-detected (via checking for a BOM). This is
a wonderful improvement, as RText's old default encoding was US-ASCII,
which wouldn't properly save characters needing more than 7 bits. The new
default encoding is OS dependant (Cp1252 for Windows, ISO-8859-1 for UNIX).
- Gave the online Help a new title page, and improved the Help API a tad.
- Added Italian translation (thanks stepagweb!).
- Updated the Spanish translation (thanks daloporhecho!).
0.9.0.3 (02/22/2005):
---------------------
- Added SQL syntax highlighting.
- Added Indonesian translation (thanks Andi!), although you cannot
actually use it as Sun's JRE doesn't support Indonesian.
- Added the beginnings of the Simplified Chinese translation (thanks
Ming!).
- Added Dutch translation (thanks Martin!).
- Made it easy to configure what languages are displayed as selectable in
the "Language" panel of the Options dialog. This is now done via an
XML file. This makes it easier for people translating RText into new
languages to test their localizations before submitting them.
- Isolated a bug in the Windows 1.4.2_06 JRE that made RText's custom
file chooser not instantiate; this further caused the Options dialog to not
be viewable. This behavior was not seen in J2SE 1.5.0 Update 1. In any
case, a workaround is now in place.
- Fixed bug: When the Java icon set was enabled, trying to bring up the
Help dialog threw Exceptions that kept it from coming up.
- Fixed bug: Opening a file when word wrap was enabled caused RText to
hang!
- Fixed a couple of bugs in the OfficeXP and Office2003 Look and Feels that
didn't show themselves in RText, but may have in the future.
- The Help dialog API now supports hyperlinks containing anchors.
0.9.0.0 (02/07/2005):
---------------------
- RText is now translated into German! You can change the language from the
Options dialog. Thanks to Pete Maier for maintaining this translation!
- Made some changes to the source tree structure to allow for easier
translation into other languages. Note that many other languages are also
now in the "Language" list in the Options dialog; these are works in
progress, and will be functional in the next release.
- Simplified some options parsing. As a side effect of this, if you are
upgrading from a previous verision of RText, the first time you start
version 0.9.0.0, you'll likely receive a message about an Exception being
thrown while loading options, and you may lose your preferences. This will
only happen the first time you start 0.9.0.0.
- Cleaned up the Print Preview dialog's code.
0.8.9.9 (01/24/2005):
---------------------
- Fixed Defect 872764 that was preventing background images from being
usable on UNIX/Linux.
- Updated the QuickSearch bar so that it's more user-friendly: added
icons to the "Find Next" and "Find Previous" buttons, made the search
field select all of its text when it gains focus, and added a button
directly on it to "hide" it.
- Made XML syntax highlighting more efficient, and it also now recognizes
CDATA sections and highlights them appropriately.
- "virtual" wasn't being highlighted as a reserved word in C++ files. This
is fixed (bug 1108576).
- Fixed a bug where, if a file was reloaded from disk because it was
modified out from under your RText session, that file's encoding was set
to a value RText couldn't understand, preventing you from being able to
save the document unless you manually fixed the encoding in the
"Document Properties" dialog (1108573).
- Changed mouse-clicking behavior in the text area such that if you
repeatedly click, every click after 3 alternates between selecting the
current word and selecting the current line, to mimic Windows text
components.
- Made the OfficeXP Look and Feel a little more memory-efficient.
0.8.9.8 (01/17/2005):
---------------------
- Added "code templates" (abbreviations). This is a way to quickly
insert text you frequently use while coding. Whenever you type a
space, if the previous token matches one of the template "abbreviations,"
the value of the template is inserted into the document. Common templates
for C# and Java come standard; you can also add your own via the Options
dialog.
- Added a "QuickSearch toolbar" that can be toggle via the View menu.
When visible, this toolbar is activated either by clicking in its search
field or via Ctrl+F (or whatever shortcut you've defined for the "Find"
action). Simply type the text to search for; pressing Enter searches
forward, Ctrl+Enter searches backward, and Escape places the caret back
into the current text area.
- C# syntax highlighting mistakenly highlighted "boolean" instead of "bool"
as a data type; this is corrected.
- Updated the Windows starter executable to add "-Dswing.aatext=true" to
the command line; this should make the UI in general have better-looking
fonts if you're using Sun's 5.0 JVM or greater.
- Removed some unnecessary dependencies between various packages so
more parts of RText can be used in other applications easily.
- A tad more work on the plugin system.
0.8.9.7 (01/05/2005):
---------------------
- The caret used by the text areas now no longer derives form DefaultCaret.
It can now be configured to be a vertical line, an underline, a block or a
rectangle for both insert and overwrite modes, and its blink rate can be
configured, via the Text Area panel in the Options dialog. Also, the new
caret allowed us to fix the minor "bug" where switching between insert and
overwrite modes while the caret was "blinked out" didn't make the caret
immediately become visible, as it should.
- A middle-mouse button click on Windows now performs a "paste." UNIX
variants and other systems that support a system selection still behave as
they used to.
- Redid the Online Help documentation. It's now much more up-to-date,
and the Help API has been made much simpler. Help structure is no longer
hard-coded into an application; rather, it is specified in an XML file.
- Added the very beginning of a simple plugin system. Note that "plugin"
doesn't necessarily mean "anyone can extend RText;" rather, it means
"it becomes easier for an RText developer to extend RText." But, it's
a start.
- Various minor updates to the code.
0.8.9.6 (12/14/2004):
---------------------
- Added x86 assembler syntax highlighting.
- Added a new "Document Properties" option in the View menu. This item
brings up a dialog with summary statistics for the file (line and character
count, file size, date modified, etc.). From this dialog you can also
change the file's encoding and line terminator (CR, LF, or CR/LF). This
feature can be handy, for example, when saving a file to a UNIX file system
from a Windows terminal (you won't get all of those nasty ^M's ;-) ).
- Added a new shortcut: Ctrl+J now joins the current line with the next one.
This action is also found in the Edit menu.
- Made the "current working directory" (i.e., the directory in which all
"Untitled.txt" files are placed) configurable. This option is found under
a new Option dialog panel titled "General". This property is remembered
between RText sessions.
- You can now toggle whether the file chooser's auto-complete list pops up
while you are typing a filename into it. You can toggle this property from
the File Chooser option panel in the Options dialog. This property was
added because Java's file I/O operations tend to be slow over networks, and
I didn't want this nice feature to be a bottleneck in those situations.
- Decreased memory footprint by being a little bit smarter about what
resource bundles I load when.
- Fixed a bug in C, C++, Java, and C# syntax highlighting where strings with
multiple escaped double-quote characters weren't colorized correctly.
- Fixed a bug where opening a file from the File History in the File menu
made the assumption that the file was ASCII. RText now attempts to read
a BOM at the beginning of a file before opening it this way; if one is
found, it is opened as the proper Unicode encoding; otherwise, ASCII is
used.
- Fixed a bug that prevented shortcuts from being configurable in the Options
dialog (pressing "Apply" simply didn't do anything because a
NullPointerException was thrown).
0.8.9.5 (12/04/2004):
---------------------
- You can now use different fonts for each individual token type!
Although I find doing it distracting, others may like it. As a side-
effect, the "Font" menu item in the Format menu has been removed; the
font used for plain text files is configurable in the Syntax Highlighting
option panel under "Plain Text/Identifier".
- Added the ability to make the edges of selections rounded. This is
configurable from the Options dialog.
- A couple of minor fixes to some syntax highlighting lexers.
- Fixed a bug where if you opened the same file twice (i.e., had
"file.txt (1)" and "file.txt (2)"), and did a "Save As..." to save one of
them with a new filename, the number for the other document(s) weren't
changed/removed.
- Fixed a bug in RTextArea's replaceRange() method that made certain text
insertions require two undos to completely "undo."
- Fixed a big bug that prevented the caret from being repositioned properly
sometimes when word wrap was enabled.
- Fixed a bug that made the combo boxes in the Find and Replace dialogs too
wide if you entered a string into them longer than their preferred width.
- You can now change the status bar's style in the Options dialog. The
current choices are "Windows 98-style" and "Windows XP-style." This
property is remembered between sessions.
0.8.9.4 (11/19/2004):
---------------------
- Redid the syntax highlighting code for C, C++, Java, and C#. These
syntax styles are now over 33% faster, and are more intelligent. Some
changes in their behavior include:
- Java: Redone to completely follow the language specification in
"The Java Language Reference" (O'Reilly, Mark Grand, 1997).
- Identifiers can now have unicode escapes (e.g. "\u003D") in them
and not be colored as errors.
- All char literals are correctly identified as well-formed or
errors (including valid escape sequences, octal chars ('\377'),
and Unicode escapes ('\u54F7')).
- String literals are now colored as invalid if they contain
invalid escape sequences (such as "foo\899bar").
- HTML tags in Javadoc comments are now recognized as such and
highlighted.
- C/C++:
- Strings and char literals recognize trigraphs, simple escapes,
octal escapes and hex escapes. They will be painted as invalid
tokens if an invalid escape is contained in them.
- C#: Redone to completely follow the language specification found at:
http://msdn.microsoft.com/library/default.asp?url=
/library/en-us/csspec/html/vclrfcsharpspec_C.asp
- Strings and char literals recognize simple escapes, hexadecimal
escapes and unicode escapes. They will be painted as invalid
tokens if an invalid escape is contained in them.
- Verbatim strings are recognized and painted correctly.
- Documentation comments "/// <...>" are identified and painted
as such. HTML tags inside of them (such as "<summary>") are
highlighted as well.
These enhancements were made possibly by JFlex (http://www.jflex.de).
Thanks also go out to http://www.ostermiller.org/syntax for many ideas,
inspiration, and test cases.
- Made line numbering code more efficient. There should be a slight
performance boost because of this.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -