Mercurial > hg > RemoteEditor > Eclipse
changeset 144:5e3d915219b8
*** empty log message ***
author | pin |
---|---|
date | Tue, 26 Feb 2008 19:17:50 +0900 |
parents | 7218ba447b7a |
children | e3e3f9a61b2e |
files | bin/remoteeditor/editors/RemoteEditor.class bin/remoteeditor/network/REP.class src/remoteeditor/editors/RemoteEditor.java src/remoteeditor/network/REP.java |
diffstat | 4 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/remoteeditor/editors/RemoteEditor.java Fri Feb 15 13:00:07 2008 +0900 +++ b/src/remoteeditor/editors/RemoteEditor.java Tue Feb 26 19:17:50 2008 +0900 @@ -408,7 +408,7 @@ case REP.SMCMD_GET_UNDO: try { String text = getTextByLineNo(command.lineno); - sendCommand = new REPCommand(REP.REPCMD_READ, mysid, myeid, 0, command.lineno, 0, text); + sendCommand = new REPCommand(REP.SMCMD_GET_UNDO_ACK, mysid, myeid, 0, command.lineno, 0, text); } catch (BadLocationException e) { // TODO Auto-generated catch block e.printStackTrace();
--- a/src/remoteeditor/network/REP.java Fri Feb 15 13:00:07 2008 +0900 +++ b/src/remoteeditor/network/REP.java Tue Feb 26 19:17:50 2008 +0900 @@ -35,5 +35,6 @@ public static final int SMCMD_UPDATE = 65; public static final int SMCMD_UPDATE_ACK = 66; public static final int SMCMD_GET_UNDO = 71; + public static final int SMCMD_GET_UNDO_ACK = 72; }