zufuliu / notepad4

Notepad4 (Notepad2⨯2, Notepad2++) is a light-weight Scintilla based text editor for Windows with syntax highlighting, code folding, auto-completion and API list for many programming languages and documents, bundled with file browser plugin matepath.
Other
2.72k stars 187 forks source link

Clipboard monitor, auto add to the end when clipboard changes #637

Closed rsyqvthv closed 1 year ago

rsyqvthv commented 1 year ago

That's useful when you do clipper from web or other documents, which I use most by using notepad.

rsyqvthv commented 1 year ago

not sure what's question tag meant, maybe I didn't explain my request well. :)

I would like to have a toggleable function (like, toolbar button) to monitor changes of clipboard and insert the changed content into the end of current document.

This command can be used for abbreviation of cut-and-paste operation, but make it more convenience.

Any text which is copied or cut to the clipboard will be inserted into the current document.

zufuliu commented 1 year ago

Run Notepad2.exe -B to run Notepad2 in Paste Board mode (seems I haved replied yesterday, in a different issue?). image

rsyqvthv commented 1 year ago

@zufuliu wow, didn't know notepad2 can work that way to active more functions!

Thanks for make this useful tool, I am more and more can't leave it.

zufuliu commented 1 year ago
  1. I think a menu "Paste Board Mode" can be added into "File -> File Mode", add button requires design new image.
  2. extra line is fixed by 727c7b27b56bca8066bd643936d8e4524614d13e. strip white space might not desired, I think it's better to keep origin content from Clipboard.
zufuliu commented 1 year ago

Not going to add file mode menu. as a workaround, “Tools -> Run Command” can be used to run Notepad2 as Paste Board: image