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
↓ 2 callers
Function
find_language
(p_or_v: Position | VNode)
src/core/leoGlobals.ts:1135
↓ 2 callers
Method
find_next_match
* Resume the search where it left off. * * Return (p, pos, newpos).
src/core/leoFind.ts:3343
↓ 2 callers
Method
find_position_for_relative_unl
* Given a unl relative to root, return the node whose * unl matches the longest suffix of the given unl.
src/core/leoPersistence.ts:439
↓ 2 callers
Method
find_script_line
* Go to line n (zero based) of the script with the given root. * Return p, offset, found for unit testing.
src/commands/gotoCommands.ts:220
↓ 2 callers
Method
find_section
* Find the section definition node in root's subtree for the given section.
src/commands/editFileCommands.ts:134
↓ 2 callers
Method
following_siblings
* Yield all siblings positions that follow p, not including p.
src/core/leoNodes.ts:706
↓ 2 callers
Method
forwardParagraphHelper
(extend: boolean)
src/commands/editCommands.ts:2963
↓ 2 callers
Method
forwardSentenceHelper
(extend: boolean)
src/commands/editCommands.ts:3128
↓ 2 callers
Method
get
()
src/core/leoGlobals.ts:324
↓ 2 callers
Method
get
(target, prop)
src/core/leoCache.ts:322
↓ 2 callers
Method
getAPI
* Returns a specific API version. * * Throws error if git extension is disabled. You can listen to the * [GitExtension.onDidChangeEnabl
src/git.d.ts:342
↓ 2 callers
Method
getBack
()
src/core/leoNodes.ts:1123
↓ 2 callers
Method
getBead
* Set Undoer ivars from the bunch at the top of the undo stack.
src/core/leoUndo.ts:235
↓ 2 callers
Function
getBinary
(file)
sqlite/sql-wasm-debug.js:2426
↓ 2 callers
Method
getButtons
* Return a list of tuples (x,y) for common @button nodes. * @param setting
src/core/leoConfig.ts:2875
↓ 2 callers
Method
getChapter
(name: string)
src/core/leoChapters.ts:361
↓ 2 callers
Method
getColor
* Returns the background color from the given headline string
src/core/mod_scripting.ts:1280
↓ 2 callers
Method
getCommands
(repository: Repository)
src/git.d.ts:276
↓ 2 callers
Method
getDescendentUnknownAttributes
* Unhexlify and unpickle t/v.descendentUnknownAttribute field.
src/core/leoFileCommands.ts:1877
↓ 2 callers
Function
getEnvStrings
()
sqlite/sql-wasm-debug.js:5508
↓ 2 callers
Method
getFirstChild
()
src/core/leoNodes.ts:1127
↓ 2 callers
Function
getHeapMax
()
sqlite/sql-wasm-debug.js:5414
↓ 2 callers
Function
getLine
(s: string, i: number)
src/core/leoGlobals.ts:3229
↓ 2 callers
Method
getLineEnding
* Scan p and all ancestors for the first @lineending direcive. * Return None (*not* '\n') by default.
src/core/leoCommands.ts:2015
↓ 2 callers
Method
getName
(val: string, val2?: string)
src/core/leoConfig.ts:630
↓ 2 callers
Method
getPathUa
(p: Position)
src/core/leoAtFile.ts:4121
↓ 2 callers
Method
getSelectionLines
* Return before,sel,after where: * * before is the all lines before the selected text * (or the text before the insert point if
src/core/leoFrame.ts:472
↓ 2 callers
Method
getThreadBack
()
src/core/leoNodes.ts:1156
↓ 2 callers
Method
getThreadNext
()
src/core/leoNodes.ts:1160
↓ 2 callers
Function
getUNLFilePart
(s: string)
src/core/leoGlobals.ts:7097
↓ 2 callers
Function
getUniqueRunDependency
(id)
sqlite/sql-wasm-debug.js:2272
↓ 2 callers
Method
getValFromDict
* Look up the setting in d. If warn is True, warn if the requested type * does not (loosely) match the actual type. * returns (val,exists)
src/core/leoConfig.ts:1955
↓ 2 callers
Method
getValFromDict
* Look up the setting in d. If warn is True, warn if the requested type * does not (loosely) match the actual type. * returns (val,exists)
src/core/leoConfig.ts:2511
↓ 2 callers
Function
getWasmTableEntry
(funcPtr)
sqlite/sql-wasm-debug.js:5782
↓ 2 callers
Method
getWorkspaceSession
* Checks if Session per workspace is true, if so returns file list * Undefined otherwise
src/core/leoGui.ts:344
↓ 2 callers
Method
getWrap
* Scan p.b and all ancestors for @wrap and @nowrap directives. * Return @bool body-pane-wraps by default.
src/core/leoCommands.ts:2157
↓ 2 callers
Method
get_3_delims
* Return all three comment delimiters in effect at root.
src/commands/gotoCommands.ts:597
↓ 2 callers
Method
get_children
(element: any)
src/core/leoImport.ts:87
↓ 2 callers
Method
get_file
* Return the contents of the file whose path is given.
src/core/leoCompare.ts:964
↓ 2 callers
Method
get_file_from_branch
* Get the file from the head of the given branch.
src/commands/editFileCommands.ts:1958
↓ 2 callers
Method
get_focus
(c?: Commands)
src/core/leoGui.ts:617
↓ 2 callers
Method
get_full_gnx_UNL
* Return a gnx-oriented UNL with a full path component. * * Not used in Leo's core or official plugins.
src/core/leoNodes.ts:1018
↓ 2 callers
Method
get_legacy_UNL
* Return a headline-oriented UNL, as in legacy versions of p.get_UNL. * * @bool full-unl-paths determines the size of the file part. *
src/core/leoNodes.ts:1052
↓ 2 callers
Method
get_revno
* Return the abbreviated hash for the given revision spec.
src/commands/editFileCommands.ts:2080
↓ 2 callers
Method
get_tagged_gnxes
(tag: string)
src/core/nodeTags.ts:221
↓ 2 callers
Method
get_tagged_nodes
* return a list of *positions* of nodes containing the tag, with * as a wildcard
src/core/nodeTags.ts:200
↓ 2 callers
Function
gitInfo
(p_path?: string)
src/core/leoGlobals.ts:2878
↓ 2 callers
Method
goToFirstSibling
(this: Commands)
src/commands/commanderOutlineCommands.ts:1062
↓ 2 callers
Method
goToLastSibling
(this: Commands)
src/commands/commanderOutlineCommands.ts:1108
↓ 2 callers
Method
handleAtRclickNode
* Handle @rclick name [@key[=]shortcut].
src/core/mod_scripting.ts:1054
↓ 2 callers
Method
handleBits
* Restore the expanded and marked bits from c.db.
src/core/leoFileCommands.ts:249
↓ 2 callers
Function
handleIsTagSwitch
(p_wasSet)
find-panel/main.js:553
↓ 2 callers
Method
handleNodeConflicts
* Create a 'Recovered Nodes' node for each entry in c.nodeConflictList.
src/core/leoFileCommands.ts:1613
↓ 2 callers
Function
handleUrl
(url: string, c: Commands, p: Position)
src/core/leoGlobals.ts:6505
↓ 2 callers
Method
handleWriteLeoFileException
* Report an exception. f is an open file, or None.
src/core/leoFileCommands.ts:1164
↓ 2 callers
Method
has_at_gnxs_node
* Find the @gnxs node for an @data node with the given unl. * Return None if it does not exist.
src/core/leoPersistence.ts:612
↓ 2 callers
Method
has_key
(key: string)
src/core/leoCache.ts:705
↓ 2 callers
Method
importDerivedFiles
* Import one or more external files. * This is not a command. It must *not* have an event arg. * command is None when importing from the co
src/core/leoImport.ts:999
↓ 2 callers
Method
importWebCommand
( files: string[], webType: string )
src/core/leoImport.ts:1129
↓ 2 callers
Method
import_file
(fileName: string)
src/core/leoImport.ts:2048
↓ 2 callers
Method
import_one_file
* Import one file to the last top-level node.
src/core/leoImport.ts:2380
↓ 2 callers
Method
incTreeId
* * Force uniqueness of ids generated for nodes in the next tree refresh
src/leoOutline.ts:45
↓ 2 callers
Method
index_to_line_info
(index: number, s: string)
src/core/leoFind.ts:2442
↓ 2 callers
Method
initAllIvars
* Init all ivars to reasonable defaults.
src/core/leoAtFile.ts:170
↓ 2 callers
Method
initConfigSettings
* Init all cached commander config settings.
src/core/leoCommands.ts:451
↓ 2 callers
Method
initIvars
* Init ivars of the FileCommands class.
src/core/leoFileCommands.ts:832
↓ 2 callers
Method
initMarkedBit
()
src/core/leoNodes.ts:3527
↓ 2 callers
Method
initSentinelComments
* Init at.startSentinelComment and at.endSentinelComment.
src/core/leoAtFile.ts:326
↓ 2 callers
Method
initSettings
* Instantiate c.config from previous settings.
src/core/leoCommands.ts:380
↓ 2 callers
Method
initialize_taglist
()
src/core/nodeTags.ts:127
↓ 2 callers
Method
inner_search_helper
* Dispatch the proper search method based on settings.
src/core/leoFind.ts:3543
↓ 2 callers
Method
insertBefore
* Inserts a new position before self. * Returns the newly created position.
src/core/leoNodes.ts:2316
↓ 2 callers
Method
insertNewlineBase
()
src/commands/editCommands.ts:1729
↓ 2 callers
Method
insertNewlineHelper
(w: StringTextWrapper, oldSel: [number, number], undoType?: string)
src/commands/editCommands.ts:1918
↓ 2 callers
Method
insert_toc
* Insert a table of contents at the cursor.
src/commands/commanderEditCommands.ts:1292
↓ 2 callers
Method
isCurrentPosition
(p?: Position)
src/core/leoCommands.ts:2211
↓ 2 callers
Function
isDigit
(s: string)
src/core/leoGlobals.ts:2355
↓ 2 callers
Function
isExportedByForceFilesystem
(name)
sqlite/sql-wasm-debug.js:1828
↓ 2 callers
Function
isFileURI
(filename)
sqlite/sql-wasm-debug.js:2399
↓ 2 callers
Method
isLeoHeader
(s: string)
src/core/leoCompare.ts:599
↓ 2 callers
Method
isRedirected
()
src/core/leoGlobals.ts:470
↓ 2 callers
Method
isRootPosition
(p?: Position)
src/core/leoCommands.ts:2225
↓ 2 callers
Method
isSentinel
(s: string, sentinelComment: string)
src/core/leoCompare.ts:610
↓ 2 callers
Function
isValidEncoding
(encoding: string)
src/core/leoGlobals.ts:3937
↓ 2 callers
Method
isWriteBit
()
src/core/leoNodes.ts:3420
↓ 2 callers
Method
is_at_auto_node
* Return True if p is *any* kind of @auto node, * including @auto-otl and @auto-rst.
src/core/leoPersistence.ts:647
↓ 2 callers
Method
is_foreign_file
(p: Position)
src/core/leoPersistence.ts:669
↓ 2 callers
Function
is_special
(s: string, directive: string)
src/core/leoGlobals.ts:2308
↓ 2 callers
Method
is_underline
* True if line is all '-' or '=' characters.
src/importers/markdown.ts:101
↓ 2 callers
Method
killParagraphHelper
* A helper method for kill-paragraph commands.
src/commands/killBufferCommands.ts:240
↓ 2 callers
Method
killWordHelper
()
src/commands/killBufferCommands.ts:161
↓ 2 callers
Method
languageForExtension
* Return the language corresponding to the extension ext.
src/core/leoImport.ts:942
↓ 2 callers
Method
lastPosition
()
src/core/leoCommands.ts:2237
↓ 2 callers
Method
leojs_vnode
* Return a jsonized vnode.
src/core/leoFileCommands.ts:2690
↓ 2 callers
Method
load
* This is Leo's main startup method.
src/core/leoApp.ts:2910
↓ 2 callers
Method
load_snapshot
* Load a snapshot of a session from the leo.session file. * * Return a list of unls.
src/core/leoSessions.ts:110
↓ 2 callers
Method
loader
* REBUILDS an object
src/core/leoCache.ts:636
↓ 2 callers
Function
logExceptionOnExit
(e)
sqlite/sql-wasm-debug.js:1539
↓ 2 callers
Method
lws
* Return the length of the leading whitespace of s.
src/core/leoImport.ts:2870
↓ 2 callers
Method
makeCommand
* Make chapter-select-<chapterName> command.
src/core/leoChapters.ts:105
← previous
next →
901–1,000 of 3,690, ranked by callers