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

Method DrawIndentGuide

scintilla/src/Editor.cxx:2554–2560  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2552}
2553
2554void Editor::DrawIndentGuide ( Surface *surface, int lineVisible, int lineHeight, int start, PRectangle rcSegment, bool highlight )
2555{
2556 Point from ( 0, ( ( lineVisible & 1 ) && ( lineHeight & 1 ) ) ? 1 : 0 );
2557 PRectangle rcCopyArea ( start + 1, rcSegment.top, start + 2, rcSegment.bottom );
2558 surface->Copy ( rcCopyArea, from,
2559 highlight ? *pixmapIndentGuideHighlight : *pixmapIndentGuide );
2560}
2561
2562void Editor::DrawWrapMarker ( Surface *surface, PRectangle rcPlace,
2563 bool isEndMarker, ColourDesired wrapColour )

Callers

nothing calls this directly

Calls 1

CopyMethod · 0.45

Tested by

no test coverage detected