What you can do with selected text: add a comment, hand the passage to the AI coauthor with Add to Agent Thread, or jump to the matching PDF location in LaTeX documents. All of it lives in the context menu, opened from the small arrow that appears above a selection, with a right-click, or by pressing Enter.

Acting on a Selection: Comments, Agent Thread, and PDF

Select text in the editor and open the context menu to act on that passage. There are three ways to open it:

  • Click the small arrow button (Selection actions) that appears just above the end of the selection once you release the mouse.
  • Right-click the selection.
  • Press Enter while the text is still selected. The menu opens at the end of the selection, so you never need the mouse. (Enter without a selection inserts a new line as usual.)

The arrow button follows the selection as you scroll and disappears when you place the cursor elsewhere.

The selection actions appear in rich text, Word, LaTeX and code documents; one action is LaTeX-only. The menu closes when you choose an action, press Esc, or click elsewhere.

What is available for a selection

ActionAvailable inWhat it does
Add commentAll documentsOpens the Comments sidebar with a new comment anchored to the selection and puts the cursor in the comment box
Add to Agent ThreadAll documentsAttaches the selected text to your next message to the AI coauthor and moves the cursor to the agent input
Go to PDFLaTeX documents onlyJumps the PDF preview to the place that corresponds to the selected source

The same menu also holds the clipboard, link and formatting items described in The Right-Click Menu.

Add comment

  1. Select the text.
  2. Click the arrow above the selection, right-click, or press Enter, and choose Add comment.
  3. The Comments sidebar opens (if it was closed) with a New Comment box quoting your selection, and the cursor is already in it. Type your note and click Add Comment or press Ctrl+Enter.

The passage is highlighted in yellow and the comment appears in the sidebar for every collaborator. Details of replying, resolving and AI comments are in Comments.

Add to Agent Thread

Add to Agent Thread is how you give the AI coauthor a precise piece of context. Instead of describing "the second paragraph of the discussion", you select it and attach it.

  1. Select the text you want the AI to work with.
  2. Click the arrow above the selection, right-click, or press Enter, and choose Add to Agent Thread.
  3. In the agent panel on the right, a Selected from box appears above the message input showing the source document path and the first part of the text, and the input has focus. Use the × (Remove selection) to discard it.
  4. Type your request, for example "Make this more concise" or "Check whether this claim follows from the results above", and send.

The selection is sent together with your message and the document path, so the AI knows both what you mean and where it is. Because the text is attached rather than retyped, the AI receives it verbatim, including equations and formatting cues.

Only one selection is attached at a time; adding another replaces the first. Attaching a selection does not by itself make the AI edit anything; what happens next depends on your instruction. If you ask for a rewrite, the AI edits the document and the result lands as a pending change under your name with an AI badge, which you can accept or reject.

The selection is added to the thread that is currently open in the agent panel. Start a new thread first if you want to keep the discussion separate; see Threads. Other ways to give the AI context, such as attaching files, are described in Giving the AI Context: Attachments and Selected Text.

Go to PDF (LaTeX documents)

In a LaTeX document, Go to PDF opens the split source/PDF view if it is not already showing and scrolls the PDF preview to the position that corresponds to your selection, using the compiled PDF's source mapping. It needs a successful compile of the current project; see Jumping Between Source and PDF (SyncTeX) for the reverse direction and troubleshooting.

Other ways to act on a selection

  • Selected text in a LaTeX document can also be commented with Ctrl+Shift+C.
  • Formatting a selection (bold, lists, alignment) is available from the Format options submenu of the context menu and from the toolbar above the document; see Rich Text Toolbar.
  • With View → Changes switched on, right-clicking inside a tracked change adds Accept change / Reject change to the menu.

Related articles

The Right-Click Menu
Giving the AI Context: Attachments and Selected Text
Comments
Jumping Between Source and PDF (SyncTeX)
Threads
Rich Text Toolbar

Prefer to ask?

Inside Coauthor, ask the AI coauthor how any feature works — it answers from these same help articles. For anything else, use the ? button in the top-right corner of the app.

Ready to Write Better Research Papers?

Let Coauthor help you with your next manuscript

7 days free, with €2.50 of AI usage on your own paper