mirror of
https://github.com/coteditor/CotEditor.git
synced 2024-09-11 11:25:57 +03:00
Fix comment toggling action (fix #489)
This commit is contained in:
parent
fe6fb499c0
commit
a728fdabb5
@ -16,6 +16,7 @@ Change Log
|
||||
|
||||
### Fixes
|
||||
|
||||
- Fix an issue where comment-out action didn't work on CotEditor 2.3.3.
|
||||
- Fix an issue where window title bar was dyed in the editor's background color on El Capitan.
|
||||
- Fix an issue where text selection after move multiple lines was broken.
|
||||
- Fix an issue where `$` or `^` anchors in the regular expression via AppleScript didn't work with document that has non-LF line endings.
|
||||
|
@ -46,6 +46,7 @@
|
||||
<h2>Fixes</h2>
|
||||
|
||||
<ul>
|
||||
<li>Fix an issue where comment-out action didn't work on CotEditor 2.3.3.</li>
|
||||
<li>Fix an issue where window title bar was dyed in the editor's background color on El Capitan.</li>
|
||||
<li>Fix an issue where text selection after move multiple lines was broken.</li>
|
||||
<li>Fix an issue where <code>^</code> or <code>$</code> anchors in the regular expression via AppleScript didn't work with document that has non-LF line endings.</li>
|
||||
|
@ -46,6 +46,7 @@
|
||||
<h2>修正</h2>
|
||||
|
||||
<ul>
|
||||
<li>CotEditor 2.3.3 でコメントアウトができなかった具合を修正</li>
|
||||
<li>El Capitan で書類ウインドウのタイトルバーがエディタ背景色に染まる仕様を修正</li>
|
||||
<li>複数選択範囲にわたる行を移動させた時に移動後の選択範囲がバラバラになる不具合を修正</li>
|
||||
<li>AppleScript からの検索で、書類の改行コードが LF 以外の時に正規表現の <code>^</code> および <code>$</code> アンカーが行頭・行末を正しく捕まえられなかった不具合を修正</li>
|
||||
|
@ -123,6 +123,11 @@
|
||||
[[self splitViewController] addSubviewForViewController:editorViewController relativeTo:nil];
|
||||
[self setupEditorViewController:editorViewController baseView:nil];
|
||||
|
||||
// TODO: Refactoring
|
||||
// -> This is probably not the best position to apply sytnax style to the text view.
|
||||
// However as a quick fix, I put it here tentatively. It works. But should be refactored later. (2016-01 1024jp)
|
||||
[editorViewController applySyntax:[self syntaxStyle]];
|
||||
|
||||
[self setFocusedTextView:[editorViewController textView]];
|
||||
|
||||
[[NSNotificationCenter defaultCenter] addObserver:self
|
||||
|
Loading…
Reference in New Issue
Block a user