Scrolling to beginning of selected line in a text field

2012-07-11 Thread James Hale
I have a text field with a large amount of text being displayed. I also have a search routine that returns line numbers for all lines of the field containing the terms i have searched for. These search results are displayed using a datagrid with its row behaviour set to select the line number cor

Scrolling to beginning of selected line in a text field. - SOLVED

2012-07-12 Thread James Hale
It might be a kludge but I have solved my select line display dilemma. Instead of just a "select line x of..." I have added... Select word 1 of line x of Put the vscroll of field "the field" into the_scroll Select line x of Set the vscroll of field "the field" to the_scroll