madskristensen / MIDL

A Visual Studio extension
Apache License 2.0
24 stars 5 forks source link

Syntax highlighting doesn't work in tabs mode #23

Open JaiganeshKumaran opened 2 years ago

JaiganeshKumaran commented 2 years ago

Describe the bug If you indent using tabs instead of spaces, keywords and types aren't highlighted. This issue doesn't exist if the keyword isn't indented.

To Reproduce Steps to reproduce the behavior:

  1. Open an IDL file.
  2. Change to tabs mode.
  3. See the issue.

Expected behavior Keywords should be highlighted correctly.

Screenshots

With tabs

Screenshot 2022-11-01 at 18 46 42

With spaces

Screenshot 2022-11-01 at 18 48 11

Additional context Extension version: 1.0.44. Visual Studio version: 17.4.0 Preview 5.0 (ARM 64-bit)