When deleting empty line, the caret jumps to the end of next line and editor scrolls all to the right:
Steps to reproduce
Paste this code
func collision_avoidance() -> Vector2:
var avoidance_force: Vector2
var left = physics.raycast(left_collision_start.global_position, left_collision_end.global_position)
if not left:
left = get_world_2d().direct_space_state.intersect_ray(left_collision_start.global_position, left_collision_end.global_position, [self], Const.ENEMY_COLLISION_LAYER, false, true)
if left.collider is BaseBuilding:
print("kill")
Godot version
3.3
System information
W10
Issue description
When deleting empty line, the caret jumps to the end of next line and editor scrolls all to the right:
Steps to reproduce
Paste this code
Minimal reproduction project
No response