Skip to content
This repository has been archived by the owner on Apr 1, 2020. It is now read-only.

Commit

Permalink
Symbol name in the dialog title
Browse files Browse the repository at this point in the history
  • Loading branch information
zrzka committed Oct 1, 2017
1 parent 6f9065b commit 284cd5e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## master (unreleased)

* Find usages contains symbol name in the dialog title
* Jump to definition contains symbol name in the dialog title


## 1.0.2 (2017-10-01)
Expand Down
4 changes: 2 additions & 2 deletions blackmamba/script/jump_to_definition.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def open_location(item, shift_enter):
_open_and_scroll(definition.module_path, definition.line)

v = PickerView()
v.name = 'Multiple definitions found'
v.name = '{} definitions'.format(definitions[0].name)
v.datasource = LocationDataSource(definitions)

v.shift_enter_enabled = False
Expand All @@ -89,7 +89,7 @@ def open_location(item, shift_enter):
'\n'
'Esc - close • Cmd . - close with Apple smart keyboard'
)
v.textfield.placeholder = 'Start typing to filter files...'
v.textfield.placeholder = 'Start typing to filter locations...'
v.did_select_item_action = open_location
v.present('sheet')
v.wait_modal()
Expand Down

0 comments on commit 284cd5e

Please sign in to comment.