All Questions
2 questions
6
votes
1
answer
325
views
Syntax highlight narrowed python string literals as code
I have some python code, that has some long string literals containing more python code. These strings should most of the time be uniformly colored, as happens by default.
However, I would like to be ...
6
votes
3
answers
819
views
How to narrow to python class?
How can I narrow a buffer to the python class at point?
narrow-to-region works but requires first selecting the class as a region, and it seems python-mode has moved on since this was written:
http:/...