diff options
Diffstat (limited to 'src/MarginView.h')
| -rw-r--r-- | src/MarginView.h | 9 | 
1 files changed, 9 insertions, 0 deletions
| diff --git a/src/MarginView.h b/src/MarginView.h index 465095f29..ff5564676 100644 --- a/src/MarginView.h +++ b/src/MarginView.h @@ -14,6 +14,8 @@ namespace Scintilla {  void DrawWrapMarker(Surface *surface, PRectangle rcPlace, bool isEndMarker, ColourDesired wrapColour); +typedef void (*DrawWrapMarkerFn)(Surface *surface, PRectangle rcPlace, bool isEndMarker, ColourDesired wrapColour); +  /**  * MarginView draws the margins.  */ @@ -25,6 +27,13 @@ public:  	// Highlight current folding block  	HighlightDelimiter highlightDelimiter; +	int wrapMarkerPaddingRight; // right-most pixel padding of wrap markers +	/** Some platforms, notably PLAT_CURSES, do not support Scintilla's native +	 * DrawWrapMarker function for drawing wrap markers. Allow those platforms to +	 * override it instead of creating a new method in the Surface class that +	 * existing platforms must implement as empty. */ +	DrawWrapMarkerFn customDrawWrapMarker; +  	MarginView();  	void DropGraphics(bool freeObjects); | 
