Skip to content

Conversation

@lhecker
Copy link
Member

@lhecker lhecker commented Jan 21, 2026

  • Use io::Error for OS error handling
    (This results in some added bloat, but is more convenient for now.)
  • Add an icu error type
  • Move apperr from the library into the binary

This also sneaks in a minor improvement to sorting.
The only two places we need to sort, don't need stable sorting.
(Unstable sorting is a lot faster and simpler.)

Comment on lines +2850 to +2853
if damage_start == CoordType::MAX {
// There weren't any undo/redo entries.
return;
}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To be honest, I forgot why added this. I think it was so that I don't unnecessarily invalidate the text highlight cache.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants