# AnnotationPicker
Class Inherits GraffitiProEditor.Picker
## About
`AnnotationPicker` is the popover `Editor.Annotations.Show` opens for a discussion. Its header shows the thread's position among the node's threads, its status, Open or Resolved, and previous and next buttons. Below the comments, a row holds New, which starts another thread on the same text or node, Resolve or Reopen, and Delete. It also shows the annotated text, the comments with their authors and dates, and a field at the bottom. Return or Enter in the field adds a reply, or starts the thread when it is new. It draws with the editor's chrome colors and localized `Text…` properties. In a right-to-left interface its layout is mirrored, like the editor's other popovers.
## Methods
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| Closing | committed As Boolean | (None) | Removes the highlight from the thread's text. |
| KeyDown | key As String | Boolean | Sends the typed comment on Return or Enter. |
| MouseCursorAt | x As Double <br> y As Double | MouseCursor | Returns the pointer for the popover's buttons. |
| Opening | (None) | (None) | Resets the reply and highlights the thread's text. |
| Paint | g As Graphics | (None) | Draws the thread: its position and buttons, the quoted text, and the comments. |
| PointerDown | x As Double <br> y As Double | Boolean | Follows a press, so a button acts when it is released over it. |
| PointerUp | x As Double <br> y As Double | (None) | Runs the button released over. |
| PreferredHeight | (None) | Double | Returns the popover's height for its comments, up to a limit beyond which they scroll. |
| PreferredWidth | (None) | Double | Returns the popover's width. |
| ScrollbarFrame | (None) | Rect | Returns the scrollbar's frame beside the comments. |
| ScrollMaximum | (None) | Double | Returns how far the comments scroll. |
| SearchChanged | query As String | (None) | Keeps the comment as it is typed. |
| SearchFieldFrame | (None) | Rect | Places the comment field at the bottom of the popover. |
| SearchHint | (None) | String | Returns Add a Comment for a new thread and Reply for an existing one. |
| TooltipAt | x As Double <br> y As Double | String | Returns the tooltips of the previous and next buttons. |