RCodeEditor
subclasses Qt$QPlainTextEdit
to provide
additional functionality suitable for a R code editor, namely, code
indentation and command completion (both using TAB, with indentation
preferred, and completion if already indented). The details of
indentation are not yet customizable.
# constructor
RCodeEditor(family = "monospace", pointsize = 14, underscore.assign = FALSE, comp.tooltip = TRUE)
<-
instead of an
underscore.
completionsAvailable(QString character)
is emitted with
a single argument containing the possible completions.