* javax/swing/JTextArea.java (replaceRange):
Fixing doc.remove(start, length) misinterpretation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98381
138bc75d-0d04-0410-961f-
82ee72b054a4
+2005-04-19 Audrius Meskauskas <audriusa@bluewin.ch>
+
+ * javax/swing/JTextArea.java (replaceRange):
+ Fixing doc.remove(start, length) misinterpretation.
+
2005-04-19 Roman Kennke <roman@ontographics.com>
* javax/swing/CellRendererPane.java:
try
{
- doc.remove(start, end);
- doc.insertString(start, text, null);
+ doc.remove(start, end - start);
+ doc.insertString(start, text, null);
}
catch (BadLocationException e)
{