changeset 44:33ddd5032b1d

*** empty log message ***
author pin
date Fri, 06 Apr 2007 04:48:52 +0900
parents 94d2232a1d7d
children 09b5ff3263aa
files src/remoteeditor/editors/RemoteEditor.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/remoteeditor/editors/RemoteEditor.java	Fri Apr 06 04:39:13 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 - 1);
+		final int offset = document.getLineOffset(lineNo);
 		final String changedText = text;
 
 			final int replaceLength = document.getLineLength(lineNo);