> 
> Please provide an exact example. Where is the cursor and what does the 
> line look like?
> 
> 
Examples (| marsk the cursor):
        let| x=getline('.')
        |let ws=match(x, y)
  | jde

All these return -1
-- 
View this message in context: 
http://www.nabble.com/check-if-only-whitespaces-before-cursor-in-current-line-tp24390733p24416087.html
Sent from the Vim - General mailing list archive at Nabble.com.


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to