MCPcopy Create free account

hub / github.com/boltex/leojs / functions

Functions3,690 in github.com/boltex/leojs

↓ 5 callersMethodextendToWord
( select = true, w?: StringTextWrapper )
src/commands/editCommands.ts:2702
↓ 5 callersFunctionfinalize
(p_path: string)
src/core/leoGlobals.ts:4628
↓ 5 callersMethodfind
* * Find next / previous commands * @param p_fromOutline * @param p_reverse * @returns Promise that resolves when the "launch refresh"
src/leoUI.ts:5176
↓ 5 callersMethodfind_at_persistence_node
* Find the first @persistence node in the outline. * If it does not exist, create it as the *last* top-level node, * so that no existing pos
src/core/leoPersistence.ts:390
↓ 5 callersFunctionfinish
(byteArray)
sqlite/sql-wasm-debug.js:4816
↓ 5 callersMethodfinishCreate
()
src/core/leoGui.ts:488
↓ 5 callersMethodfinishOpen
(c: Commands)
src/core/leoApp.ts:3630
↓ 5 callersMethodfireRefreshFile
* * Refresh the body pane for a particular gnx by telling vscode that the file from the Leo file provider has changed * @param p_gnx Gnx of body
src/leoBody.ts:92
↓ 5 callersMethodforgetOpenFile
* Forget the open file, so that is no longer considered open.
src/core/leoApp.ts:1721
↓ 5 callersMethodgetInt
* Return the value of @int setting. * @param setting
src/core/leoConfig.ts:2756
↓ 5 callersMethodgetPageWidth
(p: Position)
src/core/leoCommands.ts:2034
↓ 5 callersMethodget_UNL
* Return a gnx-oriented UNL. * * Breaking change to Leo's API: returned a path-oriented UNL previously. * * @bool full-unl-paths d
src/core/leoNodes.ts:1110
↓ 5 callersMethodget_delims
* Return the two start/end delimiters in effect at root.
src/commands/gotoCommands.ts:570
↓ 5 callersMethodhasThreadNext
()
src/core/leoNodes.ts:1206
↓ 5 callersMethodheadlineLevel
* return the headline level of s,or -1 if the string is not a MORE headline.
src/core/leoImport.ts:2196
↓ 5 callersMethodinteractiveSearch
* Run Leo's interactive search dialog.
src/core/leoGui.ts:129
↓ 5 callersMethodinvalidOutline
* Prints out error message about invalid outline
src/core/leoNodes.ts:2336
↓ 5 callersFunctionis_ws
(ch: string)
src/core/leoGlobals.ts:2359
↓ 5 callersMethodkey
()
src/core/leoNodes.ts:584
↓ 5 callersMethodkillHelper
* A helper method for all kill commands except kill-paragraph commands.
src/commands/killBufferCommands.ts:204
↓ 5 callersFunctionlistenAll
(selector, name, listener)
settings-panel/main.js:195
↓ 5 callersMethodloadLocalFile
( fn: string, gui?: LeoGui, old_c?: Commands, skipSaveSession?: boolean )
src/core/leoApp.ts:3393
↓ 5 callersMethodloadSearchSettings
()
src/core/leoGui.ts:412
↓ 5 callersMethodmoveToRoot
* Move self to the root position.
src/core/leoNodes.ts:2396
↓ 5 callersMethodnavigateNavEntry
* * Goto the next, previous, first or last nav entry via arrow keys in
src/leoUI.ts:5042
↓ 5 callersFunctionos_path_dirname
(p_path?: string)
src/core/leoGlobals.ts:4762
↓ 5 callersMethodparse_body
* Split p.b into functions, methods or classes in sibling nodes.
src/core/leoImport.ts:1509
↓ 5 callersMethodput_node_sentinel
* Put an @+node sentinel for node p.
src/writers/basewriter.ts:38
↓ 5 callersMethodput_plain_line
* Put a plain line to x.results, inserting verbatim lines if necessary.
src/core/leoShadow.ts:514
↓ 5 callersMethodput_sentinels
* Put all the sentinels to the results
src/core/leoShadow.ts:525
↓ 5 callersMethodredraw_later
* Ensure that c.redraw() will be called eventually. * c.outerUpdate will call c.redraw() only if no other code calls c.redraw().
src/core/leoCommands.ts:4681
↓ 5 callersMethodregisterCommand
* Equivalent of c.k.registerCommand from leoKeys.py.
src/core/leoCommands.ts:5437
↓ 5 callersMethodresolveArchivedPosition
* Return a VNode corresponding to the archived position relative to root node root_v.
src/core/leoFileCommands.ts:1961
↓ 5 callersMethodrunAskOkDialog
* Create and run an askOK dialog .
src/core/leoGui.ts:192
↓ 5 callersMethodself_and_siblings
* Yield all sibling positions of p including p.
src/core/leoNodes.ts:870
↓ 5 callersFunctionsetFrozen
(p_focus)
find-panel/main.js:191
↓ 5 callersFunctionsetValue
* @param {number} ptr * @param {number} value * @param {string} type
sqlite/sql-wasm-debug.js:2682
↓ 5 callersFunctionshowDirtyAndApplyChange
()
settings-panel/main.js:225
↓ 5 callersMethodshowNavResults
()
src/core/leoGui.ts:575
↓ 5 callersFunctionskip_ws
(s: string, i: number)
src/core/leoGlobals.ts:2692
↓ 5 callersFunctionstringToUTF8
(str, outPtr, maxBytesToWrite)
sqlite/sql-wasm-debug.js:2054
↓ 5 callersFunctionstringToUTF8Array
(str, heap, outIdx, maxBytesToWrite)
sqlite/sql-wasm-debug.js:2008
↓ 5 callersMethodtranslate
(pat: string)
src/core/quicksearch.ts:155
↓ 5 callersMethodunlToClipboard
* Put UNL of current node on the clipboard. * @para optional unlType to specify type.
src/leoUI.ts:4668
↓ 5 callersMethodwrite_rst_tree
* Convert p's tree to rst sources.
src/core/leoRst.ts:392
↓ 4 callersMethod__lt__
(other: Position)
src/core/leoNodes.ts:376
↓ 4 callersMethod_assert
(condition: boolean)
src/core/leoCommands.ts:2815
↓ 4 callersMethod_change_all_search_and_replace
* Search s for this.find_text and replace with this.change_text. * * Return (found, new text)
src/core/leoFind.ts:1715
↓ 4 callersMethod_deleteAllChildren
* Delete all children of self. * This is a low-level method, used by the read code. * It is not intended as a general replacement for p.doDe
src/core/leoNodes.ts:3905
↓ 4 callersMethod_inner_search_backward
* rfind(sub [,start [,end]]) * * Return the highest index in the string where substring sub is found, * such that sub is contained with
src/core/leoFind.ts:3622
↓ 4 callersMethod_inner_search_match_word
* Do a whole-word search.
src/core/leoFind.ts:3673
↓ 4 callersMethod_inner_search_plain
* Do a plain search.
src/core/leoFind.ts:3702
↓ 4 callersMethod_inner_search_regex
* Called from inner_search_helper
src/core/leoFind.ts:3743
↓ 4 callersMethod_locateOpenedBody
* * Sets globals if the current body is found opened in an editor panel for a particular gnx * @param p_gnx gnx to match * @returns true if
src/leoUI.ts:2904
↓ 4 callersMethod_onChangeCollapsedState
* * Handles the node expanding and collapsing interactions by the user in the treeview * @param p_event The event passed by vscode * @param
src/leoUI.ts:1176
↓ 4 callersMethod_unlink
* Unlink the receiver p from the tree.
src/core/leoNodes.ts:1723
↓ 4 callersMethodadd
* Add a line to the present node.
src/core/leoImport.ts:3560
↓ 4 callersMethodaddRemoveHelper
(ch: string, add: boolean, undoType: string)
src/commands/editCommands.ts:1408
↓ 4 callersMethodafterChangeMultiHeadline
* Create an undo node using d created by beforeChangeMultiHeadline.
src/core/leoUndo.ts:684
↓ 4 callersMethodafterCloneNode
(p: Position, command: string, bunch: Bead)
src/core/leoUndo.ts:798
↓ 4 callersMethodall_nodes
* A generator returning all vnodes in the outline, in outline order.
src/core/leoCommands.ts:1494
↓ 4 callersMethodask
* Ask user whether to overwrite an @<file> tree. * * Return one of ('yes', 'no', 'yes-all', 'no-all')
src/core/leoExternalFiles.ts:765
↓ 4 callersMethodasyncGetTextFromClipboard
()
src/core/leoGui.ts:582
↓ 4 callersMethodbaseDirName
()
src/core/leoShadow.ts:103
↓ 4 callersMethodbeforeChangeMultiHeadline
* Return data that gets passed to afterChangeMultiHeadline. * p is used to select position after undo/redo multiple headline changes is done
src/core/leoUndo.ts:1040
↓ 4 callersMethodbeforeCloneNode
(p: Position)
src/core/leoUndo.ts:1096
↓ 4 callersMethodcheck_gnx
* Check that no vnode exists with the given gnx in fc.gnxDict.
src/core/leoNodes.ts:47
↓ 4 callersMethodcleanButtonText
* Clean the text following @button or @command so * that it is a valid name of a minibuffer command.
src/core/mod_scripting.ts:1173
↓ 4 callersMethodclear
* Clear the global cache.
src/core/leoCache.ts:178
↓ 4 callersFunctioncmd
* Command decorator for the RstCommands class.
src/core/leoRst.ts:55
↓ 4 callersMethodcreateFirstTreeNode
()
src/core/leoFrame.ts:60
↓ 4 callersMethodcreateIconButton
* Create one icon button. * This method creates all scripting icon buttons. * * - Creates the actual button and its balloon. * -
src/core/mod_scripting.ts:662
↓ 4 callersMethodcreateRecentFilesMenuItems
(c: Commands)
src/core/leoApp.ts:3984
↓ 4 callersMethodcreate_test_outline
()
src/test/leoTest2.ts:205
↓ 4 callersMethodcstCanonicalize
(s: string, lower = true)
src/core/leoImport.ts:1442
↓ 4 callersMethodcsv_string
* Return the string for the given csv row.
src/core/leoImport.ts:1976
↓ 4 callersMethoddefault_settings
* Return a dict representing all default settings.
src/core/leoFind.ts:278
↓ 4 callersMethoddehoist
(this: Commands)
src/commands/commanderOutlineCommands.ts:1398
↓ 4 callersMethoddeleteFile
()
src/commands/editFileCommands.ts:634
↓ 4 callersMethoddeleteTextSelection
* StringTextWrapper.
src/core/leoFrame.ts:1224
↓ 4 callersMethoddeleteWordHelper
(forward: boolean, smart: boolean = false)
src/commands/editCommands.ts:1617
↓ 4 callersMethoddelete_comments_and_strings
** Rust_Importer.delete_comments_and_strings: * * Return **guide-lines** from the lines, replacing strings and multi-line * comments w
src/importers/rust.ts:117
↓ 4 callersFunctiondoHook
(tag: string, keywords: Record<string, any> = {})
src/core/leoGlobals.ts:2978
↓ 4 callersMethoddo_clone_find_tag
* Do the clone-all-find commands from settings. * Return (len(clones), found) for unit tests.
src/core/leoFind.ts:2129
↓ 4 callersMethoddo_error_dialogs
* Raise error dialogs. * * A helper function for c.save, c.saveAs, and c.saveTo.
src/commands/commanderFileCommands.ts:30
↓ 4 callersMethoderror
(s: string)
src/core/leoConfig.ts:177
↓ 4 callersMethodfindRootNode
* Return the @chapter node for this chapter.
src/core/leoChapters.ts:572
↓ 4 callersMethodfind_at_data_node
* Return the @data node for root, a foreign node. * Create the node if it does not exist.
src/core/leoPersistence.ts:343
↓ 4 callersMethodfinish
* Finish execution of this command.
src/commands/editFileCommands.ts:1894
↓ 4 callersMethodfullRefresh
(p_keepFocus?: boolean)
src/core/leoGui.ts:571
↓ 4 callersMethodgetAnyLeoFileByName
* Open any kind of Leo file.
src/core/leoFileCommands.ts:1423
↓ 4 callersMethodgetColor
* Return the value of @color setting. * @param setting string name of setting * @returns color string
src/core/leoConfig.ts:2614
↓ 4 callersMethodgetConfig
(key: string)
src/git.d.ts:184
↓ 4 callersMethodgetNewIndex
* Create a new gnx for v or an empty string if the hold flag is set. * **Important**: the method must allocate a new gnx even if v.fileIndex exis
src/core/leoNodes.ts:133
↓ 4 callersMethodgetShortcut
* Return the keyboard shortcut from the given headline string
src/core/mod_scripting.ts:1301
↓ 4 callersMethodgetTextFromClipboard
()
src/core/leoGui.ts:407
↓ 4 callersMethodget_external_file_with_sentinels
* root is an @<file> node. If root is an @auto node, return the result of * writing the file *with* sentinels, even if the external file normally
src/commands/gotoCommands.ts:616
↓ 4 callersMethodget_file_from_rev
* Get the file from the given rev, or the working directory if None.
src/commands/editFileCommands.ts:1981
↓ 4 callersMethodget_mtime
* Return the modification time of a file for the given path.
src/core/leoExternalFiles.ts:897
↓ 4 callersMethodhasThreadBack
()
src/core/leoNodes.ts:1199
← previousnext →401–500 of 3,690, ranked by callers