This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 205633 - AttributedCharSequence doesn't implement AttributedCharacterIterator properly
Summary: AttributedCharSequence doesn't implement AttributedCharacterIterator properly
Status: RESOLVED WONTFIX
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 7.0
Hardware: PC All
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-29 07:31 UTC by emi
Modified: 2016-07-07 07:27 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description emi 2011-11-29 07:31:08 UTC
I think AttributedCharSequence was added with editor.lib2 / PrintUtils.

It doesn't seem to implement AttributedCharacterIterator properly, in particular getRunLimit(Attribute attribute) and getRunLimit(Set<? extends Attribute> attributes).

PS: There's also a typo in the static block at the beginning of the class, where attr2Handler.put(StyleConstants.Background,...) is called twice.
Comment 1 David Strupl 2012-11-08 08:58:14 UTC
Presumably this does not have any visible effect on the end users --> P4.
Comment 2 Marian Mirilovic 2012-11-08 09:32:45 UTC
p4 enh ... did you mean wontfix ?
Comment 3 David Strupl 2012-11-08 10:16:52 UTC
No, the code is IMHO not finished. But it does not affect the users --> P4 ENH. Should be eventually improved.
Comment 4 David Strupl 2012-11-08 10:18:01 UTC
Why have you assigned this to me? I have no idea what the unimplemented methods should do ...
Comment 5 Martin Balin 2016-07-07 07:27:30 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss