Re: [java-gnome-hackers] Problem with TextIter / Generator
Brought to you by:
afcowie
From: Stefan P. <st...@pr...> - 2008-05-04 19:18:46
|
Am Sonntag, den 04.05.2008, 16:23 +1000 schrieb Andrew Cowie: > > So, I need an instance of a TextIter [but no way to instantiate one] > > > Yup. This is a situation we've come across a few times already. Ok, glad to know I didn't miss anything. > But we do have a route around that, of course, necessary for cases where > the generated code doesn't do what we need. They are colloquially known > as Overrides. I am a bit surprised you didn't notice any. Oh well. The thought to look at TreeIter (or other iterators) did not cross my mind. :) Shame on me. > So definitely feel free to merge from my 'textview' branch at > bzr://research.operationaldynamics.com/bzr/java-gnome/hackers/andrew/textview/ > > ... but be aware it's very much work-in-progress, no where near > 'mainline' ready, and not really something I can afford to be spending > much time on. Nevertheless there is a lot of infrastructure fixing > that's gone on there already, and more that will become necessary. More > to the point it's always good to collaborate with someone working on an > area rather than having their work being duplicate effort. I did some work on the 'textview' branch and I have it working now. You will get it per email in a few minutes. Having at least minimal (without tags) TextView coverage in java-gnome is something that should be included in the mainline with the next release. You cannot build GUIs with simple multiline textfields without it, which I consider an important feature. So, I think I'll help you on that branch - although I have no experience with tagged TextBuffers yet. But that can be changed in the process. Cheers, Stefan |