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

Đang mở
#17,834 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
android, kotlin
Lĩnh vực
mobile

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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
Ngôn ngữ chính
Kotlin
Star
5.7k
Fork
2.1k
Merge trung bình
1 ngày 22 giờ
Pull request đã merge (30 ngày)
135

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của nextcloud/android

Tất cả issue của nextcloud/android

Issue tương tự

Thêm issue về Kotlin

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.