Forum Archive

Auto fill/correct blowing up editor/app

polymerchm

This was an old problem, that sort of went away. I am working on a huge file (pythonista 3, non-beta) and am seeing it again. I will type

mainView['tableview_prog_display']

as I type a period after the closing brace to type in a method, pythonista crashes. This is a valid ui.TableView subview. This is just one example. Seems to always occur when adding/changing an instance method or instance variable

tlinnet

@polymerchm said:

]

Should that be:

mainView['tableview_prog_display']

with the extra gnyf ' ?

polymerchm

Yep. But thats not the issue.

omz

@polymerchm I think this is fixed in the beta. Would you be willing to give that a try?

polymerchm

Was on the 2 beta and have switched over to 3, so yes.

omz

@polymerchm I've sent a beta invite for Pythonista 3 to your forum account email address.

polymerchm

Sorry Ole. No Change. Still blows up. I uploaded this to my github www://github.com/polymerchm/ccMVC.git. Its the progressions branch. You do need pypubsub installed. For example line 705. Just try to erase the "hidden" and then re-type it. Poof.

omz

@polymerchm Thanks, I'll look into it.

JonB

As a temporary workaround, @polymerchm you could disable completion...

import editor
editor._get_editor_tab().editorView().completionProvider=None

disables completions altogether for the current editor tab, or

editor._get_editor_tab().editorView().completionProvider().fallbackCompletionProvider=None

disables jedi, which is probably the problem, while leaving built in module completion, import completion, etc.