MCPcopy Create free account
hub / github.com/Rezonality/zep / GetBufferColumn

Method GetBufferColumn

src/buffer.cpp:85–89  ·  view source on GitHub ↗

Vertical column

Source from the content-addressed store, hash-verified

83
84// Vertical column
85long ZepBuffer::GetBufferColumn(GlyphIterator location) const
86{
87 auto lineStart = GetLinePos(location, LineLocation::LineBegin);
88 return CodePointDistance(lineStart, location);
89}
90
91// Find the location inside the list of line ends
92long ZepBuffer::GetBufferLine(GlyphIterator location) const

Callers 1

window.cppFile · 0.80

Calls 1

CodePointDistanceFunction · 0.85

Tested by

no test coverage detected