Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax highlighting is not updated when language is changed #1725

Open
thommeo opened this issue May 2, 2024 · 0 comments
Open

Syntax highlighting is not updated when language is changed #1725

thommeo opened this issue May 2, 2024 · 0 comments
Assignees
Labels

Comments

@thommeo
Copy link

thommeo commented May 2, 2024

Description

Syntax highlighting is not updated when language is changed

To Reproduce

  1. Create new note
  2. Add code block with language "javascript"
image
  1. Change language to bash. Observe syntax highlighting unchanged
image
  1. Edit the code. E.g. add a new line. Observe syntax updated.
image

After edit the syntax is updated for just the changed line

image

Expected behavior

The syntax highlighting is changed right after I press the "h" key as the last letter of "bash" word when replacing "javascript" with "bash" in the beginning of the code block.

FSNotes version

6.7.1 (621)

macOS/iOS version

14.2.1 (23C71)

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants