Liking cljdoc? Tell your friends :D
Clojure only.

dk.salza.liq.editor

The editor is the central point of Liquid. Most of the data is immutable, but the editor has a ref, also called editor. It contains the state of the editor.

Most actions on the editor will replace content of this state with a transformed content.

For example:

When (forward-char 1) is called, the current buffer will be replaced with a new buffer, where the cursor is moved one char ahead.

The editor is the central point of Liquid.
Most of the data is immutable, but the editor has
a ref, also called editor. It contains the state of
the editor.

Most actions on the editor will replace content of this state
with a transformed content.

For example:

  When (forward-char 1) is called, the current buffer will be
  replaced with a new buffer, where the cursor is moved one char
  ahead.
raw docstring

add-commandclj

(add-command fun)

Add a command to be availble for commandapp typeahead. add-interactive is in most cases more suitable.

Add a command to be availble for commandapp typeahead.
add-interactive is in most cases more suitable.
sourceraw docstring

add-fileclj

(add-file f)

Add a single file to be availalbe through typeahead from the commandapp. When chosen the file will be opened. EXAMPLE: (editor/add-file "/home/mogens/.liq")

Add a single file to be availalbe through typeahead
from the commandapp. When chosen the file will
be opened.
EXAMPLE: (editor/add-file "/home/mogens/.liq")
sourceraw docstring

add-interactiveclj

(add-interactive label fun & arglabels)

Add an interactive function. The label will be shown in typeahead. The user will be prompted to provide and input for each of the lables in arglabels. The function will be called with the input values as arguments.

Add an interactive function.
The label will be shown in typeahead.
The user will be prompted to provide and
input for each of the lables in arglabels.
The function will be called with the input
values as arguments.
sourceraw docstring

add-rootfolderclj

(add-rootfolder s)

Add a folder to rootfolders. When using find file app, the rootfolders can be directly accessed through typeahead. EXAMPLE: (editor/add-rootfolder "/tmp")

Add a folder to rootfolders.
When using find file app, the rootfolders
can be directly accessed through typeahead.
EXAMPLE: (editor/add-rootfolder "/tmp")
sourceraw docstring

add-searchpathclj

(add-searchpath s)

Add a folder to searchpaths. When using the commandapp files below folders in the searchpath will be available through typeahead. EXAMPLE: (editor/add-searchpath "/tmp")

Add a folder to searchpaths.
When using the commandapp files below
folders in the searchpath will be available
through typeahead.
EXAMPLE: (editor/add-searchpath "/tmp")
sourceraw docstring

add-snippetclj

(add-snippet s)

Add a snippet to list of snippets. They will be available through typeahead from the commandapp. When chosen the snippet text will be inserted. EXAMPLE: (editor/add-snippet "(ns user)")

Add a snippet to list of snippets.
They will be available through typeahead
from the commandapp.
When chosen the snippet text will be inserted.
EXAMPLE: (editor/add-snippet "(ns user)")
sourceraw docstring

add-to-settingclj

(add-to-setting keyw entry)

When a setting with a given key is a list, items can be added to that list using this function.

When a setting with a given key is a list,
items can be added to that list using this
function.
sourceraw docstring

add-windowclj

(add-window window)
(add-window name top left rows columns buffername)

Add a window to the editor. It takes as input a window created using dk.salza.liq.window/create function.

Add a window to the editor.
It takes as input a window created using
dk.salza.liq.window/create function.
sourceraw docstring

apply-to-sliderclj

(apply-to-slider fun)

Apply function to the slider in the current buffer. It should take a slider as input and produce a slider as output.

Apply function to the slider in the current buffer.
It should take a slider as input and produce a slider
as output.
sourceraw docstring

backward-charclj

(backward-char)
(backward-char amount)

Moves the cursor backward the given amount, or 1 step, if no arguments are given.

Moves the cursor backward the given amount,
or 1 step, if no arguments are given.
sourceraw docstring

backward-lineclj

(backward-line)

Moves cursor backward one line in the current active buffer.

Moves cursor backward one line
in the current active buffer.
sourceraw docstring

backward-wordclj

(backward-word)

Moves the cursor to the beginning of the previous word.

Moves the cursor to the beginning
of the previous word.
sourceraw docstring

beginning-of-bufferclj

(beginning-of-buffer)

Moves the cursor to the beginning of the buffer.

Moves the cursor to the beginning of the buffer.
sourceraw docstring

beginning-of-lineclj

(beginning-of-line)

Moves the cursor to the beginning of the current line.

Moves the cursor to the beginning
of the current line.
sourceraw docstring

buffer-namesclj

(buffer-names)

The names of the buffers as a list

The names of the buffers as a list
sourceraw docstring

changed-on-disk?clj

(changed-on-disk?)

If the current buffer is from a file, it returns if the file has changed on the disk, maybe by another program.

If the current buffer is from a file, it
returns if the file has changed on the disk,
maybe by another program.
sourceraw docstring

clearclj

(clear)

Clears the whole buffer.

Clears the whole buffer.
sourceraw docstring

context-actionclj

(context-action)
source

copy-contextclj

(copy-context)

Send the context to the clipboard. The context could be a filename, a function, an url depending on how the context is resolved.

Send the context to the clipboard.
The context could be a filename, a
function, an url depending on how the
context is resolved.
sourceraw docstring

copy-fileclj

(copy-file)

If the current buffer is connected to a file, the filename is send to the clipboard.

If the current buffer is connected to a file,
the filename is send to the clipboard.
sourceraw docstring

copy-lineclj

(copy-line)

Sends the current line to the clipboard.

Sends the current line to the clipboard.
sourceraw docstring

copy-selectionclj

(copy-selection)

If there is a selection, the selected text will be send to clipboard.

If there is a selection, the selected
text will be send to clipboard.
sourceraw docstring

create-buffer-from-fileclj

(create-buffer-from-file filepath)

Creates a new buffer, connects it to the given filepath and loads the content into the buffer.

Creates a new buffer, connects it to the
given filepath and loads the content into
the buffer.
sourceraw docstring

current-bufferclj

(current-buffer)

Returns the current active buffer. Since buffers are immutable, this will be a copy of the actual buffer.

Returns the current active buffer.
Since buffers are immutable, this will
be a copy of the actual buffer.
sourceraw docstring

current-windowclj

(current-window)

Get the current active window. Mostly used to get the dimensions for the related buffer.

Get the current active window.
Mostly used to get the dimensions
for the related buffer.
sourceraw docstring

deleteclj

(delete)
(delete amount)

Deletes given amount of characters backwards. If no amount is supplied just one character will be deleted.

Deletes given amount of characters backwards.
If no amount is supplied just one character
will be deleted.
sourceraw docstring

delete-charclj

(delete-char)

Deletes the character after the cursor.

Deletes the character after the cursor.
sourceraw docstring

delete-lineclj

(delete-line)

Deletes the current line.

Deletes the current line.
sourceraw docstring

delete-selectionclj

(delete-selection)

If there is a selection, the selected content will be deleted.

If there is a selection, the selected
content will be deleted.
sourceraw docstring

delete-windowclj

(delete-window)
source

dirty-buffersclj

(dirty-buffers)

The names of the dirty buffers as a list.

The names of the dirty buffers as a list.
sourceraw docstring

dirty?clj

(dirty?)

Returns weather current buffer is dirty.

Returns weather current buffer is dirty.
sourceraw docstring

drop-tmp-keymapclj

(drop-tmp-keymap)

Drop the current temporary keymap.

Drop the current temporary keymap.
sourceraw docstring

editorclj

The ref which contains the editor data, that is

  • List of buffers
  • List of windows
  • Global keymap
  • Map of functions to evaluate different filetypes
  • Settings with searchpaths, searchfiles, snippets, commands and interactive commands for typeahead.

Most functions in the editor namespace manipulates this ref.

The ref which contains the editor data, that is

* List of buffers
* List of windows
* Global keymap
* Map of functions to evaluate different filetypes
* Settings with searchpaths, searchfiles, snippets,
  commands and interactive commands for typeahead.

Most functions in the editor namespace manipulates
this ref.
sourceraw docstring

end-of-bufferclj

(end-of-buffer)

Moved the cursor to the end of the buffer.

Moved the cursor to the end of the buffer.
sourceraw docstring

end-of-buffer?clj

(end-of-buffer?)

Returns true of the current point is the end of the current buffer.

Returns true of the current point is the
end of the current buffer.
sourceraw docstring

end-of-lineclj

(end-of-line)

Moves the cursor to the end of the current line. The next hard line break.

Moves the cursor to the end of the
current line. The next hard line break.
sourceraw docstring

end-of-wordclj

(end-of-word)

Moves the cursor to the end of the current word.

Moves the cursor to the end of the current
word.
sourceraw docstring

enlarge-window-belowclj

(enlarge-window-below amount)
source

enlarge-window-rightclj

(enlarge-window-right amount)
source

escapeclj

(escape)
source

eval-last-sexpclj

(eval-last-sexp)

Evaluate the current s-expression.

Evaluate the current s-expression.
sourceraw docstring

eval-safeclj

(eval-safe fun)

Evaluate a function, catching errors if thrown.

Evaluate a function, catching errors if thrown.
sourceraw docstring

eval-sexpclj

(eval-sexp sexp)

Evaluate the given s-expression in the current namespace.

Evaluate the given s-expression in the current
namespace.
sourceraw docstring

evaluate-fileclj

(evaluate-file)
(evaluate-file filepath)

Evaluate the given file. How evaluation is done depends on the file type.

Evaluate the given file. How evaluation is done
depends on the file type.
sourceraw docstring

evaluate-file-rawclj

(evaluate-file-raw)
(evaluate-file-raw filepath)

Evaluate a given file raw, without using with-out-str or other injected functionality. If no filepath is supplied the path connected to the current buffer will be used.

Evaluate a given file raw, without using
with-out-str or other injected functionality.
If no filepath is supplied the path connected
to the current buffer will be used.
sourceraw docstring

find-fileclj

(find-file filepath)

Opens the file with the given name with the default app.

Opens the file with the given name
with the default app.
sourceraw docstring

find-nextclj

(find-next)
(find-next search)
source

force-quitclj

(force-quit)
source

force-reopen-fileclj

(force-reopen-file)

Reopening file in buffer, ignore dirty flag.

Reopening file in buffer,
ignore dirty flag.
sourceraw docstring

forward-charclj

(forward-char)
(forward-char amount)

Moves the cursor forward the given amount, or 1 step, if no arguments are given.

Moves the cursor forward the given amount,
or 1 step, if no arguments are given.
sourceraw docstring

forward-lineclj

(forward-line)

Moves cursor forward one line in the current active buffer.

Moves cursor forward one line
in the current active buffer.
sourceraw docstring

forward-pageclj

(forward-page)

Moves one page forward on the current buffer. A page is what is visible in the current window.

Moves one page forward on the current buffer.
A page is what is visible in the current window.
sourceraw docstring

forward-wordclj

(forward-word)

Moves the cursor to the beginning of the next word.

Moves the cursor to the beginning
of the next word.
sourceraw docstring

fullupdate?clj

(fullupdate?)

If a full update of the ui has been requested. Resets the value afterwards.

If a full update of the ui has been requested.
Resets the value afterwards.
sourceraw docstring

get-actionclj

(get-action keyw)

If the current buffer has an action for the given keyword the action (function) is return, otherwise, if there is a global action for the given keyword that will be returned.

If the current buffer has an action for the given
keyword the action (function) is return, otherwise,
if there is a global action for the given keyword
that will be returned.
sourceraw docstring

get-available-functionsclj

(get-available-functions)
source

get-bufferclj

(get-buffer name)

Get a buffer by its name. Since buffers are immutable, the buffer given will be a copy of the buffer.

Get a buffer by its name.
Since buffers are immutable, the buffer given
will be a copy of the buffer.
sourceraw docstring

get-charclj

(get-char)

Return the char at the point as a string.

Return the char at the point as a string.
sourceraw docstring

get-contentclj

(get-content)

Return the content of the current buffer as a string.

Return the content of the current buffer
as a string.
sourceraw docstring

get-contextclj

(get-context)

Returns a context map like {:type :file :value /tmp/tmp.txt} with a type and a value generated by analysing the context of the cursor.

Returns a context map like
{:type :file :value /tmp/tmp.txt}
with a type and a value generated by analysing
the context of the cursor.
sourceraw docstring

get-default-appclj

(get-default-app)

Get the app to be used as default, if none has been specified.

Get the app to be used as default,
if none has been specified.
sourceraw docstring

get-default-highlighterclj

(get-default-highlighter)

Get the default highlighter function. Mostly used to set highlight on buffer until some is set by user or app.

Get the default highlighter function.
Mostly used to set highlight on buffer
until some is set by user or app.
sourceraw docstring

get-default-typeahead-functionclj

(get-default-typeahead-function)

Get the default function for typeahead.

Get the default function for typeahead.
sourceraw docstring

get-filenameclj

(get-filename)

The filename if one is associated with the current buffer, otherwise nil.

The filename if one is associated with the current
buffer, otherwise nil.
sourceraw docstring

get-folderclj

(get-folder)

The folder part if a filename is associated with the current buffer, otherwise nil.

The folder part if a filename is associated with
the current buffer, otherwise nil.
sourceraw docstring

get-frame-columnsclj

(get-frame-columns)

Get the number of columns in the current frame.

Get the number of columns in the current frame.
sourceraw docstring

get-frame-rowsclj

(get-frame-rows)

Get the number of rows in the current frame.

Get the number of rows in the current frame.
sourceraw docstring

get-highlighterclj

(get-highlighter)

Returns the highlighter function from the current buffer.

Returns the highlighter function from
the current buffer.
sourceraw docstring

get-key-listclj

(get-key-list)

List of all typed keys

List of all typed keys
sourceraw docstring

get-keymapclj

(get-keymap)

Returns the active keymap on from the current buffer. This is used by the editor to determine what action to take.

Returns the active keymap on from the current buffer.
This is used by the editor to determine what action
to take.
sourceraw docstring

get-lineclj

(get-line)

Returns the current line as a string.

Returns the current line as a string.
sourceraw docstring

get-markclj

(get-mark name)

Returns the named mark on the current buffer as a number, the position of the mark.

Returns the named mark on the current buffer
as a number, the position of the mark.
sourceraw docstring

get-nameclj

(get-name)

Returns the name of the current buffer.

Returns the name of the current buffer.
sourceraw docstring

get-pointclj

(get-point)

Returns the point as a number.

Returns the point as a number.
sourceraw docstring

get-rootfoldersclj

(get-rootfolders)

Returns the list of root folders. Used by apps to navigate directly to these folders.

Returns the list of root folders. Used by apps to
navigate directly to these folders.
sourceraw docstring

get-searchpathsclj

(get-searchpaths)

Returns the list of searchpaths.

Returns the list of searchpaths.
sourceraw docstring

get-selectionclj

(get-selection)

Get current selected text as a string. Returns nil if nothing is selected.

Get current selected text as a string.
Returns nil if nothing is selected.
sourceraw docstring

get-sliderclj

(get-slider)

Get the slider from the current buffer.

Get the slider from the current buffer.
sourceraw docstring

get-top-of-windowclj

(get-top-of-window keyw)

Used by renderer to get the position of the first char to be rendered.

Used by renderer to get the position
of the first char to be rendered.
sourceraw docstring

get-windowsclj

(get-windows)

Returns the list of windows in the editor. Used by views to get the dimensions of the visible buffers.

Returns the list of windows in the editor.
Used by views to get the dimensions of the
visible buffers.
sourceraw docstring

goto-definitionclj

(goto-definition funname)
source

handle-inputclj

(handle-input keyw)
source

hide-selectionclj

(hide-selection)

Hide the current selection. Will be collapsed into a symbol with 3 dots.

Hide the current selection.
Will be collapsed into a symbol with
3 dots.
sourceraw docstring

highlight-sexp-at-pointclj

(highlight-sexp-at-point)

Like select-sexp-at-point but only highlights start and end of s-expression. Toggle this to see current s-expression.

Like select-sexp-at-point but only highlights
start and end of s-expression.
Toggle this to see current s-expression.
sourceraw docstring

insertclj

(insert string)

Inserts a string to the current active buffer at the cursor position.

Inserts a string to the current active buffer
at the cursor position.
sourceraw docstring

insert-lineclj

(insert-line)

Inserts an empty line below the current and move the cursor down.

Inserts an empty line below the current
and move the cursor down.
sourceraw docstring

kill-bufferclj

(kill-buffer)
source

new-bufferclj

(new-buffer name)

Create a new buffer with the given name. The buffer will be set as the current buffer in the current window. Default highlighter and keymaps are assign. They can be overridden afterwards.

Create a new buffer with the given name.
The buffer will be set as the current buffer
in the current window.
Default highlighter and keymaps are assign.
They can be overridden afterwards.
sourceraw docstring

other-windowclj

(other-window)

Navigates to the next window and changes buffer accordingly.

Navigates to the next window and changes
buffer accordingly.
sourceraw docstring

pasteclj

(paste)

Insert the text from the clipboard at the current position.

Insert the text from the clipboard
at the current position.
sourceraw docstring

point-to-markclj

(point-to-mark name)

Move the point to the mark on the current buffer.

Move the point to the mark on the current buffer.
sourceraw docstring

previous-bufferclj

(previous-buffer)

Navigates to the previous buffer used.

Navigates to the previous buffer used.
sourceraw docstring

previous-real-bufferclj

(previous-real-buffer)

Navigates to the prevous buffer, but skip over buffer with names containing dashes.

Navigates to the prevous buffer, but skip over
buffer with names containing dashes.
sourceraw docstring

previous-real-buffer-same-windowclj

(previous-real-buffer-same-window)

Navigates to the prevous buffer, but skip over buffer with names containing dashes.

Navigates to the prevous buffer, but skip over
buffer with names containing dashes.
sourceraw docstring

prompt-appendclj

(prompt-append & string)

Append the given strings to the prompt buffer.

Append the given strings to the prompt buffer.
sourceraw docstring

prompt-inputclj

(prompt-input & string)
source

prompt-setclj

(prompt-set & string)

Set the prompt buffer to the given strings.

Set the prompt buffer to the given strings.
sourceraw docstring

prompt-to-tmpclj

(prompt-to-tmp)
source

quitclj

(quit)
source

record-macroclj

(record-macro)
source

remove-bufferclj

(remove-buffer buffername)
source

remove-markclj

(remove-mark name)

Removes the named mark from the current buffer.

Removes the named mark from the current buffer.
sourceraw docstring

reopen-all-filesclj

(reopen-all-files)

Reopen all files which are not dirty.

Reopen all files which are not dirty.
sourceraw docstring

reopen-fileclj

(reopen-file)

Reopen file in buffer, if the file is not dirty.

Reopen file in buffer,
if the file is not dirty.
sourceraw docstring

replace-charclj

(replace-char s)

Replaces the char at current point with the given one.

Replaces the char at current point
with the given one.
sourceraw docstring

request-fullupdateclj

(request-fullupdate)

Used notify the ui to do a full updated.

Used notify the ui to do a full updated.
sourceraw docstring

resetclj

(reset)

Resets the editor. Mostly for testing purposes.

Resets the editor. Mostly for testing purposes.
sourceraw docstring

run-macroclj

(run-macro)
source

save-fileclj

(save-file)

If the current buffer is connected to a file, saves the content of the buffer to the file.

If the current buffer is connected to a file,
saves the content of the buffer to the
file.
sourceraw docstring

(search)
source

search-filesclj

(search-files search)
source

select-sexp-at-pointclj

(select-sexp-at-point)

Selects the s-expression at the point (cursor) The cursor is moved backwards until the first startparenthesis where selection starts, and then forward until the selection has balanced parenthesis.

Selects the s-expression at the point (cursor)
The cursor is moved backwards until the first
startparenthesis where selection starts, and then
forward until the selection has balanced parenthesis.
sourceraw docstring

selection-active?clj

(selection-active?)

If something is selected.

If something is selected.
sourceraw docstring

selection-cancelclj

(selection-cancel)

Removes the selection point. Nothing will be selected afterwards.

Removes the selection point.
Nothing will be selected afterwards.
sourceraw docstring

selection-setclj

(selection-set)

Sets selection mark at the current point. This will be the starting point of a selection. Cursor position will be the end point of the selection.

Sets selection mark at the current point.
This will be the starting point of a selection.
Cursor position will be the end point of the
selection.
sourceraw docstring

selection-toggleclj

(selection-toggle)

If something is selected, the selection will be cancelled. If nothing is selected a selection will be initiated.

If something is selected, the selection
will be cancelled.
If nothing is selected a selection
will be initiated.
sourceraw docstring

set-default-appclj

(set-default-app app)

Set the default app to be used when a new buffer is created.

Set the default app to be used when a new
buffer is created.
sourceraw docstring

set-default-highlighterclj

(set-default-highlighter highlighter)

Set the highlighter function to be used as default when a new buffer is created.

Set the highlighter function to be used as
default when a new buffer is created.
sourceraw docstring

set-default-keymapclj

(set-default-keymap keymap)

Set the keymap to be used as default when a new buffer is created.

Set the keymap to be used as default when a
new buffer is created.
sourceraw docstring

set-default-typeahead-functionclj

(set-default-typeahead-function typeaheadfn)

Set the typeahead function to be used of none has been set.

Set the typeahead function to be used of none
has been set.
sourceraw docstring

set-eval-functionclj

(set-eval-function extension fun)

Associate an extension with a function. The function is assumed to take one input - the filepath. EXAMPLE (To associate files with "py" extension with the python command): (editor/set-eval-function "py" #(cshell/cmd "python" %))

Associate an extension with a function. The function
is assumed to take one input - the filepath.
EXAMPLE (To associate files with "py" extension with the
         python command):
  (editor/set-eval-function "py" #(cshell/cmd "python" %))
sourceraw docstring

set-frame-dimensionsclj

(set-frame-dimensions rows columns)

Setting rows and columns of the window frame.

Setting rows and columns of the window frame.
sourceraw docstring

set-global-keyclj

(set-global-key keyw fun)
(set-global-key keyw1 keyw2 fun)

Define a global keybinding. It takes a keyword like :f5 and a function to call when that key is pressed.

Define a global keybinding.
It takes a keyword like :f5 and a function
to call when that key is pressed.
sourceraw docstring

set-highlighterclj

(set-highlighter highlighter)

Set the highlighter function on the current buffer. This determines how the content in the buffer is syntax highlighted.

Set the highlighter function on the current
buffer. This determines how the content
in the buffer is syntax highlighted.
sourceraw docstring

set-keymapclj

(set-keymap keymap)

Sets the keymap on the current buffer.

Sets the keymap on the current buffer.
sourceraw docstring

set-markclj

(set-mark name)

Sets a named mark at the current point on the current buffer

Sets a named mark at the current point
on the current buffer
sourceraw docstring

set-settingclj

(set-setting keyw value)

Set keyw to value in the settings part of the editor.

Set keyw to value in the
settings part of the editor.
sourceraw docstring

set-sliderclj

(set-slider sl)

Replace the slider in the current buffer with the given.

Replace the slider in the current buffer
with the given.
sourceraw docstring

set-tmp-keymapclj

(set-tmp-keymap keymap)

Overrule the current keymap temporarily. This keymap has highest priority.

Overrule the current keymap temporarily.
This keymap has highest priority.
sourceraw docstring

set-top-of-windowclj

(set-top-of-window keyw val)

Used by the renderer to store the position of the first char to be rendered.

Used by the renderer to store the position
of the first char to be rendered.
sourceraw docstring

set-undo-pointclj

(set-undo-point)
source

settingclj

(setting keyw)

Get the setting with the given key.

Settings are used as a key value store in the editor.

Items like snippets or search paths are store in this.

Get the setting with the given key.

Settings are used as a key value store
in the editor.

Items like snippets or search paths are
store in this.
sourceraw docstring

sexp-at-pointclj

(sexp-at-point)

Returns the s-expression at the cursor position.

Returns the s-expression at the cursor position.
sourceraw docstring

shrink-window-belowclj

(shrink-window-below amount)
source

shrink-window-rightclj

(shrink-window-right amount)
source

split-window-belowclj

(split-window-below)
(split-window-below amount)
source

split-window-rightclj

(split-window-right)
(split-window-right amount)
source

swap-line-downclj

(swap-line-down)

Swaps the current line with the one below. The cursor follows the the current line down.

Swaps the current line with the one below.
The cursor follows the the current line down.
sourceraw docstring

swap-line-upclj

(swap-line-up)

Swaps the current line with the line above. The cursor follows the current line up.

Swaps the current line with the line above.
The cursor follows the current line up.
sourceraw docstring

swap-windowsclj

(swap-windows)
source

switch-to-bufferclj

(switch-to-buffer buffername)

Switch to the buffer with the given name.

Switch to the buffer with the given name.
sourceraw docstring

switch-to-buffer-same-windowclj

(switch-to-buffer-same-window buffername)

Switch to the buffer with the given name. Use the same window.

Switch to the buffer with the given name.
Use the same window.
sourceraw docstring

tmp-do-macroclj

(tmp-do-macro)
source

tmp-testclj

(tmp-test)
source

top-align-pageclj

(top-align-page)

Scrolls so the current line is at the top of the window.

Scrolls so the current line is at the top
of the window.
sourceraw docstring

top-next-headlineclj

(top-next-headline)
source

top-of-windowclj

Atom to keep track of the position of the first char visible in a window. Keys are generated from window and buffer names.

Atom to keep track of the position
of the first char visible in a window.
Keys are generated from window and buffer
names.
sourceraw docstring

typeaheadclj

(typeahead items tostringfun callback)
source

undoclj

(undo)

Execute an undo on the current buffer.

Execute an undo on the current buffer.
sourceraw docstring

unhideclj

(unhide)

If the current position has collapsed content it will be expanded.

If the current position has collapsed content
it will be expanded.
sourceraw docstring

update-mem-colclj

(update-mem-col)

Stores the current cursor position on the current line. Primarily used for forward-line and backward-line to remember the cursor position when navigation is done past shorter lines. That is what makes the cursor in and out when using arrow down.

Stores the current cursor position on the current line.
Primarily used for forward-line and backward-line to
remember the cursor position when navigation is done
past shorter lines.
That is what makes the cursor in and out when using
arrow down.
sourceraw docstring

updatedclj

(updated)

Call this function to proclaim that an update has been made to the editor. This can be used by views to check for updates.

Call this function to proclaim that an
update has been made to the editor.
This can be used by views to check for updates.
sourceraw docstring

updatesclj

Variable to be increased when updates are done to the editor, to allow easy check if redraw is needed.

Variable to be increased when updates
are done to the editor, to allow easy
check if redraw is needed.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close