From 26b5e4840c50fe6490cd61e4ba07b944e14981e7 Mon Sep 17 00:00:00 2001 From: Hendrik Mennen Date: Wed, 30 Oct 2024 10:23:10 -0500 Subject: [PATCH] fix control click and version bump --- build/props/Base.props | 2 +- src/OneWare.Output/Views/OutputView.axaml.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/props/Base.props b/build/props/Base.props index a9b3ee72..f6e2167b 100644 --- a/build/props/Base.props +++ b/build/props/Base.props @@ -1,7 +1,7 @@  - 0.20.4.0 + 0.20.5.0 0.30.3.0 0.30.3.0 0.9.0 diff --git a/src/OneWare.Output/Views/OutputView.axaml.cs b/src/OneWare.Output/Views/OutputView.axaml.cs index 64b94c90..1abbfefc 100644 --- a/src/OneWare.Output/Views/OutputView.axaml.cs +++ b/src/OneWare.Output/Views/OutputView.axaml.cs @@ -113,7 +113,7 @@ private void SearchPath() var matches = regex.Matches(lineText); - var match = matches.FirstOrDefault(x => x.Index <= pointerPosition && x.Index + x.Length >= pointerPosition); + var match = matches.FirstOrDefault(x => x.Index + line.Offset <= pointerPosition && x.Index + line.Offset + x.Length >= pointerPosition); if (match is not { Success: true }) return;