Is there a way to hide the vertical ruler in Ace Editor?

前端 未结 1 1027
自闭症患者
自闭症患者 2021-02-06 21:57

Is there a way to hide the vertical ruler in Ace?

By vertical ruler I mean the vertical line in the editor at 80 chars which helps to keep lines under a certain length.<

1条回答
  •  孤城傲影
    2021-02-06 22:41

    Found it, you need to use this:

    editor.setShowPrintMargin(false);
    

    https://ace.c9.io/api/editor.html#Editor.setShowPrintMargin

    0 讨论(0)
提交回复
热议问题