KDE/kdelibs/kate/buffer
Milian Wolff
mail at milianw.de
Sun Apr 11 17:21:16 UTC 2010
On Sunday 11 April 2010 18:59:16 Christoph Cullmann wrote:
> Milian Wolff wrote:
> > On Sunday 11 April 2010 10:57:21 Milian Wolff wrote:
> >> On Sunday 11 April 2010 11:50:15 Christoph Cullmann wrote:
> >>> What would help me a lot:
> >>> Could I get a list of the interface functions KDevelop uses of the
> >>> smart range interface?
> >>> I would then deprecate any other and kill the implementation, that the
> >>> Smart* mess at least not spreads further.
> >>>
> >>> Btw., if nobody steps up to provide a list, I can do my own, by grep -r
> >>> for each interface function.
> >>> Each I don't find will get a deprecated marker and it's implementation
> >>> will do kFatal.
> >>
> >> I'll see what I can do.
> >>
> >> Bye, have a nice weekend, hope I didn't spoil it for you :-/
> >
> > ==== SUMMARY ====
> > ## FILES ##
> > kdevplatform/plugins/problemreporter/problemhighlighter.cpp 1
> > kdevplatform/language/editor/modificationrevision.cpp 1
> > kdevplatform/language/editor/documentrangeobject.cpp 1
> > kdevplatform/language/duchain/ducontext.cpp 1
> > kdevplatform/language/duchain/duchain.cpp 1
> > kdevplatform/language/codecompletion/codecompletionworker.cpp 1
> > kdevplatform/language/editor/editorintegratorstatic.cpp 2
> > kdevplatform/language/backgroundparser/parsejob.cpp 5
> > kdevplatform/plugins/contextbrowser/contextbrowser.cpp 6
> > kdevplatform/language/editor/editorintegrator.cpp 7
> > kdevplatform/plugins/patchreview/patchreview.cpp 9
> >
> > ## QUERIES ##
> > Iface::useRevision(int) 1
> > Iface::setClearOnDocumentReload(bool) 1
> > Iface::releaseRevision(int) 1
> > Iface::newSmartCursor(const Cursor&, InsertBehavior) 1
> > Iface::clearRevision() 1
> > Iface::newSmartRange (const KTextEditor::Cursor&, const
> > KTextEditor::Cursor&, KTextEditor::SmartRange*,
> > KTextEditor::SmartRange::InsertBehaviors) 2
> > Iface::translateFromRevision(const Range&, InsertBehaviors) 2
> > Iface::currentRevision() 2
> > Iface::addHighlightToDocument (KTextEditor::SmartRange*, bool) 3
> > Iface::newSmartRange (const KTextEditor::Range&,
> > KTextEditor::SmartRange*, KTextEditor::SmartRange::InsertBehaviors) 3
> > Iface::smartMutex() 18
> >
> >
> > Just for kdevplatform, have to fix something to get it for kdevelop as
> > well. Oh and this is only KTExtEditor::SmartInterface, do yuo need the
> > same for SmartRange and SmartCursor?
>
> Would be cool ;)
> Thanks a lot already for this stats.
You are welcome. Here's the only hit I found in KDevelop:
## FILES ##
1 kdevelop/languages/cpp/codecompletion/model.cpp
## QUERIES ##
1 Iface::smartMutex()
I'll double check tomorrow and extend the queries to also handle
SmartCursor&Ranges.
Bye
--
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20100411/5c789dd2/attachment.sig>
More information about the KDevelop-devel
mailing list