HomePhabricator

Add a button to toggle syntax highlighting in Quarry

Description

Add a button to toggle syntax highlighting in Quarry

Made an event using jQuery to set the editor variable to null and
setting the editor variable back as a way of toggling syntax highlighting.
Utilizes CodeMirror's .toTextArea method to change the editor to a standard text editor.

Bug: T147711
Change-Id: If351800a1417fc85f8c4904de6b414064c9636d8

Details

Provenance
Safan41Authored on Dec 31 2019, 1:54 AM
Parents
rANQW90a1befd42eb: query-status.html: fix compiled.js
Branches
Unknown
Tags
Unknown
References
refs/changes/41/561241/9
ChangeId
If351800a1417fc85f8c4904de6b414064c9636d8