mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 22:47:59 +01:00
Delete some stale comments.
--HG-- extra : rebase_source : 509c4daaf6e61de833f454cc81d8a7e13752eb94
This commit is contained in:
@@ -52,7 +52,7 @@ var HintSession = Class("HintSession", CommandMode, {
|
|||||||
}
|
}
|
||||||
else if (this.validHints.length == 1 && !this.continue)
|
else if (this.validHints.length == 1 && !this.continue)
|
||||||
this.process(false);
|
this.process(false);
|
||||||
else // Ticket #185
|
else
|
||||||
this.checkUnique();
|
this.checkUnique();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -270,7 +270,6 @@ var Marks = Module("marks", {
|
|||||||
completion.mark = function mark(context) {
|
completion.mark = function mark(context) {
|
||||||
function percent(i) Math.round(i * 100);
|
function percent(i) Math.round(i * 100);
|
||||||
|
|
||||||
// FIXME: Line/Column doesn't make sense with %
|
|
||||||
context.title = ["Mark", "HPos VPos File"];
|
context.title = ["Mark", "HPos VPos File"];
|
||||||
context.keys.description = function ([, m]) percent(m.position.x) + "% " + percent(m.position.y) + "% " + m.location;
|
context.keys.description = function ([, m]) percent(m.position.x) + "% " + percent(m.position.y) + "% " + m.location;
|
||||||
context.completions = marks.all;
|
context.completions = marks.all;
|
||||||
|
|||||||
@@ -570,7 +570,6 @@ var IO = Module("io", {
|
|||||||
|
|
||||||
// go directly to an absolute path or look for a relative path
|
// go directly to an absolute path or look for a relative path
|
||||||
// match in 'cdpath'
|
// match in 'cdpath'
|
||||||
// TODO: handle ../ and ./ paths
|
|
||||||
if (File.isAbsolutePath(arg)) {
|
if (File.isAbsolutePath(arg)) {
|
||||||
io.cwd = arg;
|
io.cwd = arg;
|
||||||
dactyl.echomsg(io.cwd.path);
|
dactyl.echomsg(io.cwd.path);
|
||||||
@@ -788,7 +787,7 @@ unlet s:cpo_save
|
|||||||
else
|
else
|
||||||
modules.commandline.commandOutput(
|
modules.commandline.commandOutput(
|
||||||
template.tabular(["<SNR>", "Filename"], ["text-align: right; padding-right: 1em;"],
|
template.tabular(["<SNR>", "Filename"], ["text-align: right; padding-right: 1em;"],
|
||||||
([i + 1, file] for ([i, file] in Iterator(io._scriptNames))))); // TODO: add colon and remove column titles for pedantic Vim compatibility?
|
([i + 1, file] for ([i, file] in Iterator(io._scriptNames)))));
|
||||||
|
|
||||||
},
|
},
|
||||||
{ argCount: "0" });
|
{ argCount: "0" });
|
||||||
|
|||||||
Reference in New Issue
Block a user