Fix "InvalidOperationException: Trying to build visual line from collapsed line" when the start of a folding section is hidden by a different element generator than the FoldingElementGenerator. (e.g. TruncateLongLines)
Fixed performance bug when pressing Backspace - we were unnecessarily building the visual line for the intermediate state where the previous character is selected but not deleted.