I use macOS and, from Scala, I like to call the default text editor on text files. I want the user to be able to edit/modify the file, and be called back / notified in any form when this editing is finished, thus the editor quit. Alternatively, a notification on any modification after saving (in particular the first) would do the job. Ideally there would be a notification when the external process is actually finished since the text file is only created temporarily by my app.

closed as off-topic by Mark, Ɱark Ƭ, StrawHara, nohillside Apr 23 '18 at 12:57

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions about software development are off-topic here, but can be asked on Stack Overflow." – Mark, Ɱark Ƭ, StrawHara, nohillside
If this question can be reworded to fit the rules in the help center, please edit the question.

  • This is complex as the editor is not under control of the calling code so you need notifications etc. It would be much easier to use a java editor./text widget that you can call and control – Mark Apr 22 '18 at 19:53

Browse other questions tagged .