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

Method to_mapped_wstring

src/npp/EditorInterface.cpp:64–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64MappedWstring EditorInterface::to_mapped_wstring(const std::string &str) {
65 if (get_encoding() == EditorCodepage::utf8)
66 return utf8_to_mapped_wstring(str);
67
68 return ::to_mapped_wstring(str);
69}
70
71MappedWstring EditorInterface::get_mapped_wstring_range(TextPosition from, TextPosition to) {
72 auto result = to_mapped_wstring(get_text_range(from, to));

Calls 2

utf8_to_mapped_wstringFunction · 0.85
to_mapped_wstringFunction · 0.85

Tested by

no test coverage detected