laika.api.format.Formatter.Indentation
See theIndentation companion object
case class Indentation(
currentLevel:
Int,
numSpaces:
Int,
dotted:
Boolean)
Represents the current indentation level of a formatter instance.
Value parameters
-
currentLevel
-
the level of indentation (number of characters)
-
dotted
-
indicates whether the indentation happens with a dot pattern or with just whitespace
-
numSpaces
-
the number of space characters to add when creating the next level of indentation from this instance
Attributes
-
Companion
-
object
-
Source
-
Formatter.scala
-
Graph
-
-
Supertypes
-
trait Product
trait Equals
trait Matchable
class Any
Show all
Members list
Attributes
-
Inherited from:
-
Product
Attributes
-
Inherited from:
-
Product
A string container the newline character and all characters needed for rendering the current level of indentation.
A string container the newline character and all characters needed for rendering the current level of indentation.
Attributes
-
Source
-
Formatter.scala
Creates a new instance with the indentation level increased by numCharacters
.
Creates a new instance with the indentation level increased by numCharacters
.
Attributes
-
Source
-
Formatter.scala