CotEditor

Highlights on CotEditor 3.9

Invisible characters with more accuracy
The drawing method for invisible characters has been revamped so that the symbols are displayed in accurate and natural positions under a variety of environments, such as proportional fonts, right-to-left writing direction, and vertical text orientation. In addition, more information about invisibles, such as the width of the tab characters and whether the space is kind of no-breaking spaces, can now be known at a glance.
Ok, this indentation scope ends here.
It is now possible to draw indentation guide lines. To make it enable, turn on the “Show indent guides” option in the Appearance pane. You can then grasp the scope and level of each indentation easier.
Faster, faster!
Since the latter updates of CotEditor 3.8.x series including this CotEditor 3.9.0, CotEditor made a bunch of performance optimizations in various areas.

What's New on CotEditor 3.9.0

release:

cf. Changes from 3.9.0-rc

New Features

  • Rewrite the invisible character drawing feature to draw alternative symbols more properly under various environments.
  • Add an option to draw indent guides.
  • Display Unicode's general category in the character inspector.

Improvements

  • Adjust the text baseline to draw characters vertically center in lines.
  • Optimize the performance of “Replace All” with a large number of matches.
  • Improve the performance when pasting a huge text.
  • Remove the text encoding option for opened documents; instead, the encoding is always detected automatically when opening an existing file.
  • Update the Unicode block table to the latest Unicode 13.0.0.
  • Duplicate lines more intelligently.
  • Improve the encodings list edit view.
  • Adjust the width of toolbar items.
  • Remove “vertical orientation” from the selections of the Writing Direction toolbar button.
  • Make borders of line number views and opacity sample tips more distinct in the high-contrast mode.
  • Adjust the visible area after unwrapping lines in RTL text mode.
  • Remove the default value of the snippet keybindings, that inserts <br /> with ⇧↩.
  • Update help content.
  • trivial: Rename “Auto-Detect,” the option detecting the file encoding automatically, to “Automatic.”
  • trivial: Omit surrogate pair code points in the character inspector if the character consists of multiple Unicode characters.
  • trivial: Adjust the drawing position of the zoomed character in the character inspector.
  • trivial: Update some labels in the Format pane.
  • trivial: Display default values as the input field's placeholder for window size setting when empty.
  • trivial: Remove the snippet keybindings setting migration from CotEdtiror 2.x format and earlier.
  • trivial: Make the identifier for document autosaving longer.
  • dev: Update the build environment to Xcode 11.5 (Swift 5.2).
  • dev: Replace YAML.framework with Yams.
  • dev: Remove Carthage dependency.
  • dev: Migrate codesign-specific build settings to .xcconfig (thanks to Yoshimasa Niwa!).

Fixes

  • Fix an issue where the application crashed when a hanging indent depth becomes larger than the editor area.
  • Fix an issue where the application hung up by extending the selection with shortcut ⌥⇧→ when the character to select is a national flag emoji.
  • Fix an issue where the item “Automatic” (ex. Auto-Detect) was missing in the encoding selections in the open panel.
  • Fix an issue with multiple cursors where extra characters were deleted when performing forward delete with selection.
  • Fix an issue with multiple cursors where just a single UTF-16 character was deleted instead of the whole character when the character to delete consists of multiple UTF-16 characters.
  • Fix an issue where the outline menu could select the wrong item while typing.
  • Fix an issue where the line numbers could be shifted when printing vertical text orientation documents.
  • Fix an issue where line endings could remain when deleting duplicate lines with multiple selections.
  • Fix an issue in the character inspector where the inspector was not shown when the target character is hidden due to scroll.
  • Fix an issue in the line number view where the line number of the current line was not bolded under a specific condition.
  • Fix an issue in scripting with AppleScript/JXA where the application crashed by performing string in ... command.
  • Fix an issue in scripting with AppleScript/JXA where the contents of a document can rarely be overwritten with the contents of another document window under very specific conditions.
  • Fix an issue with scripting with AppleScript/JXA where the line range command selected a wrong range when the line endings of the document are CRLF.
  • Fix an issue with scripting with AppleScript/JXA where selecting a single line by specifying a single integer argument to line range did not work.
  • Fix an issue in the editor where lines were initially wrapped at the wrong position when the text orientation is vertical.
  • Fix an issue where the theme color was not applied to the color of typed text in split view.
  • Fix an issue in the RTL text mode where the page guide disappeared when lines are unwrapped.
  • Fix an issue where the current line highlight did not update properly after changing some settings.
  • Fix an issue in the find panel's input fields where a regular expression pattern for Unicode code point was not highlighted properly when the hex contains uppercase letters.
  • Fix an issue in the find panel's input fields where invisible control characters were drawn in the normal text color under specific conditions.
  • Fix an issue where the print font name in the Print pane was drawn in black even in the dark mode.
  • Fix an issue in the editor where the previous drawing could remain in a blank space after changing a display setting of the editor.
  • Fix the help button in the advanced find options view.
  • Fix missing localization.

previous release notes