# HG changeset patch # User pin # Date 1198374681 -32400 # Node ID 823a45f843a9308e303119f425b06d76d713da60 # Parent 8a3880cd858b3d7bf8b2a212f6b20fea1fa8cda6 *** empty log message *** diff -r 8a3880cd858b -r 823a45f843a9 bin/remoteeditor/editors/RemoteEditor.class Binary file bin/remoteeditor/editors/RemoteEditor.class has changed diff -r 8a3880cd858b -r 823a45f843a9 src/remoteeditor/editors/RemoteEditor.java --- a/src/remoteeditor/editors/RemoteEditor.java Sun Dec 23 10:32:27 2007 +0900 +++ b/src/remoteeditor/editors/RemoteEditor.java Sun Dec 23 10:51:21 2007 +0900 @@ -287,7 +287,12 @@ break; case REP.REPCMD_READ_ACK: try { + if(command.sid == mysid && command.eid == myeid){ read(command); + }else{ + repsend.send(command); + } + } catch (BadLocationException e) { e.printStackTrace(); } @@ -298,10 +303,8 @@ private void read(REPCommand command) throws BadLocationException { - if(command.sid != mysid) return; - if(command.eid != myeid) return; final int offset = document.getLineOffset(command.lineno); - final String string = command.string + "¥n"; + final String string = command.string; viewer.getTextWidget().getDisplay().syncExec(new Runnable() { public void run() {