MCPcopy Create free account
hub / github.com/ProgerXP/Notepad2e / ResetDefaultStyle

Method ResetDefaultStyle

scintilla/src/ViewStyle.cxx:359–365  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

357}
358
359void ViewStyle::ResetDefaultStyle() {
360 styles[STYLE_DEFAULT].Clear(ColourDesired(0,0,0),
361 ColourDesired(0xff,0xff,0xff),
362 Platform::DefaultFontSize() * SC_FONT_SIZE_MULTIPLIER, fontNames.Save(Platform::DefaultFont()),
363 SC_CHARSET_DEFAULT,
364 SC_WEIGHT_NORMAL, false, false, false, Style::caseMixed, true, true, false);
365}
366
367void ViewStyle::ClearStyles() {
368 // Reset all styles to be like the default style

Callers 1

WndProcMethod · 0.80

Calls 3

ColourDesiredClass · 0.85
SaveMethod · 0.80
ClearMethod · 0.45

Tested by

no test coverage detected