| CARVIEW |
Select Language
HTTP/2 301
server: GitHub.com
content-type: text/html
location: https://lighttable.github.io/LightTable/api/
access-control-allow-origin: *
expires: Mon, 19 Jan 2026 04:09:54 GMT
cache-control: max-age=600
x-proxy-cache: MISS
x-github-request-id: C834:2EF093:272CC3:2E48B4:696DAC3A
accept-ranges: bytes
age: 0
date: Mon, 19 Jan 2026 03:59:54 GMT
via: 1.1 varnish
x-served-by: cache-bom-vanm7210059-BOM
x-cache: MISS
x-cache-hits: 0
x-timer: S1768795195.655175,VS0,VE243
vary: Accept-Encoding
x-fastly-request-id: f3ec8acd1b91aff0163c4022c59e5dbb5fb786c4
content-length: 162
HTTP/2 200
server: GitHub.com
content-type: text/html; charset=utf-8
last-modified: Fri, 22 Jan 2016 01:15:27 GMT
access-control-allow-origin: *
etag: W/"56a182af-3cc7"
expires: Mon, 19 Jan 2026 04:09:55 GMT
cache-control: max-age=600
content-encoding: gzip
x-proxy-cache: MISS
x-github-request-id: BD01:32D844:268F08:2DA9B2:696DAC39
accept-ranges: bytes
age: 0
date: Mon, 19 Jan 2026 03:59:55 GMT
via: 1.1 varnish
x-served-by: cache-bom-vanm7210059-BOM
x-cache: MISS
x-cache-hits: 0
x-timer: S1768795195.911993,VS0,VE260
vary: Accept-Encoding
x-fastly-request-id: 56e6543476bc922fce782f84072340e67945253d
content-length: 2695
[:span.project-title [:span.project-name "LightTable"] " " [:span.project-version "0.8.1"]] API documentation Version: 0.8.1
LightTable Api Documentation
LightTable
Light Table is a next generation code editor that connects you to your creation with instant feedback. Light Table is very customizable and can display anything a Chromium browser can.
lt.object
Define core of BOT architecture and provide fns for manipulating objects, behaviors and tags
lt.objs.command
Provide command manager and command related fns
lt.objs.editor
Provide fns and behaviors for interfacing with a CodeMirror editor object. Also manage defining and loading CodeMirror. For more about CodeMirror objects see https://codemirror.org/doc/manual.html#CodeMirror
Public variables and functions:
- +line-class
- ->cm-ed
- ->cursor
- ->elem
- ->generation
- ->mode
- ->token
- ->token-type
- ->val
- -line-class
- add-gutter
- adjust-loc
- block-comment
- blur
- bookmark
- center-cursor
- char-coords
- clear-history
- copy
- cursor
- cut
- dirty?
- extension
- find-marks
- first-line
- focus
- fold-code
- get-char
- get-doc
- get-history
- indent-line
- indent-lines
- indent-selection
- inner-mode
- input-field
- insert-at-cursor
- last-line
- lh->line
- line
- line-comment
- line-count
- line-handle
- line-length
- line-widget
- mark
- mode-blacklist
- move-cursor
- off
- on
- on-change
- on-click
- on-move
- on-scroll
- on-update
- operation
- option
- paste
- pos->index
- range
- redo
- refresh
- remove-gutter
- remove-line-widget
- replace
- replace-selection
- scroll-to
- select-all
- selection
- selection-bounds
- selection?
- set-doc!
- set-extending
- set-history
- set-line
- set-mode
- set-options
- set-selection
- set-val
- set-val-and-keep-cursor
- show-hints
- toggle-comment
- uncomment
- undo
lt.objs.editor.pool
Provide manager for managing a pool of editors and several misc editor commands
Public variables and functions:
lt.objs.files
Provide fns for doing file related operations. A number of fns use the node fs library - https://nodejs.org/api/fs.html
Public variables and functions:
- absolute?
- append
- basename
- copy
- cwd
- delete!
- dir?
- dirs
- exists?
- ext
- ext->mode
- file?
- filter-walk
- full-path-ls
- get-roots
- home
- ignore-pattern
- line-ending
- ls
- ls-sync
- lt-home
- lt-user-dir
- mkdir
- move!
- open
- open-sync
- parent
- path->mode
- path->type
- real-path
- relative
- resolve
- save
- separator
- stats
- trash!
- walk-up-find
- without-ext
- writable?
lt.objs.notifos
Provide fns for displaying messages and spinner in bottom statusbar
Public variables and functions: