Difference between revisions of "QuickPhrase"
Jump to navigation
Jump to search
Weng Xuetian (talk | contribs) m |
Weng Xuetian (talk | contribs) m (→Format) |
||
Line 20: | Line 20: | ||
=== Format === <!--T:4--> | === Format === <!--T:4--> | ||
− | Here is an example file for Quick Phrase, contains some [[wikipedia:Emoji|Emoji]] and [[wikipedia: | + | Here is an example file for Quick Phrase, contains some [[wikipedia:Emoji|Emoji]] and [[wikipedia:LaTeX|LaTeX]] style method to type symbol. |
+ | |||
+ | Browse here for more example [[Category:QuickPhrase]]. | ||
<!--T:5--> | <!--T:5--> | ||
Line 44: | Line 46: | ||
frac58 ⅝ | frac58 ⅝ | ||
frac78 ⅞ | frac78 ⅞ | ||
− | |||
== Disable it from code == <!--T:6--> | == Disable it from code == <!--T:6--> |
Revision as of 05:59, 14 May 2012
Version | 4.2.1 |
---|---|
Written In | C |
License | GPLv2 |
Type | Module |
Intro
Quick Phrase is a module provides a mode that triggered by grave or semicolon (by default is semicolon). Generally, it can be used as a temporary mode for type English, but it can also read from a configuration file and be used like Table input method.
Configuration
Path
The file is a UTF-8 text file under ~/.config/fcitx/data/QuickPhrase.mb, if there is no such file or parent directory, create a new one (and necessary parent directory) yourself.
Format
Here is an example file for Quick Phrase, contains some Emoji and LaTeX style method to type symbol.
Browse here for more example.
smile (・∀・) kira (ゝ∀・) angry ( ̄ー ̄) angry ヽ(`д´)ノ cry (つД`) shock (°Д°) satisfy ( ̄ˇ ̄) eeee 诶诶诶诶(((( ;°д°))))诶诶 frac14 ¼ frac12 ½ frac34 ¾ frac13 ⅓ frac23 ⅔ frac15 ⅕ frac25 ⅖ frac35 ⅗ frac45 ⅘ frac16 ⅙ frac56 ⅚ frac58 ⅝ frac78 ⅞
Disable it from code
If you find quickphrase conflict with your input method, you can use
boolean flag = false; FcitxInstanceSetContext(inst, CONTEXT_DISABLE_QUICKPHRASE, &flag);
in your input method Init function.