Skip to content

0.2.0

Compare
Choose a tag to compare
@jkuczm jkuczm released this 17 May 14:19
· 14 commits to master since this release

Backward incompatible changes

  • Removed public symbols: SyntaxBox, NormalizeAnnotationTypes, $SyntaxBoxToStyleBox #9, $BoxesToAnnotationTypes #12.
  • Changed behavior of AnnotateSyntax function:
    • new annotated syntax elements: strings #6, comments #8,
    • annotating Pattern #15 and MessageName #7 infix forms.
  • AnnotateSyntax options changes:
    • #9 "BoxRules" option was removed,
    • #12 "BoxesToAnnoattiontypes" was changed to "StringBoxToTypes".

New features

  • #9 "Annotation" option was added to AnnotateSyntax function.
    Its value is used as head of annotation box.
  • #18 "AnnotateComments" option was added to AnnotateSyntax function.
  • #4 Added support for Mathematica version 10.4.

Bugs fixed

  • #5 Symbol names with explicit contexts are now recognized.
  • #10 Box strings that are not names of System` symbols, but are parsed to System` symbols are no longer classified as undefined symbols.
  • #11 Symbols containing non-word characters are no longer omitted in local variable recognition.
  • #8 Comment boxes no longer interfere with annotating other syntax elements.
  • #13 Left hand sides of assignments are now properly annotated.
  • #14 Right hand side of assignments in With/Module/Block variable specifications are now properly annotated.
  • #14 Using function name, as local variable, in function which name is used, no longer causes annotation of name of outer function.
  • #16 Corrected treatment of "empty" arguments in local variables extraction.