mirror of
https://github.com/coteditor/CotEditor.git
synced 2024-09-11 11:25:57 +03:00
Fix syntax highlight while typing (fix #869)
This commit is contained in:
parent
6240d93710
commit
d786c1ae37
@ -2,6 +2,15 @@
|
||||
Change Log
|
||||
==========================
|
||||
|
||||
3.6.6 (298)
|
||||
--------------------------
|
||||
|
||||
### Fixes
|
||||
|
||||
- Fix an issue on CotEditor 3.6.5 where the syntax highlight did not update while typing.
|
||||
|
||||
|
||||
|
||||
3.6.5 (297)
|
||||
--------------------------
|
||||
|
||||
|
Binary file not shown.
@ -21,6 +21,23 @@
|
||||
<h1>Release Notes</h1>
|
||||
|
||||
|
||||
<article>
|
||||
<header>
|
||||
<h1>CotEditor 3.6.6</h1>
|
||||
<p>release: <time>2018-11-20</time></p>
|
||||
</header>
|
||||
|
||||
|
||||
<section>
|
||||
<h2>Fixes</h2>
|
||||
|
||||
<ul>
|
||||
<li>Fix an issue on CotEditor 3.6.5 where the syntax highlight did not update while typing.</li>
|
||||
</ul>
|
||||
</section>
|
||||
</article>
|
||||
|
||||
|
||||
<article>
|
||||
<header>
|
||||
<h1>CotEditor 3.6.5</h1>
|
||||
|
Binary file not shown.
@ -21,6 +21,23 @@
|
||||
<h1>リリースノート</h1>
|
||||
|
||||
|
||||
<article>
|
||||
<header>
|
||||
<h1>CotEditor 3.6.6</h1>
|
||||
<p>リリース: <time>2018-11-20</time></p>
|
||||
</header>
|
||||
|
||||
|
||||
<section>
|
||||
<h2>修正</h2>
|
||||
|
||||
<ul>
|
||||
<li>シンタックスハイライトがタイプ中に更新されないCotEditor 3.6.5での不具合を修正</li>
|
||||
</ul>
|
||||
</section>
|
||||
</article>
|
||||
|
||||
|
||||
<article>
|
||||
<header>
|
||||
<h1>CotEditor 3.6.5</h1>
|
||||
|
@ -343,7 +343,7 @@ final class DocumentViewController: NSSplitViewController, NSMenuItemValidation,
|
||||
textStorage.editedMask.contains(.editedCharacters) else { return }
|
||||
|
||||
// don't update when input text is not yet fixed.
|
||||
guard self.focusedTextView?.hasMarkedText() != false else { return }
|
||||
guard self.focusedTextView?.hasMarkedText() != true else { return }
|
||||
|
||||
// update editor information
|
||||
// -> In case, if "Replace All" performed without moving caret.
|
||||
|
Loading…
Reference in New Issue
Block a user