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

Method saveToObject

src/Gui/TextDocumentEditorView.cpp:126–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124}
125
126void TextDocumentEditorView::saveToObject()
127{
128 fastsignals::shared_connection_block textBlock {textConnection};
129 textDocument->Text.setValue(getEditor()->document()->toPlainText().toUtf8());
130 textDocument->purgeTouched();
131}
132
133QStringList TextDocumentEditorView::undoActions() const
134{

Callers

nothing calls this directly

Calls 5

getEditorFunction · 0.85
toPlainTextMethod · 0.80
setValueMethod · 0.45
documentMethod · 0.45
purgeTouchedMethod · 0.45

Tested by

no test coverage detected