Tweak charProperties doc comment.

This commit is contained in:
Per Bothner
2023-08-06 08:28:08 -07:00
parent a0dc88165f
commit 88bfc6bb2b
+5 -3
View File
@@ -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;
}