Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
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 ...
jmlorenzi's user avatar
  • 293
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:/...
Croad Langshan's user avatar