Firefox 135.0 发布
CotEditor是一款主要由日本开发者开发的轻量级的OS X原生编辑器。与Sublime Text等流行的编辑器不同,CotEditor使用的是原生的Cocoa文本系统,因而写起代码来都是OS X上原生的体验,如果你和我一样,一直在寻找一款默认输入方式上和Xcode完全相同,同时又足够轻量级,可以让你随时随地打开写一段文字或脚本的编辑器的话,那就非CotEditor莫属。
此外,CotEditor完全开源,并且使用纯Objective-C/Cocoa写成,对于像我一样的OS X开发者来来说,CotEditor的源码很值得学习,对于深入理解Cocoa的文本系统很有帮助。
New Features
- Introduce new AppleScript commands comment out and uncomment for selection object.
- Add “js“ extension to CotEditor script type.
- Hint: Use #!/usr/bin/osascript -l JavaScript for shebang to run script as Yosemite’s JavaScript for Automation.
- Add “Create Bug Report…” action to the Help menu.
- Add syntax style for “BibTeX”.
Additions/Changes
- Display an alert if the opening file is larger than 100 MB.
- Change default value for “Comment always from line head” option to enable.
- Rename labels for line endings.
- Update “Python” syntax style:
- Fix highlighting print command.
- Update “Ruby” syntax style:
- Improve highlighting % literals.
- Update “R” syntax style:
- Add file name .Rprofile to file mapping.
- Update “JavaScript” syntax style:
- Highlight shebang as comment.
- Update documents for scripting with AppleScript.
- Update sample scripts.
- Remove syntax style for “eRuby”.
Fixes
- Fix an issue that new documents couldn’t occasionally be saved with an extension that is automatically added from syntax definition.
- Fix an issue that the application could crash after closing split view.
- Fix an issue that some objects couldn’t be handled via JavaScript for Automation on Yosemite.
- Fix an issue that syntax style validator didn’t warn about keywords duplication that were newly added.
- Fix an issue that syntax style mapping conflict tables were always blank.
- Fix an issue that quoted texts and block comments at the end of document weren’t highlighted.
- Fix an issue that text kerning was too narrow with non-antialiasing text (thanks to tsawada2-san).
- Fix an issue that text view scrolls to the opposite side when line number view is dragged.
- Fix an issue that contents property of document property could’t be set via AppleScript.
- Fix an issue that word selection didn’t expand correctly under the specific conditions.
- Fix an issue that current line highlight didn’t update after font size change.
- Fix an issue that navigation/status bars are shown for a moment on window creation even they are set as hidden.
- Fix an issue that new added row in file drop setting occasionally disappear immediately.
- Fix some Japanese localizations.
- Fix a critical issue that the application hang up if either file encoding or line eingings is shown in status bar.