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

Function DisplayWidthOfString

python/ycm/vimsupport.py:1477–1478  ·  view source on GitHub ↗
( s )

Source from the content-addressed store, hash-verified

1475
1476
1477def DisplayWidthOfString( s ):
1478 return GetIntValue( f"strdisplaywidth( '{ EscapeForVim( s ) }' )" )
1479
1480
1481def BuildQfListItem( goto_data_item ):

Callers

nothing calls this directly

Calls 2

GetIntValueFunction · 0.85
EscapeForVimFunction · 0.85

Tested by

no test coverage detected