Greetings, Whilst developing, i often <dtml-comment> out some part of a document so I can test an replacement/option/something. Sometimes, due to interruptions or just my poor memory, I don't remove the old code... I was just wondering if there were some convenient way I could search all of my DTML[Documents|Methods] and ZSQL Methods, for comments, so I could review them? Perhaps it's time I learned how to use ZCatalog? Have a better one, Curtis Maloney.
Curtis Maloney wrote:
I was just wondering if there were some convenient way I could search all of my DTML[Documents|Methods] and ZSQL Methods, for comments, so I could review them?
Perhaps it's time I learned how to use ZCatalog?
There was a trhead recently abotu search and replace. It'd be great if Zope had a search and replace interface, wouldn't it? ;-) (note: this doesn't mean that all objects would need to implement it, but it'd be mighty helpful if DTML Methods, Documents, etc did) cheers, Chris PS: This has got to be related to ZCAtalog somehow, I wonder how the two interact? I guess Catalog provides the search interface (ZSearch Interface, nto documented anywhere, pretty ropey IMHO) and object would have to implement a replace interface. It's be cool If there was a repalce library call too... give it a string and some replacement text and it does a search and replace on that in C so it's nice and fast...)
On Wed, 6 Dec 2000, Chris Withers wrote:
There was a trhead recently abotu search and replace. It'd be great if Zope had a search and replace interface, wouldn't it? ;-)
May I humbly point you to the ReplaceSupport product I had cataloged today... http://www.zope.org/Members/shh/ReplaceSupport/ It is not the object-level replace interface you were asking for, Chris, but it still helps a lot round here when we do things TTW. ;) Regards, Stefan
"Stefan H. Holek" wrote:
May I humbly point you to the ReplaceSupport product I had cataloged today...
Looks good :-) How about doing a proposal/project on dev.zope.org to see whether it could become an 'official' part of the Zope core? cheers, Chris
participants (3)
-
Chris Withers -
Curtis Maloney -
Stefan H. Holek