select without clicking for clearSelection() of TextPanel?
Posted by Andy Puckett on
URL: http://imagej.273.s1.nabble.com/select-without-clicking-for-clearSelection-of-TextPanel-tp3696867.html
Does anyone know of a way to select lines of a TextPanel for use with
clearSelection(), but without using the mouse? I need to be able to
remove the last line that was added with appendLine(), but
automatically from within my plugin.
The best I have been able to do is to use setLine() to replace it with
a blank line, but this is unsatisfying when more lines are then
appended after it.
Thanks,
Andy