Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/carloslfu/cursor-old
/ functions
Functions
1,103 in github.com/carloslfu/cursor-old
⨍
Functions
1,103
◇
Types & classes
205
↓ 71 callers
Method
on
(type: string, f: Function)
src/components/codemirror-vim/cm_adapter.ts:322
↓ 51 callers
Method
getCursor
(p?: 'head' | 'anchor' | 'start' | 'end')
src/components/codemirror-vim/cm_adapter.ts:375
↓ 44 callers
Method
getLine
(row: number)
src/components/codemirror-vim/cm_adapter.ts:428
↓ 40 callers
Method
find
()
src/components/codemirror-vim/cm_adapter.ts:1249
↓ 29 callers
Method
setCursor
(line: Pos | number, ch: number)
src/components/codemirror-vim/cm_adapter.ts:363
↓ 26 callers
Function
showConfirm
(cm, template)
src/components/codemirror-vim/vim.js:6018
↓ 25 callers
Function
copyCursor
(cur)
src/components/codemirror-vim/vim.js:4400
↓ 22 callers
Function
cursorIsBefore
(cur1, cur2)
src/components/codemirror-vim/vim.js:4406
↓ 21 callers
Method
firstLine
()
src/components/codemirror-vim/cm_adapter.ts:354
↓ 21 callers
Function
getPathForFileId
( state: State, fileid: number, includeRoot = true )
src/features/window/fileUtils.ts:143
↓ 21 callers
Method
lastLine
()
src/components/codemirror-vim/cm_adapter.ts:357
↓ 20 callers
Method
request
( method: K, params: LSPRequestMap[K][0] )
src/features/lsp/stdioClient.ts:526
↓ 20 callers
Method
then
(func: any)
src/features/lsp/lspPlugin.ts:350
↓ 18 callers
Method
focus
()
src/components/codemirror-vim/cm_adapter.ts:507
↓ 18 callers
Function
offsetCursor
(cur, offsetLine, offsetCh)
src/components/codemirror-vim/vim.js:4320
↓ 18 callers
Method
signal
(type: string, e: any, handlers?: any)
src/components/codemirror-vim/cm_adapter.ts:328
↓ 17 callers
Function
lineLength
(cm, lineNum)
src/components/codemirror-vim/vim.js:4439
↓ 17 callers
Method
runCommandPromise
(command: string)
src/main/fileSystem.ts:111
↓ 16 callers
Function
clearInputState
(cm, reason)
src/components/codemirror-vim/vim.js:1900
↓ 16 callers
Method
replaceRange
(text: string, s: Pos, e: Pos)
src/components/codemirror-vim/cm_adapter.ts:446
↓ 15 callers
Function
clipCursorToContent
* Clips cursor to ensure that line is within the buffer's range * and is not inside surrogate pair * If includeLineBreak is true, then allow
src/components/codemirror-vim/vim.js:4292
↓ 15 callers
Function
indexFromPos
(doc: Text, pos: Pos)
src/components/codemirror-vim/cm_adapter.ts:34
↓ 15 callers
Function
isMatch
(exts: string[])
src/components/filetree.tsx:134
↓ 14 callers
Method
create
(activeIndentIndex?: number)
src/features/extensions/indentLines.ts:169
↓ 14 callers
Function
findFileIdFromPath
(state: State, path: string)
src/features/window/fileUtils.ts:229
↓ 14 callers
Method
setOption
(name: string, val: any)
src/components/codemirror-vim/cm_adapter.ts:896
↓ 13 callers
Method
charCoords
(pos: Pos, mode: 'div' | 'local')
src/components/codemirror-vim/cm_adapter.ts:725
↓ 13 callers
Function
isWhiteSpaceString
(k)
src/components/codemirror-vim/vim.js:1167
↓ 13 callers
Method
scrollIntoView
(pos?: Pos, margin?: number)
src/components/codemirror-vim/cm_adapter.ts:762
↓ 12 callers
Function
cursorEqual
(cur1, cur2)
src/components/codemirror-vim/vim.js:4403
↓ 12 callers
Function
cursorMin
(cur1, cur2)
src/components/codemirror-vim/vim.js:4415
↓ 12 callers
Function
getActiveTabId
(state: State)
src/features/window/paneUtils.ts:105
↓ 12 callers
Function
getConnections
()
src/features/lsp/languageServerSlice.ts:225
↓ 12 callers
Function
posFromIndex
(doc: Text, offset: number)
src/components/codemirror-vim/cm_adapter.ts:48
↓ 11 callers
Method
exec
(command: string, cwd: string)
src/main/fileSystem.ts:316
↓ 11 callers
Function
getContentsIfNeeded
(state: State, fileid: number)
src/features/window/fileUtils.ts:373
↓ 11 callers
Function
getLastBotMessage
( state: ChatState, conversationId: string | null = null )
src/features/chat/chatSlice.ts:55
↓ 11 callers
Function
getPathForFolderId
( state: State, folderid: number, includeRoot = true )
src/features/window/fileUtils.ts:122
↓ 11 callers
Function
setActiveTab
(state: State, tabid: number)
src/features/window/paneUtils.ts:53
↓ 10 callers
Function
checkSend
()
src/features/chat/chatThunks.ts:365
↓ 10 callers
Function
close
()
src/components/codemirror-vim/cm_adapter.ts:1013
↓ 10 callers
Function
closeError
(state: State)
src/features/globalSlice.ts:1395
↓ 10 callers
Function
findFirstNonWhiteSpaceCharacter
(text)
src/components/codemirror-vim/vim.js:4776
↓ 10 callers
Method
getOption
(name: string)
src/components/codemirror-vim/cm_adapter.ts:907
↓ 10 callers
Function
getSearchState
(cm)
src/components/codemirror-vim/vim.js:5790
↓ 10 callers
Function
nextChar
(curr)
src/components/codemirror-vim/vim.js:5328
↓ 9 callers
Method
clear
()
src/components/codemirror-vim/cm_adapter.ts:1246
↓ 9 callers
Function
exitVisualMode
* If moveHead is set to false, the CodeMirror selection will not be * touched. The caller assumes the responsibility of putting the cursor *
src/components/codemirror-vim/vim.js:4720
↓ 9 callers
Function
getCodeMirrorView
(editorId: number)
src/features/codemirror/codemirrorSlice.ts:58
↓ 9 callers
Function
getFilePath
(fid: number, includeRoot = true)
src/features/selectors.ts:486
↓ 9 callers
Method
indexFromPos
(pos: Pos)
src/components/codemirror-vim/cm_adapter.ts:332
↓ 9 callers
Method
listSelections
()
src/components/codemirror-vim/cm_adapter.ts:392
↓ 9 callers
Method
scrollTo
(x?: number, y?: number)
src/components/codemirror-vim/cm_adapter.ts:758
↓ 9 callers
Function
updateMark
(cm, vim, markName, pos)
src/components/codemirror-vim/vim.js:5210
↓ 8 callers
Function
copilotChangeSignin
( state: LanguageServerState, action: PayloadAction<boolean> )
src/features/lsp/languageServerSlice.ts:329
↓ 8 callers
Function
dom
* dom - Document Object Manipulator * Usage: * dom('<tag>'|<node>[, ...{<attributes>|<$styles>}|<child-node>|'<text>']) * Examples:
src/components/codemirror-vim/vim.js:6002
↓ 8 callers
Method
existsSync
(path: string)
src/main/fileSystem.ts:177
↓ 8 callers
Function
findFolderIdFromPath
(state: State, path: string)
src/features/window/fileUtils.ts:183
↓ 8 callers
Method
getDocPath
(view = this.view)
src/features/lsp/lspPlugin.ts:198
↓ 8 callers
Function
getTab
(tid: number)
src/features/selectors.ts:127
↓ 8 callers
Function
interruptGeneration
( chatState: ChatState, action: PayloadAction<string | null> )
src/features/chat/chatSlice.ts:261
↓ 8 callers
Function
openError
( state: State, action: PayloadAction<{ error?: ExpectedError }> )
src/features/globalSlice.ts:1399
↓ 8 callers
Method
operation
(fn: Function)
src/components/codemirror-vim/cm_adapter.ts:860
↓ 8 callers
Method
replaceSelections
(replacements: string[])
src/components/codemirror-vim/cm_adapter.ts:456
↓ 8 callers
Function
untriggerAll
(state: ToolState)
src/features/tools/toolSlice.ts:13
↓ 8 callers
Method
update
(update: ViewUpdate)
src/features/extensions/minimap.ts:121
↓ 7 callers
Function
cursorMax
(cur1, cur2)
src/components/codemirror-vim/vim.js:4424
↓ 7 callers
Method
execCommand
(name: string)
src/components/codemirror-vim/cm_adapter.ts:547
↓ 7 callers
Function
getActivePaneID
(state: State)
src/features/window/paneUtils.ts:89
↓ 7 callers
Function
getDiagnostics
( value: LintState, state: EditorState )
src/features/linter/lint.ts:174
↓ 7 callers
Function
getLanguageFromFilename
(filename: string)
src/features/extensions/utils.ts:145
↓ 7 callers
Function
getNextToken
()
src/features/chat/chatThunks.ts:427
↓ 7 callers
Method
getRange
(s: Pos, e: Pos)
src/components/codemirror-vim/cm_adapter.ts:439
↓ 7 callers
Method
getScrollInfo
()
src/components/codemirror-vim/cm_adapter.ts:747
↓ 7 callers
Method
getSelection
()
src/components/codemirror-vim/cm_adapter.ts:463
↓ 7 callers
Function
getViewId
(tabId: number | null)
src/features/codemirror/codemirrorSelectors.ts:11
↓ 7 callers
Method
handleKey
(e: KeyboardEvent, view: EditorView)
src/components/codemirror-vim/index.ts:294
↓ 7 callers
Function
isEmpty
(i)
src/components/codemirror-vim/vim.js:5248
↓ 7 callers
Method
mkdirSync
(path: string, options?: fs.MakeDirectoryOptions)
src/main/fileSystem.ts:160
↓ 7 callers
Method
posFromIndex
(offset: number)
src/components/codemirror-vim/cm_adapter.ts:335
↓ 7 callers
Function
posToOffset
( doc: Text, pos: { line: number; character: number } )
src/features/lsp/lspPlugin.ts:1127
↓ 7 callers
Method
to
()
src/components/codemirror-vim/cm_adapter.ts:803
↓ 6 callers
Function
convertRange
(doc: Text, cm6Range: { from: number; to: number })
src/components/codemirror-vim/cm_adapter.ts:1209
↓ 6 callers
Function
findDiagnostic
( diagnostics: DecorationSet, diagnostic: Diagnostic | null = null, after = 0 )
src/features/linter/lint.ts:251
↓ 6 callers
Function
getCurrentTab
(paneId: number)
src/features/selectors.ts:44
↓ 6 callers
Function
getFullState
()
src/features/chat/chatThunks.ts:350
↓ 6 callers
Function
getIconElement
(fname: string)
src/components/filetree.tsx:133
↓ 6 callers
Function
getOption
(name, cm, cfg)
src/components/codemirror-vim/vim.js:1237
↓ 6 callers
Function
isEndOfSentenceSymbol
(k)
src/components/codemirror-vim/vim.js:1170
↓ 6 callers
Method
isInBadDir
(itemPath: string)
src/main/indexer.ts:140
↓ 6 callers
Function
nextId
(byIds: object)
src/features/window/state.ts:477
↓ 6 callers
Function
setGenerating
(chatState: ChatState, action: PayloadAction<boolean>)
src/features/chat/chatSlice.ts:317
↓ 6 callers
Function
streamSource
(response: Response)
src/utils.ts:109
↓ 6 callers
Function
updateCmSelection
* Updates the CodeMirror selection to match the provided vim selection. * If no arguments are given, it uses the current vim selection state.
src/components/codemirror-vim/vim.js:4642
↓ 6 callers
Function
updateSelectionForSurrogateCharacters
(cm, curStart, curEnd)
src/components/codemirror-vim/vim.js:59
↓ 6 callers
Method
updateStatus
()
src/components/codemirror-vim/index.ts:234
↓ 5 callers
Function
appendResponse
( chatState: ChatState, action: PayloadAction<{ text: string; token: string }>
src/features/chat/chatSlice.ts:142
↓ 5 callers
Function
createCachedTabIfNotExists
(state: State, tabId: number)
src/features/window/paneUtils.ts:21
↓ 5 callers
Function
customDebounce
(func: any, wait = 0)
src/main/search.ts:79
↓ 5 callers
Function
dispatchChange
(cm: CodeMirror, transaction: any)
src/components/codemirror-vim/cm_adapter.ts:140
next →
1–100 of 1,103, ranked by callers