MCPcopy Create free account

hub / github.com/JonSeijo/text-editor / functions

Functions112 in github.com/JonSeijo/text-editor

↓ 22 callersMethodgetLineN
src/Cursor.cpp:18
↓ 12 callersMethodsetPosition
updateMaxChar=false por defecto
src/Cursor.cpp:11
↓ 10 callersMethodgetCharN
src/Cursor.cpp:22
↓ 10 callersMethodupdatePos
src/Cursor.cpp:85
↓ 7 callersMethodgetLineCount
src/TextDocument.cpp:215
↓ 6 callersMethodcharsInLine
src/TextDocument.cpp:204
↓ 6 callersMethodhandleSelectionOnCursorMovement
src/EditorContent.cpp:253
↓ 6 callersMethodsetMaxCharNReached
src/Cursor.cpp:26
↓ 5 callersMethoddeleteSelections
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 callersMethodgetBufferPos
src/TextDocument.cpp:196
↓ 5 callersMethodremoveSelections
src/EditorContent.cpp:30
↓ 4 callersMethoddraw
src/EditorView.cpp:59
↓ 4 callersMethodgetLine
src/EditorContent.cpp:270
↓ 4 callersMethodlinesCount
src/EditorContent.cpp:261
↓ 4 callersMethodswapLines
src/TextDocument.cpp:146
↓ 3 callersMethodaddTextInCursorPos
src/EditorContent.cpp:196
↓ 3 callersMethodcolsInLine
TODO: cols != chars
src/EditorContent.cpp:266
↓ 3 callersMethodcreateNewSelection
src/EditorContent.cpp:18
↓ 3 callersMethoddeleteTextAfterCursorPos
src/EditorContent.cpp:189
↓ 3 callersMethodgetLastSelection
src/EditorContent.cpp:38
↓ 3 callersMethodgetLine
Devuelve una copia de la linea que esta en mi buffer
src/TextDocument.cpp:66
↓ 3 callersMethodmoveCursorDown
src/EditorContent.cpp:153
↓ 3 callersMethodupdateLastSelection
src/EditorContent.cpp:26
↓ 2 callersMethodaddTextToPos
src/TextDocument.cpp:101
↓ 2 callersMethodcharAmountContained
src/TextDocument.cpp:142
↓ 2 callersFunctioncolsOf
TODO: esto lo deberia manejar el editorContetn de alguna forma? 4 harcodeado
src/EditorView.cpp:91
↓ 2 callersMethodcopySelections
src/EditorContent.cpp:231
↓ 2 callersMethodgetDocumentCoords
TODO: Esto no considera que los tabs \t existen Asume que el x=0 es donde empieza el texto
src/EditorView.cpp:181
↓ 2 callersMethodgetMaxCharNReached
src/Cursor.cpp:30
↓ 2 callersMethodinitLinebuffer
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 callersMethodmoveCursorLeft
Actualiza ademas el maximo char alcanzado
src/EditorContent.cpp:101
↓ 2 callersMethodmoveCursorRight
Actualiza ademas el maximo char alcanzado
src/EditorContent.cpp:122
↓ 2 callersMethodmoveCursorUp
src/EditorContent.cpp:137
↓ 2 callersMethodremoveSelections
src/SelectionData.cpp:76
↓ 2 callersMethodscrollDown
src/EditorView.cpp:221
↓ 2 callersMethodscrollLeft
src/EditorView.cpp:231
↓ 2 callersMethodscrollRight
src/EditorView.cpp:240
↓ 2 callersMethodscrollUp
src/EditorView.cpp:212
↓ 2 callersMethodswapSelectedLines
src/EditorContent.cpp:54
↓ 2 callersMethodvalidIndex
src/SelectionData.cpp:116
↓ 1 callersFunctionconvertSpecialChar
src/SpecialChars.cpp:4
↓ 1 callersMethodcreateNewSelection
Inactiva por defecto pues solo inicializo el ancla
src/SelectionData.cpp:6
↓ 1 callersMethodcreateNewSelectionFromCursor
src/EditorContent.cpp:22
↓ 1 callersMethodcursorPosition
TODO: Diferenciar posicion en columnas de chars Esta seria posicion en columna?
src/EditorContent.cpp:10
↓ 1 callersMethoddeleteTextBeforeCursorPos
src/EditorContent.cpp:180
↓ 1 callersMethoddrawCursor
TODO: No harcodear constantes aca. CursorView?
src/EditorView.cpp:158
↓ 1 callersMethoddrawLines
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 callersMethodduplicateCursorLine
TODO: Duplicar seleccion en vez de removerla
src/EditorContent.cpp:44
↓ 1 callersMethodgetBottomLimitPx
src/EditorView.cpp:47
↓ 1 callersMethodgetCameraView
src/EditorView.cpp:270
↓ 1 callersMethodgetCharIndexOfColumn
TODO: Deberia tirar error si no existe la linea
src/EditorContent.cpp:285
↓ 1 callersMethodgetCharWidth
src/EditorView.cpp:55
↓ 1 callersMethodgetColumnFromCharN
TODO: Refactor es casi igual al otro metodo
src/EditorContent.cpp:305
↓ 1 callersMethodgetCursorLine
src/EditorContent.cpp:274
↓ 1 callersMethodgetLastAnclaChar
src/SelectionData.cpp:128
↓ 1 callersMethodgetLastAnclaLine
src/SelectionData.cpp:124
↓ 1 callersMethodgetLineHeight
src/EditorView.cpp:51
↓ 1 callersMethodgetRightLimitPx
src/EditorView.cpp:43
↓ 1 callersMethodgetTextFromPos
src/TextDocument.cpp:137
↓ 1 callersMethodhandleConstantInput
src/InputController.cpp:20
↓ 1 callersMethodhandleEvents
src/InputController.cpp:9
↓ 1 callersMethodhandleKeyPressedEvents
src/InputController.cpp:102
↓ 1 callersMethodhandleKeyReleasedEvents
src/InputController.cpp:196
↓ 1 callersMethodhandleMouseEvents
src/InputController.cpp:62
↓ 1 callersMethodhandleTextEnteredEvent
src/InputController.cpp:204
↓ 1 callersMethodhasChanged
src/TextDocument.cpp:43
↓ 1 callersMethodinit
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 callersMethodisMouseDown
src/InputController.cpp:233
↓ 1 callersMethodisSelected
Extremos de una seleccion son inclusives a ambos lados
src/SelectionData.cpp:27
↓ 1 callersMethodmoveCursorToEnd
src/EditorContent.cpp:168
↓ 1 callersMethodmoveCursorToStart
src/EditorContent.cpp:174
↓ 1 callersMethodmoveDown
src/Cursor.cpp:38
↓ 1 callersMethodmoveDownToMaxCharN
src/Cursor.cpp:46
↓ 1 callersMethodmoveLeft
updateMaxChar=false por defecto
src/Cursor.cpp:51
↓ 1 callersMethodmoveRight
updateMaxChar=false por defecto
src/Cursor.cpp:59
↓ 1 callersMethodmoveToEnd
src/Cursor.cpp:66
↓ 1 callersMethodmoveToStart
src/Cursor.cpp:73
↓ 1 callersMethodmoveUpToMaxCharN
src/Cursor.cpp:42
↓ 1 callersMethodremoveSelection
src/SelectionData.cpp:83
↓ 1 callersMethodremoveTextFromPos
TODO: Optimizar
src/TextDocument.cpp:126
↓ 1 callersMethodresetCursor
TODO: column != charN
src/EditorContent.cpp:279
↓ 1 callersMethodrotateLeft
src/EditorView.cpp:250
↓ 1 callersMethodrotateRight
src/EditorView.cpp:254
↓ 1 callersMethodsaveFile
src/TextDocument.cpp:23
↓ 1 callersMethodsetCameraBounds
src/EditorView.cpp:266
↓ 1 callersMethodsetFontSize
TODO: Divide fontsize from lineheight
src/EditorView.cpp:29
↓ 1 callersMethodswapCursorLine
src/EditorContent.cpp:90
↓ 1 callersMethodswapWithNextLine
src/TextDocument.cpp:171
↓ 1 callersMethodtoUtf32
src/TextDocument.cpp:87
↓ 1 callersMethodupdateLastSelection
src/SelectionData.cpp:11
↓ 1 callersMethodzoomIn
src/EditorView.cpp:258
↓ 1 callersMethodzoomOut
src/EditorView.cpp:262
MethodCursor
src/Cursor.cpp:3
MethodEditorContent
src/EditorContent.cpp:3
MethodEditorView
TODO: el -50 de la inicializacion de la camara tiene que ver con el marginXoffset
src/EditorView.cpp:4
MethodExtremo
src/SelectionData.h:13
MethodInputController
src/InputController.cpp:3
MethodSelection
src/SelectionData.h:27
MethodSelectionData
src/SelectionData.cpp:3
MethodgetEndCharN
src/SelectionData.cpp:111
next →1–100 of 112, ranked by callers