From e87f6ce1038cd74ee365d460d17e17aa0e0f54ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=A6=E5=87=8C=E6=B1=90?= Date: Thu, 19 Dec 2024 18:47:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E4=B8=80=E8=A1=8C=E6=97=A0?= =?UTF-8?q?=E7=94=A8=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/Editor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/Editor.h b/components/Editor.h index 1fa9aa5..27dc205 100644 --- a/components/Editor.h +++ b/components/Editor.h @@ -160,7 +160,7 @@ public: if(key == 8) { // backspace if(inputstatus_ != InputStatus::Delete) { inputstatus_ = InputStatus::Delete; - std::string rst = actionmanager_.updateContent(getContent()) ? "success" : "fail"; + // std::string rst = actionmanager_.updateContent(getContent()) ? "success" : "fail"; // MessageBoxA(NULL, rst.c_str(), "Update Content", MB_OK); } // 如果是第一个字符,则把当前行内容加到上一行末尾