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
↓ 4 callers
Method
has_at_data_node
* Return the @data node corresponding to root, a foreign node. * Return None if no such node exists.
src/core/leoPersistence.ts:589
↓ 4 callers
Method
has_changed
* Return True if the file at path has changed outside of Leo.
src/core/leoExternalFiles.ts:914
↓ 4 callers
Method
hn_delete
* Helper: delete the headline number in p.h.
src/commands/editCommands.ts:1203
↓ 4 callers
Method
init
(root: Uri, options?: InitOptions)
src/git.d.ts:316
↓ 4 callers
Function
intArrayFromString
@type {function(string, boolean=, number=)}
sqlite/sql-wasm-debug.js:2858
↓ 4 callers
Method
isAtAllNode
* Returns True if the receiver contains @others in its body at the start of a line.
src/core/leoNodes.ts:3152
↓ 4 callers
Method
isAtAutoRstNode
()
src/core/leoNodes.ts:3173
↓ 4 callers
Method
isTsStillValid
* * Checks timestamp only, if is still the latest lastReceivedNode * @param ts timestamp of last time
src/leoUI.ts:2462
↓ 4 callers
Method
isVerbatimSentinel
* Return True if s is an @verbatim sentinel.
src/core/leoShadow.ts:804
↓ 4 callers
Method
looksLikeDerivedFile
* Return True if fn names a file that looks like an * external file written by Leo.
src/core/leoCommands.ts:3947
↓ 4 callers
Method
make_at_clean_outline
* Create a hidden temp outline from lines without sentinels. * root is the @<file> node for fn. * s is the contents of the (public) file, wi
src/commands/editFileCommands.ts:2109
↓ 4 callers
Method
make_at_file_outline
* Create a hidden temp outline from lines.
src/commands/editFileCommands.ts:2159
↓ 4 callers
Method
markerFromFileLines
* Return the sentinel delimiter comment to be used for filename.
src/core/leoShadow.ts:631
↓ 4 callers
Method
movePageHelper
* Move the cursor up/down one page, possibly extending the selection.
src/commands/editCommands.ts:2892
↓ 4 callers
Method
moveToBufferHelper
(spot: string, extend: boolean)
src/commands/editCommands.ts:2554
↓ 4 callers
Method
moveToCharacterHelper
(spot: string, extend: boolean)
src/commands/editCommands.ts:2586
↓ 4 callers
Method
moveUpOrDownHelper
(direction: string, extend: boolean)
src/commands/editCommands.ts:2511
↓ 4 callers
Method
move_blank_lines
* Move blank lines from the start of nodes to the end of previous sibling.
src/importers/base_importer.ts:692
↓ 4 callers
Function
opacity
(color, percentage)
settings-panel/main.js:84
↓ 4 callers
Method
openSettingsFile
* Open a settings file with a null gui. Return the commander. * * The caller must init the c.config object.
src/core/leoApp.ts:2754
↓ 4 callers
Function
os_path_isdir
(p_path: string)
src/core/leoGlobals.ts:4935
↓ 4 callers
Function
os_path_normpath
(p_path: string)
src/core/leoGlobals.ts:5063
↓ 4 callers
Method
parseLeoSentinel
* Parse the sentinel line s. * If the sentinel is valid, set at.encoding, at.readVersion
src/core/leoAtFile.ts:1177
↓ 4 callers
Function
pr
(...args: any[])
src/core/leoGlobals.ts:4188
↓ 4 callers
Method
propagate_changed_lines
( new_public_lines: string[], old_private_lines: string[], marker: Marker, p?:
src/core/leoShadow.ts:275
↓ 4 callers
Method
putCodeLine
* Put a normal code line.
src/core/leoAtFile.ts:2951
↓ 4 callers
Method
putLeadInSentinel
* i points at the start of a line. * j points at @others or a section reference.
src/core/leoAtFile.ts:3161
↓ 4 callers
Method
putOpenNodeSentinel
* Write @+node sentinel for p.
src/core/leoAtFile.ts:3195
↓ 4 callers
Method
putStatusLine
(s: string, bg?: string, fg?: string)
src/core/leoFrame.ts:213
↓ 4 callers
Method
readFileFromClipboard
* Recreate a file from a string s, and return its hidden vnode. * * Unlike readFile above, this does not affect splitter sizes.
src/core/leoFileCommands.ts:174
↓ 4 callers
Method
readFileToUnicode
* Carefully sets at.encoding, then uses at.encoding to convert the file * to a unicode string. * * Sets at.encoding as follows: *
src/core/leoAtFile.ts:1258
↓ 4 callers
Method
readWithJsonTree
( p_path: string | undefined, s: string )
src/core/leoFileCommands.ts:579
↓ 4 callers
Method
redraw_tree
(p?: Position)
src/core/leoFrame.ts:1052
↓ 4 callers
Function
removeRunDependency
(id)
sqlite/sql-wasm-debug.js:2316
↓ 4 callers
Method
replaceFileWithString
* Replace the file with s if s is different from theFile's contents. * Return True if theFile was changed.
src/core/leoShadow.ts:161
↓ 4 callers
Method
resizePanesToRatio
* Resize splitter1 and splitter2 using the given ratios.
src/core/leoFrame.ts:141
↓ 4 callers
Method
runAskYesNoDialog
* Create and run an askYesNo dialog.
src/core/leoGui.ts:232
↓ 4 callers
Method
safeReveal
* Reveal that queues a follow up to prevent revealing before the last one finished.
src/leoUI.ts:2057
↓ 4 callers
Method
save
(this: Commands, fileName?: string)
src/commands/commanderFileCommands.ts:505
↓ 4 callers
Method
saveSession
* Save session data depending on command-line arguments.
src/core/leoApp.ts:1641
↓ 4 callers
Method
saveTo
( this: Commands, fileName?: string, silent?: boolean )
src/commands/commanderFileCommands.ts:668
↓ 4 callers
Method
select
* Select a node. * Never redraws outline, but may change coloring of individual headlines. * The scroll argument is used by the gui to suppr
src/core/leoFrame.ts:747
↓ 4 callers
Method
setAllChapterNames
* Called early and often to discover all chapter names.
src/core/leoChapters.ts:492
↓ 4 callers
Method
setBodyString
* Similar to c.setBodyString, but does not recolor the text or * redraw the screen.
src/core/leoImport.ts:1656
↓ 4 callers
Method
setIvarsFromBunch
(bunch: Bead)
src/core/leoUndo.ts:299
↓ 4 callers
Method
setMoveCol
(w: StringTextWrapper, spot: number)
src/commands/editCommands.ts:2405
↓ 4 callers
Method
setName
(name: string)
src/core/leoGlobals.ts:771
↓ 4 callers
Method
setSelection
(start: number, length: number)
src/core/leoNodes.ts:3751
↓ 4 callers
Function
setStartupDoneContext
(p_value: boolean)
src/extension.ts:145
↓ 4 callers
Method
setTopGeometry
(w: number, h: number, x: number, y: number)
src/core/leoFrame.ts:125
↓ 4 callers
Method
set_focus
(commander: Commands, widget: any)
src/leoUI.ts:6552
↓ 4 callers
Method
showLogPane
(p_focus?: boolean)
src/core/leoGui.ts:315
↓ 4 callers
Method
startsParagraph
* Return True if line s starts a paragraph.
src/commands/commanderEditCommands.ts:1086
↓ 4 callers
Method
visLimit
* Return the topmost visible node. * This is affected by chapters and hoists.
src/core/leoCommands.ts:2444
↓ 4 callers
Method
warnAboutOrphandAndIgnoredNodes
* Called from putFile. * Always warn, even when language=="cweb"
src/core/leoAtFile.ts:3989
↓ 4 callers
Method
warnOnReadOnlyFiles
(fileName: string)
src/core/leoFileCommands.ts:1214
↓ 4 callers
Method
widgetWantsFocus
(w: any)
src/core/leoCommands.ts:4866
↓ 4 callers
Method
writeError
* Issue an error while writing an @<file> node.
src/core/leoAtFile.ts:4017
↓ 3 callers
Method
__setitem__
* db['key'] = 5
src/core/leoCache.ts:435
↓ 3 callers
Method
_bodySaveSelection
* Saves the cursor position along with the text selection range and scroll position * of the last body, or detached body pane, that had its curso
src/leoUI.ts:1832
↓ 3 callers
Method
_change_all_plain
* Perform all plain find/replace on s. * return (count, new_s)
src/core/leoFind.ts:1745
↓ 3 callers
Method
_change_all_word
* Perform all whole word find/replace on s. * return (count, new_s)
src/core/leoFind.ts:1822
↓ 3 callers
Method
_fireSoon
(...p_events: vscode.FileChangeEvent[])
src/leoBodyDetached.ts:349
↓ 3 callers
Method
_fireSoon
(...p_events: vscode.FileChangeEvent[])
src/leoBody.ts:247
↓ 3 callers
Function
_patch_at_data_unl_path_prefixes
* Create a new outline, linked into g.app.windowList. * * Patch @data unl-path-prefixes so that g.findAnyUnl will find nodes in * the n
src/test/leoGlobals.test.ts:312
↓ 3 callers
Method
_row_col_wrapper_dict
* Converts from wrapper text index to line /col
src/leoUI.ts:3536
↓ 3 callers
Method
_setOpenedBodyTime
* * Adds entries in _openedBodiesGnx and _openedBodiesInfo if needed * * and sets the modified time of an opened body.
src/leoBodyDetached.ts:53
↓ 3 callers
Method
_setOpenedBodyTime
* * Adds entries in _openedBodiesGnx and _openedBodiesInfo if needed * * and sets the modified time of an opened body.
src/leoBody.ts:52
↓ 3 callers
Method
_set_setting
* Call c.config.set with the given args, suppressing stdout.
src/test/leoTest2.ts:171
↓ 3 callers
Function
addFunction
@param {string=} sig
sqlite/sql-wasm-debug.js:5831
↓ 3 callers
Function
addRunDependency
(id)
sqlite/sql-wasm-debug.js:2280
↓ 3 callers
Method
add_to_list
* Update the *list*, self.d [key]
src/core/leoGlobals.ts:724
↓ 3 callers
Function
adjustLight
(color, amount)
settings-panel/main.js:64
↓ 3 callers
Method
alert
(message: string)
src/core/leoCommands.ts:4382
↓ 3 callers
Function
allocate
(slab, allocator)
sqlite/sql-wasm-debug.js:5874
↓ 3 callers
Function
arraysHaveSameElements
(arr1: any[], arr2: any[])
src/test/leoFileCommands.test.ts:103
↓ 3 callers
Method
backwardParagraphHelper
(extend: boolean)
src/commands/editCommands.ts:2932
↓ 3 callers
Method
buildFromSavedSettings
* * Build config from settings from vscode's saved config settings
src/config.ts:306
↓ 3 callers
Function
callRuntimeCallbacks
(callbacks)
sqlite/sql-wasm-debug.js:2598
↓ 3 callers
Method
canPasteOutline
(s: string)
src/core/leoCommands.ts:5136
↓ 3 callers
Method
canRedo
()
src/core/leoUndo.ts:1195
↓ 3 callers
Method
canUndo
()
src/core/leoUndo.ts:1200
↓ 3 callers
Method
capitalizeHelper
(which: string, undoType: string)
src/commands/editCommands.ts:657
↓ 3 callers
Method
caseHelper
(way: string, undoType: string)
src/commands/editCommands.ts:3523
↓ 3 callers
Method
checkPythonCode
* Perform python-related checks on root.
src/core/leoAtFile.ts:3277
↓ 3 callers
Function
checkStackCookie
()
sqlite/sql-wasm-debug.js:2152
↓ 3 callers
Method
check_lines
(strings: string[])
src/core/leoImport.ts:2218
↓ 3 callers
Method
checksum
* Return the checksum of the file at the given path.
src/core/leoExternalFiles.ts:857
↓ 3 callers
Method
clone_all_changed_vnodes
* Make clones of all changed VNodes. * * Called from at.readAll, at.readAllSelected and c.refreshFromDisk. * Callers are responsible fo
src/core/leoAtFile.ts:602
↓ 3 callers
Function
cmd
* Command decorator for the ChapterController class.
src/core/leoChapters.ts:18
↓ 3 callers
Method
command_helper
( kind: string, preview: boolean, verbose: boolean, )
src/core/leoMarkup.ts:302
↓ 3 callers
Method
commit
()
src/core/leoCache.ts:586
↓ 3 callers
Function
compareArrays
(arr1: Position[], arr2: Position[])
src/test/leoCommands.test.ts:700
↓ 3 callers
Method
compareIgnoringLineEndings
* Compare two strings, ignoring line endings.
src/core/leoAtFile.ts:3907
↓ 3 callers
Method
computeData
()
src/commands/bufferCommands.ts:256
↓ 3 callers
Function
computeFileUrl
(fn: string, c: Commands, p: Position)
src/core/leoGlobals.ts:6080
↓ 3 callers
Method
compute_result
* Concatenate all strings in self.result, ensuring exactly one blank line between strings.
src/core/leoRst.ts:1079
↓ 3 callers
Method
convertAllBlanks
(this: Commands)
src/commands/commanderEditCommands.ts:86
↓ 3 callers
Method
copyTreeFromSelfTo
(p2: Position, copyGnxs = false)
src/core/leoNodes.ts:2192
↓ 3 callers
Method
createHeadline
* Create a new VNode as the last child of parent position.
src/core/leoImport.ts:1684
← previous
next →
501–600 of 3,690, ranked by callers