소스 검색

Merge pull request #513 from jasongrout/wrap

Fix editor line wrapping menu item.
Steven Silvester 8 년 전
부모
커밋
986a3bb206
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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);
     }
   }
 }