strip_hz_control: Replace Horizontal Spacing Control Characters

Description Usage Arguments Details

View source: R/text.R

Description

Removes tabs, newlines, and carriage returns and manipulates the text so that it looks the renders the same as it did with those horizontal control characters embedded. This function is used when the convert.hz.white.space parameter to the diff* methods is active. The term “strip” is a misnomer that remains for legacy reasons and lazyness.

Usage

1
strip_hz_control(txt, stops = 8L)

Arguments

txt

character to covert

stops

integer, what tab stops to use

Details

This is an internal function with exposed documentation because it is referenced in an external function's documentation.


diffobj documentation built on June 11, 2018, 1:04 a.m.