Canvas Toolkit
← Class index

CPlainTextEdit

Widgets · extends CTextEdit

A multiline plain-text editor sharing editing, selection, clipboard, scrolling and undo/redo with CTextEdit. Character-format setters have no effect. setPlainText(), insert() and paste preserve markup literally; inherited setHtml() imports only its text. Use setFont() and setPalette() to style the entire widget.

import { CPlainTextEdit } from "canvas-toolkit-lib";

Declared members

protected supportsRichText(): boolean;