We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 34183
    • 23 Posts
    Just upgraded an install to MODx 2.1.1 and Codemirror 2.0.0-RC3 and my chunk/snippet code doesn’t line wrap, it just goes to the end of the line creating a horizontal scroll bar in the editor. Is there a way to turn this off or is it a bug? Scrolling left to right to view all my code is not good on my productivity/sanity level. Tested in Chrome 12.x & FF 4.0.1.

    Any help appreciated!
      • 34183
      • 23 Posts
      Upgraded to MODx 2.1.3-pl and codemirror 2.0.0-pl still having the same issue. Is there something in the code I can change to make it line wrap to the with of my editor window? Is anybody else seeing and/or driven crazy by this?
        • 10189
        • 109 Posts
        Got the same behavior here, but I believe this is intended. There’s no system setting for line wrapping either. Was there ever any line wrapping in previous versions?
          • 28215
          • 4,149 Posts
          CodeMirror does not support line wrapping.
            shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
            • 34183
            • 23 Posts