>
> 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
-~----------~----~----~----~------~----~------~--~---
- check if only whitespaces before cursor in current line TheLonelyStar
- Re: check if only whitespaces before cursor in cur... TheLonelyStar
- Re: check if only whitespaces before cursor in... Christian Brabandt
- Re: check if only whitespaces before curso... TheLonelyStar
- Re: check if only whitespaces before c... Dennis Benzinger
- Re: check if only whitespaces bef... TheLonelyStar
- Re: check if only whitespaces... Christian Brabandt
- Re: check if only whitesp... TheLonelyStar
- Re: check if only whitesp... Christian Brabandt
- Re: check if only whitesp... TheLonelyStar
- Re: check if only whitesp... Christian Brabandt
