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},