You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Description
Hotfix to fix mistakenly broken editing capabilities for inserting or deleting new lines.
Updates the layout pass to correctly detect new lines, and if a new one is laid out, continues to layout lines after that line.
Eg:
```
1
2 <- Insert "\n"
3
```
Before:
```
[visible text]
1
2 <- Layout invalidated
3 <- Layout _NOT_ invalidated, missing new line.
```
Now:
```
[visible text]
1
2 <- Layout invalidated
<- Layout invalidated
3 <- Layout invalidated
```
Adds a new test case for this.
### Related Issues
### Checklist
- [x] I read and understood the [contributing guide](https://github.com/CodeEditApp/CodeEdit/blob/main/CONTRIBUTING.md) as well as the [code of conduct](https://github.com/CodeEditApp/CodeEdit/blob/main/CODE_OF_CONDUCT.md)
- [x] The issues this PR addresses are related to each other
- [x] My changes generate no new warnings
- [x] My code builds and runs on my machine
- [x] My changes are all related to the related issue above
- [x] I documented my code
### Screenshots
0 commit comments