Releases: coteditor/CotEditor
Releases · coteditor/CotEditor
7.0.0-rc
system requirements: macOS 15 and later
Compatibility Changes
- [beta] Change the location to save custom syntaxes.
Improvements
- Improve word selection and related editing actions to treat commas as word delimiters.
- [trivial] Improve stability when handling file change conflicts.
- [beta] Improve syntax highlighting for JavaScript, Ruby, and TypeScript.
- [beta] Update outline extraction algorithms for C, C#, C++, and JavaScript.
- [beta] Update tree-sitter-c-sharp to 0.23.5.
- [beta][trivial] Update the document icon for the CotEditor Syntax document.
Fixes
- Fix an issue where TSV multiple replace definitions could not import empty replacement strings.
- Fix issues in the file browser where items could point to the wrong location after being moved or renamed.
- Fix an issue in the file browser where replacing a file with a folder, or vice versa, could leave the displayed state outdated.
- Fix an issue in the file browser where newly created or duplicated items could fail to become selected immediately in some folders.
- Fix an issue where line reordering commands could insert extra blank lines in documents using CRLF line endings.
- [trivial] Fix some typos in localizations and user guides.
- [beta] Fix the outline extraction algorithms for Java, Kotlin, PHP, Python, and TypeScript.
Full Changelog: 7.0.0-beta.3...7.0.0-rc
7.0.0-beta.3
system requirements: macOS 15 and later
Improvements
- Update the inspector’s appearance on macOS Tahoe 26.
- [beta] Update the SVG syntax for syntax highlighting.
- [beta] Update the Python syntax highlighting parsing.
Fixes
- Fix an issue where AppleScript could return an unclear error when a folder document had no current document.
- Fix an issue where requesting a zero-length text range via AppleScript could return an unintended character.
- Fix an issue where some decimal setting values could use the wrong number format and be reset unexpectedly in certain locale configurations.
- [beta] Fix the HTML outline extraction to include headings with nested elements.
Full Changelog: 7.0.0-beta.2...7.0.0-beta.3
7.0.0-beta.2
system requirements: macOS 15 and later
Improvements
- [non-AppStore ver.] Update Sparkle from 2.9.0 to 2.9.1.
- [beta] Tweak outline item icons.
- [beta] Optimize the outline extraction algorithm.
- [beta] Optimize the regex-based syntax highlighting algorithm.
- [beta] Improve the Python outline to extract class variables.
- [beta] Add missing localizations.
- [beta] Update tree-sitter-rust to 0.24.2.
Fixes
- Fix an issue where re-importing a TSV file to overwrite an existing multiple replace definition could fail.
- [beta] Fix outline extraction in the LaTeX and Swift syntaxes.
Full Changelog: 7.0.0-beta...7.0.0-beta.2
7.0.0
system requirements: macOS 15 and later
Compatibility Changes
- Introduce CotEditor Syntax, a new syntax definition format (the legacy YAML-based syntax definition format is now deprecated; user-created syntaxes are automatically migrated on first launch).
New Features
- Adopt smarter syntax parsing powered by tree-sitter for multiple built-in syntaxes, improving syntax highlighting and outline extraction in C, C#, C++, CSS, Go, HTML, Java, JavaScript, Kotlin, LaTeX, Lua, Makefile, Markdown (outline extraction only), PHP, Python, Ruby, Rust, Scala, Shell Script, SQL, Swift, and TypeScript.
- Display symbolic icons next to outline items.
- Allow collapsing outline items in the Outline inspector for tree-sitter-based and structured document syntaxes.
- Make smart indentation aware of the current syntax.
- Expand comment delimiter settings in syntax definitions, allowing multiple delimiters and related options.
- Add detailed delimiter settings for strings, characters, and indentation to syntax definitions.
- Add the Multiline option to highlighting rules in syntax definitions so matches can span multiple lines.
- Show the current position in search results in the Find field while navigating between matches (for example, “2/5”).
- Add
CurrentLineandReplaceCurrentLineto the UNIX script input/output keywords for editing the current line in the editor. - Add Bulgarian localization (thanks to Miroslav Dragoev!).
Improvements
- Improve the syntax-highlighting algorithm for legacy regex-based parsing.
- Update built-in syntaxes.
- Use the user’s window size setting for the Zoom action, if available.
- Improve general text-editing performance.
- Hide line numbers in the window titlebar area when the navigation bar is hidden on macOS Tahoe 26.
- [trivial] Adjust the About CotEditor window.
- [trivial] Rename the Recolor All command to “Reset Syntax Analysis” and move it to the Format menu.
- [trivial] Remove the Restore Defaults button in the syntax editor.
- [trivial] Tweak colors of the default Anura theme.
Fixes
- Fix incorrect syntax parsing in some built-in syntaxes.
- Fix an issue where the default file extension in the save dialog was .txt for syntaxes with a file extension not registered in the system.
Known Issues
- The text added to CotEditor 7.0.0 are not localized yet in Czech and Polish.
Full Changelog: 6.2.6...7.0.0-beta
6.2.6
system requirements: macOS 15 and later
Improvements
- Improve stability on MacBook Pro models with Touch Bar.
- [dev] Update the build environment to Xcode 26.4.
Fixes
- Fix a crash on exporting settings when some setting values are not customized.
- Fix a potential crash in Find All when a matched line is extremely long.
- Address a potential crash when editing a keyboard shortcut in the snippets settings.
Full Changelog: 6.2.5...6.2.6
6.2.5
system requirements: macOS 15 and later
Improvements
- Create a new document from a UNIX script only when output is available, using the
%%%{CotEditorXOutput=NewDocument}%%%option. - Improve overall stability.
Fixes
- Fix an issue where the default file extension for Markdown documents was .txt instead of .md.
- Fix an issue where snippets were not included in the settings export.
- Fix an issue where settings imported from a settings archive incorrectly included filename extensions.
- Fix an issue where invisible characters were not printed even if the “Print Invisible” option in the print settings was enabled.
- Fix descriptions in the user guide for UNIX scripting.
- Address a potential crash in the file browser when creating, duplicating, or moving files.
- Address a potential crash when a document was modified by another process.
- [trivial] Fix an issue where the What’s New window could not be closed with the Esc key.
Full Changelog: 6.2.4...6.2.5
6.2.4
system requirements: macOS 15 and later
Improvements
- [non-AppStore ver.] Update Sparkle from 2.8.1 to 2.9.0.
- [dev] Update the build environment to Xcode 26.3.
Fixes
- Fix an issue where smart indentation did not work under certain conditions.
- Fix an issue in the Find window where syntax highlighting for regular expressions could break for some patterns.
- Fix an issue where the editor incorrectly highlighted paired symbols when an escaped symbol was nearby.
- Fix an issue in the file browser where TypeScript documents were incorrectly displayed with a video icon.
- Address a potential crash when pasting multiline text into the editor under certain conditions.
- Address a potential crash when closing a document.
Full Changelog: 6.2.3...6.2.4
6.2.3
system requirements: macOS 15 and later
New Features
- Add AppleScript support for
folder document, including thecurrent documentproperty and forwarding ofdocumentcommands.
Improvements
- Optimize the performance of scanning incompatible characters.
- Accept the JSON5 format when importing custom themes and multiple replace definitions.
- Improve the behavior of trailing whitespace trimming.
- Update the JSON syntax to highlight comments in the JSON5 format.
- Improve overall stability.
- [dev] Update the build environment to Xcode 26.3-rc.
Fixes
- Fix an issue where the app could crash when opening a large file while the Warnings inspector was open.
- Address an issue where the Save dialog for documents ignored the current syntax for the default file extension.
- [trivial] Fix the position of the Sidebar toolbar item.
Full Changelog: 6.2.2...6.2.3
6.2.2
system requirements: macOS 15 and later
New Features
- Add the
--gotooption to thecotcommand-line tool as syntactic sugar for the--lineand--columnoptions. See--helpor the user guide for details. - Add Chinese (Hong Kong) localization (thanks to changanmoon!).
Improvements
- Improve the text encoding detection algorithm.
- Update the C++ syntax to include the .cu and .cuh filename extensions.
Fixes
- Fix an issue in the syntax editor where the outline title field occasionally became uneditable.
- Fix an issue in the Outline inspector where matches filtered by the filter field were not highlighted.
- Update the Swift syntax to fix outline extraction.
Full Changelog: 6.2.1...6.2.2
6.2.1
system requirements: macOS 15 and later
Improvements
- Improve word deletion to treat periods and colons as word delimiters.
- Update the filter after duplicating a file in the file browser.
- Update the user guide.
Fixes
- Fix an issue in the file browser where files weren’t hidden when the document’s folder name matched the filter string.
- Fix an issue where the app crashed when cutting rectangular selections at the end of a document with CRLF line endings.
Full Changelog: 6.2.0...6.2.1