[monodoc] Add a full title field to search result so that more information (like...
[mono.git] / mcs / tools / monodoc / Monodoc / ecma-provider.cs
index f7e808943db6ab7ca42a5491bbd02567012035af..63de3d7cd2a72f6d65c23487b2ced223bd76b180 100644 (file)
@@ -1980,6 +1980,7 @@ public class EcmaHelpSource : HelpSource {
                                        doc.title = type_node.Caption;
                                        doc.hottext = typename;
                                        doc.url = url;
+                                       doc.fulltitle = full;
                                        
                                        XmlNode node_sel = xdoc.SelectSingleNode ("/Type/Docs");
                                        text  = new StringBuilder ();
@@ -2039,6 +2040,7 @@ public class EcmaHelpSource : HelpSource {
                                                        default:
                                                                break;
                                                        }
+                                                       doc_nod.fulltitle = string.Format ("{0}.{1}::{2}", ns_node.Caption, typename, nc.Caption);
                                                        //dont add the parameters to the hottext
                                                        int ppos = nc.Caption.IndexOf ('(');
                                                        if (ppos != -1)