Looks like it's being used in conjunction with a function called byteToCharPicture (defined in Yi.UI.Cocoa.TextStorage). I suspect that function can be removed entirely, which means indexedStreamB isn't even necessary here (the points returned from indexStreamRegionB was only used for byteToCharPicture). I'll submit a patch shortly that cleans this up. -Kevin Ballard
On Thu, Apr 9, 2009 at 11:24 AM, Jean-Philippe Bernardy < jeanphilippe.berna...@gmail.com> wrote: > > On Thu, Apr 9, 2009 at 7:38 PM, Kevin Ballard <kball...@gmail.com> wrote: > > indexStreamRegionB is also at the end of Buffer/Misc.hs under the > Character > > Positions section, but it was never deprecated. I don't know what this > > function is used for. Is there anything that should be done with it? > > It's still used in the cocoa code (once). I did not do any fishy > conversion between points and integers so > I was ok with it. It's still ok to keep it, even though using > indexedStreamB directly might be just as good. > > Thanks for the cleanups and investigations! > -- JP > > > > -- Kevin Ballard http://kevin.sb.org kball...@gmail.com --~--~---------~--~----~------------~-------~--~----~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~----------~----~----~----~------~----~------~--~---