Hey everyone and good morning...

I'm working on creating my own web browser and so far everything is working fine...however I want to add the FireFox-like "View Selection Source" feature to my browser, can someone show me how or point me in the right direction...I would really appreciate the help