浏览代码

API doc fix

Tig 10 月之前
父节点
当前提交
5a85d439ce
共有 2 个文件被更改,包括 11 次插入9 次删除
  1. 5 6
      Terminal.Gui/Configuration/RuneJsonConverter.cs
  2. 6 3
      Terminal.Gui/Drawing/Glyphs.cs

+ 5 - 6
Terminal.Gui/Configuration/RuneJsonConverter.cs

@@ -11,12 +11,11 @@ namespace Terminal.Gui;
 ///         If the Rune is printable, it will be serialized as the glyph; otherwise the \u format (e.g. "\\u2611") is used.
 ///         If the Rune is printable, it will be serialized as the glyph; otherwise the \u format (e.g. "\\u2611") is used.
 ///     </para>
 ///     </para>
 ///     <para>
 ///     <para>
-///         Supports deserializing a string as
-///         one of:
-///         - unicode char (e.g. "☑")
-///         - U+hex format (e.g. "U+2611")
-///         - \u format (e.g. "\\u2611")
-///         - A decimal number (e.g. "97" for "a")
+///         Supports deserializing as one of:
+///         - unicode glyph in a string (e.g. "☑")
+///         - U+hex format in a string  (e.g. "U+2611")
+///         - \u format in a string (e.g. "\\u2611")
+///         - A decimal number (e.g. 97 for "a")
 ///     </para>
 ///     </para>
 /// </summary>
 /// </summary>
 internal class RuneJsonConverter : JsonConverter<Rune>
 internal class RuneJsonConverter : JsonConverter<Rune>

+ 6 - 3
Terminal.Gui/Drawing/Glyphs.cs

@@ -8,11 +8,14 @@
 ///     </para>
 ///     </para>
 ///     <para>
 ///     <para>
 ///         The default glyphs can be changed via the <see cref="ConfigurationManager"/>. Within a <c>config.json</c>
 ///         The default glyphs can be changed via the <see cref="ConfigurationManager"/>. Within a <c>config.json</c>
-///         file The Json property name is the property name prefixed with "Glyphs.".
+///         file the Json property name is the property name prefixed with "Glyphs.".
 ///     </para>
 ///     </para>
 ///     <para>
 ///     <para>
-///         The JSon property can be either a decimal number or a string. The string may be one of: - A unicode char
-///         (e.g. "☑") - A hex value in U+ format (e.g. "U+2611") - A hex value in UTF-16 format (e.g. "\\u2611")
+///         The Json property can be one of:
+///         - unicode glyph in a string (e.g. "☑")
+///         - U+hex format in a string  (e.g. "U+2611")
+///         - \u format in a string (e.g. "\\u2611")
+///         - A decimal number (e.g. 97 for "a")
 ///     </para>
 ///     </para>
 /// </remarks>
 /// </remarks>
 public class GlyphDefinitions
 public class GlyphDefinitions