Skip to content

Commit

Permalink
Preparing for release
Browse files Browse the repository at this point in the history
  • Loading branch information
bordaigorl committed Oct 5, 2016
1 parent 4ca18ef commit 21f4176
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 18 deletions.
19 changes: 5 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ See [Commands](#commands) and the [wiki] for details.

## What's new

**v2.7.2**

+ Fix: patching Evernote's SDK to make it compatible with ST 3126 on Linux (fixes #150)

**v2.7.1**

+ Fix: solved incompatibility with [Markdown Preview](https://packagecontrol.io/packages/Markdown%20Preview) plugin (fixes #119)
Expand All @@ -41,20 +45,7 @@ See [Commands](#commands) and the [wiki] for details.
+ **Open note**: accept links as `note_guid` and offer options to load from clipboard/prompt (see [wiki](https://github.com/bordaigorl/sublime-evernote/wiki/The-Open-Note-Command))
+ **Insert Note Link**: now accepts `template` and `to` arguments

**v2.7.0**

+ Added Delete Note command
+ Added Delete Attachment command
+ Added `default_template` settings to customise new note template
+ CSS style for `body` customises style for the whole note
+ New setting `tab_prefix` to add tag to tab of a note
+ Added Create Notebook command
+ Added Revert to version on Evernote command
+ Pygments updated to 2.0.2 (solves conflict with OmniMarkupPreviewer see #106)
+ Fix: embedded metadata is updated when note's info is modified by other clients (#112 see [wiki][wiki-meta])
+ Fix: better warn on close behaviour

For earlier versions see the [wiki](https://github.com/bordaigorl/sublime-evernote/wiki/Changelog).
See the [Changelog](https://github.com/bordaigorl/sublime-evernote/wiki/Changelog) for the full list.

# Installation

Expand Down
7 changes: 3 additions & 4 deletions sublime_evernote.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

from base64 import b64encode, b64decode

EVERNOTE_PLUGIN_VERSION = "2.7.1"
EVERNOTE_PLUGIN_VERSION = "2.7.2"
USER_AGENT = {'User-Agent': 'SublimeEvernote/' + EVERNOTE_PLUGIN_VERSION}

EVERNOTE_SETTINGS = "Evernote.sublime-settings"
Expand Down Expand Up @@ -821,10 +821,10 @@ def do_search(query):
if note_guid:
if note_guid == "prompt":
self.window.show_input_panel("Note GUID or link:", "", lambda x: self.open_note(x, **kwargs), None, None)
return
return
elif note_guid == "clipboard":
note_guid = sublime.get_clipboard(2000)

self.open_note(note_guid, **kwargs)
return

Expand All @@ -836,7 +836,6 @@ def do_search(query):
if isinstance(by_searching, dict):
p.run_command("insert_snippet", {"contents": by_searching.get("snippet", "")})
return

if from_notebook or with_tags:
notes_panel(self.find_notes(search_args, max_notes), not from_notebook)
elif len(notebooks) == 1:
Expand Down

0 comments on commit 21f4176

Please sign in to comment.