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
↓ 713 callers
Method
push
(remoteName?: string, branchName?: string, setUpstream?: boolean, force?: ForcePushMode)
src/git.d.ts:237
↓ 574 callers
Function
test
(table: any, table_name: string, nocase: boolean, word: boolean)
src/test/leoFind.test.ts:863
↓ 421 callers
Method
__bool__
* Return True if a position is valid. * * This cannot mimic the python __bool__ method exactly and override the 'if p' test.
src/core/leoNodes.ts:425
↓ 297 callers
Method
replace
* Run Leo's replace method.
src/core/leoGui.ts:145
↓ 274 callers
Method
join
* Return s1 + ' ' + s2
src/core/leoExternalFiles.ts:987
↓ 240 callers
Method
__eq__
* Return True if two positions are equivalent.
src/core/leoNodes.ts:337
↓ 228 callers
Method
toString
()
src/core/leoNodes.ts:3045
↓ 222 callers
Method
insertAsLastChild
()
src/core/leoNodes.ts:3772
↓ 218 callers
Method
log
(options?: LogOptions)
src/git.d.ts:240
↓ 198 callers
Method
trace
()
src/core/leoUndo.ts:494
↓ 194 callers
Method
copy
* Return an independent copy of a position.
src/core/leoNodes.ts:2172
↓ 177 callers
Function
commander_command
(p_name: string, p_doc: string)
src/core/decorators.ts:12
↓ 175 callers
Method
match
(s: string)
src/importers/java.ts:57
↓ 169 callers
Method
selectPosition
* Select a new position, redrawing the screen *only* if we must * change chapters.
src/core/leoCommands.ts:5311
↓ 153 callers
Function
cmd
* Command decorator for the editCommandsClass class.
src/commands/editCommands.ts:16
↓ 153 callers
Method
rootPosition
* Return the root position. * * Root position is the first position in the document. Other * top level positions are siblings of this n
src/core/leoCommands.ts:2394
↓ 144 callers
Method
command
* Leo Command. This is used in "command bindings" from the UI to execute commands. * @param p_cmd Command name string * @param p_options: Co
src/leoUI.ts:3980
↓ 142 callers
Method
redraw
(p?: Position)
src/core/leoCommands.ts:4613
↓ 141 callers
Function
run_test
( before_b: string, after_b: string, // before/after body text. before_sel: [number |
src/test/leoEditCommands.test.ts:39
↓ 124 callers
Method
setDirty
* Set the vnode dirty bit. * This method is fast, but dangerous. Unlike p.setDirty, this method does * not call v.setAllAncestorAtFileNodesD
src/core/leoNodes.ts:3445
↓ 116 callers
Method
error
(...args: any)
src/core/leoAtFile.ts:4045
↓ 104 callers
Method
getAllText
* StringTextWrapper.
src/core/leoFrame.ts:1245
↓ 101 callers
Method
editWidget
* Return the edit widget for the event. Also sets self.w
src/commands/baseCommands.ts:111
↓ 88 callers
Method
insertAfter
* Inserts a new position after self. * Returns the newly created position.
src/core/leoNodes.ts:2264
↓ 88 callers
Method
next
()
src/importers/rust.ts:291
↓ 85 callers
Method
new_run_test
* Run a unit test of an import scanner, * i.e., create a tree from string s at location p.
src/test/test_importers.test.ts:153
↓ 83 callers
Method
setChanged
* Set the marker that indicates that the .leo file has been changed.
src/core/leoCommands.ts:2615
↓ 78 callers
Method
setSelectionRange
* StringTextWrapper.
src/core/leoFrame.ts:1351
↓ 77 callers
Method
keys
()
src/core/leoCache.ts:52
↓ 77 callers
Method
self_and_subtree
* Yield p and all positions in p's subtree.
src/core/leoNodes.ts:889
↓ 75 callers
Method
all_positions
* A generator return all positions of the outline, in outline order.
src/core/leoCommands.ts:1519
↓ 75 callers
Method
getInsertPoint
* StringTextWrapper.
src/core/leoFrame.ts:1253
↓ 73 callers
Method
moveToThreadNext
* Move a position to threadNext position.
src/core/leoNodes.ts:1953
↓ 73 callers
Method
shortFileName
()
src/core/leoCommands.ts:1740
↓ 72 callers
Function
assert
@type {function(*, string=)}
sqlite/sql-wasm-debug.js:1912
↓ 72 callers
Method
fileName
()
src/core/leoCommands.ts:1727
↓ 71 callers
Method
lastTopLevel
* Return the last top-level position in the outline.
src/core/leoCommands.ts:2252
↓ 68 callers
Method
endEditing
* End the editing of a headline.
src/core/leoCommands.ts:5262
↓ 68 callers
Method
get
(key: string, p_default?: any)
src/core/leoGlobals.ts:705
↓ 66 callers
Method
level
* Return the number of p's parents.
src/core/leoNodes.ts:1315
↓ 60 callers
Method
getSelectionRange
* Return the selected range of the widget.
src/core/leoFrame.ts:1287
↓ 59 callers
Method
setHeadString
(s: string)
src/core/leoNodes.ts:3740
↓ 58 callers
Function
createExportWrapper
@param {boolean=} fixedasm
sqlite/sql-wasm-debug.js:2405
↓ 57 callers
Method
getBool
* Return the value of @bool setting, or the default if the setting is not found. * @param setting value name * @param defaultVal value if no
src/core/leoConfig.ts:2601
↓ 56 callers
Method
beginCommand
* Do the common processing at the start of each command.
src/commands/baseCommands.ts:41
↓ 56 callers
Method
firstChild
* Returns the first child or undefined if no children
src/core/leoNodes.ts:3295
↓ 55 callers
Method
all_unique_positions
* A generator return all positions of the outline, in outline order. * Returns only the first position for each vnode.
src/core/leoCommands.ts:1625
↓ 55 callers
Method
delete
* StringTextWrapper.
src/core/leoFrame.ts:1207
↓ 55 callers
Method
endCommand
* Do the common processing at the end of each command. * Handles undo only if we are in the body pane.
src/commands/baseCommands.ts:68
↓ 53 callers
Function
cmd
* Command decorator for the findCommands class.
src/core/leoFind.ts:81
↓ 52 callers
Method
setUpClass
()
src/test/leoTest2.ts:132
↓ 51 callers
Method
hasChildren
()
src/core/leoNodes.ts:3303
↓ 51 callers
Method
moveToNodeAfterTree
* Move a position to the node after the position's tree.
src/core/leoNodes.ts:1886
↓ 51 callers
Method
tearDown
()
src/test/leoTest2.ts:162
↓ 50 callers
Method
show
(s: string)
src/core/leoCompare.ts:659
↓ 50 callers
Method
undo
()
src/core/leoUndo.ts:1879
↓ 46 callers
Method
insertAsNthChild
(n: number)
src/core/leoNodes.ts:3777
↓ 46 callers
Method
isMarked
()
src/core/leoNodes.ts:3395
↓ 46 callers
Method
positionExists
* Return true if a position exists in c's tree
src/core/leoCommands.ts:2293
↓ 45 callers
Method
setInsertPoint
* StringTextWrapper.
src/core/leoFrame.ts:1342
↓ 44 callers
Method
expand
* Expand the node.
src/core/leoNodes.ts:3486
↓ 43 callers
Function
command
(p_name: string, p_doc: string)
src/core/decorators.ts:40
↓ 43 callers
Method
insert
* StringTextWrapper.
src/core/leoFrame.ts:1315
↓ 41 callers
Method
isCloned
()
src/core/leoNodes.ts:3385
↓ 41 callers
Method
subtree
* Yield all positions in p's subtree, but not p.
src/core/leoNodes.ts:906
↓ 41 callers
Method
triggerBodySave
* * Validate headline edit input box if active, or, Save body to the Leo app if its dirty. * That is, only if a change has been made to the bod
src/leoUI.ts:1769
↓ 40 callers
Function
cwrap
* @param {string=} returnType * @param {Array=} argTypes * @param {Object=} opts
sqlite/sql-wasm-debug.js:6142
↓ 40 callers
Method
redo
()
src/core/leoUndo.ts:1401
↓ 40 callers
Method
replace
* * Replace / Replace-Then-Find commands * @param p_fromOutline * @param p_thenFind * @returns Promise that resolves when the "launch r
src/leoUI.ts:5257
↓ 40 callers
Method
self_and_parents
* Yield p and all parent positions of p.
src/core/leoNodes.ts:854
↓ 40 callers
Method
set
* Init the setting for name to val.
src/core/leoConfig.ts:1263
↓ 39 callers
Method
add
(paths: string[])
src/git.d.ts:194
↓ 38 callers
Method
hasNext
()
src/core/leoNodes.ts:1179
↓ 37 callers
Method
afterInsertNode
(p: Position, command: string, bunch: Bead)
src/core/leoUndo.ts:872
↓ 37 callers
Method
beforeInsertNode
( p: Position, pasteAsClone: boolean = false, copiedBunchList?: Bead[] )
src/core/leoUndo.ts:1110
↓ 37 callers
Method
doDelete
* Deletes position p from the outline. * * This is the main delete routine. * It deletes the receiver's entire tree from the screen.
src/core/leoNodes.ts:2244
↓ 36 callers
Function
toInt
(s: number | string)
src/test/leoEditCommands.test.ts:51
↓ 35 callers
Method
setupRefresh
* * Setup global refresh options * @param p_finalFocus kind of pane for focus to be placed after refresh, if any. If not specified, focus will be
src/leoUI.ts:2154
↓ 34 callers
Method
fullPath
* Return the absolute path in effect at p. * * Return the path to an external file if p is an @<file> node. * Otherwise the return th
src/core/leoCommands.ts:3240
↓ 34 callers
Method
isAnyAtFileNode
* Return True if v is any kind of @file or related node.
src/core/leoNodes.ts:3161
↓ 34 callers
Method
setAllText
* StringTextWrapper.
src/core/leoFrame.ts:1332
↓ 34 callers
Method
warning
(s: string)
src/core/leoChapters.ts:299
↓ 34 callers
Method
writeFile
(p_uri: vscode.Uri, p_content: Uint8Array, p_options: { create: boolean, overwrite: boolean })
src/leoBody.ts:199
↓ 33 callers
Method
checkOutline
* Check for errors in the outline. * Return the number of errors.
src/core/leoCommands.ts:3158
↓ 33 callers
Method
oops
()
src/core/leoGui.ts:497
↓ 32 callers
Method
launchRefresh
()
src/core/leoGui.ts:570
↓ 30 callers
Method
readFile
* Read the file, change splitter ratios, and return its hidden vnode.
src/core/leoFileCommands.ts:106
↓ 29 callers
Method
getString
* Return the value of @string setting. * @param setting
src/core/leoConfig.ts:2867
↓ 29 callers
Method
isExpanded
* Return True if the VNode expansion bit is set.
src/core/leoNodes.ts:3500
↓ 29 callers
Method
make_lines
* Make all lines and return the result of propagating changed lines.
src/test/leoShadow.test.ts:67
↓ 28 callers
Method
afterChangeGroup
* Create an undo node for general tree operations using d created by * beforeChangeGroup
src/core/leoUndo.ts:577
↓ 28 callers
Method
beforeChangeGroup
* Prepare to undo a group of undoable operations.
src/core/leoUndo.ts:993
↓ 28 callers
Method
contract
* Contract the node.
src/core/leoNodes.ts:3479
↓ 27 callers
Method
children
* Yield all child positions of p.
src/core/leoNodes.ts:690
↓ 27 callers
Method
isChecked
()
src/core/findTabManager.ts:48
↓ 27 callers
Method
isDirty
()
src/core/leoNodes.ts:3390
↓ 26 callers
Method
setUp
* Create a commander using a **null** gui, regardless of g.app.gui. * Create the nodes in the commander.
src/test/leoTest2.ts:140
↓ 26 callers
Function
trace
(...args: any[])
src/core/leoGlobals.ts:4232
↓ 25 callers
Method
import_from_string
* Importer.import_from_string: the so-called **Import pipeline**. * The top-level code for almost all importers. * * parent: An @<file>
src/importers/base_importer.ts:131
↓ 25 callers
Method
initWriteIvars
* Compute default values of all write-related ivars. * Return the finalized name of the output file.
src/core/leoAtFile.ts:245
next →
1–100 of 3,690, ranked by callers