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
↓ 7 callers
Method
is_underline
* True if the line consists of nothing but the same underlining characters.
src/importers/leo_rst.ts:144
↓ 7 callers
Function
lighten
(color, percentage)
settings-panel/main.js:75
↓ 7 callers
Function
match
(s: string, i: number, pattern: string)
src/core/leoGlobals.ts:2372
↓ 7 callers
Method
match
(s: string)
src/importers/python.ts:439
↓ 7 callers
Method
moveToBack
* Move self to its previous sibling.
src/core/leoNodes.ts:1790
↓ 7 callers
Method
moveToFirstChild
* Move a position to it's first child's position.
src/core/leoNodes.ts:1811
↓ 7 callers
Method
moveToThreadBack
* Move a position to it's threadBack position.
src/core/leoNodes.ts:1938
↓ 7 callers
Method
munge
(s: string)
src/core/leoConfig.ts:987
↓ 7 callers
Method
newCommander
* Create a commander and its view frame for the Leo main window.
src/core/leoApp.ts:1850
↓ 7 callers
Method
pasteOutline
( this: Commands, s: string | undefined = undefined, undoFlag: boolean = true )
src/commands/commanderOutlineCommands.ts:197
↓ 7 callers
Method
read
* Read an @thin or @file tree.
src/core/leoAtFile.ts:491
↓ 7 callers
Method
refreshFromDisk
( this: Commands, p?: Position, silent = true // No longer used. )
src/commands/commanderFileCommands.ts:432
↓ 7 callers
Function
runTest
(self: LeoUnitTest, before: string, after: string, i: number, j: number, func: () => any)
src/test/leoUndo.test.ts:35
↓ 7 callers
Method
toString
()
src/importers/base_importer.ts:55
↓ 7 callers
Method
valueError
* Give an error: val is not valid for kind.
src/core/leoConfig.ts:1345
↓ 7 callers
Method
widget_name
(w: any)
src/leoUI.ts:6534
↓ 7 callers
Method
widget_name
(w: any)
src/core/leoGui.ts:513
↓ 7 callers
Method
writeRecentFilesFile
* Write the appropriate .leoRecentFiles.txt file.
src/core/leoApp.ts:4288
↓ 6 callers
Function
UTF8ArrayToString
* 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 callers
Method
__gt__
* Return True if self appears after other in outline order.
src/core/leoNodes.ts:384
↓ 6 callers
Method
__ne__
* Return True if two positions are not equivalent.
src/core/leoNodes.ts:363
↓ 6 callers
Function
_assert
(condition: boolean, show_callers: boolean = true)
src/core/leoGlobals.ts:799
↓ 6 callers
Method
_chckSel
* Return True if there is a selection in the edit widget.
src/commands/baseCommands.ts:159
↓ 6 callers
Method
_linkAfter
* Link self after p_after.
src/core/leoNodes.ts:1599
↓ 6 callers
Function
_make_tree
* Make a test tree for c.
src/test/leoGlobals.test.ts:263
↓ 6 callers
Method
_row_col_pv_dict
* Utility to convert a string index into a line, col dict
src/leoUI.ts:3521
↓ 6 callers
Function
activateTab
(newTab, replace)
find-panel/main.js:769
↓ 6 callers
Method
add
* 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 callers
Method
addItem
( it: { type: string; label: string }, val: [Position, [number, number] | undefined] | undefin
src/core/quicksearch.ts:240
↓ 6 callers
Method
addToKillBuffer
* 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 callers
Method
afterMoveNode
(p: Position, command: string, bunch: Bead)
src/core/leoUndo.ts:920
↓ 6 callers
Method
atAutoNodeName
(h?: string)
src/core/leoNodes.ts:3087
↓ 6 callers
Method
atEditNodeName
()
src/core/leoNodes.ts:3106
↓ 6 callers
Method
beforeMoveNode
(p: Position)
src/core/leoUndo.ts:1136
↓ 6 callers
Method
check
* Return True if there is a selection. * Otherwise, return False and issue a warning.
src/commands/rectangleCommands.ts:55
↓ 6 callers
Method
checkMoveWithParentWithWarning
* 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 callers
Method
chmod
(fileName: string, mode: any)
src/core/leoAtFile.ts:4069
↓ 6 callers
Method
clearAndWarn
* Clear all undo state and issue a warning. * * All non-undoable commands should call this method.
src/core/leoUndo.ts:1210
↓ 6 callers
Method
clearVisited
()
src/core/leoNodes.ts:3471
↓ 6 callers
Function
cmd
* Command decorator for the AtFileCommands class.
src/core/leoAtFile.ts:23
↓ 6 callers
Method
copyOutline
(this: Commands)
src/commands/commanderOutlineCommands.ts:79
↓ 6 callers
Method
createAllButtons
* Scan for @button, @rclick, @command, @plugin and @script nodes.
src/core/mod_scripting.ts:528
↓ 6 callers
Method
createDefaultSettingsDicts
* Create lm.globalSettingsDict & lm.globalBindingsDict.
src/core/leoApp.ts:2488
↓ 6 callers
Method
createDirectory
(p_uri: vscode.Uri)
src/leoBody.ts:194
↓ 6 callers
Method
do_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 callers
Method
do_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 callers
Method
dump
(tag: string, s: string)
src/core/leoCompare.ts:542
↓ 6 callers
Method
findBuffer
(name: string)
src/commands/bufferCommands.ts:281
↓ 6 callers
Method
getBodyLines
* 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 callers
Method
getBufferName
* Get a buffer name.
src/commands/bufferCommands.ts:295
↓ 6 callers
Method
getLastIndex
* Return the length of the self.s
src/core/leoFrame.ts:1269
↓ 6 callers
Method
get_focus
(c?: Commands)
src/leoUI.ts:6570
↓ 6 callers
Method
hoist
(this: Commands)
src/commands/commanderOutlineCommands.ts:1443
↓ 6 callers
Method
insertHeadlineHelper
* Insert a node after the presently selected node.
src/commands/commanderOutlineCommands.ts:1677
↓ 6 callers
Method
insertNode
* * 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 callers
Method
isAtThinFileNode
()
src/core/leoNodes.ts:3209
↓ 6 callers
Method
isLeoFile
(fn: string)
src/core/leoApp.ts:3723
↓ 6 callers
Method
isMarked
(p: Position)
src/core/leoFind.ts:700
↓ 6 callers
Method
isSentinel
* Return True is line s contains a valid sentinel comment.
src/core/leoShadow.ts:787
↓ 6 callers
Method
lws_n
(s: string)
src/importers/base_importer.ts:784
↓ 6 callers
Function
match_word
(s: string, i: number, pattern: string, ignore_case = false)
src/core/leoGlobals.ts:2395
↓ 6 callers
Function
processChange
()
find-panel/main.js:248
↓ 6 callers
Method
prompt_for_files
* Prompt for a list of FreeMind (.mm.html) files and import them.
src/core/leoImport.ts:2884
↓ 6 callers
Method
putSavedMessage
(fileName: string)
src/core/leoFileCommands.ts:3093
↓ 6 callers
Method
registerAllCommands
* Register @button <name> and @rclick <name> and <name>
src/core/mod_scripting.ts:1334
↓ 6 callers
Method
runOpenFileDialog
* Create and run an open file dialog .
src/core/leoGui.ts:273
↓ 6 callers
Method
set_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 callers
Method
settingsRoot
* Return the position of the @settings tree.
src/core/leoConfig.ts:2454
↓ 6 callers
Method
shadowPathName
* Return the full path name of filename, resolved using c.fileName()
src/core/leoShadow.ts:229
↓ 6 callers
Method
showGotoPane
* Opens goto and focus in depending on passed options
src/leoUI.ts:4874
↓ 6 callers
Function
toUnicode
( s: string | Uint8Array, encoding: BufferEncoding | null = null, reportErrors = false )
src/core/leoGlobals.ts:3577
↓ 6 callers
Function
warnOnce
(text)
sqlite/sql-wasm-debug.js:2703
↓ 5 callers
Method
_addLink
* Adjust links after adding a link to v.
src/core/leoNodes.ts:3803
↓ 5 callers
Method
_getBodyLanguage
* * Looks for given position's coloring language, taking account of '@killcolor', etc.
src/leoUI.ts:3548
↓ 5 callers
Method
_linkAsRoot
* Link self as the root node.
src/core/leoNodes.ts:1655
↓ 5 callers
Method
_setBodyLanguage
* * Sets vscode's body-pane editor's language
src/leoUI.ts:3578
↓ 5 callers
Method
_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 callers
Method
afterChangeHeadline
* Create an undo node using d created by beforeChangeHeadline.
src/core/leoUndo.ts:660
↓ 5 callers
Method
afterDeleteNode
(p: Position, command: string, bunch: Bead)
src/core/leoUndo.ts:816
↓ 5 callers
Method
atLeoNodeName
()
src/core/leoNodes.ts:3118
↓ 5 callers
Method
batch_change
( root: Position, replacements: [string, string][], settings?: ISettings )
src/core/leoFind.ts:360
↓ 5 callers
Method
beforeChangeHeadline
* Return data that gets passed to afterChangeNode. * The oldHead kwarg works around a Qt difficulty when changing headlines.
src/core/leoUndo.ts:1029
↓ 5 callers
Method
beforeDeleteNode
(p: Position)
src/core/leoUndo.ts:1102
↓ 5 callers
Function
cantMoveMessage
(c: Commands)
src/commands/commanderOutlineCommands.ts:16
↓ 5 callers
Method
cleanLeoID
* #1404: Make sure that the given Leo ID will not corrupt a .leo file.
src/core/leoApp.ts:1232
↓ 5 callers
Function
cmd
* Command decorator for the QuickSearchController class.
src/core/quicksearch.ts:18
↓ 5 callers
Method
compare
* Compare dicts d1 and d2.
src/commands/editFileCommands.ts:216
↓ 5 callers
Method
compile_pattern
* Precompile the regexp pattern if necessary.
src/core/leoFind.ts:3310
↓ 5 callers
Method
compute_result_status
* Return the status to be shown in the status line after a find command completes.
src/core/leoFind.ts:4074
↓ 5 callers
Method
contractAllHeadlines
* Contract all nodes in the outline.
src/core/leoCommands.ts:4695
↓ 5 callers
Method
createOutline
* 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 callers
Method
create_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 callers
Method
deletePositionsInList
* *Undoably* delete all vnodes corresponding to the positions in aList.
src/core/leoCommands.ts:5576
↓ 5 callers
Method
directiveKind4
* Return the kind of at-directive or noDirective. * * Potential simplifications: * - Using strings instead of constants. * - Using
src/core/leoAtFile.ts:3403
↓ 5 callers
Method
do_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 callers
Method
editHeadline
()
src/commands/commanderEditCommands.ts:318
↓ 5 callers
Method
error
(s: string, silent = false)
src/core/leoShadow.ts:611
↓ 5 callers
Method
error
* Print an error message.
src/core/leoImport.ts:2307
↓ 5 callers
Method
executeScript
( args: any = undefined, p: Position | undefined = undefined, script: string = '',
src/core/leoCommands.ts:1078
↓ 5 callers
Method
expandOnlyAncestorsOfNode
(this: Commands, p?: Position)
src/commands/commanderOutlineCommands.ts:944
← previous
next →
301–400 of 3,690, ranked by callers