conor.odriscoll@o2.ie
Member
- Joined
- Jun 23, 2006
- Messages
- 14
- Programming Experience
- 1-3
Hi,
I am making a HTML Editor, and in it I have what I call an "Elements Treeview", which is basically just a TreeView view of your doocument, e.g. there will be a node for the body tag, and then child nodes for all tags inside that, then child nodes for all tags inside those, and so on. Now here comes the complicated bit. I want that when a user double clicks on a node, it will find the tag that node represents in the HTML source(which is displayed in a RichtextBox). Can anyone suggest how to do this?
I am making a HTML Editor, and in it I have what I call an "Elements Treeview", which is basically just a TreeView view of your doocument, e.g. there will be a node for the body tag, and then child nodes for all tags inside that, then child nodes for all tags inside those, and so on. Now here comes the complicated bit. I want that when a user double clicks on a node, it will find the tag that node represents in the HTML source(which is displayed in a RichtextBox). Can anyone suggest how to do this?