Other |
---|
1.4.2 mantisFixed |
Relates :
|
As a fix for 4431047, AbstractDocument was given a replace method. This was designed to allow replacing text to be treated as an atomic operation. The JTextComponent method replaceSelection was then changed to call that new method. Unfortunately, it was overlooked that JEditorPane and JTextPane override that method. Therefore, they do not automatically see the benefit of this change. Those two methods should be looked at and changed to use the new replace method.
|