mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 18:32:25 +01:00
add 'jsdebugger' option
for javascript completion
This commit is contained in:
@@ -1289,6 +1289,20 @@ const Completion = Module("completion", {
|
||||
}, {
|
||||
EVAL_TMP: "__liberator_eval_tmp"
|
||||
})
|
||||
}, {
|
||||
options: function () {
|
||||
options.add(["jsdebugger", "jsd"],
|
||||
"Switch on/off jsdebugger",
|
||||
"boolean", false, {
|
||||
setter: function(value) {
|
||||
if (value)
|
||||
services.get("debugger").on();
|
||||
else
|
||||
services.get("debugger").off();
|
||||
},
|
||||
getter: function () services.get("debugger").isOn
|
||||
});
|
||||
},
|
||||
});
|
||||
|
||||
// vim: set fdm=marker sw=4 ts=4 et:
|
||||
|
||||
@@ -1347,5 +1347,18 @@
|
||||
</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<tags>'jsd' 'jsdebugger'</tags>
|
||||
<spec>'jsdebugger' 'jsd'</spec>
|
||||
<type>boolean</type>
|
||||
<default>off</default>
|
||||
<description>
|
||||
<p>
|
||||
Use javascript debugger service at the completion list.
|
||||
More list is shown up when it is on.
|
||||
</p>
|
||||
</description>
|
||||
</item>
|
||||
|
||||
</document>
|
||||
<!-- vim:se sts=4 sw=4 et: -->
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
* add the *DOMLoad* autocommand event
|
||||
* add 'online' option
|
||||
* add 'smtpserver' option
|
||||
* add 'jsdebugger' option - switch on/off javascript debugger service
|
||||
|
||||
2009-03-29
|
||||
* version 0.5
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
* asciidoc is no longer required to build Vimperator
|
||||
* the help system is newly modularized
|
||||
* remove [c]:edit[c], [c]:tabedit[c], and [c]:winedit[c]
|
||||
* add 'jsdebugger' option - switch on/off javascript debugger service
|
||||
|
||||
2009-10-28:
|
||||
* version 2.2
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
* add [c]:displaypane[c] and [c]:dpclose[c]
|
||||
* rename [c]:filter[c] to [c]:queue[c] and [c]:Filter[c] to [c]:filter[c]
|
||||
* add 'repeat' and 'shuffle'
|
||||
* add 'jsdebugger' option - switch on/off javascript debugger service
|
||||
|
||||
2009-03-28:
|
||||
* version 0.1
|
||||
|
||||
Reference in New Issue
Block a user