Closed
Bug 1581911
Opened 5 years ago
Closed 3 years ago
[FTL] Improve Fluent source editor with syntax highlighting, error annotations
Categories
(Webtools Graveyard :: Pontoon, enhancement, P3)
Webtools Graveyard
Pontoon
Tracking
(Not tracked)
RESOLVED
MOVED
People
(Reporter: mathjazz, Unassigned)
Details
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:
- All scripts.
- Fluent syntax highlighting.
- Fluent error annotations.
- (If possible) browser's spell- and grammar checkers (bug 1556355).
Reporter | ||
Comment 1•5 years ago
|
||
A potential candidate with support for varying character widths is https://codemirror.net/.
Comment 3•4 years ago
|
||
Another candidate to consider might be Monaco, which powers VS Code: https://microsoft.github.io/monaco-editor/index.html
Comment 4•3 years ago
|
||
*This bug has been moved to GitHub.* *Please check it out on https://github.com/mozilla/pontoon/issues.*
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → MOVED
Updated•3 years ago
|
Product: Webtools → Webtools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•