SUPPORT : BBEdit : Archived Release Notes : BBEdit 6.0.2 Release Notes
This page documents all feature enhancements and bug fixes included in the BBEdit 6.0.2 maintenance update.
Additions
-
Added support for CHTML (compact HTML used by i-Mode cellular phones).
-
added ".cfm" to the factory default suffix mappings, mapped to HTML.
-
The entities floater is now sortable. You can sort by decimal value, by name (when sorting by name, character case is ignored, so that entities such as "é" and "É" are together), or by character (ignoring diacriticals so that all of the "A" entities are together, for example).
-
Cancel Check Out/Modify Read Only will now pull the revision you are cancelling rather than the most recent revision. (This means you have a better chance of still being able to build the software if someone checked in underneath your MRO. You'll have to use Get Revision or Check Out Folder to make sure you have the latest. With this modified behavior a cancel is just that.)
-
Get Revision will now work on checked out and MRO'd files. You'll get a confirmation first that you want to discard your changes. This implies a cancel checkout/mro before fetching the desired revision.
-
Double clicking on a revision in the Get Revision dialog will simulate the OK button.
-
The keyboard works for list navigation in the Get Revision dialog.
-
Added a new verb to the "Projector Scripting" suite:
check out project folder aliasThis verb will check out the specified local folder, using the last-specified options from the "Check Out Folder..." dialog. So, for example, you can now batch multiple folder checkouts with a single script, by writing:
tell application "BBEdit 6.0" with timeout of (60 * 10) seconds check out project folder "Bare Bones Source: ¬ Projects:BBEdit:" check out project folder "Bare Bones Source: ¬ Shared Libs:" check out project folder "Bare Bones Source: ¬ SDKs:BBLM Interfaces:" check out project folder "Bare Bones Source: ¬ SDKs:BBXT Interfaces:" end timeout end tell
-
There is a new switch in the "Text Editing" preferences: "Allow Single-Click Line Selection". When this switch is turned on, you can click in the left margin of an editing view to select an entire line. (The cursor will change to a reversed arrow to indicate this.) Click-and-drag will select a range of entire lines. Double-clicking will perform a Select Paragraph at the location you double-click, and you can double-click-and-drag to select a range of paragraphs. When this switch is turned off, clicking in the left margin of an editing view will place the insertion point at the beginning of the line you clicked on. (Note that the line number bar is not part of the left margin.)
-
The "case sensitive" parameter for compare options in the "compare" event is now assumed to be 'true' if it is not supplied in the compare options.
-
When locating a file by name (as from an Open Selection, choosing an include file from the function popup, or using Command-Tab), BBEdit now uses improved search logic to find the desired file(s) more quickly and accurately.
-
When locating a file by name, if the CodeWarrior IDE is running and a project is open, BBEdit will ask the IDE for the search paths to the current project's current target, and use those search paths to locate the file, if necessary.
-
When closing a file group window, BBEdit will now write out the state if the state has been modified (e.g. by moving the window, or by twisting disclosure triangles).
-
When opening a file group converted from BBEdit 5.x format, BBEdit will mark the document dirty and display an alert advising of the conversion.
-
You can now specify whether differences windows are arranged left-to-right, or top-to-bottom. (Previous versions of BBEdit only arranged differences windows left-to-right.) The "Arrange Windows:" switches in the "Differences" preferences control this.
-
A new "Keep Windows Arranged" switch provides control over whether BBEdit re-arranges the windows being compared whenever you click on a difference.
-
BBEdit now uses the new CodeWarrior IDE icon in the menubar.
-
added "Open Log File" command to the Projector menu. This command opens the "SourceServer.log" file, or brings it to the front if it is already open.
-
in the "Check Out Folder..." dialog, replaced the "Other" button with a Recent Folder menu.
-
when doing an Open Selection or Open File by Name, BBEdit will now search your Templates and Includes directory, followed by the site root, if they are defined in your "HTML Web Site" preferences.
-
Items in file groups will now display the Projector status of the individual file just to the left of the file's icon.
-
Cancel Checkout for the front doc will now toggle its name between "Cancel Check Out" and "Cancel Modify Read Only" as appropriate based on the front document to make more clear whta the menu item does.
-
"Cancel Check Out..." has been renamed to "Cancel Check Out/MRO..." to make clear what it will do.
Fixes
-
Educate Quotes will now only educate the selection if there is one; moreover, the 'selection only' parameter is now properly honored when scripting. (If present and TRUE, then only the selection is processed. If absent or FALSE, then the entire document is processed.)
-
file filtering now works for non-batch multi-file searches.
-
fixed bug in which doing an "Open All Matches" would sometimes cause subsequent menu-key activity to crash.
-
fixed memory leak that would occur when setting the "properties" property of an object via the Apple Event interface (which was also used on a factored basis in some situations).
-
BBEdit's scripting engine now handles the relative operators "<", "<=", ">=", and ">" for most cases, and correctly hands things off to the OS when it can't. Thus, the following script:
tell application "BBEdit 6.0" set numberOfLines to the number of lines in text window 1 repeat with i from 1 to numberOfLines if length of line i of text window 1 > 1 then beep end if end repeat end tell
-
fixed bug in which opening a recent FTP file (from the Open Recent menu) would flurb the password stored in the keychain.
-
fixed bug in which Replace All would (incorrectly) determine the script of the replace string by examining the search string.
-
BBEdit now saves the document state when writing out the document contents, so that selection changes coincident with content changes aren't lost.
-
Fixed a bug where the HTML function scanner wasn't forcing the use of XML parsing rules. This corrects a bug which would cause PHP functions to be missed in some situations.
-
fixed bug in which the Java scanner would get confused if a closing brace immediately followed a quoted string or a comment.
-
duplicate language/suffix pairs are now weeded out when loading language module suffix mappings.
-
when checking for Glossary changes, BBEdit will no longer rescan the glossary folder unless the disk's modification date is newer than the modification date of the most-recently-modified glossary folder *and* there are no pending clicks or keystrokes.
-
made a change to the editor behavior so that Clear on the numeric keyboard now behaves as the "Clear" menu item, consistent with BBEdit 5.x. This resolves problems which would arise if the user modified their keyboard mapping in order to map Clear on the numeric keypad to Forward-Delete.
-
the path display and "Copy Path" in the Get Info dialog are now correct when used for documents opened via FTP.
-
made a change to the HTML color scanner so that if it encounters a close bracket while processing a comment, it's less likely to become confused and miss the end of the comment. (This is helpful when looking at code which contains malformed comments, such as Cold Fusion code which uses the incorrect but vaguely SGML-like form of <!--- --->.)
-
Fixed bug which caused the disk icons in custom get-file dialogs to be drawn incorrectly on Mac OS 8.1.
-
Fixed a bug in Get Revision where the CKID was potentially stale so it didn't offer to cancel checked out or MRO'd files before pulling the new revision.
-
When doing a Get Revision the currently checked out revision is the item that gets selected in the list rather than the most recent (so you can more easily see which revision you already have).
-
Fixed a bug where the revision list wasn't truncating long revision names and instead drawing off the right hand-side of the list.
-
fixed bug in the scripting framework which prevented things like:
name of window of document 1from working.
-
when using the "Add..." button to add a new suffix, the "Add" button is still disabled if the suffix is already in the list, but no longer changes to "Change".
-
fixed bug which prevented Find Differences from being accurate when "[Ignore] Trailing [Spaces]" was turned on.
-
when choosing the server name (the item at the end of the window path popup in FTP files), the URL now points to the file system root on the machine, rather than the login point.
-
TT was missing from the list of allowable elements in DD in the HTML 3.2 table. Fixed.
-
Fixed the script tool to use the correct comment delimiters for the trailing HTML comment based on the language of the script.
-
A previous bug fix for PHP syntax coloring related to $<variable>, now works for PHP embedded in HTML.
-
when doing a "Cancel Check Out..." and manually choosing a file that happened to be opened, the open document would not properly be synchronized with the version on disk.
-
when unlocking a document that is read-only because it was opened with "Open Read-Only" turned on, confirmation is now provided rather than just making the document writeable.
-
fixed broken "make new text document"; it now works correctly, and it and its sibling "make new document" now both return a document object, rather than a window object.
-
when cancelling a Replace All, the user-canceled error is no longer swallowed, so that any batch process that depended on the operation will know to abort.
-
made a change to reduce the amount of alias resolving by the Recent Files and Recent Folders menus. This should translate to less time being spent bringing up the Find dialog (and other dialogs that use the various recent-items menus).
-
fixed bug that would manifest in the Recent Folders popup if there were favorites but no recent items.
-
fixed bug in which command-right-arrow would move to the beginning of the following line in some circumstances.
-
the startColumn and endColumn properties of a text object now account for tabs in the scripting interface (consistent with 5.x and the cursor display).
-
BBEdit now handles the case of a file having both a file system lock and a read-only CKID. The first clear clears the file system lock but retains the CKID lock (previously this was lost and you were allowed to edit a read-only file).
-
the "Scripts List" menu item is now disabled if there is no "Scripts" folder in the "BBEdit Support" folder.
-
Fixed a bug in the spell checker dialog where if the word was at the end of a very long line it wouldn't be visible in the spell checker context.
-
the TeX language support is now provided in the form of a language module, the source code to which is supplied as part of the BBEdit Language Module SDK.
-
Fixed a bug where the diff windows in right to left mode were made slightly different sizes.
-
Fixed a bug where apply to old/new was enabled for the diff window even when no items were selected.
-
fixed a bug in FTP URL path construction.
-
Fixed a bug in the entity decoder where if the last character was part of an entity it wasn't decoded.
-
When writing to the SourceServer log, BBEdit now ensures the window has at least MPW state so that the selection range and scroll offset will be remembered next time you open the file.
-
syntax-coloring run information is now discarded when syntax coloring is turned off for a given document. Among other things, this now allows the workaround of turning off syntax coloring in situations where the built-in syntax coloring doesn't allow Balance to behave as you might like.
-
fixed quantum singularity which would occur when trying to drag an item onto itself in a file group window.
-
fixed crash that would occur if either or both windows being compared were closed between the time you clicked on a difference and the time you clicked either "Apply to Old" or "Apply to New".
-
fixed bug in the JavaScript scanner in which constructs similar to
regex = /{%([^%]+)%}/;would cause it to lose track of functions.
-
fixed bug which would cause incorrect line widths when printing soft-wrapped documents and "Use Document Font" was turned off.
-
A failure while building the perl environment variables before calling a perl include script is no longer fatal.
Any preference that couldn't be fetched will be logged. "[undefined - error fetching preference]" will be the value for that environment variable.
The perl script will be called anyway, but should you see errors logged during the update you really should fix your preferences and re-run the update. The improved diagnotistics should help determine why the failure happend, and how to correct it.
-
made changes to the Glossary subsystem to work around file system performance problems induced by having File Sharing or Multiple Users turned on. This should reduce application startup time (more noticeably so when there is a large glossary present). For best results, you should remove any glossary folders for things that you don't use (e.g. remove the WML glossary if you don't do WML work).
-
fixed bug in which "Save Password" would be disabled in the FTP dialog if the Keychain wasn't available.
-
Fixed bugs in the web safe color popup:
-
If the initial item was the last item in the popup it wasn't hilited.
-
Tracking over the last item in the popup didn't show the color in the status area.
-
-
Scroll the saved pref panel list item into view when opening the prefs window.
-
fixed bug in the JavaScript scanner in which it would lose the character immediately following the end of a quoted string. This generally wasn't a problem, unless the character after a quoted string was a right-brace or something similarly "important".
-
fixed bug in the JavaScript scanner in which it would fail to list the last function in the file if the function's closing brace was the last character in the file.
-
fixed bug which prevented an add-in language module from overriding the built-in language module for any given language.
-
when "Store Passwords in Keychain" is turned off, BBEdit will no longer remove the password from the FTP clippings created to remember recently-opened FTP files.
-
when an Apple Event asks for "text of window 1", BBEdit will now return the actual text, rather than a reference to it. This fixes problems with Word Services spell checkers.
-
when reading in the print record from BBEdit saved state, the application will no longer attempt to validate the print record right away, and instead defers it until printing time. This works around various printer-driver bogosities (such as the shared StyleWriter behavior of trying to open a connection to the remote printer whenever the printer driver is opened, even if you're not about to print).
-
fixed bug in which Command-clicking in the title area of a front window which didn't have a proxy icon would not drag that window.
-
Fixed a bug in the diff arrange dialog where double clicking the arrange method didn't simulate the ok button.
-
Fixed a bug where windows would flicker if they were overlapping as we adjusted their indices for find differences.
-
Fixed a bug in the includes processor where when variable values were passed to perl or applescripts if the value was "#theValue#", "theValue" was passed to the script.
-
When the include processor calls applescripts/perl scripts, the variable value is no longer truncated at 255 characters (the variable *name* is still limited to 255 characters, but this shouldn't pose a problem).
-
When calling an applescript/perl script from the include processor, variables which contain unicode text are passed to the script as unicode.
-
When an applescript returns unicode to the include processor, the right thing now happens in unicode and non-unicode documents (in the latter case assuming a conversion is possible).
-
Since MacPerl doesn't have good built in facilities for handling unicode, or returning it, we always:
-
Pass unicode variables in to MacPerl in their native mixed-byte script (MacJapanese, etc.)
-
When inserting the ouput from a MacPerl include file into the document, we interpret it as the script of the document, and convert to unicode as necessary (MacJapanese to Unicode, etc.)
-
-
When calling perl and applescripts from the updater BBEdit will no longer munge 2-byte variable names. You may have trouble using them within the respective languages when passed them - so you still may wish to stick to low ascii variable names, but the name will no longer be munged.
-
When the updater ran across a document which contained a #dont_update# it would generate an error. This was misguided. It now generates a note, so that you know the condition was encountered, but you can filter them out in the results list more easily.
-
Fixed a bug where the Cancel Check Out command for the front doc was always enabled. It is only enabled now when it can be applied.
-
Fixed the incorrect space in the JavaScript language names in the script tool:
-
Fixed a bug in the Source Format Formatter where depending on your profile settings extra line breaks would be inserted.
-
Fixed a bug in the col/colgroup editor where it expected to see a close tag that didn't exist.
-
the selection range is now correctly scrolled into view when opening a soft-wrapped document with selection information in the saved state.
-
Fixed a bug in the URL decoder where the last hex triplet wasn't decoded.
-
Fixed the broken Cumulus dialog.
-
Fixed Rich's famous bug where if you try to cancel a checkout on an MRO'd file while that file is open for writing, the CKID is lost.
-
Fixed a bug when updating the #relative# placeholder that would result in incorrect behavior when the site root wasn't defined.
-
Fixed a bug where if an error occured while updating an individual placeholder the error would be eaten and the process would run to completion with incorrect results (which were undoable if you were doing a single window, would lead to data loss if you were doing a site - this bug dates back to 5.0).
-
fixed a bug which sometimes prevented filename-to-langage mapping from working correctly for files opened from FTP servers.
-
when cancelling a Replace All, the user-canceled error is no longer swallowed, so that any batch process that depended on the operation will know to abort.
-
Fixed a bug where the menu subsystem was stealing keys from the glossary and mapping them onto the edit menu (since command and contrl are required in a keybinding we only map function keys onto the edit menu when command and control are missing from the event).
-
Fixed a bug where the initial display font of the glossary set popup might not have matched the finder script if you were using something other than the system script. (It did, however, track changes in that setting.)
-
Fixed the incorrect font display of the glossary floater popup on systems with Appearance >= 1.0 and < 1.1.
-
Fixed a bug where the progress bar would have the wrong values during a multi-file replace.
-
Window comments (search strings, for example) are now truncated the same way as full paths. This eliminates huge strings as well as unpleasantness such as menu items disappearing from huge strings.
-
fixed the bug responsible for allowing Apple File Exchange to bring up a dialog in the background when option-double-clicking a file in a disk browser list.
-
fixed bug in the bbxtCommitUndo() callback, in which an argument of -1 did not behave according to the BBEdit Extension SDK documentation. This would lead to a -50 being reported when attempting to undo the action of some undoable plug-ins.