CotEditor

Highlights on CotEditor 2.2

(will be) Available in the Mac App Store
CotEditor 2.2 is planned to be released on the Mac App Store. The system-integrated version management will make easier keeping your CotEditor up to date. You can also continuously get a non-AppStore version to manage it with Cask or something.
Sandboxing
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.0-rc.3

release:

Fixes

  • rc non-AppStore ver: Fix an issue where update check failed on El Capitan.

What's New on CotEditor 2.2.0-rc.2

release:

New Features

  • Add new themes “Anura” and “Note”.

Additions/Changes

  • 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 contextual menu for theme/syntax style list on preferences.
  • Update “Swift” syntax style:
    • Add new terms available in Swift 2.0.
  • Avoid beeping on typing an unmatched > even if <> brace highlighting turned on.
  • Improve saving error dialog to display more detailed error reason.
  • Tweak syntax style edit sheet layout.
  • Remove sample scripts.
    • You can get them online on Archives page.
  • Update documents.
  • beta: Improve side inspector switcher.

Fixes

  • Fix an issue where the toolbar button state of the text orientation was not updated on window restoration.
  • Fix an issue where theme color was occasionally not applied to the preview in the print panel.
  • Fix an issue on El Capitan where page guide was drawn at the wrong column.
  • Fix an issue where application crashed when type a part of surrogate pair character.
  • Fix an issue where invisibles which are a surrogate pair occasionally did not display.
  • Fix help contents layout.
  • rc: Fix an issue where table headers had sometime unwanted space around them on Yosemite and ealier.
  • rc: Fix an issue where calculation of hanging indent width was sometime incorrect.
  • beta: Fix an issue where an unwanted migration window was displayed on the first launch even when there is nothing to be migrated.
  • beta: Fix an issue where application could possibly crash on window restoration.
  • beta non-AppStore ver: Fix an issue where updater settting in the General pane did not displayed on OS X Mountain Lion and Mavericks.

What's New on CotEditor 2.2.0-rc

release:

New Features

  • Hanging indentation that enables inserting extra indent to wrapped lines.
    • You can change the behavior in Preferences > Edit.
  • Add new normalization form “NFKC Casefold” to the Unicode normalization action in Utility menu (Thanks to doraTeX!)
    • It is also added to the AppleScript terms.
  • Add German localization.

Additions/Changes

  • Change the location where cot command-line tool is bundled from CotEditor.app/Contents/MacOS/ to CotEditor.app/Contents/SharedSupport/bin/, due to Sandbox requirement.
    • Users who have already installed `cot` command need re-install it manually. You can re-install it running the command below on Terminal:
      unlink /usr/local/bin/cot; ln -s /Applications/CotEditor.app/Contents/SharedSupport/bin/cot /usr/local/bin/cot
      You may need to modify paths in this command depending on where you've installed CotEditor/cot.
  • 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 word completion list setting in Edit pane in Preferences (The previous setting has been reset).
  • Support “swipe to delete” for some tables in Preferences on El Capitan.
  • Improve contexutal menu for theme list on preferences.
  • Adjust highlight color for find panel.
  • Tweak some message terms.
  • Update documents.
  • Update build environment to El Capitan + Xcode 7 (SDK 10.11).
  • non-AppStore ver.: Update Sparkle framework to version 1.11.0.
  • beta non-AppStore ver.: Change to not check pre-release versions on default.
    • 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.

Fixes

  • 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 application crashed by clicking header of empty table in syntax editor sheet.
  • Fix an issue where warning on Integration pane didn't disappear even after the problem resolved.
  • Fix an issue where unwanted invisible character mark were drawn when tab drawing is turned off and other invisibles drawing is turned on.
  • Add some missing localized strings in Japanese.
  • El Capitan: Fix an issue where color code view did not display on El Capitan.
  • beta: Fix an issue where the strings that were inserted via script or tools could be styled wrong.
  • beta: ix an issue where no preferred extension was appended on the document save panel.
  • beta: Fix an issue where the bug report template was not syntax highlighted.
  • beta: Fix some trivial drawing issues on El Capitan.

What's New on CotEditor 2.2β

release:

New Features

  • CotEditor is now Sandboxed.
  • New setting option for the behavior on document modification by external process (in General pane).
  • Share button in toolbar (Customize toolbar to use it).
  • 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.
  • Line number view for vertical text orientation.
  • Print with vertical text orientation.
  • 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 encoding: and coding: to the encoding declaration keywords which will be used on encoding auto-detection (interpreting priorities are: charset= > encoding= > @charset > encoding: > coding:).

Additions/Changes

  • [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 nofitication 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 when the stable CotEditor 2.2.0 is released.
  • Deprecate the feature opening/saving files that user doesn't have the permission, due to Sandbox requirement.
  • 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.
  • Better file encoding handling on revert action.
  • 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.
  • Completely rewrite cot command-line tool:
    • Faster launch.
  • Optimize saving process.
  • Improve compatibility with OS X 10.11 El Capitan.
  • Change source code license from the GNU General Public License version 2 to the Apache License version 2.0.
  • [non-AppStore ver.] Add option to check pre-release versions.

Fixes

  • 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 line numbers were not drawn completely on OS X 10.8 when scroll bars are set as always shown.
  • Fix an issue where some ligatured characters were drawn at a wrong position when the line height for composite font is fixed.
  • Improve general stability.

Misc.

previous release notes