CotEditor 2.0.2 發布,OS X 下的原生編輯器

jopen 10年前發布 | 7K 次閱讀 CotEditor

CotEditor 是一款主要由日本開發者開發的輕量級的OS X原生編輯器。與Sublime Text等流行的編輯器不同,CotEditor使用的是原生的Cocoa文本系統,因而寫起代碼來都是OS X上原生的體驗,如果你和我一樣,一直在尋找一款默認輸入方式上和Xcode完全相同,同時又足夠輕量級,可以讓你隨時隨地打開寫一段文字或腳本的編輯器 的話,那就非CotEditor莫屬。

此外,CotEditor完全開源,并且使用純Objective-C/Cocoa寫成,對于像我一樣的OS X開發者來來說,CotEditor的源碼很值得學習,對于深入理解Cocoa的文本系統很有幫助。

CotEditor 2.0.2 發布,OS X 下的原生編輯器

CotEditor 2.0.2 發布,OS X 下的原生編輯器

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”.

  • </ul>

    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”.

    • </ul>

      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.

      • </ul> 來自:http://www.oschina.net/news/57418/coteditor-2-0-2

         本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
         轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
         本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!