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

Method erase

test/MockEditorInterface.cpp:46–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46void MockedDocumentInfo::erase(TextPosition start, TextPosition length) {
47 cur.data.erase(cur.data.begin() + start, cur.data.begin() + start + length);
48 cur.style.erase(cur.style.begin() + start,
49 cur.style.begin() + start + length);
50}
51
52void MockedDocumentInfo::save_state() { past.push_back(cur); }
53

Callers 15

delete_rangeMethod · 0.80
find_next_mistakeMethod · 0.80
update_on_dic_removalMethod · 0.80
dictionary_removedMethod · 0.80
ftp_trimFunction · 0.80
ltrim_inplaceFunction · 0.80
rtrim_inplaceFunction · 0.80
unregisterMethod · 0.80
extrachar_utfMethod · 0.80
extracharMethod · 0.80

Calls 1

beginMethod · 0.45

Tested by

no test coverage detected