[issue6858] This is a python file, apply syntax highlighting
Terry J. Reedy
report at bugs.python.org
Mon Sep 12 03:09:29 EDT 2016
Terry J. Reedy added the comment:
There exists a <<toggle-auto-coloring>> bound (at least on Windows) to ^/. When toggled off, it does not removes existing highlighting. So accidentally hitting the key has no immediate visible effect (see #27170 for problem this caused someone.) It does re-highlight existing code when toggled on. The turn off part should be fixed and maybe a status bar message given.
It only applies to .py files. With a .txt, it selects the entire file, including the trailing blank (which ^A omits). For this issue, it should be fixed to allow for any file, just starting off for non .py files.
It is one of many key bindings not in doc or not on menu. #28097 is about this general issue.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6858>
_______________________________________
More information about the Python-bugs-list
mailing list