From d6be2b501531343a4b1a19a4b8d621a73bd29a33 Mon Sep 17 00:00:00 2001 From: Will McGugan Date: Sun, 14 Dec 2025 16:29:00 +0000 Subject: [PATCH 1/5] should not be rfind --- src/textual/fuzzy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/textual/fuzzy.py b/src/textual/fuzzy.py index 4d8c16a6c5..34c518c802 100644 --- a/src/textual/fuzzy.py +++ b/src/textual/fuzzy.py @@ -103,7 +103,7 @@ def _match( score = self.score if query in candidate: # Quick exit when the query exists as a substring - query_location = candidate.rfind(query) + query_location = candidate.find(query) offsets = list(range(query_location, query_location + len(query))) yield ( score(candidate, offsets) * (2.0 if candidate == query else 1.5), From c59cf726ba5a98f5df16696c7d94b153fa583f5b Mon Sep 17 00:00:00 2001 From: Will McGugan Date: Sun, 14 Dec 2025 16:30:15 +0000 Subject: [PATCH 2/5] changelog --- CHANGELOG.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3dc683673b..f7912adc80 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,12 +5,16 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). -## [Unreleased] +## [6.9.0] - 2024-12-14 ### Added - Added Rosé Pine themes https://github.com/Textualize/textual/pull/6277 +### Fixed + +- Fixed fuzzy matcher displaying wrong matched characters with simple substring match + ## [6.8.0] - 2025-12-07 ### Added From 80bf03029d25529f951353d78595788aad8aa823 Mon Sep 17 00:00:00 2001 From: Will McGugan Date: Sun, 14 Dec 2025 16:32:06 +0000 Subject: [PATCH 3/5] version bump --- CHANGELOG.md | 4 +++- pyproject.toml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f7912adc80..c043091837 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,11 +9,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ### Added +- Added Solarized Dark theme https://github.com/Textualize/textual/pull/6278 - Added Rosé Pine themes https://github.com/Textualize/textual/pull/6277 ### Fixed -- Fixed fuzzy matcher displaying wrong matched characters with simple substring match +- Fixed fuzzy matcher displaying wrong matched characters with simple substring match https://github.com/Textualize/textual/pull/6282 ## [6.8.0] - 2025-12-07 @@ -3238,6 +3239,7 @@ https://textual.textualize.io/blog/2022/11/08/version-040/#version-040 - New handler system for messages that doesn't require inheritance - Improved traceback handling +[6.9.0]: https://github.com/Textualize/textual/compare/v6.8.0...v6.9.0 [6.8.0]: https://github.com/Textualize/textual/compare/v6.7.1...v6.8.0 [6.7.1]: https://github.com/Textualize/textual/compare/v6.7.0...v6.7.1 [6.7.0]: https://github.com/Textualize/textual/compare/v6.6.0...v6.7.0 diff --git a/pyproject.toml b/pyproject.toml index 30a025afd6..963fe94b19 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "textual" -version = "6.8.0" +version = "6.9.0" homepage = "https://github.com/Textualize/textual" repository = "https://github.com/Textualize/textual" documentation = "https://textual.textualize.io/" From b35fd5cfd47cc335ecf2abc89d5434ddd248a909 Mon Sep 17 00:00:00 2001 From: Will McGugan Date: Sun, 14 Dec 2025 16:33:11 +0000 Subject: [PATCH 4/5] formatting --- src/textual/theme.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/textual/theme.py b/src/textual/theme.py index 032dbfbde0..f62f6a3e57 100644 --- a/src/textual/theme.py +++ b/src/textual/theme.py @@ -301,8 +301,8 @@ def to_color_system(self) -> ColorSystem: "footer-background": "#268bd2", "footer-key-foreground": "#fdf6e3", "footer-description-foreground": "#fdf6e3", - "input-selection-background": "#073642", # Base02 - } + "input-selection-background": "#073642", # Base02 + }, ), "rose-pine": Theme( name="rose-pine", From fdacf9c6204d5efd2b675d8648e320453ce1792d Mon Sep 17 00:00:00 2001 From: Will McGugan Date: Sun, 14 Dec 2025 16:37:31 +0000 Subject: [PATCH 5/5] fix changlog [skipci] --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c043091837..4ced669c9e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). -## [6.9.0] - 2024-12-14 +## [6.9.0] - 2025-12-14 ### Added