MCPcopy Create free account
hub / github.com/cxasm/notepad-- / InLine

Method InLine

src/qscint/scintilla/src/PositionCache.cpp:121–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119}
120
121bool LineLayout::InLine(int offset, int line) const {
122 return ((offset >= LineStart(line)) && (offset < LineStart(line + 1))) ||
123 ((offset == numCharsInLine) && (line == (lines-1)));
124}
125
126void LineLayout::SetLineStart(int line, int start) {
127 if ((line >= lenLineStarts) && (line != 0)) {

Callers 1

DrawCaretsMethod · 0.80

Calls 1

LineStartFunction · 0.85

Tested by

no test coverage detected