Mercurial > hg > RemoteEditor > Eclipse
changeset 138:7353ff5ddbb1
*** empty log message ***
author | pin |
---|---|
date | Fri, 01 Feb 2008 09:26:40 +0900 |
parents | debb9b2eca2d |
children | 4cff3c065460 |
files | bin/remoteeditor/editors/RemoteEditor$1.class bin/remoteeditor/editors/RemoteEditor.class src/remoteeditor/editors/RemoteEditor.java |
diffstat | 3 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/remoteeditor/editors/RemoteEditor.java Tue Jan 22 19:50:05 2008 +0900 +++ b/src/remoteeditor/editors/RemoteEditor.java Fri Feb 01 09:26:40 2008 +0900 @@ -75,6 +75,7 @@ viewer.addTextListener(this); document = viewer.getDocument(); filename = this.getEditorInput().getName(); + numberOfLinesOld = document.getNumberOfLines(); int port = 8766; String host = "localhost"; @@ -214,7 +215,7 @@ } StringBuffer sb = new StringBuffer(lineText); sb.delete(offset, offset + inputText.length()); - undoString = sb.toString(); + //undoString = sb.toString(); if(replacedText != null){ sb.insert(offset, replacedText); }