CotEditor 2.2 is released on the Mac App Store. The system-integrated version management makes easier keeping your CotEditor up to date. You can also continuously get a non-AppStore version to manage it with Cask or something.
As the App Sandbox guarantees the prohibition of malicious behaviors at the system level, CotEditor became a more reliable OS X application than ever before. The non-AppStore version is also sandboxed.
Improvements for the vertical text orientation
Printing document in vertical orientation, displaying line number also on the vertical text mode, or even saving the text orientation state in the document file. Now you can more comfortably edit your text in the vertical orientation.
Faster syntax highlighting
The syntax highlighting becomes further faster and more nicely.
Print feature improvement
Other than the vertical text print, the print feature has been improved, for instance, to change page settings in the print panel, to store CotEditor's own print settings to the system print preset.
El Capitan support
CotEditor 2.2.0 works well on OS X El Capitan.
What's New on CotEditor 2.2.2
Add new normalization form “Modified NFD” (unofficial normalization form adopted by HFS+) to the Unicode normalization action in Utility menu (Thanks to doraTeX!)
It is also added to the AppleScript terms.
Update “JSON” syntax style:
Add “geojson” to extension list.
Fix an issue where the baseline of invisible characters were wrong by some fonts.
Fix an issue where application could crash after modifying theme name on El Capitan.
Fix an issue where submenu disclosure arrows in the menu key binding editor did occasionally disappear.
Fix timing to update search string to system-wide shared find string.
Fix an issue under the specific conditions where the migration window showed up every time on launch.
What's New on CotEditor 2.2.1
Fix an issue where application could crash on typing Japanese text if hanging indentation is enabled.
This version contains some specific changes that may require manual migration by users. See FQA for details.
CotEditor is now Sandboxed.
Hanging indentation that enables inserting extra indent to wrapped lines.
You can change the behavior in Preferences > Edit.
New setting option for the behavior on document modification by external process (in General pane).
Share button in toolbar (Customize toolbar to use it).
Add new themes “Anura” and “Note”.
Line number view for vertical text orientation.
Print with vertical text orientation.
Save text orientation state to the file and restore it when the file is opened.
for advanced users: In this feature, CotEditor saves an extended attribute which named com.coteditor.VerticalText to the file only when the editor's text orientation is vertical. You can even disable the feature running the command defaults write com.coteditor.CotEditor savesTextOrientation -bool NO in Terminal.
Add interpreter name list to the syntax style definition to determine syntax style from the shebang in the file content for in case when syntax style cannot be determined from the file name.
From this change, some of the bundled syntax styles are also updated.
Add new normalization form “NFKC Casefold” to the Unicode normalization action in the Utility menu. (Thanks to doraTeX!)
It is also added to the AppleScript terms.
Add encoding: and coding: to the encoding declaration keywords which will be used on encoding auto-detection (interpreting priorities are: charset= > encoding= > @charset > encoding: > coding:).
Add German localization.
Support OS X 10.11 El Capitan.
Deprecate the feature opening/saving files that user doesn't have the permission, due to Sandbox requirement.
Remove bundled cot command-line tool, due to the Mac App Store guidelines.
To use cot command with CotEditor 2.2.0 and later, download the new command-line tool from http://coteditor.com/cot and install manually. You cannnot use the previous one with CotEditor 2.2.0.
Improve side inspector UI.
Improve syntax highlighting:
Optimize general syntax highlighting performance (ca. 1.8x).
Optimize syntax highlighting on file opening.
Better coloring parsing while editing.
Update all split editors while editing.
Move scripts folder location from ~/Library/Application Support/CotEditor/ScriptMenu/ to ~/Library/Application Scripts/com.coteditor.CotEditor/ due of the Sandbox requirement.
Users need to migrate their script to the new folder manually, since CotEditor doesn't have the write permission to the new location.
Improve print document:
Update header/footer layout to conform to the standard system header/footer design.
Add page setup options to the print panel.
Print settings preset can be stored in the print panel.
Improve Color Code Editor:
Add stylesheet keyword to color code type.
Add stylesheet keyword color list to editor panel.
Make editor panel resizable.
Now syntax style is automatically set to “XML” on file opening if no appropriate style can be found but the file content starts with a XML declaration.
Update “Swift” syntax style:
Add new terms available in Swift 2.0.
Better file encoding handling on revert action.
Update word completion list setting in Edit pane in Preferences (The previous setting has been reset).
Set access-group com.coteditor.CotEditor.edit to CotEditor's script definition.
Change behavior to save com.apple.TextEncoding xattr on saving if the file had no content.
Improve window restoration:
To restore also the last scroll position and cursor position.
To restore also the last syntax style mode of unsaved documents.
Support “swipe to delete” for some tables in Preferences on El Capitan.
Improve contextual menu for theme/syntax style list on preferences.
Avoid beeping on typing an unmatched > even if <> brace highlighting turned on.
Improve saving error dialog to display more detailed error reason.
Update build environment to OS X El Capitan + Xcode 7 (SDK 10.11).
Change source code license from the GNU General Public License version 2 to the Apache License version 2.0.
non-AppStore ver.: Disable auto-update feature.
Since the Sparkle framework which is a software update framework we use doesn't support Sandboxed apps yet, the auto-update feature within CotEditor should be once disabled. The new behavior is: a notification window will be shown when a new release is available (as before), then you need to update CotEditor manually getting the new version from our web-site. Or, just migrate to the Mac App Store version.
non-AppStore ver.: Add option to check pre-release versions.
New pre-releases are always subject of the update check no matter the user setting if the current running CotEditor is a pre-release version.
non-AppStore ver.: Update Sparkle framework to version 1.11.0.
Fix an issue where theme color was occasionally not applied to the preview in the print panel.
Fix an issue where application crashed when type a part of surrogate pair character.
Fix an issue where invisibles which are a suroggate pair occasionally did not display.
Fix an issue where the full path display in the document inspector did not update after the document file moved.
Fix an issue where the find panel could not find matched strings when the find string includes CR or CR/LF line endings.
Fix an issue where warning on Integration pane didn't disappear even after the problem resolved.
Fix an issue where application crashed by clicking header of empty table in syntax editor sheet.
Fix an issue where line numbers were not drawn completely on OS X 10.8 when scroll bars are set as always shown.
Fix an issue where the command-line tool could rarely not be installed from Integration pane.
Fix an issue where application could crash after when closing multiple split views.
Fix an issue where the toolbar button state of the text orientation was not updated on window restoration.
Fix an issue where some ligatured characters were drawn at a wrong position when the line height for composite font is fixed.
Fix an issue where unwanted invisible character mark were drawn when tab drawing is turned off and other invisibles drawing is turned on.