Method | Description | |
---|---|---|
MakeComment ( int indent, string text ) : string |
Modifies a string so that if it contains multiple lines every line after the first is prepended by "//" followed by "indent" spaces.
|
|
MaxWidth ( string text ) : int |
Returns the character width of a (possibly multiline) string.
|
public static MakeComment ( int indent, string text ) : string | ||
indent | int | The line indent |
text | string | The input string |
return | string |
public static MaxWidth ( string text ) : int | ||
text | string | The text to measure |
return | int |