[Seaside] Select line in textarea

Michel Bany michel.bany at gmail.com
Sun Mar 25 17:47:36 UTC 2007


> Is there a way to either:
>
> -Scroll to a specific line on a text area?
> -Select a specific line in a text area?
>
> Or even both?  With Run BASIC it would be very useful to take the user
> straight to bad code when there is a compile error.

Hi Carl,
You may want to play with (enhance?) #setCursorPosition:
The corresponding js is at WAStandardScripts>>misc.
HTH
Michel.



More information about the seaside mailing list