MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / setCurrentLine

Method setCurrentLine

Engine/source/gui/editor/guiDebugger.cpp:280–296  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

278}
279
280void DbgFileView::setCurrentLine(S32 lineNumber, bool setCurrentLine)
281{
282 //update the line number
283 if (setCurrentLine)
284 {
285 mPCFileName = mFileName;
286 mPCCurrentLine = lineNumber;
287 mBlockStart = -1;
288 mBlockEnd = -1;
289 if (lineNumber >= 0)
290 scrollToLine(mPCCurrentLine);
291 }
292 else
293 {
294 scrollToLine(lineNumber);
295 }
296}
297
298const char* DbgFileView::getCurrentLine(S32 &lineNumber)
299{

Callers 1

guiDebugger.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected