-
Enhancement
-
Resolution: Unresolved
-
P4
-
1.4.0
-
generic
-
generic
Name: nl37777 Date: 02/27/2002
The JTextComponent implementation currently creates break
iterators on the fly, and always uses a natural language break iterator
obtained from BreakIterator.get*Instance methods. This makes it hard to
use JTextComponent to implement a program editor, where word breaks
should correspond to programming language tokens. There should be an API
that lets a client program set the BreakIterator to be used for all
breaking operations in the JTextComponent.
See the related RFE 4644224.
======================================================================
The JTextComponent implementation currently creates break
iterators on the fly, and always uses a natural language break iterator
obtained from BreakIterator.get*Instance methods. This makes it hard to
use JTextComponent to implement a program editor, where word breaks
should correspond to programming language tokens. There should be an API
that lets a client program set the BreakIterator to be used for all
breaking operations in the JTextComponent.
See the related RFE 4644224.
======================================================================
- relates to
-
JDK-6612541 api/javax_swing/text/LabelView/index.html#getXXX[LabelView0004] fails since JDK 7 b20
-
- Closed
-
-
JDK-6978666 closed/javax/swing/text/html/TableView/4813831/bug4813831.java failed
-
- Closed
-
-
JDK-4644224 BreakIterator should allow use for programming languages
-
- Resolved
-