I am integrating CodeMirror into a math typesetting web app that uses AsciiMath. Some of the completions for AsciiMath have multiple bracket parts, such as frac{}{}, and based on what I've seen, controlling the caret offset requires a custom callback function to dispatch the autocomplete and caret offset. It'd be nice having an offset member within the Completion object that CodeMirror's default completion system can use.
Hello,
I am integrating CodeMirror into a math typesetting web app that uses AsciiMath. Some of the completions for AsciiMath have multiple bracket parts, such as
frac{}{}
, and based on what I've seen, controlling the caret offset requires a custom callback function to dispatch the autocomplete and caret offset. It'd be nice having anoffset
member within theCompletion
object that CodeMirror's default completion system can use.Thank you.