qeditor: An editor widget.
Description
An editor widget.Usage
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.
Value
If richtext=TRUE
, a QTextEdit instance. Otherwise
a RCodeEditor
instance.
Details
This function creates an editor widget, optionally initializing it
with the contents of a file.