I provide web-mode-column-show
in web-mode.el to display a column that "connects" the start tag and the end tag.
This column may cross empty lines. In that case I use (move-to-column COL t)
(see the t
arg) to put the overlay at the right column. The problem is that, doing so, I modify the buffer content (I add spaces).
Is there a way to display an overlay at a specific line/column where no "content" exists ?
vline.el
andfill-column-indicator.el
. It is called anafter-string
overlay, and it is combined with a filler (spacer).fill-column-indicator
is a better example (in my opinion): https://github.com/alpaker/Fill-Column-Indicator There is also an alignment with a particular column in thefill-column-indicator
source code. I based my minor mode on that concept, which is a vertical line that tracks the cursor position. – lawlist Jan 15 '15 at 07:23