Skip to content
This repository has been archived by the owner on Aug 14, 2022. It is now read-only.

Commit

Permalink
Refocus Atom on Evince Reverse Sync (#355)
Browse files Browse the repository at this point in the history
  • Loading branch information
yitzchak authored Mar 27, 2017
1 parent 75cb8c2 commit 0c440aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/openers/evince-opener.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const DBUS_NAMES = {

function syncSource (uri, point) {
const filePath = decodeURI(url.parse(uri).pathname)
atom.focus()
atom.workspace.open(filePath).then(editor => editor.setCursorBufferPosition(point))
}

Expand Down

0 comments on commit 0c440aa

Please sign in to comment.