repl: deprecate REPLServer.prototype.turnOffEditorMode
This commit exposes deprecates REPLServer.prototype.turnOnEditorMode()
which handles the necessary internal changes to enter editor modeREPLServer.prototype.turnOffEditorMode()
in the REPL, instead of having them scattered about and consolidates some duplicated code for turning on editor mode as a non-public function.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
documentation is changed or added -
commit message follows commit guidelines
Affected core subsystem(s)
repl, doc