changeset 54:520bf354a2ac

*** empty log message ***
author pin
date Fri, 06 Apr 2007 05:49:51 +0900
parents 2f6190300fdb
children 0a50e7234201
files bin/remoteeditor/editors/RemoteEditor.class src/remoteeditor/editors/RemoteEditor.java
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
Binary file bin/remoteeditor/editors/RemoteEditor.class has changed
--- a/src/remoteeditor/editors/RemoteEditor.java	Fri Apr 06 05:45:36 2007 +0900
+++ b/src/remoteeditor/editors/RemoteEditor.java	Fri Apr 06 05:49:51 2007 +0900
@@ -241,10 +241,10 @@
 
 
 	private void textDelete(int lineNo, int len, String string) throws BadLocationException {
-		final int offset = document.getLineOffset(lineNo-1);
+		final int offset = document.getLineOffset(lineNo);
 		//final String changedText = string;
 
-			final int replaceLength = document.getLineLength(lineNo-1);
+			final int replaceLength = document.getLineLength(lineNo);
 		
 		viewer.getTextWidget().getDisplay().syncExec(new Runnable() {
 			public void run() {