mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 23:07: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 selController = this.selectionController;
|
||||||
let caretmode = selController.getCaretEnabled();
|
let caretmode = selController.getCaretEnabled();
|
||||||
selController.setCaretEnabled(true);
|
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]))
|
if (range.startOffset > 0 && !/\s/.test(range.startContainer.textContent[range.startOffset - 1]))
|
||||||
selController.wordMove(false, false);
|
selController.wordMove(false, false);
|
||||||
|
|
||||||
|
|||||||
@@ -189,7 +189,7 @@ function Hints() //{{{
|
|||||||
{
|
{
|
||||||
if (elem.id)
|
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);
|
let label = buffer.evaluateXPath("//label[@for='" + elem.id + "']", doc).snapshotItem(0);
|
||||||
if (label)
|
if (label)
|
||||||
return [label.textContent.toLowerCase(), true];
|
return [label.textContent.toLowerCase(), true];
|
||||||
|
|||||||
@@ -157,7 +157,7 @@ const config = { //{{{
|
|||||||
|
|
||||||
hasTabbrowser: true,
|
hasTabbrowser: true,
|
||||||
|
|
||||||
//TODO : Write intro.html and tutorial.html
|
// TODO : Write intro.html and tutorial.html
|
||||||
// they are sorted by relevance, not alphabetically
|
// they are sorted by relevance, not alphabetically
|
||||||
helpFiles: [
|
helpFiles: [
|
||||||
"intro.html", /*"tutorial.html",*/ "starting.html", "player.html",
|
"intro.html", /*"tutorial.html",*/ "starting.html", "player.html",
|
||||||
|
|||||||
@@ -626,7 +626,7 @@ function Player() // {{{
|
|||||||
lastSearchIndex = lastSearchIndex + 1;
|
lastSearchIndex = lastSearchIndex + 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
//FIXME: Implement for "?" --ken
|
// FIXME: Implement for "?" --ken
|
||||||
commandline.echo("/" + lastSearchString, null, commandline.FORCE_SINGLELINE);
|
commandline.echo("/" + lastSearchString, null, commandline.FORCE_SINGLELINE);
|
||||||
focusTrack(lastSearchView.getItemByIndex(lastSearchIndex));
|
focusTrack(lastSearchView.getItemByIndex(lastSearchIndex));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user