MCPcopy Create free account
hub / github.com/GilesBathgate/RapCAD / preferencesUpdated

Method preferencesUpdated

src/ui/codeeditor.cpp:148–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146}
147
148void CodeEditor::preferencesUpdated()
149{
150 auto& p=Preferences::getInstance();
151 QFont font=p.getEditorFont();
152 font.setFixedPitch(true);
153 setFont(font);
154 showTooltips = p.getShowTooltips();
155 highlightLine = p.getHighlightLine();
156 highlightCurrentLine();
157}
158
159void CodeEditor::setModuleNames(const QHash<QString,Module*>& names)
160{

Callers

nothing calls this directly

Calls 3

getEditorFontMethod · 0.80
getShowTooltipsMethod · 0.80
getHighlightLineMethod · 0.80

Tested by

no test coverage detected