Posted 19 years ago
by Ulrich Proeller

Hello,
I am opening programatically a second view in my editor by settingAfter that, I want to make sure, that a certain code portion is shown in my newly created view with the following code:
but nothing happens. The newly created view still shows the beginning of my code.
What am I doing wrong?
2. Question: How can I know, which view is which?. In the moment it seems to me that the newly created view (shown as upper view) is view[1], the lower view is view[0].
Thanks in advance
Uli
I am opening programatically a second view in my editor by setting
editor.HorizontalSplitPosition = 200;
EditorView view = editor.Views[1];
view.EnsureVisible(350, true);
What am I doing wrong?
2. Question: How can I know, which view is which?. In the moment it seems to me that the newly created view (shown as upper view) is view[1], the lower view is view[0].
Thanks in advance
Uli