Indent

object Indent

various functions for working out indentation

class Object
trait Matchable
class Any
Indent.type

Value members

Concrete methods

def indentAllButFirstLine(text: String, spaces: String): String
def lastLineIndentation(text: String): String
Returns:

the spaces indenting the last line of text

Extensions

Extensions

extension (s: String)
def indentWith(indent: String): String