Mercurial > hg > RemoteEditor > Eclipse
changeset 45:09b5ff3263aa
*** empty log message ***
author | pin |
---|---|
date | Fri, 06 Apr 2007 04:48:52 +0900 |
parents | 33ddd5032b1d |
children | b8a9d819b319 |
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 04:48:52 2007 +0900 +++ b/src/remoteeditor/editors/RemoteEditor.java Fri Apr 06 04:48:52 2007 +0900 @@ -141,7 +141,7 @@ } public void changeText(int kindOfCmd, int lineNo, int LineLength, String text) throws Exception{ - final int offset = document.getLineOffset(lineNo); + final int offset = document.getLineOffset(lineNo - 1); final String changedText = text; final int replaceLength = document.getLineLength(lineNo);