-
Notifications
You must be signed in to change notification settings - Fork 2
issue 10: view several sessions same time #171
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
base: master
Are you sure you want to change the base?
issue 10: view several sessions same time #171
Conversation
- implemented MapItems class - replaced the use of a QListWidget instance by a QTreeWidget instance
- added getitem_pattern and getattr_pattern - updated ipython_cell_executed()
…last executed command
larray_editor/editor.py
Outdated
@@ -873,38 +873,34 @@ def ipython_cell_executed(self): | |||
self.select_array_item(last_input) | |||
return | |||
|
|||
# check if expression of the kind '<varname>[(...)] (...)' or '<varname>.<attribute> (...)' | |||
varname = itemname = None | |||
m = getitem_pattern.match(last_input) |
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.
I don't know whether it is actually needed to check for setXXX patterns explicitly (previously the idea was to have setXXX for free from the getXXX pattern IIRC), but not checking at all for the getXXX pattern will introduce a slight regression AFAICT : it will not select the array (in the tree widget) if you type "income['M']" but will select it if you type "income". Did you intentionally remove that feature or was it an oversight?
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.
Hehe, I just checked and this didn't work previously. 😉 I wonder if we should support that or not.
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.
arr1 = ndtest((3, 4))
arr2 = ndtest((3, 4, 5))
arr1['b0']
Not yet finished but I'm starting to get stuck in some difficulties and lack of specifications for which I need help.
To know what is working or not, see comment #10 (comment)
There are also TODOs in the code.