Hi,
Currently we have developed an editor which supports to view multiple tabs(documents) . when the user opens and starts editing, when he switches to a different tab and come back the earlier tab, the caret resets to first line and first column.
We tried to save last caret position for every document when the selection change happens, but we were not able to save the scroll position.
Tried to save the first position and set it back again in GotFocus method but the First position value does not gets updated always.
We are trying to mock the exact scroll behaviour as in visual studio. Where, each tab remembers the scroll position irrespective of the caret position or the text selection.
Please help us to achieve the same.
Thanks and Regards,
Mageshwaran Gurusamy