Skip to content

Commit

Permalink
fix: Fix issues with token capture and string handling
Browse files Browse the repository at this point in the history
Fixed the issue where values starting with a number or float in the name were being captured as a number instead of a string. Also made the equal sign optional for the Conditionstate.
  • Loading branch information
ViTeXFTW committed May 5, 2024
1 parent 4cd6eea commit 6bf3bdc
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
14 changes: 11 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,17 @@

All notable changes to the "ZH-HiLi" extension will be documented in this file.

## [Unreleased]
## [1.0.3]
### Fixed
- Object: Conditionstate now gets captured correctly even if there isn't an equal sign after it.
- Property: Fixed issue where string starting with #f got captured as a number instead of a string.

## [1.0.2]
### Added
- Misc: File with to many end statement now gets marked as illigal

### Fixed
- Misc: Updated string capture so that vscode built in completion works

## [1.0.0-beta.1]

Expand All @@ -15,8 +25,6 @@ All notable changes to the "ZH-HiLi" extension will be documented in this file.
### Changed
- Misc Classes: Redesigned syntax capture file to use look ahead/behind.



## [0.2.0]

### Added
Expand Down
Binary file added ZH-HiLi-Releases/ZS-HiLi-1.0.3.vsix
Binary file not shown.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"displayName": "ZeroSyntax-Highlight",
"description": "Syntax highlighting for Zero Hour map.ini",
"icon": "./images/icon.png",
"version": "1.0.2",
"version": "1.0.3",
"publisher": "ViTeXFTW",
"author": {
"name": "ViTeXFTW",
Expand Down

0 comments on commit 6bf3bdc

Please sign in to comment.