summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
Diffstat (limited to 'txr.1')
-rw-r--r--txr.113
1 files changed, 12 insertions, 1 deletions
diff --git a/txr.1 b/txr.1
index 162545c4..be539219 100644
--- a/txr.1
+++ b/txr.1
@@ -62570,11 +62570,12 @@ if and only if the current mode is
equal to
.metn compare-mode .
-.coNP Functions @, get-indent @ set-indent and @ inc-indent
+.coNP Functions @, get-indent @, set-indent @ inc-indent and @ inc-indent-abs
.synb
.mets (get-indent << stream )
.mets (set-indent < stream << new-indent )
.mets (inc-indent < stream << indent-delta )
+.mets (inc-indent-abs < stream << indent-delta )
.syne
.desc
These functions manipulate the indentation value of the stream.
@@ -62605,6 +62606,16 @@ The indentation is calculated by adding
to the current column position.
If a negative indentation results, it is clamped to zero.
+The
+.code inc-indent-abs
+function sets
+.metn stream 's
+indentation relative to the current indentation value.
+The indentation is calculated by adding
+.meta indent-delta
+to the current indentation amount.
+If a negative indentation results, it is clamped to zero.
+
.coNP Function @ width-check
.synb
.mets (width-check < stream << alt-char )