Unfortunately, SwiftUI's TextEditor has an inherent internal padding that cannot be removed directly using public APIs. This is a limitation of the framework, and until Apple provides more control over this behavior, we have to use small adjustments like this to achieve the desired alignment.