From e3f0f04a2b4ac86d413630d467bc6f8f399d7b21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E4=BA=91=E9=A3=9E?= Date: Fri, 18 Mar 2022 17:57:44 +0800 Subject: [PATCH] feat:add search and replace --- index.html | 4 + src/editor/core/command/Command.ts | 6 + src/editor/core/command/CommandAdapt.ts | 150 ++++++++++----------- src/editor/core/draw/Draw.ts | 22 +-- src/editor/core/draw/interactive/Search.ts | 109 ++++++++++++++- src/editor/interface/Search.ts | 2 + src/main.ts | 31 +++-- src/style.css | 36 ++++- 8 files changed, 248 insertions(+), 112 deletions(-) diff --git a/index.html b/index.html index 48e0ecf..fddd499 100644 --- a/index.html +++ b/index.html @@ -171,6 +171,10 @@ × +