Explorar el Código

Merge pull request #513 from jasongrout/wrap

Fix editor line wrapping menu item.
Steven Silvester hace 8 años
padre
commit
986a3bb206
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/editorwidget/plugin.ts

+ 1 - 1
src/editorwidget/plugin.ts

@@ -219,7 +219,7 @@ function toggleLineWrap() {
     let editors = tracker.widgets;
     liWrap = !liWrap;
     for (let i = 0; i < editors.length; i++) {
-      editors[i].editor.setOption('lineWrap', liWrap);
+      editors[i].editor.setOption('lineWrapping', liWrap);
     }
   }
 }