[PATCH]: store a range as position for a context import instead of a cursor
Milian Wolff
mail at milianw.de
Sat Aug 8 13:12:08 UTC 2009
David, please review.
Others: How do I update the kross stuff? Since I changed the kdevplatform API
Language-Plugin-Maintainer: you have to update your plugins and change the
calls to addImportedParentContext and pass a range instead of a cursor. In cpp
for example I pass the range between "" or <>.
With my upcomming patch which will push the whole includewidget and other stuff
into kdevplatform it will be much easier to find the positions where to show
these widgets. You won't have to do string-comparison. Just compare the ranges
of the imports for the current file with the positoin of the current cursor.
I might even make rewrite more parts of the API like I talked with david. This
would make stuff even easier :)
--
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdevelop_import_range.patch
Type: text/x-patch
Size: 20501 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20090808/22672d56/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdevplatform_import_range.patch
Type: text/x-patch
Size: 10628 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20090808/22672d56/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20090808/22672d56/attachment.sig>
More information about the KDevelop-devel
mailing list