{"version":"2.1.281","anchor":"prompt-input-ide-selection-restored-when-popping-a-queued-m","canonical_anchor":"prompt-input-ide-selection-restored-when-popping-a-queued-m","heading":"Prompt input: IDE selection restored when popping a queued message to edit","tier":null,"area":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.281\/e\/prompt-input-ide-selection-restored-when-popping-a-queued-m","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.281","markdown":"### Prompt input: IDE selection restored when popping a queued message to edit\n\nPulling a queued message back into the prompt to edit it now also brings back its attached IDE selection\n\n**What**\n\nWhile Claude is busy, you can type further messages and they wait in a queue. You can also pull those queued messages back into the input box to edit them. If a message had an IDE selection attached, the IDE selection now comes back with it (through `returnIdeSelection`). An IDE selection is the code you had highlighted in your editor, shown in the prompt as a small label called a pill.\n\nSeparately, the input box's change handler can now be given the previous text and cursor position directly. It uses them to spot a mode character, which is a special character that switches the input into a different mode.\n\n**Why**\n\nEditing a queued message no longer drops the editor selection you had attached to it."}