[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: |
Mickey Petersen |
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 07:24:42 +0000 |
User-agent: |
mu4e @VERSION@; emacs 30.0.50 |
Eli Zaretskii <eliz@gnu.org> writes:
>> 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.
Thanks, everyone. I think it's safe to say I misread the intent of the
function. It's safe to close this issue.