aboutsummaryrefslogtreecommitdiff
path: root/src/ui/controls/TextHostControlService.cpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-11-17 18:53:48 +0800
committercrupest <crupest@outlook.com>2021-11-17 18:53:48 +0800
commit7be210036e363f2105ace761451448507d4b06d8 (patch)
treef1facc5899f35dd02efdb9e0aadd26155d5499d5 /src/ui/controls/TextHostControlService.cpp
parent17e35c8ebb51c2679421330056615fa8678b939e (diff)
downloadcru-7be210036e363f2105ace761451448507d4b06d8.tar.gz
cru-7be210036e363f2105ace761451448507d4b06d8.tar.bz2
cru-7be210036e363f2105ace761451448507d4b06d8.zip
...
Diffstat (limited to 'src/ui/controls/TextHostControlService.cpp')
-rw-r--r--src/ui/controls/TextHostControlService.cpp10
1 files changed, 8 insertions, 2 deletions
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> TextControlMovePattern::kDefaultPatterns = {
TextControlMovePattern::kLeft, TextControlMovePattern::kRight,