title: How to trigger two different custom auto completer using (.) period and Ctrl_space in ace editor
body: <p>I have two completer. one for Math custom functions and another for string custom functions. i want to trigger string functions using (.)period and for ctrl_space for math function.
  Now if i press (.) or ctrl_space, it showing all the functions. but i want differentiate between two of them.Thanks.. </p>
  
  <pre><code>var stringFunctions = ["Trim","Length","ToLower","ToUpper","ToNumber","ToString"]
  var mathFunctions = ["Abs","Ceil","Exp","Floor","Log","ln","Pow","Round","Sqrt","cos","sin","tan","cosh","sinh","tanh","acos","asin","atan","Max","Min","Sum","Std","Var","Average","Norm","Median"]
  var myCompleter1 = {
    // identifierRegexps: [/[a-zA-Z_0-9\.\$\-\u00A2-\uFFFF]/],
      getCompletions: function(editor, session, pos, prefix, callback) {
          console.info("myCompleter prefix:", this.prefix);
          callback(
              null,
              myList.filter(entry=&gt;{
                  return entry.includes(this.prefix);
              }).map(entry=&gt;{
                  return {
                      value: entry
                  };
              })
          );
      }
  }
  var myCompleter2 = {
    // identifierRegexps: [/[a-zA-Z_0-9\.\$\-\u00A2-\uFFFF]/],
      getCompletions: function(editor, session, pos, prefix, callback) {
          console.info("myCompleter prefix:", this.prefix);
          callback(
              null,
              myList.filter(entry=&gt;{
                  return entry.includes(this.prefix);
              }).map(entry=&gt;{
                  return {
                      value: entry
                  };
              })
          );
      }
  }
  langTools.addCompleter(myCompleter1);
  langTools.addCompleter(myCompleter2);```
  </code></pre>