MCPcopy Create free account

hub / github.com/boltex/leojs / functions

Functions3,690 in github.com/boltex/leojs

↓ 7 callersMethodis_underline
* True if the line consists of nothing but the same underlining characters.
src/importers/leo_rst.ts:144
↓ 7 callersFunctionlighten
(color, percentage)
settings-panel/main.js:75
↓ 7 callersFunctionmatch
(s: string, i: number, pattern: string)
src/core/leoGlobals.ts:2372
↓ 7 callersMethodmatch
(s: string)
src/importers/python.ts:439
↓ 7 callersMethodmoveToBack
* Move self to its previous sibling.
src/core/leoNodes.ts:1790
↓ 7 callersMethodmoveToFirstChild
* Move a position to it's first child's position.
src/core/leoNodes.ts:1811
↓ 7 callersMethodmoveToThreadBack
* Move a position to it's threadBack position.
src/core/leoNodes.ts:1938
↓ 7 callersMethodmunge
(s: string)
src/core/leoConfig.ts:987
↓ 7 callersMethodnewCommander
* Create a commander and its view frame for the Leo main window.
src/core/leoApp.ts:1850
↓ 7 callersMethodpasteOutline
( this: Commands, s: string | undefined = undefined, undoFlag: boolean = true )
src/commands/commanderOutlineCommands.ts:197
↓ 7 callersMethodread
* Read an @thin or @file tree.
src/core/leoAtFile.ts:491
↓ 7 callersMethodrefreshFromDisk
( this: Commands, p?: Position, silent = true // No longer used. )
src/commands/commanderFileCommands.ts:432
↓ 7 callersFunctionrunTest
(self: LeoUnitTest, before: string, after: string, i: number, j: number, func: () => any)
src/test/leoUndo.test.ts:35
↓ 7 callersMethodtoString
()
src/importers/base_importer.ts:55
↓ 7 callersMethodvalueError
* Give an error: val is not valid for kind.
src/core/leoConfig.ts:1345
↓ 7 callersMethodwidget_name
(w: any)
src/leoUI.ts:6534
↓ 7 callersMethodwidget_name
(w: any)
src/core/leoGui.ts:513
↓ 7 callersMethodwriteRecentFilesFile
* Write the appropriate .leoRecentFiles.txt file.
src/core/leoApp.ts:4288
↓ 6 callersFunctionUTF8ArrayToString
* heapOrArray is either a regular array, or a JavaScript typed array view. * @param {number} idx * @param {number=} maxBytesToRead * @return {strin
sqlite/sql-wasm-debug.js:1936
↓ 6 callersMethod__gt__
* Return True if self appears after other in outline order.
src/core/leoNodes.ts:384
↓ 6 callersMethod__ne__
* Return True if two positions are not equivalent.
src/core/leoNodes.ts:363
↓ 6 callersFunction_assert
(condition: boolean, show_callers: boolean = true)
src/core/leoGlobals.ts:799
↓ 6 callersMethod_chckSel
* Return True if there is a selection in the edit widget.
src/commands/baseCommands.ts:159
↓ 6 callersMethod_linkAfter
* Link self after p_after.
src/core/leoNodes.ts:1599
↓ 6 callersFunction_make_tree
* Make a test tree for c.
src/test/leoGlobals.test.ts:263
↓ 6 callersMethod_row_col_pv_dict
* Utility to convert a string index into a line, col dict
src/leoUI.ts:3521
↓ 6 callersFunctionactivateTab
(newTab, replace)
find-panel/main.js:769
↓ 6 callersMethodadd
* Add a node for p. * * We must *never* alter p in any way. * Instead, the org flag tells whether the "ORG:" prefix.
src/core/leoConfig.ts:1652
↓ 6 callersMethodaddItem
( it: { type: string; label: string }, val: [Position, [number, number] | undefined] | undefin
src/core/quicksearch.ts:240
↓ 6 callersMethodaddToKillBuffer
* Insert the text into the kill buffer if force is True or * the text contains something other than whitespace.
src/commands/killBufferCommands.ts:113
↓ 6 callersMethodafterMoveNode
(p: Position, command: string, bunch: Bead)
src/core/leoUndo.ts:920
↓ 6 callersMethodatAutoNodeName
(h?: string)
src/core/leoNodes.ts:3087
↓ 6 callersMethodatEditNodeName
()
src/core/leoNodes.ts:3106
↓ 6 callersMethodbeforeMoveNode
(p: Position)
src/core/leoUndo.ts:1136
↓ 6 callersMethodcheck
* Return True if there is a selection. * Otherwise, return False and issue a warning.
src/commands/rectangleCommands.ts:55
↓ 6 callersMethodcheckMoveWithParentWithWarning
* Return False if root or any of root's descendants is a clone of parent * or any of parents ancestors.
src/core/leoCommands.ts:3114
↓ 6 callersMethodchmod
(fileName: string, mode: any)
src/core/leoAtFile.ts:4069
↓ 6 callersMethodclearAndWarn
* Clear all undo state and issue a warning. * * All non-undoable commands should call this method.
src/core/leoUndo.ts:1210
↓ 6 callersMethodclearVisited
()
src/core/leoNodes.ts:3471
↓ 6 callersFunctioncmd
* Command decorator for the AtFileCommands class.
src/core/leoAtFile.ts:23
↓ 6 callersMethodcopyOutline
(this: Commands)
src/commands/commanderOutlineCommands.ts:79
↓ 6 callersMethodcreateAllButtons
* Scan for @button, @rclick, @command, @plugin and @script nodes.
src/core/mod_scripting.ts:528
↓ 6 callersMethodcreateDefaultSettingsDicts
* Create lm.globalSettingsDict & lm.globalBindingsDict.
src/core/leoApp.ts:2488
↓ 6 callersMethodcreateDirectory
(p_uri: vscode.Uri)
src/leoBody.ts:194
↓ 6 callersMethoddo_change_then_find
* Do the change-then-find command from settings. * * This is a stand-alone method for unit testing.
src/core/leoFind.ts:629
↓ 6 callersMethoddo_find_all
* Top-level helper for find-all command. * * Returns a dict of the form: * { * 'distinct_body_lines': distinct_body
src/core/leoFind.ts:2300
↓ 6 callersMethoddump
(tag: string, s: string)
src/core/leoCompare.ts:542
↓ 6 callersMethodfindBuffer
(name: string)
src/commands/bufferCommands.ts:281
↓ 6 callersMethodgetBodyLines
* Return (head, lines, tail, oldSel, oldYview). * * - head: string containing all the lines before the selected text (or the * text b
src/core/leoCommands.ts:1778
↓ 6 callersMethodgetBufferName
* Get a buffer name.
src/commands/bufferCommands.ts:295
↓ 6 callersMethodgetLastIndex
* Return the length of the self.s
src/core/leoFrame.ts:1269
↓ 6 callersMethodget_focus
(c?: Commands)
src/leoUI.ts:6570
↓ 6 callersMethodhoist
(this: Commands)
src/commands/commanderOutlineCommands.ts:1443
↓ 6 callersMethodinsertHeadlineHelper
* Insert a node after the presently selected node.
src/commands/commanderOutlineCommands.ts:1677
↓ 6 callersMethodinsertNode
* * Asks for a headline label to be entered and creates (inserts) a new node under the current, or specified, node * @param p_node specified unde
src/leoUI.ts:4499
↓ 6 callersMethodisAtThinFileNode
()
src/core/leoNodes.ts:3209
↓ 6 callersMethodisLeoFile
(fn: string)
src/core/leoApp.ts:3723
↓ 6 callersMethodisMarked
(p: Position)
src/core/leoFind.ts:700
↓ 6 callersMethodisSentinel
* Return True is line s contains a valid sentinel comment.
src/core/leoShadow.ts:787
↓ 6 callersMethodlws_n
(s: string)
src/importers/base_importer.ts:784
↓ 6 callersFunctionmatch_word
(s: string, i: number, pattern: string, ignore_case = false)
src/core/leoGlobals.ts:2395
↓ 6 callersFunctionprocessChange
()
find-panel/main.js:248
↓ 6 callersMethodprompt_for_files
* Prompt for a list of FreeMind (.mm.html) files and import them.
src/core/leoImport.ts:2884
↓ 6 callersMethodputSavedMessage
(fileName: string)
src/core/leoFileCommands.ts:3093
↓ 6 callersMethodregisterAllCommands
* Register @button <name> and @rclick <name> and <name>
src/core/mod_scripting.ts:1334
↓ 6 callersMethodrunOpenFileDialog
* Create and run an open file dialog .
src/core/leoGui.ts:273
↓ 6 callersMethodset_time
* Implements c.setTimeStamp. * * Update the timestamp for path. * * NOTE: file paths with symbolic links occur with and without th
src/core/leoExternalFiles.ts:1002
↓ 6 callersMethodsettingsRoot
* Return the position of the @settings tree.
src/core/leoConfig.ts:2454
↓ 6 callersMethodshadowPathName
* Return the full path name of filename, resolved using c.fileName()
src/core/leoShadow.ts:229
↓ 6 callersMethodshowGotoPane
* Opens goto and focus in depending on passed options
src/leoUI.ts:4874
↓ 6 callersFunctiontoUnicode
( s: string | Uint8Array, encoding: BufferEncoding | null = null, reportErrors = false )
src/core/leoGlobals.ts:3577
↓ 6 callersFunctionwarnOnce
(text)
sqlite/sql-wasm-debug.js:2703
↓ 5 callersMethod_addLink
* Adjust links after adding a link to v.
src/core/leoNodes.ts:3803
↓ 5 callersMethod_getBodyLanguage
* * Looks for given position's coloring language, taking account of '@killcolor', etc.
src/leoUI.ts:3548
↓ 5 callersMethod_linkAsRoot
* Link self as the root node.
src/core/leoNodes.ts:1655
↓ 5 callersMethod_setBodyLanguage
* * Sets vscode's body-pane editor's language
src/leoUI.ts:3578
↓ 5 callersMethod_tryApplyNodeToBody
* * Makes sure the body now reflects the selected node. * This is called after 'selectTreeNode', or after '_gotSelection' when refreshing. *
src/leoUI.ts:2744
↓ 5 callersMethodafterChangeHeadline
* Create an undo node using d created by beforeChangeHeadline.
src/core/leoUndo.ts:660
↓ 5 callersMethodafterDeleteNode
(p: Position, command: string, bunch: Bead)
src/core/leoUndo.ts:816
↓ 5 callersMethodatLeoNodeName
()
src/core/leoNodes.ts:3118
↓ 5 callersMethodbatch_change
( root: Position, replacements: [string, string][], settings?: ISettings )
src/core/leoFind.ts:360
↓ 5 callersMethodbeforeChangeHeadline
* Return data that gets passed to afterChangeNode. * The oldHead kwarg works around a Qt difficulty when changing headlines.
src/core/leoUndo.ts:1029
↓ 5 callersMethodbeforeDeleteNode
(p: Position)
src/core/leoUndo.ts:1102
↓ 5 callersFunctioncantMoveMessage
(c: Commands)
src/commands/commanderOutlineCommands.ts:16
↓ 5 callersMethodcleanLeoID
* #1404: Make sure that the given Leo ID will not corrupt a .leo file.
src/core/leoApp.ts:1232
↓ 5 callersFunctioncmd
* Command decorator for the QuickSearchController class.
src/core/quicksearch.ts:18
↓ 5 callersMethodcompare
* Compare dicts d1 and d2.
src/commands/editFileCommands.ts:216
↓ 5 callersMethodcompile_pattern
* Precompile the regexp pattern if necessary.
src/core/leoFind.ts:3310
↓ 5 callersMethodcompute_result_status
* Return the status to be shown in the status line after a find command completes.
src/core/leoFind.ts:4074
↓ 5 callersMethodcontractAllHeadlines
* Contract all nodes in the outline.
src/core/leoCommands.ts:4695
↓ 5 callersMethodcreateOutline
* Create an outline by importing a file, reading the file with the * given encoding if string s is None. * * ext, The file exten
src/core/leoImport.ts:806
↓ 5 callersMethodcreate_placeholders
* Create placeholder nodes between the current level (parents.length) and the desired level. * The org and otl importers use this method.
src/importers/base_importer.ts:763
↓ 5 callersMethoddeletePositionsInList
* *Undoably* delete all vnodes corresponding to the positions in aList.
src/core/leoCommands.ts:5576
↓ 5 callersMethoddirectiveKind4
* Return the kind of at-directive or noDirective. * * Potential simplifications: * - Using strings instead of constants. * - Using
src/core/leoAtFile.ts:3403
↓ 5 callersMethoddo_clone_find_all_flattened
* Do the clone-find-all-flattened command from the settings. * * Return the count of found nodes. * * This is a stand-alone method
src/core/leoFind.ts:2068
↓ 5 callersMethodeditHeadline
()
src/commands/commanderEditCommands.ts:318
↓ 5 callersMethoderror
(s: string, silent = false)
src/core/leoShadow.ts:611
↓ 5 callersMethoderror
* Print an error message.
src/core/leoImport.ts:2307
↓ 5 callersMethodexecuteScript
( args: any = undefined, p: Position | undefined = undefined, script: string = '',
src/core/leoCommands.ts:1078
↓ 5 callersMethodexpandOnlyAncestorsOfNode
(this: Commands, p?: Position)
src/commands/commanderOutlineCommands.ts:944
← previousnext →301–400 of 3,690, ranked by callers