>Hi,
>
>I am developing a toolbar to navigate in a ascii document which is shown via MODI COMM and am looking for ways to get info about the document and navigate around it.
>
>How do you get a referece to the document? How many rows does it show? Which is the topmost visible row? In which row is the cursor? I presume to navigate one would issue KEYBOARD commands.
You may look into Range clause of the Modify Command command. Though, it only helps you select a bit of text at the time you open the text - pretty much behaves as a selstart and selstart+sellength.