[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#61529: 30.0.50; tree-sitter: weird off-by-one error but only in css-
From: |
Eli Zaretskii |
Subject: |
bug#61529: 30.0.50; tree-sitter: weird off-by-one error but only in css-ts-mode(?) with `treesit-node-at' |
Date: |
Fri, 17 Feb 2023 08:16:33 +0200 |
> Date: Thu, 16 Feb 2023 23:34:58 +0200
> Cc: Eli Zaretskii <eliz@gnu.org>, 61529@debbugs.gnu.org
> From: Dmitry Gutov <dgutov@yandex.ru>
>
> +If no such node is found, but a leaf node ends at POS, it's
> +returned.
Passive tense alert! This is better:
If no such node exists, but there's a leaf node which ends at POS,
return that node.