mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2025-01-07 15:49:23 +03:00
💄
This commit is contained in:
parent
935ac5c1a0
commit
9006ab95fc
@ -173,8 +173,10 @@ class RootView extends View
|
||||
initialLine = options.initialLine
|
||||
path = project.relativize(path)
|
||||
if activePane = @getActivePane()
|
||||
editSession = activePane.itemForUri(path) if path
|
||||
editSession ?= project.open(path, {initialLine})
|
||||
if path
|
||||
editSession = activePane.itemForUri(path) ? project.open(path, {initialLine})
|
||||
else
|
||||
editSession = project.open()
|
||||
activePane.showItem(editSession)
|
||||
else
|
||||
editSession = project.open(path, {initialLine})
|
||||
|
Loading…
Reference in New Issue
Block a user