From 2b53ea748d7261ef083c8d127bb43cb69d615859 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89milie=20Feral?= Date: Tue, 26 May 2020 16:03:42 +0200 Subject: [PATCH] [apps/code] Typo --- apps/code/python_text_area.h | 2 +- apps/code/variable_box_controller.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/code/python_text_area.h b/apps/code/python_text_area.h index 5ede682b8..c1a64db5f 100644 --- a/apps/code/python_text_area.h +++ b/apps/code/python_text_area.h @@ -25,7 +25,7 @@ public: bool handleEvent(Ion::Events::Event event) override; bool handleEventWithText(const char * text, bool indentation = false, bool forceCursorRightOfText = false) override; /* autocompletionType returns: - * - EndOfIdentifier if there is currently autocompletion, or if the wursor is + * - EndOfIdentifier if there is currently autocompletion, or if the cursor is * at the end of an identifier, * - MiddleOfIdentifier is the cursor is in the middle of an identifier, * - No identifier otherwise. diff --git a/apps/code/variable_box_controller.cpp b/apps/code/variable_box_controller.cpp index 8df5473c0..94bd131fb 100644 --- a/apps/code/variable_box_controller.cpp +++ b/apps/code/variable_box_controller.cpp @@ -378,7 +378,7 @@ void VariableBoxController::insertTextInCaller(const char * text, int textLength void VariableBoxController::loadBuiltinNodes(const char * textToAutocomplete, int textToAutocompleteLength) { //TODO Could be great to use strings defined in STATIC const char *const tok_kw[] in python/lexer.c /* The commented values do not work with our current MicroPython but might - * work later, which is chy we keep them. */ + * work later, which is why we keep them. */ static const struct { const char * name; ScriptNode::Type type; } builtinNames[] = { {"False", ScriptNode::Type::WithoutParentheses}, {"None", ScriptNode::Type::WithoutParentheses},