MCPcopy
hub / github.com/ycm-core/YouCompleteMe / prop_remove

Function prop_remove

python/ycm/text_properties.py:90–99  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

88 props[ 'both' ] = 1
89
90 def prop_remove():
91 if last_line is not None:
92 return GetIntValue( f"prop_remove( { json.dumps( props ) },"
93 f" { first_line },"
94 f" { last_line } )" )
95 elif first_line is not None:
96 return GetIntValue( f"prop_remove( { json.dumps( props ) },"
97 f" { first_line } )" )
98 else:
99 return GetIntValue( f"prop_remove( { json.dumps( props ) } )" )
100
101 if prop_types is None:
102 return prop_remove()

Callers 1

ClearTextPropertiesFunction · 0.85

Calls 1

GetIntValueFunction · 0.90

Tested by

no test coverage detected