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

Method setCurrentLine

Engine/source/gui/editor/guiDebugger.cpp:274–290  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 3

TCPDebuggerFunction · 0.80
TCPDebuggerFunction · 0.80
guiDebugger.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected