aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorYuan Fu2025-07-08 23:14:20 -0700
committerYuan Fu2025-07-08 23:39:36 -0700
commit564b947745b2a685edcd93eb8f0d8825352030b8 (patch)
tree4bfc18858f7f46f7e3685a893e1f48acb9237f40 /java
parentc4674bfa3ae830eedf3d1c2b27fe623e11e7fb25 (diff)
downloademacs-564b947745b2a685edcd93eb8f0d8825352030b8.tar.gz
emacs-564b947745b2a685edcd93eb8f0d8825352030b8.zip
Add a synchronous way to get parser change ranges (bug#78402)
This commit only adds the new function, the fix for the bug is in the next commit. * doc/lispref/parsing.texi (Using Parser): Add docs. * lisp/treesit.el (treesit): Add shortdoc. * src/treesit.c (treesit_get_affected_ranges): New function extracted from treesit_call_after_change_functions. (treesit_call_after_change_functions): Extract out. (treesit_ensure_parsed): Return affected regions. (Ftreesit_parser_changed_regions): New function that returns the affected regions.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions