Skip to content

Commit a780781

Browse files
committed
Allow text editing for ReClassNET#36.
1 parent 7526d79 commit a780781

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

ReClass.NET/Nodes/BaseTextNode.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,11 @@ public override void Update(HotSpot spot)
8585
GetParentContainer()?.ChildHasChanged(this);
8686
}
8787
}
88+
else if (spot.Id == 1)
89+
{
90+
var data = Encoding.GetBytes(spot.Text);
91+
spot.Memory.Process.WriteRemoteMemory(spot.Address, data);
92+
}
8893
}
8994

9095
public string ReadValueFromMemory(MemoryBuffer memory)

0 commit comments

Comments
 (0)