Uploaded image for project: 'Wiki Editor Tools'
  1. Wiki Editor Tools
  2. WIKIEDITOR-23

If there is no custom autocomplete page for the current mode, use showHint's fallbacks

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 3.0
    • None
    • None

    Description

      The improvements is simple:

      ...
      if (failedId === autocompleteModule) {
        requirejs.undef(failedId);
      
        // Fallback on the 'auto' hint.
        CodeMirror.showHint(cm)
      }
      ...
      

      Basically we should fallback on the 'auto' hint or at least on the 'hintWords' (which is more valuable).

      Attachments

        Activity

          People

            Unassigned Unassigned
            enygma Eduard Moraru
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: