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
Method
makePrivateLines
* Return a list of the lines of p containing sentinels.
src/test/leoShadow.test.ts:99
↓ 2 callers
Method
makePublicLines
* Return the public lines in lines.
src/test/leoShadow.test.ts:120
↓ 2 callers
Method
makeShadowDirectory
* Make a shadow directory for the **public** fn.
src/core/leoShadow.ts:144
↓ 2 callers
Function
make_child
(n: number, p: Position)
src/test/leoGlobals.test.ts:270
↓ 2 callers
Function
make_child
(n: number, p: Position)
src/test/leoFind.test.ts:100
↓ 2 callers
Method
make_diff_outlines
* Create an outline-oriented diff from the *hidden* outlines c1 and c2.
src/commands/editFileCommands.ts:2182
↓ 2 callers
Method
make_leo_outline
* Create a hidden temp outline for the .leo file in s.
src/commands/editFileCommands.ts:2272
↓ 2 callers
Method
make_markdown_node
* Create a new node.
src/importers/markdown.ts:141
↓ 2 callers
Method
make_result_from_matches
( matches: { body: number[]; head: number[]; v: VNode }[] )
src/core/leoFind.ts:2451
↓ 2 callers
Method
make_rst_node
* Create a new node, with the given headline.
src/importers/leo_rst.ts:180
↓ 2 callers
Method
markerFromFileName
* Return the sentinel delimiter comment to be used for filename.
src/core/leoShadow.ts:662
↓ 2 callers
Method
matchlines
(b: string, miter: RegExp)
src/core/quicksearch.ts:440
↓ 2 callers
Function
mmapAlloc
(size)
sqlite/sql-wasm-debug.js:3016
↓ 2 callers
Method
moreBody
* Returns the body string in MORE format. * Inserts a backslash before any leading plus, minus or backslash.
src/core/leoNodes.ts:671
↓ 2 callers
Method
movePastCloseHelper
(extend: boolean)
src/commands/editCommands.ts:2818
↓ 2 callers
Method
moveToLastChild
* Move a position to it's last child's position.
src/core/leoNodes.ts:1829
↓ 2 callers
Method
moveToLastNode
* Move a position to last node of its tree. * N.B. Returns p if p has no children.
src/core/leoNodes.ts:1850
↓ 2 callers
Method
moveToVisNext
* Move a position to the position of the next visible node.
src/core/leoNodes.ts:2043
↓ 2 callers
Function
navEnter
()
find-panel/main.js:593
↓ 2 callers
Function
navTextChange
()
find-panel/main.js:76
↓ 2 callers
Method
node_history
* Produce a Leonine history of the node whose file name and gnx are given.
src/commands/editFileCommands.ts:1192
↓ 2 callers
Method
note
(s: string, killUnitTest?: boolean)
src/core/leoChapters.ts:285
↓ 2 callers
Method
objectName
()
src/core/findTabManager.ts:52
↓ 2 callers
Method
oblanks
(n: number)
src/core/leoAtFile.ts:3520
↓ 2 callers
Method
onHeadChanged
* Officially change a headline. * Set the old undo text to the previous revert point.
src/core/leoFrame.ts:686
↓ 2 callers
Method
openEmptyLeoFile
* Open an empty, untitled, new Leo file.
src/core/leoApp.ts:3457
↓ 2 callers
Method
openFileByName
* Create an outline (Commander) for either: * - a Leo file (including .leo or zipped file), * - an external file. * * Note: Th
src/core/leoApp.ts:3517
↓ 2 callers
Method
openFileHelper
* Open a file, reporting all exceptions.
src/core/leoAtFile.ts:1288
↓ 2 callers
Method
openLeoFile
* * Sets up the call to the 'open-outline' command and its possible file url parameter. * @param p_leoFileUri optional uri for specifying a file,
src/leoUI.ts:5833
↓ 2 callers
Function
openUNLFile
(c: Commands, s: string)
src/core/leoGlobals.ts:7116
↓ 2 callers
Function
openWithFileName
( fileName: string, old_c?: Commands, gui?: LeoGui, skipSaveSession?: boolean )
src/core/leoGlobals.ts:1739
↓ 2 callers
Function
os_path_expanduser
(p_path: string)
src/core/leoGlobals.ts:4815
↓ 2 callers
Function
os_path_expandvars
(p_path: string)
src/core/leoGlobals.ts:4857
↓ 2 callers
Function
os_path_isabs
(p_path?: string)
src/core/leoGlobals.ts:4924
↓ 2 callers
Function
os_path_join
(...args: any[])
src/core/leoGlobals.ts:5022
↓ 2 callers
Function
os_path_normcase
(p_path: string)
src/core/leoGlobals.ts:5048
↓ 2 callers
Function
os_path_splitext
(p_path: string)
src/core/leoGlobals.ts:5231
↓ 2 callers
Method
outlineToWeb
( fileName: string, webType: string )
src/core/leoImport.ts:583
↓ 2 callers
Method
outline_to_clipboard_json_string
* Return a JSON string suitable for pasting to the clipboard.
src/core/leoFileCommands.ts:2449
↓ 2 callers
Method
outline_to_xml_string
* Write the outline in .leo (XML) format to a string.
src/core/leoFileCommands.ts:2474
↓ 2 callers
Function
padNumber2
(p_number: number)
src/utils.ts:123
↓ 2 callers
Method
pandoc_command
(preview = false, verbose = true,)
src/core/leoMarkup.ts:677
↓ 2 callers
Function
parseFunctionArguments
(argc, argv)
sqlite/sql-wasm-debug.js:1256
↓ 2 callers
Method
parseHeadline
* Return the chapter name and key binding for p.h.
src/core/leoChapters.ts:380
↓ 2 callers
Method
parseShortcutLine
* Parse a shortcut line. Valid forms: * * --> entry-command * settingName = shortcut * settingName ! paneName = shortcut
src/core/leoConfig.ts:1168
↓ 2 callers
Method
parse_file_contents
* Parse the contents of a file. * Return a list of ToDoTask objects.
src/core/leoImport.ts:3109
↓ 2 callers
Method
pasteOutlineRetainingClones
( this: Commands, s: string | undefined = undefined, )
src/commands/commanderOutlineCommands.ts:275
↓ 2 callers
Method
pathName
* Return the full path name of filename.
src/core/leoShadow.ts:124
↓ 2 callers
Method
peekBead
(n: number)
src/core/leoUndo.ts:248
↓ 2 callers
Method
positionAfterDeletedTree
* * * * * * * * * * * * * * * * * * * * * * * * * * * Return the position corresponding to p.nodeAfterTree() after this node is delete
src/core/leoNodes.ts:1349
↓ 2 callers
Method
preprocess
* Preprocess public lines, adding newlines as needed. This happens before the diff.
src/core/leoShadow.ts:500
↓ 2 callers
Method
printSettings
* Prints the value of every setting, except key bindings and commands and open-with tables. * The following shows where the active setting came f
src/core/leoConfig.ts:2978
↓ 2 callers
Function
processData
(byteArray)
sqlite/sql-wasm-debug.js:4815
↓ 2 callers
Method
promptForDangerousWrite
* Raise a dialog asking the user whether to overwrite an existing file.
src/core/leoAtFile.ts:4141
↓ 2 callers
Method
propagateDirtyNodes
()
src/core/leoFileCommands.ts:1942
↓ 2 callers
Method
putDelims
* Put an @delims directive.
src/core/leoAtFile.ts:3713
↓ 2 callers
Method
putDescendentVnodeUas
* Return the a uA field for descendant VNode attributes, * suitable for reconstituting uA's for anonymous vnodes.
src/core/leoFileCommands.ts:2938
↓ 2 callers
Method
putDirective
* Output a sentinel a directive or reference s. * * It is important for PHP and other situations that \@first and \@last * directives g
src/core/leoAtFile.ts:3668
↓ 2 callers
Method
putHeader
()
src/core/leoFileCommands.ts:3064
↓ 2 callers
Method
putLine
* Put the line at s[i:] of the given kind, updating the status.
src/core/leoAtFile.ts:2672
↓ 2 callers
Method
putPostlog
()
src/core/leoFileCommands.ts:3068
↓ 2 callers
Method
putProlog
* Put the prolog of the xml file.
src/core/leoFileCommands.ts:3080
↓ 2 callers
Method
putRefLine
* Put a line containing one or more references. * * Important: the so-called name *must* include brackets.
src/core/leoAtFile.ts:3004
↓ 2 callers
Method
putUnknownAttributes
* Put pickleable values for all keys in v.unknownAttributes dictionary.
src/core/leoFileCommands.ts:3242
↓ 2 callers
Method
put_t_elements
* Put all <t> elements as required for copy or save commands
src/core/leoFileCommands.ts:3143
↓ 2 callers
Method
put_v_element
* Write a <v> element corresponding to a VNode.
src/core/leoFileCommands.ts:3274
↓ 2 callers
Method
put_v_elements
* Puts all <v> elements in the order in which they appear in the outline.
src/core/leoFileCommands.ts:3361
↓ 2 callers
Method
qsc_find_changed
()
src/core/quicksearch.ts:544
↓ 2 callers
Method
qsc_get_history
()
src/core/quicksearch.ts:598
↓ 2 callers
Method
qsc_show_marked
()
src/core/quicksearch.ts:750
↓ 2 callers
Method
qsc_sort_by_gnx
* Return positions by gnx.
src/core/quicksearch.ts:769
↓ 2 callers
Method
quoteattr
* The quoteattr() function for embeding text into HTML/XML * Similar to escape(), but also prepares data to be used as an attribute value. *
src/core/leoFileCommands.ts:889
↓ 2 callers
Method
readExternalFiles
* Read all external files. * * A helper for fc.getLeoFile.
src/core/leoFileCommands.ts:1593
↓ 2 callers
Method
readFileBuffer
(db_uri: vscode.Uri)
src/core/leoCache.ts:459
↓ 2 callers
Method
readFileFromJsonClipboard
* Recreate a file from a JSON string s, and return its hidden vnode.
src/core/leoFileCommands.ts:562
↓ 2 callers
Method
readOneAtAutoNode
* Read an @auto file into p. Return the *new* position.
src/core/leoAtFile.ts:839
↓ 2 callers
Method
readOneAtCleanNode
* Update the @clean/@nosent node at root.
src/core/leoAtFile.ts:887
↓ 2 callers
Method
readOneAtShadowNode
(fn: string, p: Position)
src/core/leoAtFile.ts:1066
↓ 2 callers
Method
readWithElementTree
( p_path: string | undefined, s_or_b: Uint8Array | string )
src/core/leoFileCommands.ts:192
↓ 2 callers
Method
recreateGnxDict
* Recreate the gnx dict prior to refreshing nodes from disk.
src/core/leoCommands.ts:4323
↓ 2 callers
Method
redirect
(stdout: boolean = true)
src/core/leoGlobals.ts:488
↓ 2 callers
Method
refreshFromFile
()
src/core/leoCache.ts:560
↓ 2 callers
Method
registerHandler
* Register one or more handlers
src/core/leoPlugins.ts:263
↓ 2 callers
Method
registerOneExclusiveHandler
* Register one exclusive handler
src/core/leoPlugins.ts:239
↓ 2 callers
Method
registerOneHandler
* Register one handler
src/core/leoPlugins.ts:276
↓ 2 callers
Method
relative_unl
* Return the unl of p relative to the root position.
src/core/leoPersistence.ts:738
↓ 2 callers
Method
rename
(p_oldUri: vscode.Uri, p_newUri: vscode.Uri, p_options: { overwrite: boolean })
src/leoBody.ts:217
↓ 2 callers
Function
resetTagNav
()
find-panel/main.js:66
↓ 2 callers
Method
resolveUa
* Parse an unknown attribute in a <v> or <t> element.
src/core/leoFileCommands.ts:269
↓ 2 callers
Method
restoreCursorAndScroll
* Restore the cursor position and scroll so it is visible.
src/core/leoNodes.ts:3646
↓ 2 callers
Method
restore_gnxs
* Recreate gnx's and clone links from an @gnxs node. * @gnxs nodes contain pairs of lines: * gnx:<gnx> * unl:<unl>
src/core/leoPersistence.ts:202
↓ 2 callers
Method
revertCommander
* Revert c to the previously saved contents.
src/core/leoApp.ts:3768
↓ 2 callers
Method
rp_get_leading_ws
* Compute and return indents and leading_ws.
src/commands/commanderEditCommands.ts:956
↓ 2 callers
Method
rp_wrap_all_lines
( c: Commands, indents: number[], leading_ws: string[], lines: string[],
src/commands/commanderEditCommands.ts:1023
↓ 2 callers
Function
run
@type {function(Array=)}
sqlite/sql-wasm-debug.js:6938
↓ 2 callers
Method
runAlreadyOpenDialog
* Warn about possibly already-open files.
src/core/leoApp.ts:1787
↓ 2 callers
Method
runAskYesNoCancelDialog
* Create and run an askYesNoCancel dialog .
src/core/leoGui.ts:245
↓ 2 callers
Method
runFlake8
* Run flake8 on the selected node.
src/core/leoAtFile.ts:3361
↓ 2 callers
Method
runPyflakes
* Run pyflakes on the selected node.
src/core/leoAtFile.ts:3380
↓ 2 callers
Method
sanitize
* Return a sanitized file name.
src/core/leoApp.ts:4175
← previous
next →
1,001–1,100 of 3,690, ranked by callers