New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to "open note in external editor" by double-clicking on it #913

Closed
Atreus-Tantalus opened this Issue May 16, 2018 · 7 comments

Comments

Projects
None yet
2 participants
@Atreus-Tantalus

Atreus-Tantalus commented May 16, 2018

Expected behaviour

I would like to have an option to open note in external editor by double-clicking on its title in note-list panel.

@pbek pbek added the question label May 16, 2018

@pbek

This comment has been minimized.

Owner

pbek commented May 16, 2018

I'm not sure why that would be a good idea...
You can right click on the note and use the menu entry or you could use the shortcut Ctrl+Shift+O to do the same.

@Atreus-Tantalus

This comment has been minimized.

Atreus-Tantalus commented May 16, 2018

I always use external editor to edit my notes, so double-click would be bit faster. It would be nice if you could add option, if it woudn't take you too much time. :)

@pbek

This comment has been minimized.

Owner

pbek commented May 16, 2018

At most I can create a scripting hook for double-clicking notes if you are writing a script to open the current note in an external editor.

You can take https://github.com/qownnotes/scripts/blob/master/external-note-diff/external-note-diff.qml as example to do that. http://docs.qownnotes.org/en/develop/scripting/README.html will help you too...

@pbek pbek added enhancement scripting and removed question labels May 16, 2018

@Atreus-Tantalus

This comment has been minimized.

Atreus-Tantalus commented May 17, 2018

It would be great if you could add double-click hook for scripting! :)

Thanks!

@pbek pbek added this to the 18.05.4 milestone May 17, 2018

@pbek

This comment has been minimized.

Owner

pbek commented May 17, 2018

I will

@pbek

This comment has been minimized.

Owner

pbek commented May 17, 2018

18.05.4

  • added a new scripting hook noteDoubleClickedHook(note) that is called every
    time a note is double clicked in the note list
@pbek

This comment has been minimized.

Owner

pbek commented May 17, 2018

There now is a new release, could you please test it and report if it works for you?

@pbek pbek closed this May 20, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment