9 | About | Returns description, version etc. | |
193 | AvailableCycles | WithCycles | List the available cycles in an array of strings If WithCycles is false then just list the names If WithCycles is true then return string in the form <name>|<cycles> |
152 | Edit | event | Do the dirty deed while editing a textarea or edit box jQuery style of calling is .keyup(ax.Edit); Inline style of calling is onkeypress="ax.Edit(event);" |
120 | GetCycle | Return the current cycle of accents | |
129 | GetCycleName | Return the current cycle name or false This can be used at initialisation as follows | |
179 | GetHelpLanguages | list the possible languages for help | |
41 | GetUserHelp | HelpLang,Force | Returns a string explaining simply what to do See .helpTexts for available languages Note HelpLang has no connection with the language selected for accenting in SetLanguage() Force overrides any local setting |
110 | LoadCfg | Get last state of settings from local storage Returns false if nothing was set. Example if(! ax.LoadCfg()){ax.SetCycle('German');} | |
139 | NextInCycle | CurrentChar | This is a low-level function for complex editors who only want the next character SetCycle() or a true LoadCfg() must be called once before use Check if ready with GetCycleName() Note: If there is no substitution then this returns false |
67 | SetCycle | CycleLang,Force | This sets the accenting cycle to be used See .cycles for available values of CycleLang or get a live list by calling AvailableCycles() Returns either string of accents or false If false is returned then EuropeanCombo will be used Force overrides any local setting |
85 | SetTriggerKey | Key | The default is 'F8' and should only be changed if absolutely necessary. Normally leave alone! |
173 | ToOptions | StringArray | convenience select box options from array |
29 | _Initialise | Make sure we've got some cycles loaded | |
99 | _SaveCfg | put state of settings to local storage | |
91 | _UseCycle | Lang | Get ready to use cycle specified by Lang |
58 | _currentCycle | "", | will be filled with a cycle |
59 | _currentCycleName | "", | will be filled with a cycle name |
225 | _cycles | { | |
34 | _helpLang | "", | |
259 | _helpTexts | { | |
26 | _initialised | false, | Will be set to true when we have a working cycle |
223 | _triggerKey | "F8", |