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

Method set_active_document_text

test/MockEditorInterface.cpp:515–520  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

513}
514
515void MockEditorInterface::set_active_document_text(
516 const std::wstring &text) {
517 auto doc = active_document();
518 if (doc)
519 doc->set_data(text);
520}
521
522void MockEditorInterface::set_active_document_text_raw(
523 const std::string &text) {

Callers 2

EncodingTests.cppFile · 0.80

Calls 1

set_dataMethod · 0.80

Tested by

no test coverage detected