aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-11-27 21:21:31 +0100
committerMarc André Tanner <mat@brain-dump.org>2016-11-28 11:53:04 +0100
commit6f01f6891f6654cf1f38907960cd9b96a8bb64d8 (patch)
tree1e8e5b86b06b059321db1ebecf207bbb33c95b52 /README.md
parent82339f5b6298b0d641a865894866448220b5d84e (diff)
downloadvis-6f01f6891f6654cf1f38907960cd9b96a8bb64d8.tar.gz
vis-6f01f6891f6654cf1f38907960cd9b96a8bb64d8.tar.xz
vis-lua: add file.path property denoting the absolute path to the file
Close #407
Diffstat (limited to 'README.md')
-rw-r--r--README.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/README.md b/README.md
index 1bdbe6c..ab8d3dc 100644
--- a/README.md
+++ b/README.md
@@ -621,7 +621,8 @@ At this time there exists no API stability guarantees.
- `insert(pos, data)`
- `delete(pos, len)` or `delete({start, finish})`
- `lines_iterator()`
- - `name`
+ - `name` file path relative to current working directory or `nil` if not yet associated
+ - `path` absolute path or `nil` if not yet associated
- `lines[0..#lines+1]` array giving read/write access to lines
- `newlines` type of newlines either `"lf"` or `"crlf"`
- `size` current file size in bytes