LineEndingMode

Represents different line ending modes and provides operations to work with them. The class uses a bitmask internally to represent different line ending combinations.

Report a problem

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
operator fun contains(other: LineEndingMode): Boolean

Checks if this line ending mode includes another mode.

Link copied to clipboard
operator fun plus(other: LineEndingMode): LineEndingMode

Combines this line ending mode with another mode. The resulting mode will accept both line endings.

Link copied to clipboard
open override fun toString(): String