Skip to content

Commit

Permalink
Adjust after a breaking change in the API in build 4096 (#1563)
Browse files Browse the repository at this point in the history
  • Loading branch information
rchl authored Jan 29, 2021
1 parent 2655340 commit 6e97661
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugin/goto.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
def open_location(window: sublime.Window, location: str, side_by_side: bool = True) -> None:
flags = sublime.ENCODED_POSITION
if side_by_side:
flags |= sublime.ADD_TO_SELECTION_SEMI_TRANSIENT
flags |= sublime.ADD_TO_SELECTION | sublime.SEMI_TRANSIENT
window.open_file(location, flags)


Expand Down
2 changes: 1 addition & 1 deletion stubs/sublime.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ HOVER_GUTTER = ... # type: int
HOVER_MARGIN = ... # type: int
ENCODED_POSITION = ... # type: int
TRANSIENT = ... # type: int
SEMI_TRANSIENT = ... # type: int
FORCE_GROUP = ... # type: int
ADD_TO_SELECTION_SEMI_TRANSIENT = ... # type: int
ADD_TO_SELECTION = ... # type: int
IGNORECASE = ... # type: int
LITERAL = ... # type: int
Expand Down

0 comments on commit 6e97661

Please sign in to comment.