Releases: bdewey/TextMarkupKit
Releases · bdewey/TextMarkupKit
v0.7.2
v0.7.1
Styles & sample app
Changed
ParsedAttributedString.Settingsrenamed toParsedAttributedString.Style
Added
- A built-in style for MiniMarkdown text,
MiniMarkdownGrammer.defaultEditingStyle() - A sample application to show TextMarkupKit in use
ParsedAttributedStringFormatter
Added ParsedAttributedStringFormatter and AnyParsedAttributedStringFormatter to control string formatting.
MarkupFormattingTextView
Adds MarkupFormattingTextView to simplify creating a UITextView with formatting determined by a ParsedAttributedString
Delete old files
Fixes compiler errors in 0.4.0 from old files left in the package.
v0.4.0
PieceTable.sliceCount
Added
- Added
PieceTable.sliceCount
Performance: Memoize text storage string
Fixed
- Performance! Memoizing the string in the text storage is a big boost.
Fix typing bug
Fixed
- Fixed bug that manifested in crashes while typing. The underlying problem is I was mutating nodes that "belonged" to result objects with no way to update the enclosing result. The fix was to make a copy of the node before mutating. I might want to make Node be a struct but I'm not ready to do that investigation yet.