Difference between revisions of "Clipboard"
m (3 revisions imported)
m (Text replacement - "<languages/>" to "<languages1/>")
|Line 1:||Line 1:|
Revision as of 22:51, 2 February 2016
Clipboard provides selection / clipboard access (with clipboard history) for fcitx modules. It also provides a mode that can be used to enter recorded clipboard / selection content.
Use the hotkey (<Ctrl + ;> by default) to activate clipboard mode. The saved clipboard content will be shown in the candidate list. You can use either number key to select the one you want to enter or use <Tab> and <Shift + Tab> to choose a candidate word and use <Space> to enter.
In another module
Include the generated `module/fcitx-clipboard.h` header and use either FcitxClipboardGetPrimarySelection or FcitxClipboardGetClipboardHistory to access selection or clipboard history.
The current version (4.2.7) cannot change the content of system clipboard and therefore cannot be used as a clipboard manager either.
Newline in clipboard content
Some client may not support input string from input method with new line inside. This may cause strange behavior in some editors (that provide auto indent or treat newline special), missing new line in the content (e.g. gedit), or crash in some special condition (e.g. chromium url bar, not always happen). Use with caution.