PDA

View Full Version : getLineStartOffset with JEditorPane in Java



DBQ
April 10th, 2008, 11:32 PM
Hi everybody.

My program was using JTextAreas before. For reasons, I had to switch to JEditorPane. I got everything to work as before except one thing:
getLineStartOffset which worked fine with JTextArea is not working anymore. Is there a solution? an equivalent function? A trick? Examples are the best. Once again, I must stick with JEditroPane.

Thank you for your help.