protected void VerifyCaretPosition(int expectedCaretPosition)
        {
            var position = TextViewWindow.GetCaretPosition();

            Assert.Equal(expectedCaretPosition, position);
        }
        public static void VerifyCaretPosition(TextViewWindow_OutOfProc window, int expectedCaretPosition)
        {
            var position = window.GetCaretPosition();

            Assert.Equal(expectedCaretPosition, position);
        }