Mono.TextEditor.TextEditorData.FormatString C# (CSharp) Method

FormatString() public method

public FormatString ( int offset, string str ) : string
offset int
str string
return string
		public string FormatString (int offset, string str)
		{
			return FormatString (Document.OffsetToLocation (offset), str);
		}
		

Same methods

TextEditorData::FormatString ( Mono.TextEditor.DocumentLocation loc, string str ) : string

Usage Example

Example #1
0
            public string GetVirtualSpaces(int lineNumber, int column)
            {
                string indent = GetIndent(lineNumber, column);

                if (column == indent.Length + 1)
                {
                    return(data.FormatString(0, indent));
                }
                return("");
            }
All Usage Examples Of Mono.TextEditor.TextEditorData::FormatString