MCPcopy Create free account
hub / github.com/FreeCAD/FreeCAD / stripPromptFrom

Function stripPromptFrom

src/Gui/PythonConsole.cpp:62–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62inline QString stripPromptFrom(const QString& lineStr)
63{
64 return lineStr.mid(promptLength(lineStr));
65}
66
67/**
68 * cursorBeyond checks if cursor is at a valid position to accept keyEvents.

Callers 4

getInputStringMethod · 0.85
keyPressEventMethod · 0.85
runSourceFromMimeDataMethod · 0.85

Calls 1

promptLengthFunction · 0.85

Tested by

no test coverage detected