Skip to content

Releases: ianharper/Sublime-Text-MVBasic-Syntax

Bug Fix

15 Jan 17:05
9825254

Choose a tag to compare

  • Syntax highlighting for "subroutine" statements wasn't picking up the subroutine name that follows because it was requiring that the subroutine statement start at the beginning of the line. If there was an indent this wouldn't match. The fix allows the subroutine statement to be indented.
  • Fixed copy-paste error that showed QM Basic in the syntax list as D3 Basic.

Changed scope for builtin functions/statements

15 Jan 03:17

Choose a tag to compare

Changes for D3 and QM:

  • The scope for builtin functions and statements has been changed from entity.name.* to support.function.*. This better conforms with the way Sublime is setup (which involves the goto definition functionality).
  • An association between external subroutine calls and the subroutine statement has been created. You can now goto the external subroutine by pressing F12 when the caret is on the subroutine name of a call statement. The subroutine will been to be opened in another tab or contained within the project for this to work.

Updated QM syntax

19 Dec 05:22

Choose a tag to compare

Updated QM syntax with fixes that were included in the previous release for D3.

Bug fixes: incorrect highlighting and word separators

17 Dec 20:11

Choose a tag to compare

Fixed Bugs for D3:

  • Variables with partial matching to keywords were highlighted.
  • goto definition wasn't working because "." were seen as word separators. This also allows selecting a whole word with ctrl + d to work for MV variables.

Other Changes:

  • Enhanced the syntax test.
  • Added highlighting of numeric literals.

Removed "." word separators and syntax fixes

14 Dec 05:29

Choose a tag to compare

  • Enabled syntax specific settings for D3 which will labels and variables with "." to be treated as a single symbol.
  • Fixed bug where new scopes wouldn't be pushed onto the stack resulting in code with little highlighting (no comments or strings).
  • Renamed the syntax scopes which will better conform to standards in Sublime.
  • "(" after functions will not be highlighted.

Fix for line labels

13 Dec 16:54
3402627

Choose a tag to compare

Fix line labels

The line labels were showing the whole line in the symbol list. This fix corrects that and better conforms to the documentation regarding allowed characters in line labels.

Enhanced Syntax Highlighting

13 Dec 07:17
1748410

Choose a tag to compare

Enhanced the syntax highlighting and added tests for the syntax.

Reformatted for package-control

10 Dec 23:13

Choose a tag to compare

  • Reorganized into dirs for each MV distro.
  • Removed .cache files.
  • Added .gitignore with *.cache
  • Added MIT License

First Release

10 Dec 18:04
5c54646

Choose a tag to compare

This is the first release of my syntax, indentation, and snippets for MultiValue BASIC. There's a lot more that I'd like to do but I've been using this with D3 for some time now so I figured I'd get this into the Sublime Package Manager.