| 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: Tue, 20 Jan 2026 02:30:13 GMT
cache-control: max-age=600
x-proxy-cache: MISS
x-github-request-id: 7898:11B54:37D8DA:415361:696EE65D
accept-ranges: bytes
age: 0
date: Tue, 20 Jan 2026 02:20:13 GMT
via: 1.1 varnish
x-served-by: cache-bom-vanm7210056-BOM
x-cache: MISS
x-cache-hits: 0
x-timer: S1768875613.081520,VS0,VE265
vary: Accept-Encoding
x-fastly-request-id: dfb200ec76090645843ca21162c35a0a47999f8a
content-length: 162
HTTP/2 200
server: GitHub.com
content-type: text/html; charset=utf-8
x-origin-cache: HIT
last-modified: Fri, 22 Jan 2016 01:15:27 GMT
access-control-allow-origin: *
etag: W/"56a182af-3cc7"
expires: Tue, 20 Jan 2026 02:30:13 GMT
cache-control: max-age=600
content-encoding: gzip
x-proxy-cache: MISS
x-github-request-id: E332:ECF0:377CC9:40F786:696EE65B
accept-ranges: bytes
age: 0
date: Tue, 20 Jan 2026 02:20:13 GMT
via: 1.1 varnish
x-served-by: cache-bom-vanm7210056-BOM
x-cache: MISS
x-cache-hits: 0
x-timer: S1768875613.365061,VS0,VE241
vary: Accept-Encoding
x-fastly-request-id: d1a68b9db9cdbc848364e308b6f08ccfbb77dba1
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: