Learn R Programming

styler (version 0.0-8)

complete_styled_expr: Complete styled expression with unstyled fraction on start / end line

Description

Essentially adding the parts before the highlighted area on the line where the higlighted area starts to the styled expression. Also, after the styled expression, the remainder of that line that was not styled is added.

Usage

complete_styled_expr(context, styled_expr, neighbourhood)

Arguments

context

The context from find_active_context().

styled_expr

Character vector consisting of the styled expression.

neighbourhood

Neighbourhood obtained from extract_neighbourhood().