Learn R Programming

styler (version 0.0-8)

style_region: Style a region of text given context

Description

First extracts the relevant expression from text and returns after styling.

Usage

style_region(text, context)

Arguments

text

Character vector that contains the highlighted region.

context

The context from find_active_context().