Mercurial > hg > RemoteEditor > Eclipse
changeset 112:65ba9545fa49
*** empty log message ***
author | pin |
---|---|
date | Sun, 23 Dec 2007 12:16:41 +0900 |
parents | 07a8d0a0f7e4 |
children | 522c6bd9b11b |
files | bin/remoteeditor/editors/RemoteEditor$1.class bin/remoteeditor/editors/RemoteEditor.class src/remoteeditor/editors/RemoteEditor.java |
diffstat | 3 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/remoteeditor/editors/RemoteEditor.java Sun Dec 23 12:01:44 2007 +0900 +++ b/src/remoteeditor/editors/RemoteEditor.java Sun Dec 23 12:16:41 2007 +0900 @@ -156,6 +156,9 @@ if(numberOfLinesNew > numberOfLinesOld){ //insert, delete, replace �� �s���Ŕ��f cmd = REP.REPCMD_INSERT; + if(inputText.equals("\n")){ + line--; + } lineText = inputText; //line += 1; }else if(numberOfLinesNew == numberOfLinesOld){