qeditor: An editor widget.

Description Usage Arguments Details Value Author(s)

View source: R/editor.R

Description

An editor widget.

Usage

1
qeditor(file, readonly = FALSE, richtext = FALSE, ..., rsyntax)

Arguments

file

Character string giving the name of the file to be displayed.

readonly

Logical flag indicating whether the editor should be in read-only initially.

richtext

Logical flag indicating whether the editor should be cabaple of displaying rich-text (HTML).

...

Further arguments, passed on to RCodeEditor if relevant.

rsyntax

Logical flag indicating whether R syntax highlighting should be applied to the contents of the editor.

Details

This function creates an editor widget, optionally initializing it with the contents of a file.

Value

If richtext=TRUE, a QTextEdit instance. Otherwise a RCodeEditor instance.

Author(s)

Deepayan Sarkar


ggobi/qtutils documentation built on May 17, 2019, 3:15 a.m.