Update of /cvsroot/csseditor/net.sourceforge.csseditor/src/net/sourceforge/csseditor/internal/text
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5503/src/net/sourceforge/csseditor/internal/text
Modified Files:
CssAutoEditStrategy.java
Log Message:
Fix bug #876042 where pasting text with tabs would insert DocumentCommand.toString() instead of the actual text on the clipboard.
Thanks to Matt Brozowski for the patch!
Index: CssAutoEditStrategy.java
===================================================================
RCS file: /cvsroot/csseditor/net.sourceforge.csseditor/src/net/sourceforge/csseditor/internal/text/CssAutoEditStrategy.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** CssAutoEditStrategy.java 27 Dec 2003 16:53:09 -0000 1.2
--- CssAutoEditStrategy.java 4 Feb 2004 09:43:42 -0000 1.3
***************
*** 142,146 ****
position += remainder;
} else {
! buffer.append(c);
position++;
}
--- 142,146 ----
position += remainder;
} else {
! buffer.append(ch);
position++;
}
|