The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Advanced Code Editor
[resolved] Syntax coloring doesn't work - CodeMirror JS error (2 posts)

  1. dandv
    Posted 4 years ago #

    I saw this issue with another syntax highlighter plugin based on CodeMirror: after activating the plugin, when editing a file, the editor shows line numbers to the left, but no syntax coloring.

    Examining the JavaScript console in Chrome 21 shows this error:

    Uncaught TypeError: Object function CodeMirror(place, givenOptions) {
        // Determine effective options based on given values and defaults.
        var options = {}, defaults = CodeMirror.defaults;
        for (var opt in defaults)
      return instance;
      } has no method 'defineExtension'


  2. Bainternet
    Plugin Author

    Posted 3 years ago #

    issue is local at your setup so try deactivating other plugins and clearing you browser's cache.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Advanced Code Editor
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic