Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Improve error handling of format functions #9

Open
lucaswerkmeister opened this issue May 13, 2017 · 0 comments
Open

Improve error handling of format functions #9

lucaswerkmeister opened this issue May 13, 2017 · 0 comments
Milestone

Comments

@lucaswerkmeister
Copy link
Owner

The ceylon-format-* functions wipe the region/buffer empty if there is an error (e. g. because the selection was not a valid declaration), because shell-command-on-region replaces the region regardless of error and ceylon format --pipe doesn’t write anything to stdout in that case. It’s easy enough to undo (C-x u), but still not ideal.

Originally part of #8.

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

No branches or pull requests

1 participant