[Audit] Remove suppression of hidden methods on TextBufferTextIterator #3766

Open
opened 2026-01-30 23:29:39 +00:00 by claunia · 0 comments
Owner

Originally created by @miniksa on GitHub (Sep 6, 2019).

This is very related to #2681 and will probably be fixed at the same time or with a better design that could encompass both of these.

The issue is that the Text iterator inherits from the Cell one. Which is probably not right. It should probably encapsulate it or something.

The original idea when I was scrabbling those iterators together was to not waste time advancing the portions of the iterator that weren't related to the text if all the end consumer wanted was the text. But it doesn't even look like I achieved that and I introduced things that are turning into gross situations and warnings.

Originally created by @miniksa on GitHub (Sep 6, 2019). This is very related to #2681 and will probably be fixed at the same time or with a better design that could encompass both of these. The issue is that the Text iterator inherits from the Cell one. Which is probably not right. It should probably encapsulate it or something. The original idea when I was scrabbling those iterators together was to not waste time advancing the portions of the iterator that weren't related to the text if all the end consumer wanted was the text. But it doesn't even look like I achieved that and I introduced things that are turning into gross situations and warnings.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#3766