MCPcopy Create free account
hub / github.com/Predelnik/DSpellCheck / make_all_visible

Method make_all_visible

test/MockEditorInterface.cpp:550–556  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

548}
549
550void MockEditorInterface::make_all_visible() {
551 auto doc = active_document();
552 if (!doc)
553 return;
554
555 doc->visible_lines = {0, get_document_line_count()};
556}
557
558void MockEditorInterface::set_visible_lines(ptrdiff_t first_visible_line, ptrdiff_t last_visible_line) {
559 auto doc = active_document();

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected