diff options
author | crupest <crupest@outlook.com> | 2022-01-18 23:31:10 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-01-18 23:31:10 +0800 |
commit | bcd603a2f3f3e8525f15df1faa85ed1fcbe3a220 (patch) | |
tree | a3671ff3871af16576eb8b20258d1699821880cf /include/cru/platform/gui/InputMethod.hpp | |
parent | dadfa6e184ff538763fd627c0d859ec85c047864 (diff) | |
parent | 46ced88c30eeb5f84b7fe78a36d18428babe4fcf (diff) | |
download | cru-bcd603a2f3f3e8525f15df1faa85ed1fcbe3a220.tar.gz cru-bcd603a2f3f3e8525f15df1faa85ed1fcbe3a220.tar.bz2 cru-bcd603a2f3f3e8525f15df1faa85ed1fcbe3a220.zip |
Merge branch 'dev'
Diffstat (limited to 'include/cru/platform/gui/InputMethod.hpp')
-rw-r--r-- | include/cru/platform/gui/InputMethod.hpp | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/include/cru/platform/gui/InputMethod.hpp b/include/cru/platform/gui/InputMethod.hpp index 923a2088..a34aba74 100644 --- a/include/cru/platform/gui/InputMethod.hpp +++ b/include/cru/platform/gui/InputMethod.hpp @@ -53,28 +53,3 @@ struct IInputMethodContext : virtual IPlatformResource { }; } // namespace cru::platform::gui -// template <> -// struct fmt::formatter<cru::platform::gui::CompositionText, char16_t> -// : fmt::formatter<std::u16string_view, char16_t> { -// auto parse(fmt::basic_format_parse_context<char16_t>& ctx) { -// return fmt::formatter<std::u16string_view, char16_t>::parse(ctx); -// } - -// template <typename FormatContext> -// auto format(const cru::platform::gui::CompositionText& ct, -// FormatContext& ctx) { -// auto output = ctx.out(); -// output = format_to(output, u"text: {}\n", ct.text); -// output = format_to(output, u"clauses:\n"); -// for (gsl::index i = 0; i < static_cast<gsl::index>(ct.clauses.size()); -// i++) { -// const auto& clause = ct.clauses[i]; -// output = -// format_to(output, u"\t{}. start: {} end: {}{}\n", i, clause.start, -// clause.end, clause.target ? u" target" : u""); -// } -// output = format_to(output, u"selection: position: {} count: {}", -// ct.selection.position, ct.selection.count); -// return output; -// } -// }; |