aboutsummaryrefslogtreecommitdiff
path: root/core/.buffer.luadoc
diff options
context:
space:
mode:
Diffstat (limited to 'core/.buffer.luadoc')
-rw-r--r--core/.buffer.luadoc16
1 files changed, 16 insertions, 0 deletions
diff --git a/core/.buffer.luadoc b/core/.buffer.luadoc
index ba237e25..969c45ac 100644
--- a/core/.buffer.luadoc
+++ b/core/.buffer.luadoc
@@ -2287,6 +2287,14 @@ function marker_enable_highlight(buffer, enabled) end
function marker_get(buffer, line) end
---
+-- Returns the handle of the *n*th marker on line number *line*, or `-1` if no
+-- such marker exists.
+-- @param buffer A buffer.
+-- @param line The line number to get markers on.
+-- @param n The marker to get the handle of.
+function marker_handle_from_line(buffer, line, n) end
+
+---
-- Returns the line number that marker handle *handle*, returned by
-- `buffer.marker_add()`, was added to, or `-1` if the line was not found.
-- @param buffer A buffer.
@@ -2308,6 +2316,14 @@ function marker_line_from_handle(buffer, handle) end
function marker_next(buffer, line, marker_mask) end
---
+-- Returns the number of the *n*th marker on line number *line*, or `-1` if no
+-- such marker exists.
+-- @param buffer A buffer.
+-- @param line The line number to get markers on.
+-- @param n The marker to get the number of.
+function marker_number_from_line(buffer, line, n) end
+
+---
-- Returns the last line number, before or on line number *line*, that has had
-- all of the markers represented by marker bit-mask *marker_mask* added to it.
-- Returns `-1` if no line was found.