Skip to content

Commit

Permalink
enable sync scroll math2001#8
Browse files Browse the repository at this point in the history
  • Loading branch information
math2001 committed Jan 11, 2017
1 parent 3b920f4 commit 37703e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion MLPApi.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ def show_html(md_view, preview):
lambda href: sublime.run_command('open_url',
{'url': href}))

return
# set viewport position
# 0 < y < 1
y = md_view.text_to_layout(md_view.sel()[0].begin())[1] / md_view.layout_extent()[1]
Expand Down
2 changes: 2 additions & 0 deletions sample.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,6 @@ if DEBUG:

> Only a fool knows everything. A wise man knows how little he knows
Hello world

The only think I know right now is that Boxy Theme's just awesome.

0 comments on commit 37703e9

Please sign in to comment.