Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Other versions
Version 15.0Version 14.0 (current version)Version 13.0 (home page)Version 12.0 (home page)Version 11.0 (home page)Version 10.0 (home page)Version 2.0 (home page)Version 1.0 (home page)

On this page

contextExOutput (KCXO)


Summary

contextExOutput function emits the character or object at contextOffset from the current matched rule's context. Introduced in Keyman 14.0, in order to resolve a gap between desktop and web core functionality for context(n) matching on notany().

Syntax

  keyman.interface.contextExOutput(dn, outputTarget, contextLength, contextOffset);

or

  KeymanWeb.KCXO(dn, outputTarget, contextLength, contextOffset); // Shorthand

Parameters

dn
Type: number
number of characters to delete left of cursor
outputTarget
Type: OutputTarget
target to output to
contextLength
Type: number
length of current rule context to retrieve
contextOffset
Type: number
offset from start of current rule context, 1-based

Returns

void

See also

History

  • Introduced in Keyman 14.0