MCPcopy Create free account
hub / github.com/ProgerXP/Notepad2e / InLine

Method InLine

scintilla/src/PositionCache.cxx:132–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130}
131
132bool LineLayout::InLine(int offset, int line) const {
133 return ((offset >= LineStart(line)) && (offset < LineStart(line + 1))) ||
134 ((offset == numCharsInLine) && (line == (lines-1)));
135}
136
137void LineLayout::SetLineStart(int line, int start) {
138 if ((line >= lenLineStarts) && (line != 0)) {

Callers 1

DrawCaretsMethod · 0.80

Calls 1

LineStartFunction · 0.85

Tested by

no test coverage detected