✨ Scroll and cursor position in file are lost when switching to another file and then back
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Facilidade para iniciantes
- 48/100
Direção de pesquisa
Nenhum arquivo ou teste é mencionado na issue. Comece reproduzindo o fluxo de troca de abas no CodeEdit e rastreie onde o cursor e o estado de rolagem do arquivo aberto são tratados; considera-se concluído quando retornar a um arquivo aberto anteriormente restaura ambas as posições.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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
- Open the file a.cpp and navigate through it so you go to a specific cpp function inside that file.
- Open the file b.cpp in another tab while keeping the file a.cpp open in its tab.
- 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
- Linguagem predominante
- Swift
- Estrelas
- 23k
- Forks
- 1.2k
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de CodeEditApp/CodeEdit
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
CodeEditApp/CodeEdit#2190 ·
-
Is this project dead? Aberta
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 15/100
CodeEditApp/CodeEdit#2195 · 7 reações ·
-
enhancement
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 35/100
CodeEditApp/CodeEdit#2185 ·
-
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 25/100
CodeEditApp/CodeEdit#2181 ·
-
creashes on starting Abertabug
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 35/100
CodeEditApp/CodeEdit#2180 ·
Todas as issues de CodeEditApp/CodeEdit
Issues semelhantes
-
pending-maintainer-response pending-triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
-
make notarise-dmg notarises whichever dist/ image sorts last, not the one make dmg just built Abertaarea:build bug good first issue P2
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
uttrflow/uttrflow-swift#1412 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
-
enhancement
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 80/100
-
T-Defect
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
element-hq/element-x-ios#6191 ·