From aecaea3ef17c70c2d1c88673f3baa8cb50f7a7b0 Mon Sep 17 00:00:00 2001 From: Fabian Jakobs Date: Tue, 20 Apr 2010 14:38:01 +0200 Subject: [PATCH] changing the document is now possible --- demo/editor.html | 85 +++++++++++++++++++++++++---- src/Editor.js | 98 ++++++++++++++++++--------------- src/MEventEmitter.js | 15 +++++- src/TextDocument.js | 26 +++++++-- test/ChangeDocumentTest.js | 107 +++++++++++++++++++++++++++++++++++++ test/TextEditTest.js | 8 +-- 6 files changed, 276 insertions(+), 63 deletions(-) create mode 100644 test/ChangeDocumentTest.js diff --git a/demo/editor.html b/demo/editor.html index 0a05bf0f..b7b0d7a2 100644 --- a/demo/editor.html +++ b/demo/editor.html @@ -65,6 +65,14 @@ +
+ + +