I’ve noticed that, for some reason, view.show_popup
doesn’t work when the caret is at position 0 in a widget.
examples of widgets:
- an input panel e.g.
window.show_input_panel('test', 'placeholder text', None, None, None)
- the console input
- the find panel etc.
for example, using the built in show_scope_name
command, bound to ctrl+alt+shift+p by default on Windows - nothing happens if you press Home first in one of the aforementioned widgets, but it starts working after you move to position 1 etc. by pressing → and then running the show_scope_name
command.
setting view.settings().set('is_widget', False)
seems to make no difference