Qt5.6 C++ JavaScript editor widget w/ syntax highlighting, auto-formatting, code folding, paren and brace matching, plus other typical IDE code editor features. To see how this is used, see RegExIDE repository, which also includes a duktape-based execution environment.