Click or drag to resize
1.4.0

Version 1.4.0 was released on 2015-06-22.

New Features
  • Added default styles serializable property to HyperText. If you select HyperText.cs, you can set a value here that will be assigned to any new HyperText instance when it is first created.
  • Added InputTextSource property to HyperText. If assigned, the OutputText property of this object will be rendered on the HyperText instance.
  • Added LocalizableText asset type to demonstrate use of HyperText.InputTextSource. You can access it from Assets -> Create -> Candlelight -> Localizable Text.
  • Added missing method HyperText.GetTagKeywordCollections().
  • Added Get/SetQuadKeywordCollections() to HyperText and HyperTextProcessor so you can now substitute quads in for text (e.g., emoticons).
  • Added ability to match punctuation in keywords.
  • Added method signatures for IList getters that perform no/fewer allocations:
    • HyperText.GetLinkHitboxes()
    • HyperText.GetLinkKeywordCollections()
    • HyperTextProcessor.GetCustomTags()
    • HyperTextProcessor.GetLinkKeywordCollections()
    • HyperTextProcessor.GetLinks()
    • HyperTextProcessor.GetQuads()
    • HyperTextProcessor.GetTagKeywordCollections()
    • HyperTextStyles.GetCascadedCustomTextStyles()
    • HyperTextStyles.GetCascadedLinkStyles()
    • HyperTextStyles.GetCascadedQuadStyles()
    • HyperTextStyles.GetCustomTextStyles()
    • HyperTextStyles.GetLinkStyles()
    • HyperTextStyles.GetInheritedStyles()
    • HyperTextStyles.GetQuadStyles()
  • Changed method signatures for IList setters to take any IEnumerable<T> and perform no allocations unless needed to grow lists:
    • HyperText.SetLinkKeywordCollections()
    • HyperText.SetTagKeywordCollections()
    • HyperTextProcessor.SetLinkKeywordCollections()
    • HyperTextProcessor.SetTagKeywordCollections()
    • HyperTextStyles.SetLinkStyles()
    • HyperTextStyles.SetCustomTextStyles()
    • HyperTextStyles.SetInheritedStyles()
    • HyperTextStyles.SetQuadStyles()
Changes
  • Made some old method signatures that performed allocations obsolete.
  • Library updates.
Bug Fixes
  • Fixed bug causing inherited quad styles to render at the wrong size if the parent style sheet used a different font size.
See Also