| 4270 | } |
| 4271 | |
| 4272 | void Editor::ClearDocumentStyle() |
| 4273 | { |
| 4274 | Decoration *deco = pdoc->decorations.root; |
| 4275 | while ( deco ) { |
| 4276 | // Save next in case deco deleted |
| 4277 | Decoration *decoNext = deco->next; |
| 4278 | if ( deco->indicator < INDIC_CONTAINER ) { |
| 4279 | pdoc->decorations.SetCurrentIndicator ( deco->indicator ); |
| 4280 | pdoc->DecorationFillRange ( 0, 0, pdoc->Length() ); |
| 4281 | } |
| 4282 | deco = decoNext; |
| 4283 | } |
| 4284 | pdoc->StartStyling ( 0, '\377' ); |
| 4285 | pdoc->SetStyleFor ( pdoc->Length(), 0 ); |
| 4286 | cs.ShowAll(); |
| 4287 | pdoc->ClearLevels(); |
| 4288 | } |
| 4289 | |
| 4290 | void Editor::CopyAllowLine() |
| 4291 | { |
nothing calls this directly
no test coverage detected