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
Method
checkThreadLinks
* * Check consistency of threadNext & threadBack links.
src/core/leoCommands.ts:2918
↓ 1 callers
Method
checkUnchangedFiles
( contents: string, fileName: string, root: Position )
src/core/leoAtFile.ts:3247
↓ 1 callers
Method
checkVisBackLimit
* Return done, p or None
src/core/leoNodes.ts:2021
↓ 1 callers
Method
checkVisNextLimit
* Return True is p is outside limit of visible nodes.
src/core/leoNodes.ts:2081
↓ 1 callers
Method
checkVnodeLinks
* Check all vnode links. * * Attempt error recovery if recover_flag is True. * Unit tests may set recover_flag to False for strict test
src/core/leoCommands.ts:2944
↓ 1 callers
Method
check_blanks_and_tabs
* Importer.check_blanks_and_tabs. * * Check for intermixed blank & tabs. * * Subclasses may override this method to suppress this
src/importers/base_importer.ts:194
↓ 1 callers
Method
check_clone_move
* Return False if p or any of p's descendants is a clone of parent * or any of parents ancestors.
src/commands/editFileCommands.ts:49
↓ 1 callers
Method
check_overwrite
* Implements c.checkTimeStamp. * * Return True if the file given by fn has not been changed * since Leo read it or if the user agrees t
src/core/leoExternalFiles.ts:136
↓ 1 callers
Method
check_round_trip
* Assert that p's outline is equivalent to s.
src/test/test_importers.test.ts:83
↓ 1 callers
Method
clean
(paths: string[])
src/git.d.ts:196
↓ 1 callers
Method
clean
* Remove all unnecessary nodes. * Remove the "ORG:" prefix from remaining nodes.
src/core/leoConfig.ts:1683
↓ 1 callers
Method
clean
* Clean useless nodes
src/core/leoImport.ts:3421
↓ 1 callers
Method
clean_file_name
* Compute the file name when subdirectories mirror the node's hierarchy in Leo.
src/core/leoExternalFiles.ts:520
↓ 1 callers
Method
clean_node
* Remove p if it contains no children after cleaning its children.
src/core/leoConfig.ts:1690
↓ 1 callers
Method
clean_tree
* Clear everything but the root node.
src/test/leoTest2.ts:284
↓ 1 callers
Method
cleanupBodies
()
src/leoBody.ts:64
↓ 1 callers
Method
clearAllVisited
()
src/core/leoCommands.ts:2552
↓ 1 callers
Method
clearAllVisitedInTree
()
src/core/leoNodes.ts:2728
↓ 1 callers
Method
clearMarked
(p: Position)
src/core/leoCommands.ts:2575
↓ 1 callers
Method
clear_dirty_bits
(p_p: Position)
src/core/leoImport.ts:2441
↓ 1 callers
Method
clear_session
* Close all tabs except the presently selected tab.
src/core/leoSessions.ts:24
↓ 1 callers
Method
clickAtButton
* * Invoke an '@button' click directly by index string. Used by '@buttons' treeview. * @param p_node the node of the at-buttons panel that was cl
src/leoUI.ts:6139
↓ 1 callers
Method
cloneAsNthChild
* Does not check for illegal clones!
src/core/leoNodes.ts:3761
↓ 1 callers
Method
cloneFindAllFlattenedMarked
()
src/core/leoFind.ts:675
↓ 1 callers
Method
cloneFindAllMarked
()
src/core/leoFind.ts:656
↓ 1 callers
Method
cloneFindByPredicate
* Traverse the tree given using the generator, cloning all positions for * which predicate(p) is True. Undoably move all clones to a new node, cr
src/core/leoCommands.ts:5474
↓ 1 callers
Method
cloneFindParents
()
src/core/leoFind.ts:738
↓ 1 callers
Method
cloneMarked
(this: Commands)
src/commands/commanderOutlineCommands.ts:1830
↓ 1 callers
Method
clone_action_nodes
* Create an organizer node as the last node of the outline. * Clone all positions in self.positions as children of the organizer node.
src/core/leoRst.ts:324
↓ 1 callers
Method
closeLeoFile
* * Close an opened Leo file * @returns the promise started after it's done closing the Leo document
src/leoUI.ts:5809
↓ 1 callers
Method
commit
(message: string, opts?: CommitOptions)
src/git.d.ts:242
↓ 1 callers
Method
commit_and_close
()
src/core/leoCache.ts:197
↓ 1 callers
Method
compareIgnoringBlankLines
* Compare two strings, ignoring blank lines.
src/core/leoAtFile.ts:3893
↓ 1 callers
Method
compare_lines
(s1: string, s2: string)
src/core/leoCompare.ts:313
↓ 1 callers
Method
compare_open_files
( f1: string[], f2: string[], name1: string, name2: string )
src/core/leoCompare.ts:333
↓ 1 callers
Function
composeScript
( c: Commands, p: Position, s: string, forceJavascriptSentinels: boolean = true, // ! LEOJS HA
src/core/leoGlobals.ts:5741
↓ 1 callers
Function
computeBaseDir
(c?: Commands, base_dir?: string, path_setting?: string)
src/core/leoGlobals.ts:5634
↓ 1 callers
Method
computeChangeDicts
* Compute inserted, deleted, changed dictionaries. * * New in Leo 4.11: show the nodes in the *invisible* file, d2, if possible.
src/commands/editFileCommands.ts:496
↓ 1 callers
Function
computeCommands
(c?: Commands, commands?: string[], command_setting?: string)
src/core/leoGlobals.ts:5673
↓ 1 callers
Function
computeCopiedBunchList
* * Create a dict containing only copied vnodes.
src/commands/commanderOutlineCommands.ts:51
↓ 1 callers
Method
computeGlobalConfigDir
()
src/core/leoApp.ts:2070
↓ 1 callers
Method
computeHomeDir
* Returns the user's home directory.
src/core/leoApp.ts:2092
↓ 1 callers
Method
computeHomeLeoDir
()
src/core/leoApp.ts:2126
↓ 1 callers
Function
computeLeadingWhitespace
( width: number, tab_width: number )
src/core/leoGlobals.ts:3626
↓ 1 callers
Method
computeLoadDir
* Returns the directory containing leo.py.
src/core/leoApp.ts:2166
↓ 1 callers
Method
computeMachineName
* Return the name of the current machine, i.e, HOSTNAME. * This is prepended to leoSettings.leo or myLeoSettings.leo * to give the machine-s
src/core/leoApp.ts:2253
↓ 1 callers
Method
computeModeName
(name: string)
src/core/leoConfig.ts:127
↓ 1 callers
Method
computeOutputFileName
* Return the full path to the output file.
src/core/leoRst.ts:598
↓ 1 callers
Method
computeSignon
()
src/core/leoApp.ts:1041
↓ 1 callers
Method
computeTabTitle
* Return the tab title for this commander.
src/core/leoCommands.ts:410
↓ 1 callers
Function
computeVnodeInfoDict
* We don't know yet which nodes will be affected by the paste, so we remember * everything. This is expensive, but foolproof. * * The alternative i
src/commands/commanderOutlineCommands.ts:38
↓ 1 callers
Method
compute_attribute_bits
* Return the initial values of v's attributes.
src/core/leoFileCommands.ts:3346
↓ 1 callers
Method
compute_common_lws
* Return the length of the common leading indentation of all non-blank * lines in all blocks. * * This method assumes that no leading
src/importers/base_importer.ts:731
↓ 1 callers
Method
compute_delim1
* Return the opening comment delim for the given file.
src/core/leoImport.ts:3572
↓ 1 callers
Method
compute_dicts
* Compute inserted, deleted, changed dictionaries.
src/commands/editFileCommands.ts:2204
↓ 1 callers
Method
compute_dicts
* Compute inserted, deleted, changed dictionaries.
src/core/leoCompare.ts:796
↓ 1 callers
Method
compute_effective_level
* Compute the effective level of a node, accounting for @ignore-node ancestors.
src/core/leoMarkup.ts:653
↓ 1 callers
Method
compute_find_options
* Return the status line as two strings.
src/core/leoFind.ts:1331
↓ 1 callers
Method
compute_find_options_in_status_area
()
src/core/leoFind.ts:4171
↓ 1 callers
Method
compute_last_index
* Scan the entire leo outline to compute ni.last_index.
src/core/leoNodes.ts:68
↓ 1 callers
Method
compute_level_offset
* Return 1 if the root.b contains a title. Otherwise 0.
src/core/leoMarkup.ts:573
↓ 1 callers
Method
compute_opath
* Neither asciidoctor nor pandoc handles extra extensions well.
src/core/leoMarkup.ts:413
↓ 1 callers
Method
compute_temp_file_path
* Return the path to the temp file for p and ext.
src/core/leoExternalFiles.ts:500
↓ 1 callers
Method
configTreeRefresh
* * Refresh tree for 'node hover icons' to show up properly after changing their settings
src/leoUI.ts:2142
↓ 1 callers
Method
config_iter
* Letters: * leoSettings.leo * D default settings * F loaded .leo File * M myLeoSettings.leo * @ @button, @command,
src/core/leoConfig.ts:1817
↓ 1 callers
Method
contractAllHeadlinesCommand
(this: Commands)
src/commands/commanderOutlineCommands.ts:671
↓ 1 callers
Method
contractIfNotCurrent
( this: Commands, p: Position, leaveOpen: Position )
src/commands/commanderOutlineCommands.ts:692
↓ 1 callers
Method
contractNode
(this: Commands)
src/commands/commanderOutlineCommands.ts:732
↓ 1 callers
Method
convertBlanks
(this: Commands)
src/commands/commanderEditCommands.ts:206
↓ 1 callers
Function
convertJsFunctionToWasm
(func, sig)
sqlite/sql-wasm-debug.js:5712
↓ 1 callers
Function
convertPythonIndexToRowCol
( s: string, i: number )
src/core/leoGlobals.ts:3145
↓ 1 callers
Function
convertReturnValue
(ret)
sqlite/sql-wasm-debug.js:6102
↓ 1 callers
Method
convertTabs
(this: Commands)
src/commands/commanderEditCommands.ts:260
↓ 1 callers
Method
convertTreeToString
* Convert a positions suboutline to a string in MORE format.
src/core/leoNodes.ts:629
↓ 1 callers
Method
convert_file
* Convert @root to @clean in the the .leo file at the given path.
src/commands/editFileCommands.ts:72
↓ 1 callers
Method
convert_rst_options
* Convert options @doc parts. Change headline to @path <fn>.
src/core/leoRst.ts:233
↓ 1 callers
Function
convert_unl_list
* Convert old-style UNLs to new UNLs, retaining line numbers if possible.
src/core/leoGlobals.ts:6302
↓ 1 callers
Method
copyMarked
(this: Commands)
src/commands/commanderOutlineCommands.ts:1879
↓ 1 callers
Method
copyTree
* Return an all-new tree of vnodes that are copies of self and all its * descendants. * * **Important**: the v.parents ivar must be []
src/core/leoNodes.ts:3263
↓ 1 callers
Method
copyTreeAfter
* Copy p and insert it after itself.
src/core/leoNodes.ts:2185
↓ 1 callers
Method
copyWithNewVnodes
* Return an **unlinked** copy of p with a new vnode v. * The new vnode is complete copy of v and all its descendants.
src/core/leoNodes.ts:2219
↓ 1 callers
Method
createActivesSettingsOutline
* Create and open an outline, summarizing all presently active settings. * * The outline retains the organization of all active settings fil
src/core/leoConfig.ts:2353
↓ 1 callers
Method
createAllCompareClones
* Create the comparison trees.
src/commands/editFileCommands.ts:536
↓ 1 callers
Method
createBalloon
* Create a balloon for a widget. * @param w Wrapper instance * @param label Balloon label
src/core/mod_scripting.ts:1198
↓ 1 callers
Method
createCloneFindPredicateRoot
* Create a root node for clone-find-predicate.
src/core/leoCommands.ts:5562
↓ 1 callers
Method
createCommandNames
* Create all entries in c.commandsDict. * Do *not* clear c.commandsDict here.
src/core/leoCommands.ts:399
↓ 1 callers
Method
createCommonButton
* Create a button in the icon area for a common @button node in an @setting * tree. Binds button presses to a callback that executes the script.
src/core/mod_scripting.ts:850
↓ 1 callers
Method
createCommonButtons
* Handle all global @button nodes.
src/core/mod_scripting.ts:825
↓ 1 callers
Method
createCommonCommand
* Handle a single @command node. * * Important: Common @button and @command scripts now *do* update * dynamically provided that myLeoS
src/core/mod_scripting.ts:939
↓ 1 callers
Method
createCommonCommands
* Handle all global @command nodes.
src/core/mod_scripting.ts:916
↓ 1 callers
Method
createCompareClones
( d: { [key: string]: Position }, kind: string, parent: Position )
src/commands/editFileCommands.ts:568
↓ 1 callers
Method
createDebugIconButton
* Create the 'debug-script' button and the debug-script command.
src/core/mod_scripting.ts:1130
↓ 1 callers
Method
createDirectoryForFile
* Create the directory for fn if * a) it doesn't exist and * b) the user options allow it. * * Return True if the directory existe
src/core/leoRst.ts:621
↓ 1 callers
Method
createGui
()
src/core/leoApp.ts:3360
↓ 1 callers
Method
createIcon
* Create chapter-selection Qt ListBox in the icon area.
src/core/leoChapters.ts:63
↓ 1 callers
Method
createImporterData
* Create the data structures describing importer plugins.
src/core/leoApp.ts:3156
↓ 1 callers
Method
createLeoFrame
* Create a new Leo frame.
src/core/leoGui.ts:383
↓ 1 callers
Method
createModeCommand
* Create a mode command.
src/core/leoConfig.ts:159
↓ 1 callers
Function
createMoveMarkedNode
(c: Commands)
src/commands/commanderOutlineCommands.ts:22
↓ 1 callers
Method
createNodeFromExternalFile
* Read the file into a node. * Return None, indicating that c.open should set focus.
src/core/leoCommands.ts:3909
← previous
next →
1,301–1,400 of 3,690, ranked by callers