Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

✨ Scroll and cursor position in file are lost when switching to another file and then back

Abierto
#1,930 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
48/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Estancado
Stack tecnológico
swift
Área
desktop

Línea de trabajo

El issue no nombra ningún archivo ni prueba. Empieza reproduciendo el flujo de cambio de pestañas en CodeEdit y sigue dónde se gestionan el cursor y el estado de desplazamiento del archivo abierto; se considera terminado cuando volver a un archivo abierto anteriormente restaura ambas posiciones.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

bug
Description

When you navigate inside a file, then you go to another file keeping the previous one open and when you get back to the first file, the scroll position and of the cursor location in the first file are lost, so it automatically shows up the top of that file.

To Reproduce
  1. Open the file a.cpp and navigate through it so you go to a specific cpp function inside that file.
  2. Open the file b.cpp in another tab while keeping the file a.cpp open in its tab.
  3. When you get back to the opened tab of the file a.cpp, you are redirected to the top of the file a.cpp.
    So when you are focusing much on a specific function in a.cpp and just wanted to check something related to that in b.cpp, when you get back to the open tab of a.cpp, you completely lost the position of the cursor on the function that you were working on.
Expected Behavior

The position of the cursor in the open file that you left open in a tab for a while should be the same when you get back to it.

Version Information

CodeEdit: [0.3.2]
macOS: [14.1.2 (23B92)]

Additional Context

No response

Screenshots

No response

Lenguaje dominante
Swift
Estrellas
23k
Forks
1.2k
Métricas de merge de PR
Sin PR fusionados en 30 d

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de CodeEditApp/CodeEdit

Todos los issues de CodeEditApp/CodeEdit

Issues similares

Más issues de Swift

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.