[issue27170] IDLE: remove Toggle Auto Coloring or add to edit menu & doc

2016-10-08 Thread Terry J. Reedy

Terry J. Reedy added the comment:

Toggling syntax highlighting is part of #6858.  Adding it to menu and doc is 
part of #28097

--
assignee:  -> terry.reedy
components: +IDLE -2to3 (2.x to 3.x conversion tool)
resolution:  -> duplicate
stage: test needed -> resolved
status: open -> closed
superseder:  -> IDLE: document all key bindings, add menu items for more.
versions: +Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27170] IDLE: remove Toggle Auto Coloring or add to edit menu & doc

2016-09-11 Thread Terry J. Reedy

Changes by Terry J. Reedy :


--
Removed message: http://bugs.python.org/msg275976

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27170] IDLE: remove Toggle Auto Coloring or add to edit menu & doc

2016-09-11 Thread Terry J. Reedy

Terry J. Reedy added the comment:

Being able to toggle syntax color on for non-py files would satisfy request 
#22038.  Note that toggle off does not de-colorize, but toggle on colorizes 
existing code.  However, in text file, it selects entire file (^a plus last 
blank line).  Must be pre-existing tk binding.  Pycharm uses to comment a line.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27170] IDLE: remove Toggle Auto Coloring or add to edit menu & doc

2016-09-11 Thread Terry J. Reedy

Terry J. Reedy added the comment:

#15308 added Interrupt Execution to Shell menu.  Pretty easy

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27170] IDLE: remove Toggle Auto Coloring or add to edit menu & doc

2016-05-31 Thread Terry J. Reedy

Terry J. Reedy added the comment:

Looking more, there are lots of editor bindings that are not on the menu that 
are more important than this.  Example: Center insert, ^L, scrolls text to 
bring insert cursor as close to the middle of the window as possible.  It does 
move the position of the cursor within the doc.  I discovered the existence of 
this and determined its actual behavior by reading the code.

Some are listed in the doc, section '2. Editing and navigation'. Anything that 
can be user configured can be discovered, but not everything is.

If this feature is kept, it should be on a submenu with other missing items.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue27170] IDLE: remove Toggle Auto Coloring or add to edit menu & doc

2016-05-31 Thread Terry J. Reedy

New submission from Terry J. Reedy:

On Stackoverflow, person asked why syntax coloring sometimes stopped working, 
seemingly at random.  
https://stackoverflow.com/questions/37511276/how-to-make-python-idle-editor-to-change-line-colors-according-to-the-color-map

The OP finally traced the problem to hitting ctrl-/ because of habit from using 
PyCharm, which bind ^/ to something else.  In IDLE, cntrl-/ is bound to 
<>, but that is not easy to discover.  (If I ever halfway 
knew about it, I had forgotten.)  There is no menu entry and, I am sure, no 
mention in the doc. There is only the hard-to-search list in the Keys tab of 
the configuration dialog.  T think that this feature should either be visible 
on the menu and documented and enhanced, or deleted.

I am currently inclined to delete it as I cannot see hardly any use, and doubt 
that is sees real use, especially by beginners. It only affects the current 
window.  It only affects future keystrokes (and pasted text), leaving current 
colorization as is.  There is no indication that coloring is off until one 
types something that should be colored, and many will not know all the fine 
details.  (This is why the SO OP had trouble pinning down the trigger.)  If the 
toggle is kept, there should be an indication added to the status bar.

Searching all IDLE issues for 'toggle' returned 24 hits, none for color.  I 
should check hg annotate for the author of the code and issue #, if not part of 
the original submission.

--
components: 2to3 (2.x to 3.x conversion tool)
messages: 266773
nosy: terry.reedy
priority: normal
severity: normal
stage: test needed
status: open
title: IDLE: remove Toggle Auto Coloring or add to edit menu & doc
type: behavior
versions: Python 3.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com