AvalonStudio.Behaviors.EditorToolTipBehavior.OnBeforePopupOpen C# (CSharp) Method

OnBeforePopupOpen() public method

public OnBeforePopupOpen ( ) : Task
return Task
        public override async Task<bool> OnBeforePopupOpen()
        {
            var result = false;

            if (editorVm != null)
            {
                result = await editorVm.UpdateToolTipAsync(editor.TextView.GetOffsetFromPoint(MouseDevice.Instance.GetPosition(editor.TextView.TextSurface)));
            }

            return result;
        }
    }