Ejemplo n.º 1
0
 public static TreeView after_TagSelect_showIn_SouceCodeViewer(this TreeView htmlTags_TreeView, ascx_SourceCodeViewer htmlCodeViewer)
 {
     htmlTags_TreeView.afterSelect <HtmlAgilityPack.HtmlNode>(
         (htmlNode) => {
         try
         {
             htmlCodeViewer.showHtmlNodeLocation(htmlNode);
             htmlCodeViewer.editor().caret(htmlNode.Line, htmlNode.LinePosition);
         }
         catch (Exception ex)
         {
             "[after_TagSelect_showIn_SouceCodeViewer] Error: {0}".error(ex.Message);
         }
     });
     return(htmlTags_TreeView);
 }