SUPPORT : BBEdit : Archived Release Notes : BBEdit 6.0.1 Release Notes
This page documents all feature enhancements and bug fixes included in the BBEdit 6.0.1 maintenance update.
Additions
-
A new checkbox in the FTP Settings preference panel allows you to determine whether BBEdit stores FTP server passwords in the Mac OS 9 Keychain,or whether they are stored in plain text in the bookmarks file.
Note: BBEdit is not a security program. If you choose not to use the Keychain, your stored FTP server passwords can be easily obtained by anyone with access to your computer. If security is important to you, and you do not run a version of the Mac OS which includes the Keychain, we suggest you consider using PGP, or an application such as Web Confidential.
-
Effected significant performance improvements to the link checker, particularly in large documents with lots of internal anchors, involving both intra- and inter-document links.
-
When autoscrolling horizontally as the result of drag-selection, BBEdit now imposes a small delay between scroll steps; this makes it easier to drag-select short distances beyond the left or right edge of the window, without it shooting off into infinity.
-
The window path popup (Mac OS 8.5 and later) for editing windows corresponding to files opened via BBEdit's built-in FTP tool now displays the file's path on the FTP server, rather than the local path to the temp file. Choosing one of the items from the popup will send an appropriately-constructed FTP URL to the FTP helper application specified in your Internet control panel.
-
A new check box has been added to the "Text Coloring" preferences: "Color Attributes Separately". When selected (which is the factory default), BBEdit will continue to behave as of the 6.0 release, and attribute names and values are colored with the specified colors. When turned off, attribute names and values will be given the same color as the enclosing tag, as in BBEdit 5.x.
-
Dragging the window proxy (Mac OS 8.5 and later) from an editing window corresponding to a file opened via the built-in FTP tool will now drag that file's URL, rather than a representation of the local temp file. (This is generally more useful.)
To control whether the dragged URL includes the FTP account password, see the "Include Passwords in Proxy URL Drags" switch in the FTP preferences. By default this is turned off so that you don't create clippings and such with passwords saved in them; if you allow passwords to be included in the dragged URL, be sure you understand the potential security implications. (See the note above regarding clear-text passwords.)
-
Text views will now show the drag copy/addition cursor for all drags which will result in text being inserted or copied (rather than moved).
-
Added "Quicktime Playback" switch to the "Application" preferences. This setting controls whether BBEdit opens QuickTime movies for playback in a movie window, or whether it ignores the fact that they are movies and just opens them as text data in an editing window.
If this check box is turned on (the factory default), BBEdit will behave as in the 6.0 release, and open QuickTime movies for playback. If it is turned off, BBEdit will behave as in pre-6.0 releases, and open the file's contents as raw data in an editing window.
Changes to this preference take effect immediately; you do not need to quit and re-launch the application after changing this setting.
-
Added a "Convert..." button to the "FTP Settings" preferences. When you click this button, BBEdit will ask you to choose a BBEdit 5.x (5.0 or 5.1) preferences file; if one is in the Preferences folder of your active system, BBEdit will automatically select that directory. After choosing a file, BBEdit will read in the FTP bookmarks from the 5.x preferences file, add them to your current bookmark list, and re-sort the list.
If the file you choose isn't a BBEdit 5.x preferences file, BBEdit will present an alert to that effect. (If you receive this message for a file that you know is a 5.x preferences file, then the old preferences file may be damaged.)
-
Some people were complaining that BBEdit 6.0 was slower than 5.x, on the basis that horizontal scrolling across a document's width took longer. The absolute scrolling performance was in fact the same, but 6.0 used a smaller scroll quantum than previous versions, and the system's scroll throttle got in the way.
In 6.0.1, the horizontal scroll quantum is computed in terms of the window's display font and size; for the factory default Roman font of Monaco-9, this will work out to something closely approximating previous versions. For larger font sizes, the horizontal scroll quantum will increase proportional to the font size.
As always, you can use the scroll speedup modifiers (Command and/or Option) to scroll by multiple quanta.
Fixes
-
the last-used switches for Wrap Around, Reverse, Case Sensitive, and Match Words now take effect for searches performed from the UI without ever bringing up the Find dialog (i.e. commands on the "Search" menu).
-
fixed bug with Undo states getting scrambled when typing Roman text too quickly for the Japanese input method to handle.
-
the following script:
delete line 1 of window 1will now delete the trailing carriage return at the end of the line.
-
progress is now displayed during file searches by name (Cmd-D, Cmd-Tab).
-
made changes to work around network file system overhead when working with documents opened from remote disks. For files on LAN file servers, this was generally not noticeable, but for files shared from slow servers or slow links (like an iDisk), it could cause noticeable lag while typing.
-
fixed bug in which the link checker would sometimes fail to report errors that occurred at certain points in the process (usually out-of-memory).
-
fixed bug in which floating windows that were open would not be reopened at application startup if the application was quit while in the background.
-
fixed bug which was causing the watch cursor to be set unnecessarily in some situations.
-
cleaned up a cursor tracking buglet in the Find dialog.
-
If you attempt to use factory-supplied plug-ins from a previous BBEdit (or Mailsmith) release, BBEdit will detect them when starting up, not load them, and warn you. (The manual specifically advises against using factory plug-ins from old versions of BBEdit).
-
In order to avoid suspected bugs in Adobe Type Reunion (ATR), BBEdit 6.0 explicitly suppresses the operation of ATR within BBEdit. Thus, the various font menus in BBEdit will not be organized hierarchically by font family.
-
Added 'and' and 'or' to the list of keywords that are looked for preceding a '/' to decide whether the '/' is an arithmetic operator or a string delimiter. This allows you to write expressions like:
if (/foo/ or /bar/) ... -
Editing something that wasn't the end of a Perl string but would become one, the syntax coloring wasn't picking up on that.
-
Changed the Perl function scanner to recognize subroutine prototypes (previously, it would just continue scanning until it saw the next '{' in the file).
-
In the Perl syntax coloring scanner, added 'grep' to the list of keywords that are looked for preceding a '/' to decide whether the '/' is an arithmetic operator or a string delimiter.
-
Fixed a bug where if the application was in the background as it was being quit open floaters (which were then invisible) weren't remembered.
-
Made a tweak to the clipboard manager to fix the DragThing interaction issue (where the clipboard contents get stale).
-
fixed a bug which prevented drags from Eudora from working.
-
fixed bug in which the print settings were not being saved and restored properly with the document state (when the document was saved with BBEdit state).
-
fixed incorrect selection behavior involving cmd-shift-right-arrow in some situations.
-
confirming the Page Setup dialog will now mark the document's state dirty, if the document is saved with BBEdit state.
-
the following script now works correctly, instead of reporting an error (as long as the file actually exists):
tell app "BBEdit 6.0"
set f to { some file path }
open alias f
end tell
-
when arranging windows in a single column, the "Maximum Width" setting is now honored, rather than making the windows the entire width of the screen.
-
when loading up the Find dialog, control characters are now "decompiled" into their escape sequences when Grep is turned on.
-
Fixed the "bug" where if you changed the html prefs thru scripting and the app was in the background, or the prefs window wasn't frontmost the display didn't update right away.
-
Fixed a minor bug in the HTML prefs scripting interface where if you didn't specify the source format profile in the prefs record when setting you got an error.
-
Dreamweaver integration fix: when opening a file that is already open in Dreamweaver, BBEdit will now mark the file "dirty" if it has unsaved changes in Dreamweaver.
-
Dreamweaver integration fix: when opening a file that is already open in Dreamweaver, BBEdit will select the same range of text that is selected in the Dreamweaver editing window.
-
fixed memory leak when exploding a file group into a list of files (usually during multi-file search and/or replace).
-
passwords used for internally-generated FTP URLs are now encoded to protect against URL-unsafe characters in the password.
-
fixed bug in which FTP account passwords weren't being properly updated in the keychain. This would usually occur if you changed your account password on the server and then logged in from the FTP dialog; the new password would not be saved in the Keychain.
-
the FTP tool will now handle "257" current-directory responses from servers that enclose the path in single quotes (in violation of the RFC).
-
the scripting command:
properties of { some list of objects }now returns a list of records, each of which contains all of the properties of each object. This is more useful than the previous behavior. So, you can now write:
properties of (every line of window 1)or
properties of every document -
We only change the keyboard script automatically when a font change also implies a script change. This avoids the problem of changing the keyboard out from under the user when they were using a US keyboard in a Japanese document and changed the display font from one Japanese font to the other.
-
the "PostMenuSelect" script handler for attached menu scripts is now run only if the menu script returns "false" and have the application run the app menu item. This is now consistent with the documentation.
-
BBEdit will now only attempt to use the Appearance Manager if you have an the Appearance Manager extension installed *and* and your system is 8.0 or higher. This prevents us from trying to use half implemented APIs on older systems when someone insists on back installing the appearance manager there.
-
Most script editors' "compiled script" format is really a script object with a context so that all top level statements get wrapped in an implicit run handler. Scripter deviates from this convention, and its "compiled script" format lacks this context. BBEdit's internal script runner handles this now, and can run both Scripter "compiled" scripts as well as the canonical "compiled script" format (which in Scripter's nomenclature is referred to as "library compatible").
-
fixed nonfunctional Export menu in the Perl Tools floater.
-
fixed broken dynamic-item modifiers on the MacPerl Export submenu.
-
when displaying file paths in the "Find Differences" dialog or differences results, BBEdit will now show the FTP path for files opened with the built-in FTP tool, rather than the path to the temp file.
-
the behavior of folder aliases in the BBEdit Support "Startup Items" folder is now as described in the manual. :-)
-
moving items around inside of a file group window will now mark it dirty, so that you are prompted to save the changes when closing it.
-
When checking for changed directories, such as the glossary, scripts, Perl filters, etc., BBEdit will no longer check any more often than once per second.
-
Fixed a bug which would sometimes cause Mercutio menus to use the system font, 9 point, when they should have used Geneva 9 point.
-
fixed meltdown which would occur in file group windows when trying to drag an item into one of its own children.
-
the JavaScript function scanner now handles single-quoted strings, with the desirable end result that it's no longer confused by strings containing unbalanced double quotes.
-
it turns out that the networking code used by the internal FTP tool was caching the machine's IP address; this caused problems when switching TCP/IP configurations (either manually or as the result of a location switch). The IP address is no longer cached, so TCP/IP configuration changes should no longer cause connection errors with the built-in FTP tool.
-
the Perl function scanner now handles prototyped subs correctly.
-
scrollbar clicks in results lists will no longer cause the text view to try to reload the file.
-
when a file is opened via FTP, the path popup is now removed from the window's status bar, just like BBEdit 5.x.
-
fixed -110 when trying to use "Copy URL" in browser windows.
-
Fixed a bug in the results browser where selecting a line based error in a soft wrapped browser would sometimes result in one character too many being selected.
-
Fixed the reporting of multi-file replace so that the insertion point is placed at the top of the file when you display the result or open the result file.
-
BBEdit now uses some intelligence to set the Standard File/Nav Services directory when choosing files to compare in the Find Differences dialog.
-
fixed AppleEvent deadly embrace when receiving a reload event from Dreamweaver.
-
fixed bug in which doing a multi-file Replace All would not release the memory used for files' text if files were not being left open.
-
Copy, Copy & Append now work to copy differences to the clipboard. Note that in a multi-file differences windows, the differences list needs to be "in focus", i.e. highlighted.
-
when using Open Selection or the function popup in an HTML document, BBEdit will now use the same rules to locate the include file as the site updater.
-
if "Auto-Connect" is selected in the FTP dialog, and the keychain is locked, BBEdit will now allow the Keychain Manager to unlock the keychain, rather than skipping the password (which would result in an FTP authentication error).
-
BBEdit will now re-load the "FTP Bookmarks" file whenever it brings up the FTP dialog, so that if you have edited *and saved* the bookmark file since the last time the dialog came up, you won't have to cycle the application.
-
if you aren't running a version of Mac OS that supports the Keychain, -or- you have turned off "Remember Bookmark Passwords" in the FTP Settings preferences, BBEdit will go out of its way to not delete any existing passwords from the FTP bookmarks file. Thus, if you choose to hand-edit it to store your FTP passwords with the bookmarks (and are prepared to accept the reality of the passwords not being stored securely), you can now do so without the application getting in your way.
-
Language mappings and keywords for Tcl have been restored to the factory defaults.
-
language keyword lookups now work correctly in Unicode documents.
-
fixed bug in which dragging text into the text view pane of a disk browser window would cause a "21987" error to be reported.
-
fixed terminology conflict that prevented "first line" from working correctly ("line 1" was an acceptable workaround).
-
worked around Internet Config and desktop database performance bottlenecks when "Show Document Icons" is turned on for the FTP dialog and mapping names and obtaining icons for list display.
-
When using the "Arrange" dialog to stack windows, the windows would always be arranged on the main screen, regardless of whether you chose "Largest Screen" or "Smallest Screen". The windows now stack onto the alternative screens if they are other than the main screen.
-
the "Arrange..." dialog now always appears on the main screen, rather than on the screen of the front window.
-
fixed bug which hindered changing of FTP bookmarks in the FTP Settings preference panel.
-
dragging files from BBEdit file groups to other applications should now work correctly.
-
modifiers for text drops are now honored as of when the mouse is released, not as of when the drag was initiated.
-
fixed excessive flickering which would occur when expanding nodes in a hierarchical list.
-
fixed bug in which dragging text to the trash wasn't undoable and would hose the Undo stack.
-
fixed crash which would occur if the following steps were taken:
Launch the app. Open the extension list. Quit the app. Delete all of your plug-ins. Launch the app.
-
fixed bug in the plug-in module interface which caused CometPage to crash.
-
put in code to guard against situations in which the OS appears to eat an application-resume event.
-
worked around bug in the Appearance Manager which would cause some hierarchical submenus to be invisible when running on old versions of the OS with the Appearance Manager post-installed.
-
Fixed a bug in the glossary where the insertion point (or selection) was not guaranteed to be visible after the insertion.
-
fixed bug in the Charset tool in which it was always making case-sensitive comparisons for "head" and "meta".
-
fixed incorrect progress-bar height in non-Appearance progress dialogs.
-
Fixed a bug where the multi-file replace dialog was coming up on the front window's screen rather than the main screen (as it should).
-
xmlns is now a considered a required attribute for the html root element in XHTML documents.
-
The new document tool now inserts the xmlns attribute for the html element when generating an XHTML template.
-
#language# is replaced with [space]lang="en" in an HTML document, and [space]xml:lang="en"[space]lang="en" in an XHTML document. You can continue to use it as is, and you will get the proper xml:lang in XHTML templates.
-
Fixed a bug in the Projector tools in which cancelling the resolution of the project alias (by cancelling an AppleShare or Keychain authentication dialog) would nuke the alias and require you to respecify the project directory.
-
Fixed the ordering of the prefs panes so that FTP Settings comes before Function Popup.
-
Fixed a bug in file groups in which hitting the Delete key with nothing selected would cause the list to flicker.
-
Fixed a bug in text views in which deleting or cutting wouldn't update the cursor position display.
-
fixed bug which prevented plug-ins created by the old Custom Markup plug-in from working.
-
Fixed a bug in the Translate dialog in which the "Ignore Angle Brackets" setting wasn't being remembered between invocations.
-
fixed bug in which the MDEF would get confused and display garbled menus when BBEdit was launched by Netscape.
-
The class of the preferences window is now preferences_window to distinguish it from the application property and to avoid associated terminology conflicts. To see if the front window is the preferences window, the following script should be used:
tell application "BBEdit 6.0"
if class of window 1 is preferences_window then
display dialog "golly gee"
end if
end tell
-
Fixed a bug in the language tables where <BUTTON> was marked as not allowing text as content.
-
Fixed a bug in the XML 1.0 Strict language table where it was allowing character data in the content body where it shouldn't have.
-
fixed crash which would occur when closing a document object via the scripting interface.
-
requesting (via AppleScript) every word or line of a text object will now return a list of object specifiers for each word or line, rather than an object specifier for the internal object.
-
BBEdit never decoded file paths for saved FTP bookmark URLs; thus, when trying to connect using a URL-encoded path, the server would fail to find the directory. BBEdit now decodes paths, so this should now work correctly.
-
fixed crash which would occur sometimes when doing a multi-file Replace All and leaving one or more documents open.
-
fixed pathological memory usage when opening UTF-8 files.
-
the Perl function scanner has been rewritten, to the effect that it should be much more likely to correctly detect function starts and blocks.
-
in the process of reworking the Perl language module, the following improvements were made to Perl syntax coloring:
-
Strings quoted by bracket characters (e.g., {foo}) are allowed to contain nested occurrences of the same bracket characters. This was something the function scanner had previously gotten right most of the time. Now the color scanner does too.
-
&'foo is a deprecated form of &::foo still heavily used in some Perl source files.
-
$#foo is used to denote the length of an array named $foo. It now gets this right (it wasn't mistakenly seeing the '#' as a comment, but a variable name that looked like a keyword but wasn't (e.g. $#y) had the potential to cause problems).
-
the requirement that __END__ and __DATA__ start at the beginning of a line and be followed by whitespace has been relaxed somewhat; the scanner now handles the case when either of these is followed by a comment.
-
If an occurrence of 'q', 'm', 's', etc., appears at the end of a line with a HERE-DOC tag, the scanner no longer chases beyond the end of the line looking for a quote char. The HERE-DOC begins on the next line no matter what.
-
The '\r' that ends a comment is no longer considered part of the comment.
-
-
a function scan is now forced whenever the document's contents are changed wholesale, as after a Revert, file reload, or bbxtContentsChanged() callback from a plug-in.
-
the function-position display is now updated as necessary while typing, not just when the selection range changes.
-
fixed bug in the JavaScript scanner when there is whitespace between the function name and the argument lists's opening parenthesis.
-
fixed bug in which the scroll speedup modifiers were (incorrectly) being honored while dragging the scrollbar thumb.