Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Selecting a C++ method in the CEditor under CDT+Mylyn bridge

I have opened bug 222482 regarding selecting a method in the CEditor which is affecting the CDT+Mylyn bridge. What is happening is that if one double-clicks on a C++ method, CDT Mylyn tries to resolve the selection to an ICElement. We use SelectionConverter.codeResolve to resolve the selection which does not account for the class name qualification and returns the empty set. So, we don't end up adding the method to the context. Alternatively, I guess the editor could choose to select the fully-qualified method name which would also solve the problem.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=222482

If there is some other interface I should be using, please let me know.

-- Jeff J.


Back to the top