TextBuffer.createWriter

Creates a new TextBufferWriter bound to this TextBuffer.

Description: The only way to read and write to certain sections of a TextBuffer is via the TextBufferWriter.

Writers are constrained to the given bounds, allowing careful control of where certain parts of your code are allowed to modify.

  1. TextBufferWriter createWriter(TextBufferBounds bounds)
  2. TextBufferWriter createWriter(size_t left, size_t top, size_t width, size_t height)
    class TextBuffer
    @nogc nothrow pure
    createWriter
    (
    size_t left
    ,
    size_t top
    ,,)

Return Value

A TextBufferWriter, constrained to the given bounds, which is also bounded to this specific TextBuffer.

Meta