Skip to content
Permalink
Browse files

Added enable and disable hints to custom bramble commands

  • Loading branch information...
marcobeltempo committed Jan 6, 2018
1 parent c8d2bd4 commit 7fc13441b534979ec97f11a37a3b9658fc4b534a
Showing with 8 additions and 0 deletions.
  1. +8 −0 src/extensions/default/bramble/lib/RemoteCommandHandler.js
@@ -109,6 +109,14 @@ define(function (require, exports, module) {
PreferencesManager.set("allowJavaScript", false);
PostMessageTransport.reload();
break;
case "BRAMBLE_ENABLE_HINTS":
PreferencesManager.set("allowHints", true);
PostMessageTransport.reload();
break;
case "BRAMBLE_DISABLE_HINTS":
PreferencesManager.set("allowHints", false);
PostMessageTransport.reload();
break;
case "BRAMBLE_ENABLE_WHITESPACE":
PreferencesManager.getExtensionPrefs("denniskehrig.ShowWhitespace").set("enabled", true);
break;

0 comments on commit 7fc1344

Please sign in to comment.
You can’t perform that action at this time.