Mercurial > hg > RemoteEditor > Eclipse
changeset 42:4cabaaa70938
*** empty log message ***
author | pin |
---|---|
date | Fri, 06 Apr 2007 03:11:26 +0900 |
parents | 9fbf3cc59a76 |
children | 94d2232a1d7d |
files | bin/remoteeditor/editors/RemoteEditor.class src/remoteeditor/editors/RemoteEditor.java |
diffstat | 2 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/remoteeditor/editors/RemoteEditor.java Fri Apr 06 03:04:41 2007 +0900 +++ b/src/remoteeditor/editors/RemoteEditor.java Fri Apr 06 03:11:26 2007 +0900 @@ -224,7 +224,7 @@ int offset = document.getLineOffset(i); int length = document.getLineLength(i); String text = document.get(offset, length); - repsend.send(new REPCommand(REP.REP_INSERT_CMD, mysid, myeid, myseq, i, text.length(), text)); + repsend.send(new REPCommand(REP.REP_INSERT_CMD, mysid, myeid, myseq, i+1, text.length(), text)); } } }