[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] FYI: GapContent fix
From: |
Roman Kennke |
Subject: |
[cp-patches] FYI: GapContent fix |
Date: |
Fri, 12 Aug 2005 17:35:27 +0200 |
Hi,
the GapContent was broken which lead to misfunctional textfields and
editorpanes. The attached patch fixes this (was a misplaced curly brace
of an if() statement of a boundary check) and adds some cleanup. The
insertString and remove methods both now call the protected replace()
implementation.
2005-08-12 Roman Kennke <address@hidden>
* javax/swing/text/GapContent.java
(insertString): Use replace() to actually insert content.
(remove): Use replace() to actually remove content.
(shiftGap): Repaired misplaced curly brace in if block of
boudary check.
(replace): Check for null argument for addItems.
/Roman
GapContent.diff
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] FYI: GapContent fix,
Roman Kennke <=