Click here to Skip to main content
15,921,113 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want the plug can be like Visual Studio editor, get current cursor position Html Element Information. As shown below picture:
<img src="http://img.bbs.csdn.net/upload/201308/04/1375608620_601689.png"/>

Following is my Code Snippet.
C#
var td = _applicationObject.ActiveDocument.Object("TextDocument") as TextDocument;
var objHTMLWin = _applicationObject.ActiveDocument.ActiveWindow.Object as HTMLWindow;
var objEP = td.Selection.ActivePoint.CreateEditPoint();
var objWindow = _applicationObject.ActiveDocument.ActiveWindow;
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900