Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow text files to be edited even when empty (#1724)
* fix: allow text files to be edited even when empty * wip: remove the need for loading file contents into memory * xcode updated packages - CodeEditTextView 0.7.3 -> 0.7.4 - CodeEditSourceEditor 0.7.2 -> 0.7.3 - CodeEditLanguages 0.1.18 -> 0.1.19 * Merge branch 'main' of https://github.com/CodeEditApp/CodeEdit into allow-edit-text-file-when-contents-in-empty * remove extra checks in `CodeFileDocument.utType` Only check for when `CodeFileDocument.content` is not nil. If the content is an empty string, it means we're viewing an empty text file, which is a predictable behavior. Also, the extra checks cause unexpected behaviors. Check the related pull request (#1724) for visuals. * redo changes made in 45c39ce
- Loading branch information