MCPcopy Create free account

hub / github.com/boltex/leojs / functions

Functions3,690 in github.com/boltex/leojs

↓ 2 callersMethodsaveLeoFile
* * 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 callersMethodsaveTo
* fc.saveTo: A helper for c.saveTo.
src/core/leoFileCommands.ts:2168
↓ 2 callersMethodsave_snapshot
* Save a snapshot of the present session to the leo.session file. * * Called automatically during shutdown.
src/core/leoSessions.ts:137
↓ 2 callersMethodsaxutilsEscape
* 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 callersMethodscan
* 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 callersMethodscanHeader
* Scan the @+leo sentinel, using the old readLine interface. * * Sets self.encoding, and self.start/endSentinelComment. * * Return
src/core/leoAtFile.ts:1363
↓ 2 callersMethodscanJsonTnodes
(t_elements: any)
src/core/leoFileCommands.ts:685
↓ 2 callersMethodscanTnodes
( t_elements: et.Element[] )
src/core/leoFileCommands.ts:401
↓ 2 callersMethodscan_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 callersMethodselect
* Select p in the given chapter.
src/core/leoHistory.ts:104
↓ 2 callersMethodselectChapterByNameHelper
* Select the chapter.
src/core/leoChapters.ts:244
↓ 2 callersMethodselectChapterForPosition
* 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 callersMethodselectLeoWindow
(c: Commands)
src/core/leoApp.ts:1871
↓ 2 callersMethodselectParagraphHelper
* Select from start to the end of the paragraph.
src/commands/editCommands.ts:3337
↓ 2 callersMethodselectTreeNode
* * 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 callersMethodsetBodyWrap
* * Sets all 'bodywrap' vscode settings
src/config.ts:175
↓ 2 callersMethodsetCachedBits
* Set the cached expanded and marked bits for *all* nodes. * Also cache the current position.
src/core/leoFileCommands.ts:3390
↓ 2 callersMethodsetCommandForButton
( button: nullButtonWidget, command: () => any, command_p: Position, controlle
src/core/leoFrame.ts:602
↓ 2 callersFunctionsetControls
()
settings-panel/main.js:272
↓ 2 callersMethodsetEnablePreview
* * Set the workbench.editor.enablePreview vscode setting
src/config.ts:159
↓ 2 callersMethodsetFocus
()
src/core/leoFrame.ts:1180
↓ 2 callersFunctionsetFunctionResult
(cx, result)
sqlite/sql-wasm-debug.js:1276
↓ 2 callersMethodsetIDFile
* Create leoID.txt. Also set LeoJS own leoID config setting.
src/core/leoApp.ts:1372
↓ 2 callersMethodsetIdSetting
* * Sets the leoID setting for immediate use, and in next activation
src/leoUI.ts:6484
↓ 2 callersMethodsetIvarsFromVnode
(p: Position)
src/core/leoUndo.ts:1272
↓ 2 callersMethodsetLeojsSettings
* * 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 callersMethodsetOrphan
* Set the vnode's orphan bit.
src/core/leoNodes.ts:3535
↓ 2 callersMethodsetRecentFiles
* Update the recent files list.
src/core/leoApp.ts:4190
↓ 2 callersFunctionsetVisibility
(state)
settings-panel/main.js:290
↓ 2 callersFunctionsetWasmTableEntry
(idx, func)
sqlite/sql-wasm-debug.js:5823
↓ 2 callersMethodsetWriteBit
()
src/core/leoNodes.ts:3556
↓ 2 callersFunctionset_config
* Set c.config settings from the args.
src/test/leoGlobals.test.ts:1336
↓ 2 callersFunctionset_delims_from_language
( language: string )
src/core/leoGlobals.ts:1292
↓ 2 callersMethodset_focus
(commander: Commands, widget: any)
src/core/leoGui.ts:614
↓ 2 callersMethodset_focus
(w: StringTextWrapper)
src/core/leoCommands.ts:4792
↓ 2 callersMethodshouldBeExpanded
* Return true if the node at position p should be expanded.
src/core/leoCommands.ts:2412
↓ 2 callersMethodshowNavResults
()
src/leoUI.ts:2453
↓ 2 callersMethodshowNodeUas
(v?: VNode)
src/commands/editCommands.ts:3784
↓ 2 callersMethodshowOutline
* * 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 callersMethodshowSettings
()
src/leoUI.ts:580
↓ 2 callersMethodshow_error_lines
(lines: string[], fileName: string)
src/core/leoShadow.ts:733
↓ 2 callersMethodsingle_line_paragraph
* Return True if s is a single-line paragraph.
src/commands/commanderEditCommands.ts:863
↓ 2 callersMethodsortChildren
( this: Commands, key = undefined, reverse = false )
src/commands/commanderOutlineCommands.ts:2567
↓ 2 callersMethodsphinx_command
(preview = false, verbose = true,)
src/core/leoMarkup.ts:687
↓ 2 callersMethodstartSearch
* Focus in Find Panel
src/core/leoGui.ts:389
↓ 2 callersMethodsuccess
* Place the cursor on line n2 of p.b.
src/commands/gotoCommands.ts:702
↓ 2 callersMethodtabNannyNode
(p: Position, body: string)
src/core/leoAtFile.ts:3949
↓ 2 callersMethodtabifyHelper
(which: string)
src/commands/editCommands.ts:618
↓ 2 callersFunctiontoEncodedString
( s: any, encoding: BufferEncoding = 'utf-8', reportErrors = false )
src/core/leoGlobals.ts:3977
↓ 2 callersMethodtoPythonIndexRowCol
* StringTextWrapper.
src/core/leoFrame.ts:1359
↓ 2 callersFunctiontoRgba
(color)
settings-panel/main.js:92
↓ 2 callersMethodtoString
()
src/core/idle_time.ts:100
↓ 2 callersMethodtreeWantsFocusNow
()
src/core/leoCommands.ts:4902
↓ 2 callersFunctiontrim
(arr)
sqlite/sql-wasm-debug.js:2827
↓ 2 callersFunctionuleb128Encode
(n, target)
sqlite/sql-wasm-debug.js:5685
↓ 2 callersMethodundirect
(stdout: boolean = true)
src/core/leoGlobals.ts:528
↓ 2 callersMethodunique_subtree
* Yield p and all other unique positions in p's subtree.
src/core/leoNodes.ts:942
↓ 2 callersMethodunregisterOneHandler
(tag: string, fn: () => any)
src/core/leoPlugins.ts:303
↓ 2 callersMethodunselect
* Remember chapter info when a chapter is about to be unselected.
src/core/leoChapters.ts:736
↓ 2 callersMethodupdate
* Update the beadList while p is being selected.
src/core/leoHistory.ts:119
↓ 2 callersMethodupdateAutoIndent
(p: Position, w: StringTextWrapper)
src/commands/editCommands.ts:1941
↓ 2 callersFunctionupdateGlobalBufferAndViews
(buf)
sqlite/sql-wasm-debug.js:2102
↓ 2 callersMethodupdateLastIndex
* Update ni.lastIndex if the gnx affects it.
src/core/leoNodes.ts:272
↓ 2 callersMethodupdate_open_with_node
* Update the body text of ef.p to the contents of ef.path.
src/core/leoExternalFiles.ts:398
↓ 2 callersMethodupdate_status
* Update status after either an undo or redo
src/core/leoUndo.ts:2457
↓ 2 callersMethodupdate_taglist
* ensures the outline's taglist is consistent with the state of the nodes in the outline
src/core/nodeTags.ts:184
↓ 2 callersMethodvalidInAtOthers
* 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 callersMethodvnode2position
* Given a VNode v, construct a valid position p such that p.v = v.
src/core/leoCommands.ts:2500
↓ 2 callersMethodwatchSetup
(databaseFilePath: string)
src/core/leoCache.ts:520
↓ 2 callersMethodwrite
(...args: any[])
src/core/leoGlobals.ts:561
↓ 2 callersFunctionwriteAsciiToMemory
@param {boolean=} dontAddNull
sqlite/sql-wasm-debug.js:5540
↓ 2 callersMethodwriteAsisNode
* Write the p's node to an @asis file.
src/core/leoAtFile.ts:1937
↓ 2 callersMethodwriteAtAutoContents
* Common helper for atAutoToString and writeOneAtAutoNode.
src/core/leoAtFile.ts:1846
↓ 2 callersFunctionwriteChunks
(stream, buffer, offset, length, position)
sqlite/sql-wasm-debug.js:4776
↓ 2 callersMethodwriteNode
* Append the rst sources to self.result_list.
src/core/leoRst.ts:470
↓ 2 callersMethodwriteOneAtAutoNode
* 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 callersMethodwriteOneAtEditNode
* Write one @edit node.
src/core/leoAtFile.ts:2201
↓ 2 callersMethodwriteOutline
(fileName: string)
src/core/leoFileCommands.ts:2842
↓ 2 callersMethodwrite_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 callersMethodwrite_body
* Write p.b
src/core/leoMarkup.ts:589
↓ 2 callersMethodwrite_docutils_files
* Write source to the intermediate file and write the output from docutils..
src/core/leoRst.ts:512
↓ 2 callersMethodyankHelper
(pop: boolean)
src/commands/killBufferCommands.ts:416
↓ 1 callersMethod__contains__
(key: string)
src/core/leoCache.ts:374
↓ 1 callersMethod__delitem__
* del db["key"]
src/core/leoCache.ts:383
↓ 1 callersMethod__ge__
(other: Position)
src/core/leoNodes.ts:368
↓ 1 callersMethod__getitem__
* db['key'] reading
src/core/leoCache.ts:397
↓ 1 callersMethod__le__
(other: Position)
src/core/leoNodes.ts:372
↓ 1 callersMethod__str__
* For Position string output printout
src/core/leoNodes.ts:433
↓ 1 callersMethod_addParentLinks
* Used by addLink to adjust parent links in the descendant tree
src/core/leoNodes.ts:3828
↓ 1 callersMethod_addToMinibufferHistory
* Add to the minibuffer history (without duplicating entries)
src/leoUI.ts:4343
↓ 1 callersMethod_batch_change_helper
( p: Position, find_text: string, change_text: string )
src/core/leoFind.ts:405
↓ 1 callersMethod_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 callersMethod_buildId
* * Builds a unique Id from gnx and stack, plus collapsed state, * for vscode to distinguish the collapsed state.
src/leoOutline.ts:32
↓ 1 callersMethod_buildToolTip
* builds tooltip from headline
src/leoStatusBar.ts:89
↓ 1 callersFunction_callerName
(n: number, verbose: boolean = false)
src/core/leoGlobals.ts:855
↓ 1 callersMethod_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 callersMethod_change_all_helper
* Do the change-all command. Return the number of changes, or 0 for error.
src/core/leoFind.ts:1579
↓ 1 callersMethod_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 callersMethod_changedVisibleTextEditors
* * Tabbed on another editor * @param p_editors text editor array (to be checked for changes in this method)
src/leoUI.ts:1342
↓ 1 callersMethod_changedWindowState
* * Whole window has been minimized/restored * @param p_windowState the state of the window that changed
src/leoUI.ts:1354
← previousnext →1,101–1,200 of 3,690, ranked by callers