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

Method get_current_pos

src/npp/NppInterface.cpp:309–309  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

307std::string NppInterface::get_current_line() const { return get_line(get_current_line_number()); }
308
309TextPosition NppInterface::get_current_pos() const { return static_cast<int>(send_msg_to_scintilla(SCI_GETCURRENTPOS, 0, 0)); }
310
311int NppInterface::get_current_line_number() const {
312 return line_from_position(get_current_pos());

Callers 2

find_next_mistakeMethod · 0.45
find_prev_mistakeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected