El 31/08/11 01:35, ZyX escribió:
Reply to message «Actual cursor position.»,
sent 02:12:13 31 August 2011, Wednesday
by Gerardo Marset:
I'm looking for a way to get the current cursor position in the line
(that is, the column) in *characters*.
col is no use, because it returns the position
I'm looking for a way to get the current cursor position in the line
(that is, the column) in *characters*.
col is no use, because it returns the position in bytes. I can't use
virtcol either because it returns the position on the screen: a tab
counts as 8 characters (or whatever tabstop is set
Reply to message «Actual cursor position.»,
sent 02:12:13 31 August 2011, Wednesday
by Gerardo Marset:
I'm looking for a way to get the current cursor position in the line
(that is, the column) in *characters*.
col is no use, because it returns the position in bytes. I can't use
virtcol