changeset 137:debb9b2eca2d

*** empty log message ***
author pin
date Tue, 22 Jan 2008 19:50:05 +0900
parents 5b6afb5641ac
children 7353ff5ddbb1
files bin/remoteeditor/editors/RemoteEditor$1.class bin/remoteeditor/editors/RemoteEditor.class src/remoteeditor/editors/RemoteEditor.java
diffstat 3 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
Binary file bin/remoteeditor/editors/RemoteEditor$1.class has changed
Binary file bin/remoteeditor/editors/RemoteEditor.class has changed
--- a/src/remoteeditor/editors/RemoteEditor.java	Tue Jan 22 19:32:01 2008 +0900
+++ b/src/remoteeditor/editors/RemoteEditor.java	Tue Jan 22 19:50:05 2008 +0900
@@ -215,6 +215,10 @@
 			StringBuffer sb = new StringBuffer(lineText);
 			sb.delete(offset, offset + inputText.length());
 			undoString = sb.toString();
+			if(replacedText != null){
+				sb.insert(offset, replacedText);
+			}
+			undoString = sb.toString();
 			//sb.insert(offset, inputText);
 			//if(replacedText == null){
 			//	sb.delete(offset, inputText.length());