Re: [java-gnome-hackers] TextBuffer TextIter methods
Brought to you by:
afcowie
|
From: Stefan P. <st...@pr...> - 2008-05-09 13:38:40
|
Am Freitag, den 09.05.2008, 17:40 +1000 schrieb Andrew Cowie: > I am chafing at the asymmetry between TextBuffer and TreeModel's > "iterator" retrieving methods. I am therefore considering presenting our > public API as: > > getIterStart(), > getIterEnd(), and > getIter(TextMark) > > instead. The completion space at getIter<COMPLETE> looks a lot better. I think that is a good idea. I am not totally sure about the name "getIter(TextMark)" resp. "getIter(TreePath)". Maybe a "getIterAt(TextMark)" or "getIterFrom(TextMark") would give a better hint that this is basically a conversion method. Cheers, Stefan |