changeset 88:f58cfe8ec4c0

*** empty log message ***
author pin
date Sat, 17 Nov 2007 04:50:22 +0900
parents 267536d02275
children 2d9d35298631
files src/remoteeditor/editors/RemoteEditor.java
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/remoteeditor/editors/RemoteEditor.java	Fri Nov 16 15:00:54 2007 +0900
+++ b/src/remoteeditor/editors/RemoteEditor.java	Sat Nov 17 04:50:22 2007 +0900
@@ -247,6 +247,7 @@
 			break;
 		case REP.REPCMD_INSERT:
 			try {
+					if(command.eid == myeid) break;	//あとで消す
 					textInsert(command.lineno, command.len, command.string);
 				} catch (Exception e) {
 					e.printStackTrace();
@@ -254,6 +255,7 @@
 			break;
 		case REP.REPCMD_REPLACE:
 			try {
+					if(command.eid == myeid) break;//あとで消す
 					changeText(command.cmd, command.lineno, command.len, command.string);
 				} catch (Exception e1) {
 					e1.printStackTrace();
@@ -261,6 +263,7 @@
 			break;
 		case REP.REPCMD_DELETE:
 			try {
+					if(command.eid == myeid) break;//あとで消す
 					textDelete(command.lineno, command.len, command.string);
 				} catch (BadLocationException e1) {
 					e1.printStackTrace();