|
From: | JD Smith |
Subject: | bug#47657: python-shell font-lock with multi-line input: runaway fontification buffer length |
Date: | Mon, 12 Apr 2021 09:18:13 -0400 |
Pasting multiple lines constitutes a single command for post-command-hook. In that case you would not expect to see any repeated lines.
(let* ((input (buffer-substring-no-properties prompt-end (point-max))) Line-at-a-time also won’t be able to handle editing lines before the last. On emacs-devel Stefan has been helpful with some ideas to perform font lock in-place in the shell buffer, which is working well in my tests. I’m using that as part of a package to implement true multi-line editing (ala iPython). |
[Prev in Thread] | Current Thread | [Next in Thread] |