1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 17:05:26 +02:00

Show the kind/type in the hover also,

This commit is contained in:
Alain Magloire 2002-12-06 19:59:18 +00:00
parent 3752b22c4e
commit 265e894bfa

View file

@ -99,8 +99,8 @@ public class DefaultCEditorTextHover implements ITextHover
if(tags != null && tags.length > 0) {
ITagEntry selectedTag = selectTag(tags);
// Show only the first element
buffer.append("<b>" + HTMLPrinter.convertToHTMLContent(expression) +
"()</b> - " + selectedTag.getIFile().getFullPath().toString() + "[" + selectedTag.getLineNumber()+"]" );
buffer.append("<b> " + TagFlags.value(selectedTag.getKind()) + " " + HTMLPrinter.convertToHTMLContent(expression) +
"</b> - " + selectedTag.getIFile().getFullPath().toString() + "[" + selectedTag.getLineNumber()+"]" );
// Now add the pattern
buffer.append("<br><br>" + HTMLPrinter.convertToHTMLContent(selectedTag.getPattern()));
}