Find within an open text file is unavailable in the Android Text editor (previously available in preview)

Aberta
#17,834 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
35/100
Tipo de issue
Funcionalidade
Clareza
Claramente especificada
Status de atividade
Ativa
Stack de tecnologia
android, kotlin
Domínio
mobile

Direção de pesquisa

The payload names no source files. Start from the read-only text preview that pull request #565 added, then find the Android editor screen that opens text and markdown files. Done means a find action in the editor that highlights matches, steps between them with a counter, scrolls to the current match, and closes back to the editor without opening global file search.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

0. Needs triage enhancement
Is your feature request related to a problem? Please describe.

When I open a text/markdown file in the editor in the Nextcloud Android app, there is no way to search within the content of the file I am editing.
There is no "find" entry in the overflow menu, no search icon in the toolbar, and the system/WebView find-on-page function is not reachable either.

For longer documents (notes, meeting minutes, checklists, logs, code snippets) this makes it impractical to jump to the relevant spot — the only option is to scroll manually through the whole file.

Note: search inside the read-only text preview was added earlier (see #211 and #3096, milestone 3.4.0, pull request #565).

Describe the solution you'd like

A "Find in document" function available while editing:

  • Search icon in the editor toolbar, or a "Find" item in the ⋮ overflow menu
  • Input field for the search term
  • All matches highlighted in the document
  • Next / previous buttons plus a match counter (e.g. "3 / 17")
  • Editor scrolls to and highlights the current match
  • Closing the search returns to the editor at the current cursor/match position (and does NOT fall back into global file search — cf. #3096)

Nice to have, but not required for a first version:

  • Case-sensitive toggle
  • Whole-word toggle
  • Find & replace / replace all
Describe alternatives you've considered
  • Downloading the file and opening it in a third-party editor that supports search — breaks the sync workflow and risks conflicts.
  • Using the web interface in a mobile browser and the browser's "Find in page" — works, but defeats the purpose of having the app.
  • Using the global Nextcloud search — that finds files, not positions inside the file I'm currently editing.
Additional context
  • Android version: LineageOS 23.2
  • Nextcloud Android app version: 35.0.1
Linguagem predominante
Kotlin
Estrelas
5.7k
Forks
2.1k
Merge médio
1d 22h
PRs com merge (30d)
135

Preparar o ambiente

Abrir no Codespaces

Inicia o contêiner de desenvolvimento do projeto no navegador, com a sua própria conta do GitHub.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de nextcloud/android

Todas as issues de nextcloud/android

Issues semelhantes

Mais issues de Kotlin

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.