LightTable Api Documentation

Version: 0.8.1

lt.objs.editor.pool

Provide manager for managing a pool of editors and several misc editor commands

by-path

(by-path path)
Return editor objects that edit given path

containing-path

(containing-path path)
Return editor objects that edit paths containing given path string

create

(create info)
Create a :lt.objs.editor/editor object with given info map and add it to current pool

last-active

(last-active)
Return current editor object (last active in pool)

unsaved?

(unsaved?)
Return truthy if any editors are currently dirty/unsaved?