MCPcopy Create free account
hub / github.com/HertzDevil/0CC-FamiTracker / FinishLine

Method FinishLine

Source/TextExporter.cpp:182–190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

180 }
181
182 void FinishLine() {
183 if (int newpos = text.Find('\n', pos); newpos >= 0) { // // //
184 ++line;
185 pos = newpos + 1;
186 }
187 else
188 pos = text.GetLength();
189 last_pos_ = linestart = pos;
190 }
191
192 int GetColumn() const {
193 return 1 + pos - linestart;

Callers 1

ImportFileMethod · 0.80

Calls 2

FindMethod · 0.80
GetLengthMethod · 0.45

Tested by

no test coverage detected