From 7be210036e363f2105ace761451448507d4b06d8 Mon Sep 17 00:00:00 2001 From: crupest Date: Wed, 17 Nov 2021 18:53:48 +0800 Subject: ... --- src/ui/controls/TextHostControlService.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/ui/controls/TextHostControlService.cpp') diff --git a/src/ui/controls/TextHostControlService.cpp b/src/ui/controls/TextHostControlService.cpp index 740fa447..42153ffd 100644 --- a/src/ui/controls/TextHostControlService.cpp +++ b/src/ui/controls/TextHostControlService.cpp @@ -95,11 +95,17 @@ TextControlMovePattern TextControlMovePattern::kCtrlEnd( TextControlMovePattern TextControlMovePattern::kPageUp( helper::ShortcutKeyBind(platform::gui::KeyCode::PageUp), [](TextHostControlService* service, StringView text, - gsl::index current_position) { return current_position; }); + gsl::index current_position) { + // TODO: Implement this. + return current_position; + }); TextControlMovePattern TextControlMovePattern::kPageDown( helper::ShortcutKeyBind(platform::gui::KeyCode::PageDown), [](TextHostControlService* service, StringView text, - gsl::index current_position) { return current_position; }); + gsl::index current_position) { + // TODO: Implement this. + return current_position; + }); std::vector TextControlMovePattern::kDefaultPatterns = { TextControlMovePattern::kLeft, TextControlMovePattern::kRight, -- cgit v1.2.3