MCPcopy Index your code
hub / github.com/ycm-core/YouCompleteMe / SetCurrentLineAndColumn

Function SetCurrentLineAndColumn

python/ycm/vimsupport.py:73–76  ·  view source on GitHub ↗

Sets the cursor position to the 0-based line and 0-based column.

( line, column )

Source from the content-addressed store, hash-verified

71
72
73def SetCurrentLineAndColumn( line, column ):
74 """Sets the cursor position to the 0-based line and 0-based column."""
75 # Line from vim.current.window.cursor is 1-based.
76 vim.current.window.cursor = ( line + 1, column )
77
78
79def CurrentColumn():

Callers 1

ReplaceChunkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected