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

Function SetLocationListsForBuffer

python/ycm/vimsupport.py:422–428  ·  view source on GitHub ↗

Populate location lists for all windows containing the buffer with number |buffer_number|. See SetLocationListForWindow for format of diagnostics.

( buffer_number,
                               diagnostics,
                               open_on_edit = False )

Source from the content-addressed store, hash-verified

420
421
422def SetLocationListsForBuffer( buffer_number,
423 diagnostics,
424 open_on_edit = False ):
425 """Populate location lists for all windows containing the buffer with number
426 |buffer_number|. See SetLocationListForWindow for format of diagnostics."""
427 for window in GetWindowsForBufferNumber( buffer_number ):
428 SetLocationListForWindow( window, diagnostics, open_on_edit )
429
430
431def SetLocationListForWindow( window,

Callers

nothing calls this directly

Calls 2

SetLocationListForWindowFunction · 0.85

Tested by

no test coverage detected