-1

I've a requirement where I'll show the HTML page(basically a source file of java) to the end user. I am looking for an option to select few lines like... during onClick it should start selecting the line and upon releasing click it should select the lines I've scrolled and underneath it should show the text area to enter my comments and also it should provide a button to submit comment I entered. Any help in this regard is well appreciated.

Wladimir Palant
  • 56,865
  • 12
  • 98
  • 126
Raghu
  • 41
  • 1
  • 7
  • If it's showing the text *as* text, shouldn't the normal click-and-drag text-selection of most GUIs work normally to achieve this? – David Thomas Jun 27 '11 at 20:32
  • Yeah..I'm not just talking about selection. After selection it should dynamically open that text area to enter the comments. This text area should open up only if some one selects the portion of the code. – Raghu Jun 28 '11 at 13:24

1 Answers1

0

You want a text annotator.

Something like this one for jQuery (scroll down for the demo).

Town
  • 14,706
  • 3
  • 48
  • 72