Difference between revisions of "Clipboard"
Weng Xuetian (talk | contribs) m (Text replacement - "<languages />" to "<languages/>") |
Weng Xuetian (talk | contribs) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 19: | Line 19: | ||
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. | 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 === <!--T: | + | === In another module === <!--T:5--> |
Include the generated `module/fcitx-clipboard.h` header and use either FcitxClipboardGetPrimarySelection or FcitxClipboardGetClipboardHistory to access selection or clipboard history. | Include the generated `module/fcitx-clipboard.h` header and use either FcitxClipboardGetPrimarySelection or FcitxClipboardGetClipboardHistory to access selection or clipboard history. | ||
Line 26: | Line 26: | ||
The current version (4.2.7) cannot change the content of system clipboard and therefore cannot be used as a clipboard manager either. | 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 === <!--T: | + | === Newline in clipboard content === <!--T:6--> |
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. | 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. | ||
− | <!--T: | + | <!--T:7--> |
[[Category:Built-in Addon]] | [[Category:Built-in Addon]] | ||
[[Category:Addon]] | [[Category:Addon]] | ||
</translate> | </translate> |
Latest revision as of 22:56, 2 February 2016
Version | 4.2.7 |
---|---|
Written In | C |
License | GPLv2 |
Type | Module |
Intro
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.
Usage
Clipboard mode
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.
Limitation
Setting clipboard
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.