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

Function LastEnteredCharIsIdentifierChar

python/ycm/base.py:80–87  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

78
79
80def LastEnteredCharIsIdentifierChar():
81 line, current_column = vimsupport.CurrentLineContentsAndCodepointColumn()
82 if current_column - 1 < 0:
83 return False
84 filetype = vimsupport.CurrentFiletypes()[ 0 ]
85 return (
86 identifier_utils.StartOfLongestIdentifierEndingAtIndex(
87 line, current_column, filetype ) != current_column )
88
89
90def AdjustCandidateInsertionText( candidates ):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected