mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 16:57:59 +01:00
Fix some heinous comment formatting errors.
This commit is contained in:
@@ -1030,7 +1030,7 @@ function Buffer() //{{{
|
||||
let selController = this.selectionController;
|
||||
let caretmode = selController.getCaretEnabled();
|
||||
selController.setCaretEnabled(true);
|
||||
//Only move backwards if the previous character is not a space.
|
||||
// Only move backwards if the previous character is not a space.
|
||||
if (range.startOffset > 0 && !/\s/.test(range.startContainer.textContent[range.startOffset - 1]))
|
||||
selController.wordMove(false, false);
|
||||
|
||||
|
||||
@@ -189,7 +189,7 @@ function Hints() //{{{
|
||||
{
|
||||
if (elem.id)
|
||||
{
|
||||
//TODO: (possibly) do some guess work for label-like objects
|
||||
// TODO: (possibly) do some guess work for label-like objects
|
||||
let label = buffer.evaluateXPath("//label[@for='" + elem.id + "']", doc).snapshotItem(0);
|
||||
if (label)
|
||||
return [label.textContent.toLowerCase(), true];
|
||||
|
||||
@@ -157,7 +157,7 @@ const config = { //{{{
|
||||
|
||||
hasTabbrowser: true,
|
||||
|
||||
//TODO : Write intro.html and tutorial.html
|
||||
// TODO : Write intro.html and tutorial.html
|
||||
// they are sorted by relevance, not alphabetically
|
||||
helpFiles: [
|
||||
"intro.html", /*"tutorial.html",*/ "starting.html", "player.html",
|
||||
|
||||
@@ -626,7 +626,7 @@ function Player() // {{{
|
||||
lastSearchIndex = lastSearchIndex + 1;
|
||||
}
|
||||
|
||||
//FIXME: Implement for "?" --ken
|
||||
// FIXME: Implement for "?" --ken
|
||||
commandline.echo("/" + lastSearchString, null, commandline.FORCE_SINGLELINE);
|
||||
focusTrack(lastSearchView.getItemByIndex(lastSearchIndex));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user