MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / loadDefaultTemplate

Method loadDefaultTemplate

app/src/DataModel/Editors/JsCodeEditor.cpp:572–575  ·  view source on GitHub ↗

* @brief Loads the default CSV template. */

Source from the content-addressed store, hash-verified

570 * @brief Loads the default CSV template.
571 */
572void DataModel::JsCodeEditor::loadDefaultTemplate(const bool guiTrigger)
573{
574 DataModel::FrameParser::instance().loadDefaultTemplate(m_sourceId, guiTrigger);
575}
576
577/**
578 * @brief Updates the editor colour scheme to match the active theme.

Callers 3

parserSetLanguageMethod · 0.45
switchLanguageMethod · 0.45
switchNativeLanguageMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected