python--treesit-syntax-propertize: Fix edits in the middle
authorDmitry Gutov <dmitry@gutov.dev>
Fri, 26 Jan 2024 01:00:04 +0000 (03:00 +0200)
committerDmitry Gutov <dmitry@gutov.dev>
Fri, 26 Jan 2024 01:00:23 +0000 (03:00 +0200)
commit737d46e04d73dbad84bf0225cebb1c936ff89365
tree80d26378f34651cd70eb54628007e5307d6c2b83
parent22a58fccb763da6ec52f4bea98f91647b71ee1f0
python--treesit-syntax-propertize: Fix edits in the middle

* lisp/progmodes/python.el (python--treesit-syntax-propertize):
Process the beginning and the end of the triple-quoted string's
delimiters separately.  Among other things, that still works when
the beginning is outside of the propertized region (bug#68445).
lisp/progmodes/python.el