From f8e7ffc9817ff937a1bb6fb5e49d3caf946720f1 Mon Sep 17 00:00:00 2001 From: Zihan Chen Date: Mon, 9 Jul 2018 05:35:03 -0700 Subject: [PATCH] ... --- Import/GacUI.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Import/GacUI.h b/Import/GacUI.h index 6ecb198b..7dd2530d 100644 --- a/Import/GacUI.h +++ b/Import/GacUI.h @@ -6103,12 +6103,16 @@ Colorized Plain Text (model) #if defined VCZH_MSVC /// Test if a wchar_t is the first character of a surrogate pair. + /// The character to test. + /// Returns true if it is the first character of a surrogate pair. inline bool UTF16SPFirst(wchar_t c) { return 0xD800 <= c && c < 0xDC00; } /// Test if a wchar_t is the second character of a surrogate pair. + /// The character to test. + /// Returns true if it is the second character of a surrogate pair. inline bool UTF16SPSecond(wchar_t c) { return 0xDC00 <= c && c < 0xDFFF;