Posted 19 years ago
by Boyd
-
Sr. Software Developer,
Patterson Consulting, LLC
When you use the Mouse Wheel to scroll Syntax Editor vertically, it appears that the 'ViewVerticalScroll' event is being fired before the change is taking place in Syntax Editor.
If you look at the 'SyntaxEditor.SelectedView.FirstVisibleDisplayLineIndex' property from within the 'ViewVerticalScroll' event, it's reported properly when you scroll by the scrollbar, but always reports the previous position when you scroll by the mouse wheel.
If you look at the 'SyntaxEditor.SelectedView.FirstVisibleDisplayLineIndex' property from within the 'ViewVerticalScroll' event, it's reported properly when you scroll by the scrollbar, but always reports the previous position when you scroll by the mouse wheel.