I have the basic editor and the CodeMirror plugin installed on our application, where it will be used to provide syntax highlighting for those who are writing code files. The issue I'm having is I've placed the editor into default "source" mode and while I have a vertical scrollbar showing up when the file being edited exceeds the window height, the horizontal scrollbar is not showing up when it exceeds the window width. It just wraps to the next line. We'd rather have the scrollbar and no wrapping, and I've been searching for the answer but I'm having a hard time finding out how to do that when in source view. Can someone here point me in the right direction? Thanks!
Thu, 11/06/2014 - 17:30
#1
found the fix
I'm leaving this up in case someone else has the same issue. I found the wrapping fix in the configuration block for the theme I'm using - it's turned off by setting "lineWrapping: false"