Hacktoberfest 2026 : les issues que les mainteneurs ont marquées pour octobre, ouvertes et accessibles aux débutants. Parcourir les issues Hacktoberfest

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

Ouverte
#1,930 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Évaluation

Difficulté
3/5
Temps estimé
1-2 jours
Accessibilité débutants
48/100
Type d'issue
Bug
Clarté
Clairement spécifiée
Activité
À l'abandon
Stack technique
swift
Domaine
desktop

Piste de recherche

L’issue ne nomme aucun fichier ni aucun test. Commencez par reproduire le flux de changement d’onglet dans CodeEdit et suivez l’endroit où sont gérés le curseur et l’état de défilement du fichier ouvert ; c’est terminé lorsque le retour à un fichier précédemment ouvert restaure les deux positions.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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

Langage dominant
Swift
Étoiles
23k
Forks
1.2k
Métriques de merge des PR
Aucune PR mergée en 30 j

Guide de contribution

Ouvrir le guide de contribution

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de CodeEditApp/CodeEdit

Toutes les issues de CodeEditApp/CodeEdit

Issues similaires

Plus d'issues Swift

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.