Re: darcs patch: Yi.UI.Cocoa: Stop using charRegionB/charIndexB/byteIndexB

2009-04-09 Thread Kevin Ballard
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 byteToCharPic

Re: darcs patch: Yi.UI.Cocoa: Stop using charRegionB/charIndexB/byteIndexB

2009-04-09 Thread Jean-Philippe Bernardy
On Thu, Apr 9, 2009 at 7:38 PM, Kevin Ballard 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 th

Re: darcs patch: Yi.UI.Cocoa: Stop using charRegionB/charIndexB/byteIndexB

2009-04-09 Thread Kevin Ballard
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? -Kevin Ballard On Wed, Apr 8, 2009 at 8:02 AM, Jean-Philippe Bernardy < jeanphilip

Re: darcs patch: Yi.UI.Cocoa: Stop using charRegionB/charIndexB/byteIndexB

2009-04-08 Thread Jean-Philippe Bernardy
Great, can you also remove the functions at the end of Buffer/Misc.hs ? -- JP On Wed, Apr 8, 2009 at 4:31 PM, wrote: > Wed Apr  8 07:30:52 PDT 2009  ke...@sb.org >  * Yi.UI.Cocoa: Stop using charRegionB/charIndexB/byteIndexB > >  I missed a couple of these calls in the previous patch > > > > -