From 88bfc6bb2b55f3814160749d7739879693fc7d7b Mon Sep 17 00:00:00 2001 From: Per Bothner Date: Sun, 6 Aug 2023 08:28:08 -0700 Subject: [PATCH] Tweak `charProperties` doc comment. --- src/common/services/Services.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/common/services/Services.ts b/src/common/services/Services.ts index 82e5ce96..4178a45b 100644 --- a/src/common/services/Services.ts +++ b/src/common/services/Services.ts @@ -314,9 +314,11 @@ export interface IUnicodeService { */ wcwidth(codepoint: number): UnicodeCharWidth; getStringCellWidth(s: string): number; - /** Return character width, character type (for grapheme clustering). - * If preceding!=0, it is return code from previous character; - * in that case result specifies if characters should be joined. */ + /** + * Return character width and type for grapheme clustering. + * If preceding != 0, it is the return code from the previous character; + * in that case the result specifies if the characters should be joined. + */ charProperties(codepoint: number, preceding: UnicodeCharProperties): UnicodeCharProperties; }