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

[FTL] Improve Fluent source editor with syntax highlighting, error annotations #531

Closed
mathjazz opened this issue Sep 17, 2019 · 3 comments

Comments

@mathjazz
Copy link
Owner

This issue was created automatically with bugzilla2github.

Bug 1581911

Bug Reporter: @mathjazz
CC: @stasm, [email protected]

As part of fixing bug 1563457 we replaced Ace Editor with <textarea> element in order to support all scripts properly.

While that fixed the bug, it also removed syntax highlighting and error annotations from Fluent source editor.

We should find a solution similar to Ace Editor, that will support:

  1. All scripts.
  2. Fluent syntax highlighting.
  3. Fluent error annotations.
  4. (If possible) browser's spell- and grammar checkers (bug 1556355).
@mathjazz
Copy link
Owner Author

Comment Author: @mathjazz

A potential candidate with support for varying character widths is https://codemirror.net/.

@mathjazz
Copy link
Owner Author

Comment Author: Florencia Di Ciocco, NI to vbalducci <[email protected]>

*** Bug #1586556 has been marked as a duplicate of this bug. ***

@mathjazz
Copy link
Owner Author

Comment Author: @stasm

Another candidate to consider might be Monaco, which powers VS Code: https://microsoft.github.io/monaco-editor/index.html

@mathjazz mathjazz closed this as completed Sep 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant