Add the convenience function wrapParagraph, which uses a BreakIterator to wrap
a paragraph of text by using a predicate to check that the lines are acceptable
(e.g. within a given length). The BreakIterator is expected to be a line
breaker. This may be inefficient depending on the predicate (e.g. the upcoming
patch has to convert the string to a wxString each time to check the length
against a wxStyledTextCtrl), so we will probably add a different version which
queries a callback to find an arbitrary length value per-character.
Show active runtime errors in the source code view, line wrapped according to
the size of the source viewer. There are a few problems with SourceFilePanel's
use of annotations, including:
- Setting an annotation on a line overwrites existing annotations.
- Annotation line wrapping needs to be updated when the panel is resized.