Ever copied from a PDF or resource, only for the paste to be…
A paragraph split into
several lines like this?
A couple of plugins in conjunction can fix this:
The Text Format Plugin apparently solves a majority of this with its “Merge Broken Paragraph” command (Paste → Select Text → Run Command w/ Hotkey).
If you want an even better solution (just Paste), the post “Select the pasted text immediately after paste?” has a slightly-broken solution. Paste their solution, and after the line editor.replaceRange(clipboard, currPos), add `const endPos = editor.offsetToPos(editor.posToOffset(currPos) + clipboard.length). Then, create a QuickAdd macro to 1.) Paste and Select → 2.) Run Command and bind it to a hotkey.