How to retrieve clipboard history?

Hello everyone,
i am looking for the right way to access the clipboard history, to read or maybe even manipulate the content items displayed for selection also when using the "Paste from History" option.
Thank you in advance for any hints on which class is responsible for this.

Kay

2 comments

See com.intellij.openapi.ide.CopyPasteManager#getAllContents

0

Hi Yann,
works like a charm :-) thank you for the quick advice!

P.S: i don't seem to find the option to mark the post as a question anymore, sorry for not marking the answer as helpful therefor.

0

Please sign in to leave a comment.