As you may have noticed, when cursor is in the "virtual space" (beyond eoln), our status bar always shows the last "real" column. This small patch adds a new %v (and %V) format specification, which displays a "virtual" column number, as if the line extends to the cursor position.
sci_get_cursor_virtual_space() isn't included the plugins interface for now, though it may be useful.
Since the virtual position normally requires 3 SSM()-s, and is less likely to be used than the line and column, the calls to sci_get_cursor_virtual_space() are into add_statusbar_statistics() instead of ui_update_statusbar().
Log in to post a comment.