1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-14 06:45:51 +01:00

Fix some heinous comment formatting errors.

This commit is contained in:
Doug Kearns
2009-06-08 22:36:09 +10:00
parent cc60df5bb7
commit f37a0a37b3
4 changed files with 4 additions and 4 deletions

View File

@@ -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);

View File

@@ -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];