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

Abierto
#17,834 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
android, kotlin
Área
mobile

Línea de trabajo

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.

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

Descripción

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
Lenguaje dominante
Kotlin
Estrellas
5.7k
Forks
2.1k
Merge medio
1 d 22 h
PR fusionados (30 d)
135

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

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 nextcloud/android

Todos los issues de nextcloud/android

Issues similares

Más issues de Kotlin

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.