문제

While using ACE editor I've observed that a mysterious line is being displayed at the center of the editor. How do i fix this?

enter image description here

도움이 되었습니까?

해결책

That line is called as Print Margin, include

editor.setShowPrintMargin(false);

in your code.

다른 팁

It is not a mysterious line but a print margin - simple line at the specified column, to help seeing when lines become too long.

To disable it we can also use,

editor.setOption("showPrintMargin", false)
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top