From 9c5fa427f9593b402f76e6a3fe54c13ac70df9b4 Mon Sep 17 00:00:00 2001 From: haven1433 Date: Fri, 12 Dec 2025 21:31:25 -0600 Subject: [PATCH] add to last commit --- .../ViewModels/Tools/TextStreamElementViewModel.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/HexManiac.Core/ViewModels/Tools/TextStreamElementViewModel.cs b/src/HexManiac.Core/ViewModels/Tools/TextStreamElementViewModel.cs index 7a10f47f..89048395 100644 --- a/src/HexManiac.Core/ViewModels/Tools/TextStreamElementViewModel.cs +++ b/src/HexManiac.Core/ViewModels/Tools/TextStreamElementViewModel.cs @@ -67,6 +67,7 @@ namespace HavenSoft.HexManiac.Core.ViewModels.Tools { var destination = viewPort.Model.ReadPointer(Start); if (viewPort.Model.GetNextRun(destination) is IStreamRun run) { content = run.SerializeRun() ?? string.Empty; + ElementContent.PreFormatter = run.PreFormatter; } else if (viewPort.Model.GetNextRun(destination) is ITableRun tRun) { var proxy = new TableStreamRun(Model, tRun.Start, tRun.PointerSources, tRun.FormatString, tRun.ElementContent, new FixedLengthStreamStrategy(tRun.ElementCount));