diff options
author | kobarity <kobarity@gmail.com> | 2023-06-02 22:52:57 +0900 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2023-06-03 10:09:33 +0300 |
commit | 6b2c8dc9050c5c0514fa404733ce1d4a37d00e39 (patch) | |
tree | fe44b5ae27d89cccbcad97efda16fa063ac5fe1c /test/lisp/align-resources/align-pre.java | |
parent | 348e4504c6d5588443809ec28da3c3c693368e16 (diff) | |
download | emacs-6b2c8dc9050c5c0514fa404733ce1d4a37d00e39.tar.gz emacs-6b2c8dc9050c5c0514fa404733ce1d4a37d00e39.tar.bz2 emacs-6b2c8dc9050c5c0514fa404733ce1d4a37d00e39.zip |
Revert "Enhance Python font-lock to support multilines"
This reverts commit 4915ca5dd4245a909c046e6691e8d4a1919890c8.
We have found that there are performance issues when editing a large
file. The issue can be reproduced as follows:
1. emacs -Q
2. Open large Python file (e.g. turtle.py in Python)
3. Near the top of the buffer, enter open paren and some characters.
The above commit extends the region to be font-locked using
`python-nav-end-of-statement'. However, if there are unbalanced
parens, it may move point to the end of the buffer. This causes
almost the entire buffer to be font-locked, which is not acceptable
for large files.
Diffstat (limited to 'test/lisp/align-resources/align-pre.java')
0 files changed, 0 insertions, 0 deletions