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:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user