Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boltex/leojs
/ functions
Functions
3,690 in github.com/boltex/leojs
⨍
Functions
3,690
◇
Types & classes
415
↓ 5 callers
Method
extendToWord
( select = true, w?: StringTextWrapper )
src/commands/editCommands.ts:2702
↓ 5 callers
Function
finalize
(p_path: string)
src/core/leoGlobals.ts:4628
↓ 5 callers
Method
find
* * Find next / previous commands * @param p_fromOutline * @param p_reverse * @returns Promise that resolves when the "launch refresh"
src/leoUI.ts:5176
↓ 5 callers
Method
find_at_persistence_node
* Find the first @persistence node in the outline. * If it does not exist, create it as the *last* top-level node, * so that no existing pos
src/core/leoPersistence.ts:390
↓ 5 callers
Function
finish
(byteArray)
sqlite/sql-wasm-debug.js:4816
↓ 5 callers
Method
finishCreate
()
src/core/leoGui.ts:488
↓ 5 callers
Method
finishOpen
(c: Commands)
src/core/leoApp.ts:3630
↓ 5 callers
Method
fireRefreshFile
* * Refresh the body pane for a particular gnx by telling vscode that the file from the Leo file provider has changed * @param p_gnx Gnx of body
src/leoBody.ts:92
↓ 5 callers
Method
forgetOpenFile
* Forget the open file, so that is no longer considered open.
src/core/leoApp.ts:1721
↓ 5 callers
Method
getInt
* Return the value of @int setting. * @param setting
src/core/leoConfig.ts:2756
↓ 5 callers
Method
getPageWidth
(p: Position)
src/core/leoCommands.ts:2034
↓ 5 callers
Method
get_UNL
* Return a gnx-oriented UNL. * * Breaking change to Leo's API: returned a path-oriented UNL previously. * * @bool full-unl-paths d
src/core/leoNodes.ts:1110
↓ 5 callers
Method
get_delims
* Return the two start/end delimiters in effect at root.
src/commands/gotoCommands.ts:570
↓ 5 callers
Method
hasThreadNext
()
src/core/leoNodes.ts:1206
↓ 5 callers
Method
headlineLevel
* return the headline level of s,or -1 if the string is not a MORE headline.
src/core/leoImport.ts:2196
↓ 5 callers
Method
interactiveSearch
* Run Leo's interactive search dialog.
src/core/leoGui.ts:129
↓ 5 callers
Method
invalidOutline
* Prints out error message about invalid outline
src/core/leoNodes.ts:2336
↓ 5 callers
Function
is_ws
(ch: string)
src/core/leoGlobals.ts:2359
↓ 5 callers
Method
key
()
src/core/leoNodes.ts:584
↓ 5 callers
Method
killHelper
* A helper method for all kill commands except kill-paragraph commands.
src/commands/killBufferCommands.ts:204
↓ 5 callers
Function
listenAll
(selector, name, listener)
settings-panel/main.js:195
↓ 5 callers
Method
loadLocalFile
( fn: string, gui?: LeoGui, old_c?: Commands, skipSaveSession?: boolean )
src/core/leoApp.ts:3393
↓ 5 callers
Method
loadSearchSettings
()
src/core/leoGui.ts:412
↓ 5 callers
Method
moveToRoot
* Move self to the root position.
src/core/leoNodes.ts:2396
↓ 5 callers
Method
navigateNavEntry
* * Goto the next, previous, first or last nav entry via arrow keys in
src/leoUI.ts:5042
↓ 5 callers
Function
os_path_dirname
(p_path?: string)
src/core/leoGlobals.ts:4762
↓ 5 callers
Method
parse_body
* Split p.b into functions, methods or classes in sibling nodes.
src/core/leoImport.ts:1509
↓ 5 callers
Method
put_node_sentinel
* Put an @+node sentinel for node p.
src/writers/basewriter.ts:38
↓ 5 callers
Method
put_plain_line
* Put a plain line to x.results, inserting verbatim lines if necessary.
src/core/leoShadow.ts:514
↓ 5 callers
Method
put_sentinels
* Put all the sentinels to the results
src/core/leoShadow.ts:525
↓ 5 callers
Method
redraw_later
* Ensure that c.redraw() will be called eventually. * c.outerUpdate will call c.redraw() only if no other code calls c.redraw().
src/core/leoCommands.ts:4681
↓ 5 callers
Method
registerCommand
* Equivalent of c.k.registerCommand from leoKeys.py.
src/core/leoCommands.ts:5437
↓ 5 callers
Method
resolveArchivedPosition
* Return a VNode corresponding to the archived position relative to root node root_v.
src/core/leoFileCommands.ts:1961
↓ 5 callers
Method
runAskOkDialog
* Create and run an askOK dialog .
src/core/leoGui.ts:192
↓ 5 callers
Method
self_and_siblings
* Yield all sibling positions of p including p.
src/core/leoNodes.ts:870
↓ 5 callers
Function
setFrozen
(p_focus)
find-panel/main.js:191
↓ 5 callers
Function
setValue
* @param {number} ptr * @param {number} value * @param {string} type
sqlite/sql-wasm-debug.js:2682
↓ 5 callers
Function
showDirtyAndApplyChange
()
settings-panel/main.js:225
↓ 5 callers
Method
showNavResults
()
src/core/leoGui.ts:575
↓ 5 callers
Function
skip_ws
(s: string, i: number)
src/core/leoGlobals.ts:2692
↓ 5 callers
Function
stringToUTF8
(str, outPtr, maxBytesToWrite)
sqlite/sql-wasm-debug.js:2054
↓ 5 callers
Function
stringToUTF8Array
(str, heap, outIdx, maxBytesToWrite)
sqlite/sql-wasm-debug.js:2008
↓ 5 callers
Method
translate
(pat: string)
src/core/quicksearch.ts:155
↓ 5 callers
Method
unlToClipboard
* Put UNL of current node on the clipboard. * @para optional unlType to specify type.
src/leoUI.ts:4668
↓ 5 callers
Method
write_rst_tree
* Convert p's tree to rst sources.
src/core/leoRst.ts:392
↓ 4 callers
Method
__lt__
(other: Position)
src/core/leoNodes.ts:376
↓ 4 callers
Method
_assert
(condition: boolean)
src/core/leoCommands.ts:2815
↓ 4 callers
Method
_change_all_search_and_replace
* Search s for this.find_text and replace with this.change_text. * * Return (found, new text)
src/core/leoFind.ts:1715
↓ 4 callers
Method
_deleteAllChildren
* Delete all children of self. * This is a low-level method, used by the read code. * It is not intended as a general replacement for p.doDe
src/core/leoNodes.ts:3905
↓ 4 callers
Method
_inner_search_backward
* rfind(sub [,start [,end]]) * * Return the highest index in the string where substring sub is found, * such that sub is contained with
src/core/leoFind.ts:3622
↓ 4 callers
Method
_inner_search_match_word
* Do a whole-word search.
src/core/leoFind.ts:3673
↓ 4 callers
Method
_inner_search_plain
* Do a plain search.
src/core/leoFind.ts:3702
↓ 4 callers
Method
_inner_search_regex
* Called from inner_search_helper
src/core/leoFind.ts:3743
↓ 4 callers
Method
_locateOpenedBody
* * Sets globals if the current body is found opened in an editor panel for a particular gnx * @param p_gnx gnx to match * @returns true if
src/leoUI.ts:2904
↓ 4 callers
Method
_onChangeCollapsedState
* * Handles the node expanding and collapsing interactions by the user in the treeview * @param p_event The event passed by vscode * @param
src/leoUI.ts:1176
↓ 4 callers
Method
_unlink
* Unlink the receiver p from the tree.
src/core/leoNodes.ts:1723
↓ 4 callers
Method
add
* Add a line to the present node.
src/core/leoImport.ts:3560
↓ 4 callers
Method
addRemoveHelper
(ch: string, add: boolean, undoType: string)
src/commands/editCommands.ts:1408
↓ 4 callers
Method
afterChangeMultiHeadline
* Create an undo node using d created by beforeChangeMultiHeadline.
src/core/leoUndo.ts:684
↓ 4 callers
Method
afterCloneNode
(p: Position, command: string, bunch: Bead)
src/core/leoUndo.ts:798
↓ 4 callers
Method
all_nodes
* A generator returning all vnodes in the outline, in outline order.
src/core/leoCommands.ts:1494
↓ 4 callers
Method
ask
* Ask user whether to overwrite an @<file> tree. * * Return one of ('yes', 'no', 'yes-all', 'no-all')
src/core/leoExternalFiles.ts:765
↓ 4 callers
Method
asyncGetTextFromClipboard
()
src/core/leoGui.ts:582
↓ 4 callers
Method
baseDirName
()
src/core/leoShadow.ts:103
↓ 4 callers
Method
beforeChangeMultiHeadline
* Return data that gets passed to afterChangeMultiHeadline. * p is used to select position after undo/redo multiple headline changes is done
src/core/leoUndo.ts:1040
↓ 4 callers
Method
beforeCloneNode
(p: Position)
src/core/leoUndo.ts:1096
↓ 4 callers
Method
check_gnx
* Check that no vnode exists with the given gnx in fc.gnxDict.
src/core/leoNodes.ts:47
↓ 4 callers
Method
cleanButtonText
* Clean the text following @button or @command so * that it is a valid name of a minibuffer command.
src/core/mod_scripting.ts:1173
↓ 4 callers
Method
clear
* Clear the global cache.
src/core/leoCache.ts:178
↓ 4 callers
Function
cmd
* Command decorator for the RstCommands class.
src/core/leoRst.ts:55
↓ 4 callers
Method
createFirstTreeNode
()
src/core/leoFrame.ts:60
↓ 4 callers
Method
createIconButton
* Create one icon button. * This method creates all scripting icon buttons. * * - Creates the actual button and its balloon. * -
src/core/mod_scripting.ts:662
↓ 4 callers
Method
createRecentFilesMenuItems
(c: Commands)
src/core/leoApp.ts:3984
↓ 4 callers
Method
create_test_outline
()
src/test/leoTest2.ts:205
↓ 4 callers
Method
cstCanonicalize
(s: string, lower = true)
src/core/leoImport.ts:1442
↓ 4 callers
Method
csv_string
* Return the string for the given csv row.
src/core/leoImport.ts:1976
↓ 4 callers
Method
default_settings
* Return a dict representing all default settings.
src/core/leoFind.ts:278
↓ 4 callers
Method
dehoist
(this: Commands)
src/commands/commanderOutlineCommands.ts:1398
↓ 4 callers
Method
deleteFile
()
src/commands/editFileCommands.ts:634
↓ 4 callers
Method
deleteTextSelection
* StringTextWrapper.
src/core/leoFrame.ts:1224
↓ 4 callers
Method
deleteWordHelper
(forward: boolean, smart: boolean = false)
src/commands/editCommands.ts:1617
↓ 4 callers
Method
delete_comments_and_strings
** Rust_Importer.delete_comments_and_strings: * * Return **guide-lines** from the lines, replacing strings and multi-line * comments w
src/importers/rust.ts:117
↓ 4 callers
Function
doHook
(tag: string, keywords: Record<string, any> = {})
src/core/leoGlobals.ts:2978
↓ 4 callers
Method
do_clone_find_tag
* Do the clone-all-find commands from settings. * Return (len(clones), found) for unit tests.
src/core/leoFind.ts:2129
↓ 4 callers
Method
do_error_dialogs
* Raise error dialogs. * * A helper function for c.save, c.saveAs, and c.saveTo.
src/commands/commanderFileCommands.ts:30
↓ 4 callers
Method
error
(s: string)
src/core/leoConfig.ts:177
↓ 4 callers
Method
findRootNode
* Return the @chapter node for this chapter.
src/core/leoChapters.ts:572
↓ 4 callers
Method
find_at_data_node
* Return the @data node for root, a foreign node. * Create the node if it does not exist.
src/core/leoPersistence.ts:343
↓ 4 callers
Method
finish
* Finish execution of this command.
src/commands/editFileCommands.ts:1894
↓ 4 callers
Method
fullRefresh
(p_keepFocus?: boolean)
src/core/leoGui.ts:571
↓ 4 callers
Method
getAnyLeoFileByName
* Open any kind of Leo file.
src/core/leoFileCommands.ts:1423
↓ 4 callers
Method
getColor
* Return the value of @color setting. * @param setting string name of setting * @returns color string
src/core/leoConfig.ts:2614
↓ 4 callers
Method
getConfig
(key: string)
src/git.d.ts:184
↓ 4 callers
Method
getNewIndex
* Create a new gnx for v or an empty string if the hold flag is set. * **Important**: the method must allocate a new gnx even if v.fileIndex exis
src/core/leoNodes.ts:133
↓ 4 callers
Method
getShortcut
* Return the keyboard shortcut from the given headline string
src/core/mod_scripting.ts:1301
↓ 4 callers
Method
getTextFromClipboard
()
src/core/leoGui.ts:407
↓ 4 callers
Method
get_external_file_with_sentinels
* root is an @<file> node. If root is an @auto node, return the result of * writing the file *with* sentinels, even if the external file normally
src/commands/gotoCommands.ts:616
↓ 4 callers
Method
get_file_from_rev
* Get the file from the given rev, or the working directory if None.
src/commands/editFileCommands.ts:1981
↓ 4 callers
Method
get_mtime
* Return the modification time of a file for the given path.
src/core/leoExternalFiles.ts:897
↓ 4 callers
Method
hasThreadBack
()
src/core/leoNodes.ts:1199
← previous
next →
401–500 of 3,690, ranked by callers