TextEditorLibrary 1.3

Rating: No reviews yet
Downloads: 27
Released: Mar 22, 2014
Updated: Mar 22, 2014 by Bodgel
Dev status: Stable Help Icon

Recommended Download

Application TEL.dll
application, 54K, uploaded Mar 22, 2014 - 16 downloads

Other Available Downloads

Application TEL.pdb
application, 102K, uploaded Mar 22, 2014 - 3 downloads
Documentation TEL.html
documentation, 119K, uploaded Mar 22, 2014 - 8 downloads

Release Notes

Bug Fixes
  • Search in an empty Range always returns false.
  • The overloaded operator + between two Marks created a Range which referenced the passed Marks directly instead of taking copies, which could lead to confusing behaviour.
  • A Range may not be moved to a different Text.
  • Handling of unregistered Marks and Ranges has improved, so that if an unregistered Mark or Range may be invalid or in an unexpected location due to changes in the Text, it will be invalidated. An exception will be raised on any attempt to use an invalidated Mark or Range. It is possible for a valid Mark or Range to be invalidated because (a) no account is taken of the relative location of Text changes and (b) the list of unregistered objects is a bounded FIFO queue to avoid performance problems, with old items invalidated and dropped as necessary. If you have any issues with this (which is unlikely), you can use registered Marks and Ranges instead. Note that chaining of calls from an unregistered object works OK - for example text.LineEnd().Delete(-5).Insert("Hello").
  • A new static bool Pattern property Exact determines whether matching of text is exact (respecting case and diacritical marks) when the exact parameter is not passed to the static Pattern methods Text(string), AnyOf(string), AnyOf(string, PatternCount), AnyBut(string), Same(Range) and the implicit string to Pattern conversion. The default value of Exact is true, so the existing behaviour is preserved. Note that the setting of Exact is only effective at the time that the Pattern is created, not the time that a search is performed.

Reviews for this release

No reviews yet for this release.