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
↓ 1 callers
Function
make_top
(n: number, sib: Position)
src/test/leoGlobals.test.ts:279
↓ 1 callers
Function
make_top
(n: number, sib: Position)
src/test/leoFind.test.ts:111
↓ 1 callers
Method
markAllAtFileNodesDirty
* Mark all @file nodes as changed.
src/core/leoCommands.ts:4180
↓ 1 callers
Method
markSubheads
(this: Commands)
src/commands/commanderOutlineCommands.ts:2095
↓ 1 callers
Method
massageWebBody
(s: string)
src/core/leoImport.ts:1733
↓ 1 callers
Method
message
(s: string)
src/core/leoShadow.ts:619
↓ 1 callers
Method
minibuffer
* Opens quickPick minibuffer pallette to choose from all commands in this file's commander * @returns Promise from the command resolving - or res
src/leoUI.ts:4081
↓ 1 callers
Method
minimize_headline
* Adjust headlines and add @path directives to headlines or body text. * * Create an @path directive in @<file> nodes. * * fix_ba
src/core/leoImport.ts:2475
↓ 1 callers
Method
moveOutlineDown
(this: Commands)
src/commands/commanderOutlineCommands.ts:2206
↓ 1 callers
Method
moveOutlineLeft
(this: Commands)
src/commands/commanderOutlineCommands.ts:2286
↓ 1 callers
Method
moveOutlineRight
(this: Commands)
src/commands/commanderOutlineCommands.ts:2324
↓ 1 callers
Method
moveOutlineToFirstChild
(this: Commands)
src/commands/commanderOutlineCommands.ts:2451
↓ 1 callers
Method
moveOutlineToLastChild
(this: Commands)
src/commands/commanderOutlineCommands.ts:2484
↓ 1 callers
Method
moveOutlineUp
(this: Commands)
src/commands/commanderOutlineCommands.ts:2363
↓ 1 callers
Method
move_blank_lines_helper
(children: Iterable<Position>)
src/importers/base_importer.ts:696
↓ 1 callers
Method
move_class_docstring
* Move the docstring from child_p to class_p.
src/importers/python.ts:367
↓ 1 callers
Method
move_class_docstrings
* Move class docstrings from the class node's first child to the class node.
src/importers/python.ts:415
↓ 1 callers
Method
move_leading_blank_lines
* Move leading blank lines from one node to its previous sibling.
src/core/leoImport.ts:2594
↓ 1 callers
Method
move_module_preamble
* Move the preamble lines from the parent's first child to the start of parent.b.
src/importers/java.ts:51
↓ 1 callers
Method
move_module_preamble
* Move the preamble lines from the parent's first child to the start of parent.b.
src/importers/python.ts:433
↓ 1 callers
Method
move_one_blank_line
* Move one blank line from the start of p.b to the end of p.back().b
src/importers/base_importer.ts:706
↓ 1 callers
Method
munge
(name: string)
src/core/leoApp.ts:3607
↓ 1 callers
Method
mungePrivateLines
* Change the 'find' the 'replace' pattern in sentinel lines.
src/test/leoShadow.test.ts:129
↓ 1 callers
Method
navEnter
* * Handles an enter press in the 'nav pattern' input
src/leoUI.ts:5059
↓ 1 callers
Function
navKeyHandler
(p_event)
find-panel/main.js:438
↓ 1 callers
Method
navTextChange
* * Handles a debounced text change in the nav pattern input box
src/leoUI.ts:5078
↓ 1 callers
Method
navTextClear
* * Clears the nav search results of the goto pane
src/leoUI.ts:5097
↓ 1 callers
Method
nearest_roots
* A generator yielding all the root positions "near" p1 = self that satisfy the given predicate. p.isAnyAtFileNode is the default pred
src/core/leoNodes.ts:730
↓ 1 callers
Method
nearest_unique_roots
* A generator yielding all unique root positions "near" p1 = self that satisfy the given predicate. p.isAnyAtFileNode is the default
src/core/leoNodes.ts:776
↓ 1 callers
Method
new
(this: Commands, gui: NullGui)
src/commands/commanderFileCommands.ts:237
↓ 1 callers
Method
newLeoFile
* * Creates a new Leo file * @returns the promise started after it's done creating the frame and commander
src/leoUI.ts:5772
↓ 1 callers
Method
new_commander
* Create the new commander, and load all settings files.
src/core/leoConfig.ts:1452
↓ 1 callers
Method
new_vnode_helper
* Handle all gnx-related tasks for VNode.__init__.
src/core/leoNodes.ts:181
↓ 1 callers
Method
nodeSentinelText
* Return the text of a @+node or @-node sentinel for p.
src/core/leoAtFile.ts:3123
↓ 1 callers
Method
nodes
* Yield p.v and all vnodes in p's subtree.
src/core/leoNodes.ts:820
↓ 1 callers
Method
oblank
()
src/core/leoAtFile.ts:3517
↓ 1 callers
Function
onBind
()
settings-panel/main.js:202
↓ 1 callers
Function
onColorThemeChanged
()
settings-panel/main.js:126
↓ 1 callers
Function
onDone
(ret)
sqlite/sql-wasm-debug.js:6127
↓ 1 callers
Function
onDropdownChanged
(element)
settings-panel/main.js:232
↓ 1 callers
Function
onInputBlurred
(element)
settings-panel/main.js:245
↓ 1 callers
Function
onInputChanged
(element)
settings-panel/main.js:252
↓ 1 callers
Function
onInputChecked
(element)
settings-panel/main.js:240
↓ 1 callers
Function
onInputFocused
(element)
settings-panel/main.js:248
↓ 1 callers
Method
onSelect
(old_p: Position, p: Position)
src/core/leoUndo.ts:1245
↓ 1 callers
Method
onSelectItem
(index: number)
src/core/quicksearch.ts:461
↓ 1 callers
Method
on_idle
* IdleTimeManager: Run all idle-time callbacks.
src/core/leoApp.ts:123
↓ 1 callers
Method
onl_sent
* Write a newline to the output stream, provided we are outputting sentinels.
src/core/leoAtFile.ts:3536
↓ 1 callers
Method
oops
()
src/core/leoConfig.ts:991
↓ 1 callers
Method
openAside
* * Opens a detached body aside, and set focus in a body pane locked to its commander/gnx. * - Does not select the node in the outline. * -
src/leoUI.ts:3870
↓ 1 callers
Method
openAtShadowFileForReading
* Open an @shadow for reading and return shadow_fn.
src/core/leoAtFile.ts:462
↓ 1 callers
Method
openFileForReading
* Open the file given by at.root. * This will be the private file for @shadow nodes.
src/core/leoAtFile.ts:414
↓ 1 callers
Method
openMyLeoSettings
( this: Commands )
src/commands/commanderHelpCommands.ts:198
↓ 1 callers
Method
openUrl
(this: Commands)
src/core/leoApp.ts:4500
↓ 1 callers
Function
openUrlHelper
(c: Commands, url?: string)
src/core/leoGlobals.ts:6843
↓ 1 callers
Method
openWebview
()
src/leoSettingsWebview.ts:25
↓ 1 callers
Method
openWorkBook
* Open or create a new workbook. * * @string default-leo-file gives the path, defaulting to ~/.leo/workbook.leo. * * Return the n
src/core/leoApp.ts:3056
↓ 1 callers
Method
open_gnx
* Find the node with the given gnx in c, myLeoSettings.leo and leoSettings.leo. * If found, open the tab/outline and select the specified node.
src/core/mod_scripting.ts:789
↓ 1 callers
Function
os_path_basename
(p_path: string)
src/core/leoGlobals.ts:4736
↓ 1 callers
Function
os_path_isfile
(p_path?: string)
src/core/leoGlobals.ts:4957
↓ 1 callers
Function
os_path_split
(p_path: string)
src/core/leoGlobals.ts:5184
↓ 1 callers
Method
otabs
(n: number)
src/core/leoAtFile.ts:3523
↓ 1 callers
Method
parseFont
(p: Position)
src/core/leoConfig.ts:1001
↓ 1 callers
Method
parseFontLine
(line: string, d: { [key: string]: any })
src/core/leoConfig.ts:1022
↓ 1 callers
Method
parseHeadline
* Parse a headline of the form @kind:name=val * Return (kind,name,val). * Leo 4.11.1: Ignore everything after @data name.
src/core/leoConfig.ts:1075
↓ 1 callers
Method
parseOpenWith
(p: Position)
src/core/leoConfig.ts:1114
↓ 1 callers
Method
parseOpenWithLine
(line: string, d: { [key: string]: any })
src/core/leoConfig.ts:1123
↓ 1 callers
Function
parsePathData
(c: Commands)
src/core/leoGlobals.ts:7221
↓ 1 callers
Function
parseStateExpression
(expression)
settings-panel/main.js:296
↓ 1 callers
Method
parseZimIndex
* Parse Zim wiki index.rst and return a list of tuples (level, name, path) or None.
src/core/leoImport.ts:3355
↓ 1 callers
Method
parse_body_helper
* The common code for the parse-body command.
src/core/leoImport.ts:1577
↓ 1 callers
Method
parse_importer_dict
* Set entries in g.app.classDispatchDict, g.app.atAutoDict and * g.app.atAutoNames using entries in m.importer_dict.
src/core/leoApp.ts:3220
↓ 1 callers
Method
parse_task
()
src/core/leoImport.ts:3274
↓ 1 callers
Method
parse_writer_dict
* Set entries in g.app.writersDispatchDict and g.app.atAutoWritersDict * using entries in m.writers_dict.
src/core/leoApp.ts:3313
↓ 1 callers
Method
pasteAsTemplate
(this: Commands, s?: string)
src/commands/commanderOutlineCommands.ts:356
↓ 1 callers
Method
pickle
* Pickle val and return the hexlified result.
src/core/leoPersistence.ts:681
↓ 1 callers
Method
positionToWeb
* This code converts a VNode to noweb text as follows: Convert @doc to @ Convert @root or @code to < < name > >=, assuming the headli
src/core/leoImport.ts:413
↓ 1 callers
Function
postRun
()
sqlite/sql-wasm-debug.js:2215
↓ 1 callers
Method
post_process
* Traverse p's tree, replacing all nodes that start with prefix * by the smallest equivalent @path or @file node.
src/core/leoImport.ts:2425
↓ 1 callers
Method
postprocess
* Importer.postprocess. A hook for language-specific post-processing. * * The Python_Importer and Rust_Importer classes override this metho
src/importers/base_importer.ts:685
↓ 1 callers
Function
preRun
()
sqlite/sql-wasm-debug.js:2188
↓ 1 callers
Method
preformat
* Convert p.b as if preformatted. Change headline to @rst-no-head
src/core/leoRst.ts:257
↓ 1 callers
Method
prepareDbTables
(conn: Database)
src/core/leoFileCommands.ts:2324
↓ 1 callers
Method
preprocess_blocks
* Move blank lines from the start one block to the end of the previous block.
src/core/leoImport.ts:1622
↓ 1 callers
Method
preprocess_lines
* A hook to enable preprocessing lines before calling x.find_blocks. * * Xml_Importer uses this hook to split lines.
src/importers/base_importer.ts:291
↓ 1 callers
Method
prev_hidden_lines
* Return the number of hidden sentinels preceding contents[target_i].
src/commands/gotoCommands.ts:197
↓ 1 callers
Method
printError
* Print an error message that may contain non-ascii characters.
src/core/leoAtFile.ts:4053
↓ 1 callers
Method
printSignon
* Print the signon to the log.
src/core/leoApp.ts:1144
↓ 1 callers
Method
processTopTree
* Call processTree for @rst and @slides node p's subtree or p's ancestors.
src/core/leoRst.ts:345
↓ 1 callers
Method
processTree
* Process all @rst nodes in a tree.
src/core/leoRst.ts:366
↓ 1 callers
Method
promote
* A low-level promote helper.
src/core/leoNodes.ts:2408
↓ 1 callers
Method
promptForSave
* Prompt the user to save changes. * Return True if the user vetoes the quit or save operation.
src/core/leoFrame.ts:151
↓ 1 callers
Method
propagate_changes
* Propagate the changes from the public file (without_sentinels) to the private file (with_sentinels)
src/core/leoShadow.ts:536
↓ 1 callers
Method
pushSearchHistory
(pat: string)
src/core/quicksearch.ts:504
↓ 1 callers
Method
put
(sentinels: boolean)
src/core/leoAtFile.ts:2392
↓ 1 callers
Method
putAtAllBody
* Generate the body enclosed in sentinel lines.
src/core/leoAtFile.ts:2787
↓ 1 callers
Method
putAtAllChild
* This code puts only the first of two or more cloned siblings, preceding * the clone with an @clone n sentinel. * * This is a debatabl
src/core/leoAtFile.ts:2815
↓ 1 callers
Method
putAtAllLine
* Put the expansion of @all.
src/core/leoAtFile.ts:2769
↓ 1 callers
Method
putAtFirstLines
* Write any @firstlines from string s. * These lines are converted to @verbatim lines, * so the read logic simply ignores lines preceding th
src/core/leoAtFile.ts:3610
↓ 1 callers
Method
putAtLastLines
* Write any @last lines from string s. * These lines are converted to @verbatim lines, * so the read logic simply ignores lines following th
src/core/leoAtFile.ts:3632
← previous
next →
1,701–1,800 of 3,690, ranked by callers