namespace CursorLang.Core.Models; /// /// How the place for the popup is chosen. /// public enum PopupPlacementMode { /// Next to the mouse cursor. AtCursor, /// /// Next to the caret in the active input field. When the application does not /// report its position, the popup is shown at the mouse cursor. /// AtCaret, /// At a fixed point of the monitor holding the active window. FixedPoint, } /// /// Which side of the cursor or the caret to show the popup on. /// public enum AnchorSide { TopLeft, TopRight, Left, Right, BottomLeft, BottomRight, } /// /// The place on the monitor for the mode. /// public enum ScreenPosition { TopLeft, Top, TopRight, Center, BottomLeft, Bottom, BottomRight, }