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
↓ 2 callers
Method
saveLeoFile
* * Invokes the commander.save() command * @param p_fromOutlineSignifies that the focus was, and should be brought back to, the outline * @r
src/leoUI.ts:6026
↓ 2 callers
Method
saveTo
* fc.saveTo: A helper for c.saveTo.
src/core/leoFileCommands.ts:2168
↓ 2 callers
Method
save_snapshot
* Save a snapshot of the present session to the leo.session file. * * Called automatically during shutdown.
src/core/leoSessions.ts:137
↓ 2 callers
Method
saxutilsEscape
* Escape '&', '<', and '>' in a string of data. * https://docs.python.org/3/library/xml.sax.utils.html#xml.sax.saxutils.escape
src/core/leoFileCommands.ts:869
↓ 2 callers
Method
scan
* Create a dict of the methods in p1. * Keys are headlines, stripped of prefixes. * Values are copies of positions.
src/commands/editFileCommands.ts:284
↓ 2 callers
Method
scanHeader
* Scan the @+leo sentinel, using the old readLine interface. * * Sets self.encoding, and self.start/endSentinelComment. * * Return
src/core/leoAtFile.ts:1363
↓ 2 callers
Method
scanJsonTnodes
(t_elements: any)
src/core/leoFileCommands.ts:685
↓ 2 callers
Method
scanTnodes
( t_elements: et.Element[] )
src/core/leoFileCommands.ts:401
↓ 2 callers
Method
scan_sentinel_lines
* Scan a list of lines containing sentinels, looking for the node and * offset within the node of the n'th (one-based) line. * * Return
src/commands/gotoCommands.ts:404
↓ 2 callers
Method
select
* Select p in the given chapter.
src/core/leoHistory.ts:104
↓ 2 callers
Method
selectChapterByNameHelper
* Select the chapter.
src/core/leoChapters.ts:244
↓ 2 callers
Method
selectChapterForPosition
* Select a chapter containing position p. * New in Leo 4.11: prefer the given chapter if possible. * Do nothing if p if p does not exist or
src/core/leoChapters.ts:436
↓ 2 callers
Method
selectLeoWindow
(c: Commands)
src/core/leoApp.ts:1871
↓ 2 callers
Method
selectParagraphHelper
* Select from start to the end of the paragraph.
src/commands/editCommands.ts:3337
↓ 2 callers
Method
selectTreeNode
* * Called by UI when the user selects in the tree (click or 'open aside' through context menu) * @param p_node is the position node selected in
src/leoUI.ts:3733
↓ 2 callers
Method
setBodyWrap
* * Sets all 'bodywrap' vscode settings
src/config.ts:175
↓ 2 callers
Method
setCachedBits
* Set the cached expanded and marked bits for *all* nodes. * Also cache the current position.
src/core/leoFileCommands.ts:3390
↓ 2 callers
Method
setCommandForButton
( button: nullButtonWidget, command: () => any, command_p: Position, controlle
src/core/leoFrame.ts:602
↓ 2 callers
Function
setControls
()
settings-panel/main.js:272
↓ 2 callers
Method
setEnablePreview
* * Set the workbench.editor.enablePreview vscode setting
src/config.ts:159
↓ 2 callers
Method
setFocus
()
src/core/leoFrame.ts:1180
↓ 2 callers
Function
setFunctionResult
(cx, result)
sqlite/sql-wasm-debug.js:1276
↓ 2 callers
Method
setIDFile
* Create leoID.txt. Also set LeoJS own leoID config setting.
src/core/leoApp.ts:1372
↓ 2 callers
Method
setIdSetting
* * Sets the leoID setting for immediate use, and in next activation
src/leoUI.ts:6484
↓ 2 callers
Method
setIvarsFromVnode
(p: Position)
src/core/leoUndo.ts:1272
↓ 2 callers
Method
setLeojsSettings
* * Apply changes to the expansion config settings and save them in user settings. * @param p_changes is an array of codes and values to be chang
src/config.ts:132
↓ 2 callers
Method
setOrphan
* Set the vnode's orphan bit.
src/core/leoNodes.ts:3535
↓ 2 callers
Method
setRecentFiles
* Update the recent files list.
src/core/leoApp.ts:4190
↓ 2 callers
Function
setVisibility
(state)
settings-panel/main.js:290
↓ 2 callers
Function
setWasmTableEntry
(idx, func)
sqlite/sql-wasm-debug.js:5823
↓ 2 callers
Method
setWriteBit
()
src/core/leoNodes.ts:3556
↓ 2 callers
Function
set_config
* Set c.config settings from the args.
src/test/leoGlobals.test.ts:1336
↓ 2 callers
Function
set_delims_from_language
( language: string )
src/core/leoGlobals.ts:1292
↓ 2 callers
Method
set_focus
(commander: Commands, widget: any)
src/core/leoGui.ts:614
↓ 2 callers
Method
set_focus
(w: StringTextWrapper)
src/core/leoCommands.ts:4792
↓ 2 callers
Method
shouldBeExpanded
* Return true if the node at position p should be expanded.
src/core/leoCommands.ts:2412
↓ 2 callers
Method
showNavResults
()
src/leoUI.ts:2453
↓ 2 callers
Method
showNodeUas
(v?: VNode)
src/commands/editCommands.ts:3784
↓ 2 callers
Method
showOutline
* * Show the outline, with Leo's selected node also selected, and optionally focussed * @param p_focusOutline Flag for focus to be placed in outl
src/leoUI.ts:2126
↓ 2 callers
Method
showSettings
()
src/leoUI.ts:580
↓ 2 callers
Method
show_error_lines
(lines: string[], fileName: string)
src/core/leoShadow.ts:733
↓ 2 callers
Method
single_line_paragraph
* Return True if s is a single-line paragraph.
src/commands/commanderEditCommands.ts:863
↓ 2 callers
Method
sortChildren
( this: Commands, key = undefined, reverse = false )
src/commands/commanderOutlineCommands.ts:2567
↓ 2 callers
Method
sphinx_command
(preview = false, verbose = true,)
src/core/leoMarkup.ts:687
↓ 2 callers
Method
startSearch
* Focus in Find Panel
src/core/leoGui.ts:389
↓ 2 callers
Method
success
* Place the cursor on line n2 of p.b.
src/commands/gotoCommands.ts:702
↓ 2 callers
Method
tabNannyNode
(p: Position, body: string)
src/core/leoAtFile.ts:3949
↓ 2 callers
Method
tabifyHelper
(which: string)
src/commands/editCommands.ts:618
↓ 2 callers
Function
toEncodedString
( s: any, encoding: BufferEncoding = 'utf-8', reportErrors = false )
src/core/leoGlobals.ts:3977
↓ 2 callers
Method
toPythonIndexRowCol
* StringTextWrapper.
src/core/leoFrame.ts:1359
↓ 2 callers
Function
toRgba
(color)
settings-panel/main.js:92
↓ 2 callers
Method
toString
()
src/core/idle_time.ts:100
↓ 2 callers
Method
treeWantsFocusNow
()
src/core/leoCommands.ts:4902
↓ 2 callers
Function
trim
(arr)
sqlite/sql-wasm-debug.js:2827
↓ 2 callers
Function
uleb128Encode
(n, target)
sqlite/sql-wasm-debug.js:5685
↓ 2 callers
Method
undirect
(stdout: boolean = true)
src/core/leoGlobals.ts:528
↓ 2 callers
Method
unique_subtree
* Yield p and all other unique positions in p's subtree.
src/core/leoNodes.ts:942
↓ 2 callers
Method
unregisterOneHandler
(tag: string, fn: () => any)
src/core/leoPlugins.ts:303
↓ 2 callers
Method
unselect
* Remember chapter info when a chapter is about to be unselected.
src/core/leoChapters.ts:736
↓ 2 callers
Method
update
* Update the beadList while p is being selected.
src/core/leoHistory.ts:119
↓ 2 callers
Method
updateAutoIndent
(p: Position, w: StringTextWrapper)
src/commands/editCommands.ts:1941
↓ 2 callers
Function
updateGlobalBufferAndViews
(buf)
sqlite/sql-wasm-debug.js:2102
↓ 2 callers
Method
updateLastIndex
* Update ni.lastIndex if the gnx affects it.
src/core/leoNodes.ts:272
↓ 2 callers
Method
update_open_with_node
* Update the body text of ef.p to the contents of ef.path.
src/core/leoExternalFiles.ts:398
↓ 2 callers
Method
update_status
* Update status after either an undo or redo
src/core/leoUndo.ts:2457
↓ 2 callers
Method
update_taglist
* ensures the outline's taglist is consistent with the state of the nodes in the outline
src/core/nodeTags.ts:184
↓ 2 callers
Method
validInAtOthers
* Return True if p should be included in the expansion of the @others * directive in the body text of p's parent.
src/core/leoAtFile.ts:2864
↓ 2 callers
Method
vnode2position
* Given a VNode v, construct a valid position p such that p.v = v.
src/core/leoCommands.ts:2500
↓ 2 callers
Method
watchSetup
(databaseFilePath: string)
src/core/leoCache.ts:520
↓ 2 callers
Method
write
(...args: any[])
src/core/leoGlobals.ts:561
↓ 2 callers
Function
writeAsciiToMemory
@param {boolean=} dontAddNull
sqlite/sql-wasm-debug.js:5540
↓ 2 callers
Method
writeAsisNode
* Write the p's node to an @asis file.
src/core/leoAtFile.ts:1937
↓ 2 callers
Method
writeAtAutoContents
* Common helper for atAutoToString and writeOneAtAutoNode.
src/core/leoAtFile.ts:1846
↓ 2 callers
Function
writeChunks
(stream, buffer, offset, length, position)
sqlite/sql-wasm-debug.js:4776
↓ 2 callers
Method
writeNode
* Append the rst sources to self.result_list.
src/core/leoRst.ts:470
↓ 2 callers
Method
writeOneAtAutoNode
* Write p, an @auto node. * File indices *must* have already been assigned. * Return True if the node was written successfully.
src/core/leoAtFile.ts:2038
↓ 2 callers
Method
writeOneAtEditNode
* Write one @edit node.
src/core/leoAtFile.ts:2201
↓ 2 callers
Method
writeOutline
(fileName: string)
src/core/leoFileCommands.ts:2842
↓ 2 callers
Method
write_at_clean_sentinels
* Return all lines of the @clean tree as if it were * written as an @file node.
src/core/leoAtFile.ts:1020
↓ 2 callers
Method
write_body
* Write p.b
src/core/leoMarkup.ts:589
↓ 2 callers
Method
write_docutils_files
* Write source to the intermediate file and write the output from docutils..
src/core/leoRst.ts:512
↓ 2 callers
Method
yankHelper
(pop: boolean)
src/commands/killBufferCommands.ts:416
↓ 1 callers
Method
__contains__
(key: string)
src/core/leoCache.ts:374
↓ 1 callers
Method
__delitem__
* del db["key"]
src/core/leoCache.ts:383
↓ 1 callers
Method
__ge__
(other: Position)
src/core/leoNodes.ts:368
↓ 1 callers
Method
__getitem__
* db['key'] reading
src/core/leoCache.ts:397
↓ 1 callers
Method
__le__
(other: Position)
src/core/leoNodes.ts:372
↓ 1 callers
Method
__str__
* For Position string output printout
src/core/leoNodes.ts:433
↓ 1 callers
Method
_addParentLinks
* Used by addLink to adjust parent links in the descendant tree
src/core/leoNodes.ts:3828
↓ 1 callers
Method
_addToMinibufferHistory
* Add to the minibuffer history (without duplicating entries)
src/leoUI.ts:4343
↓ 1 callers
Method
_batch_change_helper
( p: Position, find_text: string, change_text: string )
src/core/leoFind.ts:405
↓ 1 callers
Method
_bodySaveDeactivate
* * Sets new body text on leo's side before vscode closes itself if body is dirty * @param p_document Vscode's text document which content will b
src/leoUI.ts:2041
↓ 1 callers
Method
_buildId
* * Builds a unique Id from gnx and stack, plus collapsed state, * for vscode to distinguish the collapsed state.
src/leoOutline.ts:32
↓ 1 callers
Method
_buildToolTip
* builds tooltip from headline
src/leoStatusBar.ts:89
↓ 1 callers
Function
_callerName
(n: number, verbose: boolean = false)
src/core/leoGlobals.ts:855
↓ 1 callers
Method
_cfa_create_nodes
* Create a "Found" node as the last node of the outline. * Clone all positions in the clones set a children of found.
src/core/leoFind.ts:3119
↓ 1 callers
Method
_change_all_helper
* Do the change-all command. Return the number of changes, or 0 for error.
src/core/leoFind.ts:1579
↓ 1 callers
Method
_changedTextEditorViewColumn
* * Moved a document to another column * @param p_columnChangeEvent Event describing the change of a text editor's view column
src/leoUI.ts:1329
↓ 1 callers
Method
_changedVisibleTextEditors
* * Tabbed on another editor * @param p_editors text editor array (to be checked for changes in this method)
src/leoUI.ts:1342
↓ 1 callers
Method
_changedWindowState
* * Whole window has been minimized/restored * @param p_windowState the state of the window that changed
src/leoUI.ts:1354
← previous
next →
1,101–1,200 of 3,690, ranked by callers