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
↓ 11 callers
Function
debounce
(func, timeout = 300)
settings-panel/main.js:345
↓ 11 callers
Method
expandToLevel
(level: number)
src/core/leoCommands.ts:4735
↓ 11 callers
Method
isAtAutoNode
()
src/core/leoNodes.ts:3169
↓ 11 callers
Method
isOutlineVisible
* * Checks if outline is visible * @returns true if either outline is visible
src/leoUI.ts:3006
↓ 11 callers
Method
moveWordHelper
( extend: boolean, forward: boolean, end: boolean = false, smart: boolean = fa
src/commands/editCommands.ts:2265
↓ 11 callers
Method
onl
* Write a newline to the output stream.
src/core/leoAtFile.ts:3530
↓ 11 callers
Method
parents
* Yield all parent positions of p.
src/core/leoNodes.ts:838
↓ 11 callers
Method
rememberReadPath
* Remember the files that have been read *and* * the full headline (@<file> type) that caused the read.
src/core/leoAtFile.ts:4219
↓ 11 callers
Method
replaceClipboardWith
(s: string)
src/core/leoGui.ts:404
↓ 11 callers
Method
setSearchSetting
* Sets a specific Find panel setting.
src/core/leoGui.ts:151
↓ 11 callers
Method
toString
()
src/core/leoCommands.ts:387
↓ 11 callers
Method
toString
()
src/core/leoCache.ts:118
↓ 11 callers
Method
warn
* Warn that an @asis or @nosent node has been changed externally. * * There is *no way* to update the tree automatically.
src/core/leoExternalFiles.ts:1020
↓ 11 callers
Method
writeException
( e: any, fileName: string, root: Position )
src/core/leoAtFile.ts:4027
↓ 10 callers
Method
_bodySaveDocument
* * Sets new body (or detached body) text on leo's side, and may optionally save vsCode's body editor (which will trim spaces) * @param p_documen
src/leoUI.ts:1928
↓ 10 callers
Method
_linkAsNthChild
* Links self as the n'th child of VNode pv
src/core/leoNodes.ts:3928
↓ 10 callers
Method
archivedPosition
* Return a representation of a position suitable for use in .leo files.
src/core/leoNodes.ts:550
↓ 10 callers
Method
atShadowFileNodeName
()
src/core/leoNodes.ts:3133
↓ 10 callers
Method
bringToFront
(c2?: Commands)
src/core/leoCommands.ts:4523
↓ 10 callers
Method
clearChanged
* clear the marker that indicates that the .leo file has been changed.
src/core/leoCommands.ts:2564
↓ 10 callers
Method
clearMarked
()
src/core/leoNodes.ts:3456
↓ 10 callers
Method
isAtCleanNode
()
src/core/leoNodes.ts:3177
↓ 10 callers
Method
isAtEditNode
()
src/core/leoNodes.ts:3181
↓ 10 callers
Method
isChanged
()
src/core/leoCommands.ts:2232
↓ 10 callers
Method
isVisible
* Return True if p is visible in c's outline.
src/core/leoNodes.ts:1277
↓ 10 callers
Function
legacyModuleProp
(prop, newName)
sqlite/sql-wasm-debug.js:1810
↓ 10 callers
Method
loadSearchSettings
* * Gets the search settings from Leo, and applies them to the find panel webviews
src/leoUI.ts:5526
↓ 10 callers
Method
notValidInBatchMode
(commandName: string)
src/core/leoCommands.ts:4398
↓ 10 callers
Function
os_path_normslashes
(p_path: string)
src/core/leoGlobals.ts:5078
↓ 10 callers
Method
putHelpFor
* Helper for various help commands.
src/core/leoCommands.ts:4405
↓ 10 callers
Method
recolor
()
src/core/leoCommands.ts:4603
↓ 10 callers
Method
replace_back_slashes
* Replace backslash-n with a newline and backslash-t with a tab.
src/core/leoFind.ts:3845
↓ 10 callers
Method
set_find_text
(s: string)
src/core/findTabManager.ts:456
↓ 10 callers
Method
showBody
* * Opens an an editor for the currently selected node: "this.bodyUri". If already opened, this just 'reveals' it * @param p_aside Flag for openi
src/leoUI.ts:3188
↓ 10 callers
Method
text
()
src/core/findTabManager.ts:119
↓ 10 callers
Method
update
* Update self.timeString and self.lastIndex
src/core/leoNodes.ts:257
↓ 10 callers
Method
updateMarks
* Update dirty and marked bits.
src/core/leoUndo.ts:504
↓ 9 callers
Method
_refreshOutline
* * Refreshes the outline. A reveal type can be passed along to specify the reveal type for the selected node * @param p_incrementTreeId Make all
src/leoUI.ts:2490
↓ 9 callers
Method
clone
(this: Commands)
src/commands/commanderOutlineCommands.ts:1472
↓ 9 callers
Method
edit_widget
(p: Position)
src/core/leoFrame.ts:995
↓ 9 callers
Method
find_file_line
* Helper for goto-global-line command. * * Place the cursor on the n'th line (1-based) of an external file. * * Return (p, offset,
src/commands/gotoCommands.ts:32
↓ 9 callers
Method
getArgs
* Return the list of @args field of p.h.
src/core/mod_scripting.ts:1228
↓ 9 callers
Method
getData
* Return a list of non-comment strings in the body text of @data setting. * @param setting * @param strip_comments * @param strip_data
src/core/leoConfig.ts:2628
↓ 9 callers
Method
getSelectedChapter
()
src/core/leoChapters.ts:366
↓ 9 callers
Function
getValue
* @param {number} ptr * @param {string} type
sqlite/sql-wasm-debug.js:2631
↓ 9 callers
Method
get_settings
* Return a g.bunch representing all widget values. * * Similar to LeoFind.default_settings, but only for find-tab values.
src/core/findTabManager.ts:213
↓ 9 callers
Method
initReadIvars
()
src/core/leoFileCommands.ts:1931
↓ 9 callers
Method
isAtLeoNode
()
src/core/leoNodes.ts:3193
↓ 9 callers
Method
isDocStart
(s: string, i: number)
src/core/leoImport.ts:1704
↓ 9 callers
Method
moveAfter
* Move a position after position a.
src/core/leoNodes.ts:2351
↓ 9 callers
Method
moveToNthChildOf
* Move a position to the nth child of parent.
src/core/leoNodes.ts:2384
↓ 9 callers
Method
replaceFile
* Write or create the given file from the contents. * Return True if the original file was changed.
src/core/leoAtFile.ts:3776
↓ 9 callers
Method
runOpenFilesDialog
( c: Commands, title: string, filetypes: [string, string][], startpath?: strin
src/core/leoGui.ts:283
↓ 9 callers
Method
setHeadline
* Set the actual text of the headline widget. * * This is called from the undo/redo logic to change the text before redrawing.
src/core/leoFrame.ts:1081
↓ 9 callers
Function
standard
* Standardize the path for easy comparison.
src/core/leoGlobals.ts:7137
↓ 9 callers
Method
textOffset
* Return the fcol offset of self. * Return None if p is has no ancestor @<file> node. * http://tinyurl.com/5nescw
src/core/leoNodes.ts:1367
↓ 9 callers
Method
valueOf
()
src/core/leoNodes.ts:3012
↓ 9 callers
Method
write
* Write all the *descendants* of an @auto-otl node.
src/writers/otl.ts:23
↓ 8 callers
Method
_linkCopiedAsNthChild
* Link a copied self as the n'th child of the parent.
src/core/leoNodes.ts:1641
↓ 8 callers
Method
bodyString
()
src/core/leoNodes.ts:3286
↓ 8 callers
Method
bodyWantsFocusNow
()
src/core/leoCommands.ts:4883
↓ 8 callers
Method
check_args
* Check the user arguments to a command.
src/core/leoFind.ts:3290
↓ 8 callers
Method
check_outline
* BaseTestImporter.check_outline. * * Check that p's outline matches the expected results. * * Dump the actual outline if there is
src/test/test_importers.test.ts:45
↓ 8 callers
Method
clear
()
src/core/quicksearch.ts:301
↓ 8 callers
Method
clearUndoState
* Clears then entire Undo state. * All non-undoable commands should call this method.
src/core/leoUndo.ts:1220
↓ 8 callers
Function
cmd
* Command decorator for the BufferCommands class.
src/commands/bufferCommands.ts:18
↓ 8 callers
Function
cmd
* Command decorator for the Commands class.
src/core/leoCommands.ts:74
↓ 8 callers
Method
deleteOutline
( this: Commands, op_name: string = 'Delete Node' )
src/commands/commanderOutlineCommands.ts:1579
↓ 8 callers
Method
doCommandByName
* Execute one command, given the name of the command. * * The caller must do any required keystroke-only tasks. * * Return the res
src/core/leoCommands.ts:3440
↓ 8 callers
Method
getDelims
* Return the pair of delims to be used in sentinel lines.
src/core/leoShadow.ts:777
↓ 8 callers
Method
getRectanglePoints
* Return the rectangle corresponding to the selection range.
src/commands/baseCommands.ts:171
↓ 8 callers
Method
getYScrollPosition
()
src/core/leoFrame.ts:1171
↓ 8 callers
Method
inspect
()
src/core/leoChapters.ts:565
↓ 8 callers
Function
isWordChar
(ch: string)
src/core/leoGlobals.ts:3533
↓ 8 callers
Function
lengthBytesUTF8
(str)
sqlite/sql-wasm-debug.js:2060
↓ 8 callers
Method
moveWithinLineHelper
(spot: string, extend: boolean)
src/commands/editCommands.ts:2222
↓ 8 callers
Method
new_round_trip_test
(s: string, expected_s?: string, strict: boolean = true)
src/test/test_importers.test.ts:138
↓ 8 callers
Function
os_path_fix_drive
(p_path: string)
src/core/leoGlobals.ts:5037
↓ 8 callers
Method
precheck
* Check whether a dirty, potentially dangerous, file should be written. * * Return True if so. Return False *and* issue a warning otherwise
src/core/leoAtFile.ts:3570
↓ 8 callers
Method
putBody
* Generate the body enclosed in sentinel lines. * Return True if the body contains an @others line.
src/core/leoAtFile.ts:2634
↓ 8 callers
Method
putFile
* Write the contents of the file to the output stream.
src/core/leoAtFile.ts:1606
↓ 8 callers
Method
putIndent
* Put tabs and spaces corresponding to n spaces, * assuming that we are at the start of a line.
src/core/leoAtFile.ts:3742
↓ 8 callers
Method
setFileTimeStamp
* Update the timestamp for fn..
src/core/leoCommands.ts:3306
↓ 8 callers
Method
setUndoTypes
()
src/core/leoUndo.ts:368
↓ 8 callers
Function
splitLines
(s?: string)
src/core/leoGlobals.ts:2234
↓ 8 callers
Method
treeWantsFocus
()
src/core/leoCommands.ts:4861
↓ 8 callers
Method
updateRecentFiles
* Create the RecentFiles menu. May be called with Null fileName.
src/core/leoApp.ts:4219
↓ 7 callers
Function
UTF8ToString
* @param {number} ptr * @param {number=} maxBytesToRead * @return {string}
sqlite/sql-wasm-debug.js:1991
↓ 7 callers
Method
addHeadlineMatches
( position_list: [Position, RegExp | undefined][] )
src/core/quicksearch.ts:229
↓ 7 callers
Function
cmd
* Command decorator for the RectangleCommandsClass class.
src/commands/rectangleCommands.ts:17
↓ 7 callers
Function
cmd
* Command decorator for the FileCommands class.
src/core/leoFileCommands.ts:49
↓ 7 callers
Function
darken
(color, percentage)
settings-panel/main.js:71
↓ 7 callers
Method
do_clone_find_all
* Do the clone-all-find commands from settings. * * Return the count of found nodes. * * This is a stand-alone method for unit tes
src/core/leoFind.ts:1957
↓ 7 callers
Method
find
* Run Leo's find method.
src/core/leoGui.ts:139
↓ 7 callers
Method
initReadIvars
* Initialize all read ivars.
src/core/leoAtFile.ts:235
↓ 7 callers
Method
insertHeadline
( this: Commands, op_name: string = 'Insert Node', as_child: boolean = false )
src/commands/commanderOutlineCommands.ts:1648
↓ 7 callers
Method
isAtShadowFileNode
()
src/core/leoNodes.ts:3205
↓ 7 callers
Method
isModuleStart
(s: string, i: number)
src/core/leoImport.ts:1720
↓ 7 callers
Method
isTextWrapper
(w: any)
src/core/leoGui.ts:705
↓ 7 callers
Function
is_nl
(s: string, i: number)
src/core/leoGlobals.ts:2326
← previous
next →
201–300 of 3,690, ranked by callers