Add U+2061..U+2065 to invisible characters (close #1662)

This commit is contained in:
1024jp 2024-07-02 19:07:11 +09:00
parent 8b3a2c4c13
commit 558d3d153a
4 changed files with 5 additions and 1 deletions

View File

@ -5,6 +5,7 @@
### Improvements
- Draw invisible symbols for invisible operators (U+2061, U+2062, U+2063, and U+2064).
- Update the Lisp, Lua, Scheme, and Tcl syntaxes to update interpreters (thanks to Renfei!).
- [non-AppStore ver.] Update Sparkle from 2.6.3 to 2.6.4.

View File

@ -134,6 +134,7 @@
<li>U+2060 <small>(WORD JOINER)</small></li>
<li>U+FEFF <small>(ZERO WIDTH NO-BREAK SPACE)</small></li>
<li>U+061C, U+200E..U+200F, U+202A..U+202E, U+2066..U+206F <small>(bidi-text controls)</small></li>
<li>U+2061..U+2065 <small>(invisible operators)</small></li>
<li>U+FFF9..U+FFFB <small>(interlinear annotations)</small></li>
</ul></td>
<td>Special characters that are not printed as a graphic character but used for controlling or formatting documents. They correspond to all of Unicode category Cc (control) and some of Cf (format).</td>

View File

@ -135,6 +135,7 @@
<li>U+2060 <small>(WORD JOINER)</small></li>
<li>U+FEFF <small>(ZERO WIDTH NO-BREAK SPACE)</small></li>
<li>U+061C, U+200E..U+200F, U+202A..U+202E, U+2066..U+206F <small>(bidi制御文字群)</small></li>
<li>U+2061..U+2065 <small>(不可視演算子群)</small></li>
<li>U+FFF9..U+FFFB <small>(ルビ制御文字群)</small></li>
</ul></td>
<td>通常の文字として表示されず文書のフォーマットなどに用いられる特殊な文字です。UnicodeのカテゴリCcすべてと一部のCfに対応しています。</td>

View File

@ -8,7 +8,7 @@
//
// ---------------------------------------------------------------------------
//
// © 2014-2023 1024jp
// © 2014-2024 1024jp
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@ -68,6 +68,7 @@ enum Invisible {
0x2060, // WORD JOINER (Cf)
0xFEFF, // ZERO WIDTH NO-BREAK SPACE a.k.a. BOM (Cf)
0x061C, 0x200E...0x200F, 0x202A...0x202E, 0x2066...0x206F, // bidi controls (Cf)
0x2061...0x2065, // invisible operators (Cf)
0xFFF9...0xFFFB: // interlinear annotations, controls for ruby (Cf)
self = .otherControl
default: