From 3e3d3012fb5c31b4b9226e10c4b1e6938b8bc309 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Fri, 6 Jan 2012 00:50:24 -0500 Subject: [PATCH] Fix horrific run-on sentence in :help 'ln'. --- common/locale/en-US/options.xml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/common/locale/en-US/options.xml b/common/locale/en-US/options.xml index ea8cc04d..19912972 100644 --- a/common/locale/en-US/options.xml +++ b/common/locale/en-US/options.xml @@ -1062,12 +1062,15 @@

PatternsĀ used to determine line numbers used by G. May be - either a selector expression as accepted by hinttags, in - which case the first matching element whose text content is equal to - the desired line number is used or the countth element - failing that, or the string func: followed by a - function which, given arguments for the document and desired line - number, must return the target element. + either a selector expression as accepted by hinttags, or the + string func: followed by a JavaScript + expression which evaluates to a function. In the former case, the + first matching element whose text content is equal to the desired + line number is used. If no such element exists, the countth + matching element is used. In the latter case, the provided function + must accept two arguments, the document in question and the desired + line number, and must return the element corresponding to the given + line.