Subject: Documentation for [.t edit canundo/canredo]

From: fvogel <[email-masked]>
Date: Thu, 12 May 2016 20:32:12 +0000

---
 doc/text.n | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/doc/text.n b/doc/text.n
index 9ec8f74..c788fa5 100644
--- a/doc/text.n
+++ b/doc/text.n
@@ -1282,6 +1282,16 @@ behavior of the command depends on the \fIoption\fR argument that follows the
 supported:
 .RS
 .TP
+\fIpathName \fBedit canredo\fR
+.
+Returns a boolean true if redo is possible, i.e. when the redo stack is not
+empty. Otherwise returns false.
+.TP
+\fIpathName \fBedit canundo\fR
+.
+Returns a boolean true if undo is possible, i.e. when the undo stack is not
+empty. Otherwise returns false.
+.TP
 \fIpathName \fBedit modified \fR?\fIboolean\fR?
 .
 If \fIboolean\fR is not specified, returns the modified flag of the widget.
-- 
cgit v0.12