Skip to content
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

Break trigger event #5

Open
TMDevel89 opened this issue Dec 24, 2020 · 1 comment
Open

Break trigger event #5

TMDevel89 opened this issue Dec 24, 2020 · 1 comment

Comments

@TMDevel89
Copy link

Is there a possibility in the script to cancel the triggered event?

For example: Event BeforeSave is triggered, Script A is called, Script A checks condition, condition is false > Script A aborts the save process

@MIvanchev
Copy link
Owner

No, this is also controlled by Notepad++ and I believe well outside the scope of the plugin API. It could be emulated by saving the previous content and restoring it if the script decides so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants