[issue16198] IDLE - tabbing in a string always brings up file completion window

2020-06-07 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.10 -Python 3.6, Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue16198] IDLE - tabbing in a string always brings up file completion window

2017-06-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: I pushed a patch on another issue that fixed tabbing on lines after the first line within multiline strings. With 3.6, I verified that tabbing anywhere on the same line of an opening quote, except immediately after the quote, brings up the box. -- ve

[issue16198] IDLE - tabbing in a string always brings up file completion window

2016-07-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: It is intentional that be treated as a normal tab. The autocomplete_event tab handler begins with if hasattr(event, "mc_state") and event.mc_state: # A modifier was pressed along with the tab, continue as usual. return To fix the problem

[issue16198] IDLE - tabbing in a string always brings up file completion window

2015-11-24 Thread Tom F
Tom F added the comment: I've found this to be annoying as well especially in docstrings, hopefully this will help in the meantime. If you SHIFT + Tab it will at least resolve the problem of bringing up files and remains as the usual tab function. It makes me wonder if it is a bug at all thou

[issue16198] IDLE - tabbing in a string always brings up file completion window

2014-10-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: I have had problems entering docstrings because of this. Box should not come us when tab on successive lines. (There really should be autoindent, maybe this interferes.) -- stage: needs patch -> patch review versions: +Python 2.7, Python 3.5 -Python

[issue16198] IDLE - tabbing in a string always brings up file completion window

2012-10-14 Thread Roger Serwy
Roger Serwy added the comment: > I think that maybe tabs within strings should always do the same as within > comments. Perhaps one way is enough. (I am guessing that other editors use > for this, so I can see the desire to use it.) There needs to be a way > to get tabbing within multiline st

[issue16198] IDLE - tabbing in a string always brings up file completion window

2012-10-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: On windows, one tab brings up the box and in 3.2.3 and 2.7.3 also. Perhaps they should be revised also. The difference is that in those latter two, dismisses the box whereas in 3.3.0, it does not, making it even more obnoxious. Two more tabs inserts somethin

[issue16198] IDLE - tabbing in a string always brings up file completion window

2012-10-11 Thread Roger Serwy
Roger Serwy added the comment: Attached is a preliminary patch. It checks to see if the cursor is on a line within a multiline string in order to avoid displaying the ACW. As a last resort, it checks to make sure that a valid match exists before opening the ACW when mode == COMPLETE_FILES. A

[issue16198] IDLE - tabbing in a string always brings up file completion window

2012-10-11 Thread Roger Serwy
New submission from Roger Serwy: Pressing while the cursor is in a string will bring up the file completion dialog rather than inserting a tab (or 4 spaces). This behavior is rather annoying in a text editor especially when editing multiline doc strings. This behavior is new to the 3.3 series