Autoeng

From Fcitx
Revision as of 19:29, 10 March 2012 by Weng Xuetian (talk | contribs) (Created page with "<translate> {{infobox module |name = autoeng |version = 4.2.1 |programming language = C |license = GPLv2 |type =...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
autoeng
Version 4.2.1
Written In C
License GPLv2
Type module
Website http://code.google.com/p/fcitx

Intro

Autoeng is a module that can switch Fcitx to a temporary english mode, currently it's used with most Chinese input method.

Usage

There are two ways to trigger autoeng mode.

  • Enter a upper case character.
  • Enter a character and the Raw buffer is matched with a string in the list.

The string list is placed under data/AutoEng.dat. By default it contains string such as "www.". For example, when you are typing "www.", and currently it's in Pinyin, it will trigger the autoeng mode.

Disable it from code

If your input method is conflicts with this function, you can use

   boolean flag = false;
   FcitxInstanceSetContext(inst, CONTEXT_DISABLE_AUTOENG, &flag);

in your input method Init function.