Hi,
I'm working on a function to output the byte position of characters in a text
file. Just ASCII right now.
I already have a rough script which will open a new file and place the byte
position in there. However, I what I would like to do it usual visual-mode to
highlight the sequence of characters and have the function output the beginning
byte position and ending byte position to a separate buffer.
so I was looking for an inbuilt function that - when in visual mode - would
output the beginning and end position. That data doesn't seem to be exposed as
a function though. SO I got to think well I can move the cursor to the start
position, output its byte pos and then move to the end of the selection and
output its byte position, which starts to get a bit messy.
Anyhow, I thought I'd just mention my attempts at this, may be someone has some
suggestions for me, it would be appreciated. Many thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---