systeminit/si

Syntax highlighting breaks when opening a function after viewing an asset schema

Octogonapus opened this issue · 1 comments

What happened?

Syntax highlighting can break if you open a function in a particular way, described below.

2023-08-18.17-47-01.mp4

How can we reproduce this?

  1. View an asset schema
  2. Click on the tab of an open function
  3. Observe syntax highlighting has broken

Notably, this does not break:

  1. View the tab of an open function
  2. Click on the tab of another open function
  3. Observe syntax highlighting has not broken

Operating system

Linux

Architecture

x86_64 / amd64

What browsers are you seeing the problem on?

Firefox

Code of Conduct

  • I agree to follow this project's Code of Conduct

Additional context

No response

Closed via #2697