MCPcopy Create free account
hub / github.com/ycm-core/YouCompleteMe / TextBeforeCursor

Function TextBeforeCursor

python/ycm/vimsupport.py:112–114  ·  view source on GitHub ↗

Returns the text before CurrentColumn.

()

Source from the content-addressed store, hash-verified

110
111
112def TextBeforeCursor():
113 """Returns the text before CurrentColumn."""
114 return ToUnicode( vim.current.line[ :CurrentColumn() ] )
115
116
117def BufferModified( buffer_object ):

Callers

nothing calls this directly

Calls 1

CurrentColumnFunction · 0.85

Tested by

no test coverage detected