vis

a vi-like editor based on Plan 9's structural regular expressions

git clone https://9o.is/git/vis.git

commit 4f55b9ccb722bed3602010104035bbeb72d5bdc9
parent 5c8f41aa0de571fe835323310eac3545be3973b1
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Sat, 16 Apr 2016 12:11:39 +0200

vis-lua: update API documentaiton in README

Diffstat:
MREADME.md | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md @@ -577,6 +577,7 @@ At this time there exists no API stability guarantees. - `win_open(win)` - `win_close(win)` - `files()` iterator + - `win` currently focused window - `windows()` iterator - `command(cmd)` - `info(msg)` @@ -597,10 +598,11 @@ At this time there exists no API stability guarantees. - `size` current file size in bytes - `window` - `file` - - `syntax` lexer name used for syntax highlighting or `nil` - `cursors_iterator()` - `cursors[1..#cursors]` array giving read access to all cursors - `cursor` primary cursor + - `syntax` lexer name used for syntax highlighting or `nil` + - `cursor` - `line` (1 based), `col` (1 based) - `to(line, col)` - `pos` bytes from start of file (0 based)