editor.GetBookmarks

LuaFAR 3

editor.GetBookmarks


bookmarks = editor.GetBookmarks (EditorId)

Parameters:
  EditorId:  integer, or nil

Returns:
  bookmarks: table (array of "bookmark tables"), or nil
    fields of a "bookmark table":
      Line:       integer
      Cursor:     integer
      ScreenLine: integer
      LeftPos:    integer

Note:
  This function groups data differently from how Far API's
  EditorControl(ECTL_GETBOOKMARKS) does. It places data of
  each bookmark into a separate table.

Far API used:
  EditorControl, ECTL_GETBOOKMARKS, ECTL_GETINFO