Interface AceCompletionProvider


public interface AceCompletionProvider
A provider of custom code-completion proposals. Warning: this is an experimental feature of AceGWT. It is possible that the API will change in an incompatible way in future releases.
  • Method Details

    • getProposals

      void getProposals(AceEditor editor, AceEditorCursorPosition pos, String prefix, AceCompletionCallback callback)
      Call to get code completion proposals, which are delivered to a callback. Note that it is fine for this method to invoke the callback at a later time (for example, on completion of RPC.)
      Parameters:
      editor - the AceEditor
      pos - the cursor position
      prefix - the word prefix
      callback - the AceCompletionCallback to which the proposals should be delivered