Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JonSeijo/text-editor
/ functions
Functions
112 in github.com/JonSeijo/text-editor
⨍
Functions
112
◇
Types & classes
9
↓ 22 callers
Method
getLineN
src/Cursor.cpp:18
↓ 12 callers
Method
setPosition
updateMaxChar=false por defecto
src/Cursor.cpp:11
↓ 10 callers
Method
getCharN
src/Cursor.cpp:22
↓ 10 callers
Method
updatePos
src/Cursor.cpp:85
↓ 7 callers
Method
getLineCount
src/TextDocument.cpp:215
↓ 6 callers
Method
charsInLine
src/TextDocument.cpp:204
↓ 6 callers
Method
handleSelectionOnCursorMovement
src/EditorContent.cpp:253
↓ 6 callers
Method
setMaxCharNReached
src/Cursor.cpp:26
↓ 5 callers
Method
deleteSelections
Borra el texto contenido en la seleccion y tambien la seleccion en si Devuelve true si se borro una seleccion
src/EditorContent.cpp:209
↓ 5 callers
Method
getBufferPos
src/TextDocument.cpp:196
↓ 5 callers
Method
removeSelections
src/EditorContent.cpp:30
↓ 4 callers
Method
draw
src/EditorView.cpp:59
↓ 4 callers
Method
getLine
src/EditorContent.cpp:270
↓ 4 callers
Method
linesCount
src/EditorContent.cpp:261
↓ 4 callers
Method
swapLines
src/TextDocument.cpp:146
↓ 3 callers
Method
addTextInCursorPos
src/EditorContent.cpp:196
↓ 3 callers
Method
colsInLine
TODO: cols != chars
src/EditorContent.cpp:266
↓ 3 callers
Method
createNewSelection
src/EditorContent.cpp:18
↓ 3 callers
Method
deleteTextAfterCursorPos
src/EditorContent.cpp:189
↓ 3 callers
Method
getLastSelection
src/EditorContent.cpp:38
↓ 3 callers
Method
getLine
Devuelve una copia de la linea que esta en mi buffer
src/TextDocument.cpp:66
↓ 3 callers
Method
moveCursorDown
src/EditorContent.cpp:153
↓ 3 callers
Method
updateLastSelection
src/EditorContent.cpp:26
↓ 2 callers
Method
addTextToPos
src/TextDocument.cpp:101
↓ 2 callers
Method
charAmountContained
src/TextDocument.cpp:142
↓ 2 callers
Function
colsOf
TODO: esto lo deberia manejar el editorContetn de alguna forma? 4 harcodeado
src/EditorView.cpp:91
↓ 2 callers
Method
copySelections
src/EditorContent.cpp:231
↓ 2 callers
Method
getDocumentCoords
TODO: Esto no considera que los tabs \t existen Asume que el x=0 es donde empieza el texto
src/EditorView.cpp:181
↓ 2 callers
Method
getMaxCharNReached
src/Cursor.cpp:30
↓ 2 callers
Method
initLinebuffer
TODO: Contar newlines mientras leo el archivo en el init TODO: Otros sistemas operativos manejan newlines de otras formas (ej \r)
src/TextDocument.cpp:49
↓ 2 callers
Method
moveCursorLeft
Actualiza ademas el maximo char alcanzado
src/EditorContent.cpp:101
↓ 2 callers
Method
moveCursorRight
Actualiza ademas el maximo char alcanzado
src/EditorContent.cpp:122
↓ 2 callers
Method
moveCursorUp
src/EditorContent.cpp:137
↓ 2 callers
Method
removeSelections
src/SelectionData.cpp:76
↓ 2 callers
Method
scrollDown
src/EditorView.cpp:221
↓ 2 callers
Method
scrollLeft
src/EditorView.cpp:231
↓ 2 callers
Method
scrollRight
src/EditorView.cpp:240
↓ 2 callers
Method
scrollUp
src/EditorView.cpp:212
↓ 2 callers
Method
swapSelectedLines
src/EditorContent.cpp:54
↓ 2 callers
Method
validIndex
src/SelectionData.cpp:116
↓ 1 callers
Function
convertSpecialChar
src/SpecialChars.cpp:4
↓ 1 callers
Method
createNewSelection
Inactiva por defecto pues solo inicializo el ancla
src/SelectionData.cpp:6
↓ 1 callers
Method
createNewSelectionFromCursor
src/EditorContent.cpp:22
↓ 1 callers
Method
cursorPosition
TODO: Diferenciar posicion en columnas de chars Esta seria posicion en columna?
src/EditorContent.cpp:10
↓ 1 callers
Method
deleteTextBeforeCursorPos
src/EditorContent.cpp:180
↓ 1 callers
Method
drawCursor
TODO: No harcodear constantes aca. CursorView?
src/EditorView.cpp:158
↓ 1 callers
Method
drawLines
TODO: Reemplazar fontSize por fontHeight especifica para cada tipo de font. TODO: Multiples cursores similar a Selecciones, que los moveUp.. etc mueva
src/EditorView.cpp:106
↓ 1 callers
Method
duplicateCursorLine
TODO: Duplicar seleccion en vez de removerla
src/EditorContent.cpp:44
↓ 1 callers
Method
getBottomLimitPx
src/EditorView.cpp:47
↓ 1 callers
Method
getCameraView
src/EditorView.cpp:270
↓ 1 callers
Method
getCharIndexOfColumn
TODO: Deberia tirar error si no existe la linea
src/EditorContent.cpp:285
↓ 1 callers
Method
getCharWidth
src/EditorView.cpp:55
↓ 1 callers
Method
getColumnFromCharN
TODO: Refactor es casi igual al otro metodo
src/EditorContent.cpp:305
↓ 1 callers
Method
getCursorLine
src/EditorContent.cpp:274
↓ 1 callers
Method
getLastAnclaChar
src/SelectionData.cpp:128
↓ 1 callers
Method
getLastAnclaLine
src/SelectionData.cpp:124
↓ 1 callers
Method
getLineHeight
src/EditorView.cpp:51
↓ 1 callers
Method
getRightLimitPx
src/EditorView.cpp:43
↓ 1 callers
Method
getTextFromPos
src/TextDocument.cpp:137
↓ 1 callers
Method
handleConstantInput
src/InputController.cpp:20
↓ 1 callers
Method
handleEvents
src/InputController.cpp:9
↓ 1 callers
Method
handleKeyPressedEvents
src/InputController.cpp:102
↓ 1 callers
Method
handleKeyReleasedEvents
src/InputController.cpp:196
↓ 1 callers
Method
handleMouseEvents
src/InputController.cpp:62
↓ 1 callers
Method
handleTextEnteredEvent
src/InputController.cpp:204
↓ 1 callers
Method
hasChanged
src/TextDocument.cpp:43
↓ 1 callers
Method
init
La idea es leer el file y guardarlo en buffer (quiero cargarlo en la memoria) Para esto uso std::ifstream para levantar el archivo TODO: Esto deberia
src/TextDocument.cpp:6
↓ 1 callers
Method
isMouseDown
src/InputController.cpp:233
↓ 1 callers
Method
isSelected
Extremos de una seleccion son inclusives a ambos lados
src/SelectionData.cpp:27
↓ 1 callers
Method
moveCursorToEnd
src/EditorContent.cpp:168
↓ 1 callers
Method
moveCursorToStart
src/EditorContent.cpp:174
↓ 1 callers
Method
moveDown
src/Cursor.cpp:38
↓ 1 callers
Method
moveDownToMaxCharN
src/Cursor.cpp:46
↓ 1 callers
Method
moveLeft
updateMaxChar=false por defecto
src/Cursor.cpp:51
↓ 1 callers
Method
moveRight
updateMaxChar=false por defecto
src/Cursor.cpp:59
↓ 1 callers
Method
moveToEnd
src/Cursor.cpp:66
↓ 1 callers
Method
moveToStart
src/Cursor.cpp:73
↓ 1 callers
Method
moveUpToMaxCharN
src/Cursor.cpp:42
↓ 1 callers
Method
removeSelection
src/SelectionData.cpp:83
↓ 1 callers
Method
removeTextFromPos
TODO: Optimizar
src/TextDocument.cpp:126
↓ 1 callers
Method
resetCursor
TODO: column != charN
src/EditorContent.cpp:279
↓ 1 callers
Method
rotateLeft
src/EditorView.cpp:250
↓ 1 callers
Method
rotateRight
src/EditorView.cpp:254
↓ 1 callers
Method
saveFile
src/TextDocument.cpp:23
↓ 1 callers
Method
setCameraBounds
src/EditorView.cpp:266
↓ 1 callers
Method
setFontSize
TODO: Divide fontsize from lineheight
src/EditorView.cpp:29
↓ 1 callers
Method
swapCursorLine
src/EditorContent.cpp:90
↓ 1 callers
Method
swapWithNextLine
src/TextDocument.cpp:171
↓ 1 callers
Method
toUtf32
src/TextDocument.cpp:87
↓ 1 callers
Method
updateLastSelection
src/SelectionData.cpp:11
↓ 1 callers
Method
zoomIn
src/EditorView.cpp:258
↓ 1 callers
Method
zoomOut
src/EditorView.cpp:262
Method
Cursor
src/Cursor.cpp:3
Method
EditorContent
src/EditorContent.cpp:3
Method
EditorView
TODO: el -50 de la inicializacion de la camara tiene que ver con el marginXoffset
src/EditorView.cpp:4
Method
Extremo
src/SelectionData.h:13
Method
InputController
src/InputController.cpp:3
Method
Selection
src/SelectionData.h:27
Method
SelectionData
src/SelectionData.cpp:3
Method
getEndCharN
src/SelectionData.cpp:111
next →
1–100 of 112, ranked by callers