MCPcopy Create free account
hub / github.com/cxasm/notepad-- / ClearDocumentStyle

Method ClearDocumentStyle

src/qscint/scintilla/src/Editor.cpp:2121–2128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2119}
2120
2121void Editor::ClearDocumentStyle() {
2122 pdoc->decorations->DeleteLexerDecorations();
2123 pdoc->StartStyling(0, '\377');
2124 pdoc->SetStyleFor(pdoc->Length(), 0);
2125 pcs->ShowAll();
2126 SetAnnotationHeights(0, pdoc->LinesTotal());
2127 pdoc->ClearLevels();
2128}
2129
2130void Editor::CopyAllowLine() {
2131 SelectionText selectedText;

Callers

nothing calls this directly

Calls 7

StartStylingMethod · 0.80
ShowAllMethod · 0.80
LinesTotalMethod · 0.80
SetStyleForMethod · 0.45
LengthMethod · 0.45
ClearLevelsMethod · 0.45

Tested by

no test coverage detected