textArea "primitives"
Submitted by Thursday, 11 October, 2012 - 15:49
on
I am a jEdit/beanshell newbie, so please bear with me.
I have started writing beanshell macros for jEdit, and find that there appears to be a shortage of very basic methods in the jEdit API, such as "move caret down N lines" or "move caret to line XXX".
Since the language is written specifically with text manipulation in mind, I find these omissions rather surprising.
Surfing the java and jEdit APIs is not easy, so I may have missed something. If so, I'd be very happy if someone would point me in the right direction.
P.S. Doesn't this forum have a moderator? It seems to be full of messages about erectile dysfunction!
I have started writing beanshell macros for jEdit, and find that there appears to be a shortage of very basic methods in the jEdit API, such as "move caret down N lines" or "move caret to line XXX".
Since the language is written specifically with text manipulation in mind, I find these omissions rather surprising.
Surfing the java and jEdit APIs is not easy, so I may have missed something. If so, I'd be very happy if someone would point me in the right direction.
P.S. Doesn't this forum have a moderator? It seems to be full of messages about erectile dysfunction!