Repository navigation
bpo-27099: IDLE - Convert built-in extensions to regular features #2494
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
5c57faf
d49170f
8c3a966
757bb38
d7e136c
b178af5
2adebb9
86c3d4c
1c246fc
0418ad0
097a0d8
4232e77
a7b29f5
e30b7b4
252672b
999b573
1a74591
3501c45
232f711
f095c53
a661bfa
5c90a8f
5a6a007
709b434
b9b1f9a
8b76ccb
b986c12
f86acaa
5805462
165b548
aee5d02
cb161bd
dc09a2b
100463e
3fbaa90
60ff82f
e3f6f16
a253f0c
fe8eb7a
caa7774
c29184e
c62f726
d0e009f
9e889c2
6afdea3
7de27db
a2e76a7
2265b53
03eed24
207b0ca
00acd22
2d2bfbd
fe76cd3
d2966e0
6845bb0
b7afebb
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -440,9 +440,9 @@ def GetExtensions(self, active_only=True, | |
| extns = self.RemoveKeyBindNames( | ||
| self.GetSectionList('default', 'extensions')) | ||
| for extn in ['AutoComplete','CodeContext','FormatParagraph','ParenMatch']: | ||
| extns.remove(extn) | ||
| extns.remove(extn) | ||
| # specific exclusions because we are storing config for mainlined old | ||
| # extensions in config-extensions.def for backward compatibility | ||
| # extensions in config-extensions.def for backward compatibility | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Right code, wrong place. For me, IDLE startup failed because I have customized AutoComplete.popupwait and therefore have an AutoComplete entry in config-extensions.cfg, which resulted in AutoComplete being added back to extns by the next 4 lines. Problem fixed by moving exclusions after extns building is complete. |
||
| userExtns = self.RemoveKeyBindNames( | ||
| self.GetSectionList('user', 'extensions')) | ||
| for extn in userExtns: | ||
|
|
@@ -683,7 +683,7 @@ def GetCoreKeys(self, keySetName=None): | |
| else: | ||
| for event in keyBindings: | ||
| if event not in {'<<try-open-calltip>>','<<try-open-completions>>','<<paren-closed>>'}: | ||
| # do not allow calltips, etc. events/keys to be configured. | ||
| # do not allow calltips, etc. events/keys to be configured. | ||
| binding = self.GetKeyBinding(keySetName, event) | ||
| if binding: | ||
| keyBindings[event] = binding | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"""Complete attribute name or file name.
Either on demand or after a user-selected delay after a key character, pop up a list of candidates.
"""
Note no return after initial quote.