From 8fe41c7c738f26fe735f80af07e2dd77352e2832 Mon Sep 17 00:00:00 2001 From: Strahinja Val Markovic Date: Sun, 9 Jun 2013 17:31:17 -0700 Subject: [PATCH] Clarifying a comment. --- python/ycm/vimsupport.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/ycm/vimsupport.py b/python/ycm/vimsupport.py index 55d58cb3..15532f7d 100644 --- a/python/ycm/vimsupport.py +++ b/python/ycm/vimsupport.py @@ -30,8 +30,8 @@ def CurrentLineAndColumn(): def CurrentColumn(): """Returns the 0-based current column. Do NOT access the CurrentColumn in - vim.current.line. It doesn't exist yet. Only the chars before the current - column exist in vim.current.line.""" + vim.current.line. It doesn't exist yet when the cursor is at the end of the + line. Only the chars before the current column exist in vim.current.line.""" # vim's columns are 1-based while vim.current.line columns are 0-based # ... but vim.current.window.cursor (which returns a (line, column) tuple)