Notepad++ – Add Vertical Line for Right Margin

notepad

Does anyone know if Notepad++ can display a vertical line on the right margin to indicated that the text will or will not fit on a printed page? I have looked but I cannot find it. Word wrap does work, but it wraps by my screen width, not by the width of a printed page.

Best Answer

As you said you do not actually want to print it, you may use the Vertical Edge Settings.

Setting > Preferences > Editing > Vertical Edge Settings > Input column position(s) seperated with space, for example 80 100

Vertical lines would then be shown at the positions specified (e.g. column 80 & column 100).

You can tick Background mode if you prefer highlighted text instead of a line.

(Tested in: Notepad++ v7.8.9)

Related Question