Mono.TextEditor.TextViewMargin.DecorateTabsAndSpaces C# (CSharp) Method

DecorateTabsAndSpaces() private method

private DecorateTabsAndSpaces ( Cairo ctx, LayoutWrapper layout, int offset, double x, double y, int selectionStart, int selectionEnd ) : void
ctx Cairo
layout LayoutWrapper
offset int
x double
y double
selectionStart int
selectionEnd int
return void
		void DecorateTabsAndSpaces (Cairo.Context ctx, LayoutWrapper layout, int offset, double x, double y, int selectionStart, int selectionEnd)
		{
			if (textEditor.Options.IncludeWhitespaces.HasFlag (IncludeWhitespaces.Space)) {
				InnerDecorateTabsAndSpaces (ctx, layout, offset, x, y, selectionStart, selectionEnd, ' ');
			}
			if (textEditor.Options.IncludeWhitespaces.HasFlag (IncludeWhitespaces.Tab)) {
				InnerDecorateTabsAndSpaces (ctx, layout, offset, x, y, selectionStart, selectionEnd, '\t');
			}
		}