Re: how to scroll ListView to make a specific item visible (only when not visible already)

2013-12-13 Thread Tomas Mikula
On Wed, Sep 25, 2013 at 10:04 PM, Tomas Mikula tomas.mik...@gmail.com wrote: Hi, does anyone know of a way to make a specific ListView item visible, but don't scroll the ListView at all if the item is already in the viewport? I will answer my question from months ago: I have to dig up the

Re: how to scroll ListView to make a specific item visible (only when not visible already)

2013-12-13 Thread Stephen F Northover
Thank for coming back and answering. Steve On 2013-12-13 5:34 PM, Tomas Mikula wrote: On Wed, Sep 25, 2013 at 10:04 PM, Tomas Mikula tomas.mik...@gmail.com wrote: Hi, does anyone know of a way to make a specific ListView item visible, but don't scroll the ListView at all if the item is

how to scroll ListView to make a specific item visible (only when not visible already)

2013-09-25 Thread Tomas Mikula
Hi, does anyone know of a way to make a specific ListView item visible, but don't scroll the ListView at all if the item is already in the viewport? I am working on a code editor, displaying lines in a ListView. Whenever the caret moves up/down, I want to bring the current line to the viewport.