TextBufferRange.opIndexAssign

Sets the character value of the AnsiChar at index i.

Notes: This preserves the colouring and styling of the AnsiChar, as we're simply changing its value.

  1. void opIndexAssign(char ch, size_t i)
    struct TextBufferRange
    @safe pure @property
    void
    opIndexAssign
    (
    char ch
    ,
    size_t i
    )
  2. void opIndexAssign(AnsiChar ch, size_t i)

Parameters

ch char

The character to use.

i size_t

The index of the ansi character to change.

Meta