[PR #390] [MERGED] Add CodeMirror extension to display find match count in the editor. #1580

Closed
opened 2026-05-06 19:37:41 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/mountain-loop/yaak/pull/390
Author: @heywinit
Created: 2/11/2026
Status: Merged
Merged: 2/12/2026
Merged by: @gschier

Base: mainHead: main


📝 Commits (3)

  • c2667fd Add CodeMirror extension to display find match count in the editor.
  • c7a529c Improve search panel: match index, chevron icons, toggle buttons
  • 4864cc2 Merge branch 'main' into main

📊 Changes

3 files changed (+159 additions, -3 deletions)

View changed files

📝 src-web/components/core/Editor/Editor.css (+42 -3)
📝 src-web/components/core/Editor/extensions.ts (+2 -0)
src-web/components/core/Editor/searchMatchCount.ts (+115 -0)

📄 Description

Super simple extension to the codemirror display component for adding a searchMatchCount extension that is called in extensions.ts which is used by the Editor.tsx component.

Screenshots

  1. Normal search
    image

  2. Regex search
    image


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/mountain-loop/yaak/pull/390 **Author:** [@heywinit](https://github.com/heywinit) **Created:** 2/11/2026 **Status:** ✅ Merged **Merged:** 2/12/2026 **Merged by:** [@gschier](https://github.com/gschier) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (3) - [`c2667fd`](https://github.com/mountain-loop/yaak/commit/c2667fd0253e20eda479b370eb742119a84ab5af) Add CodeMirror extension to display find match count in the editor. - [`c7a529c`](https://github.com/mountain-loop/yaak/commit/c7a529c1e1356fdce06e0022b1c338f9fb54cab2) Improve search panel: match index, chevron icons, toggle buttons - [`4864cc2`](https://github.com/mountain-loop/yaak/commit/4864cc2ccc7d36ced319cc4862c131ead8cab85c) Merge branch 'main' into main ### 📊 Changes **3 files changed** (+159 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `src-web/components/core/Editor/Editor.css` (+42 -3) 📝 `src-web/components/core/Editor/extensions.ts` (+2 -0) ➕ `src-web/components/core/Editor/searchMatchCount.ts` (+115 -0) </details> ### 📄 Description Super simple extension to the codemirror display component for adding a `searchMatchCount` extension that is called in `extensions.ts` which is used by the `Editor.tsx` component. ### Screenshots 1. Normal search <img width="500" height="387" alt="image" src="https://github.com/user-attachments/assets/67b23837-496a-40a4-b62e-3650f9a77895" /> 2. Regex search <img width="450" height="600" alt="image" src="https://github.com/user-attachments/assets/694dee92-b832-4dc0-bad2-aeb2162bb3d4" /> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-06 19:37:41 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/yaak#1580