[Github-comments] [geany/geany] Ask whether to open new files from command-line (#2369)

Nick Treleaven notifications at xxxxx
Fri Oct 18 11:34:11 UTC 2019


I sometimes try to open a file from a terminal and pass the wrong path. Asking the user to confirm the new file solves this problem, they can easily press escape to cancel the new document.

Occasionally I might use a glob that turns out to be wrong too, creating many unwanted new documents. So I made cancelling a new document ignore any remaining new filenames passed to Geany.

![image](https://user-images.githubusercontent.com/1107820/67089763-58e56200-f1a0-11e9-9dd3-133a0b0ac3b7.png)

You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany/pull/2369

-- Commit Summary --

  * Ask whether to open new files from command-line
  * If new document cancelled, ignore remaining new filenames

-- File Changes --

    M src/libmain.c (24)

-- Patch Links --

https://github.com/geany/geany/pull/2369.patch
https://github.com/geany/geany/pull/2369.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/2369
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20191018/8054ae11/attachment.html>


More information about the Github-comments mailing list