[Github-comments] [geany/geany] Add default filenames (.clone[X]) to cloned documents (#1197)

konsolebox notifications at xxxxx
Tue Aug 30 11:01:26 UTC 2016


This is an alternative (which I find better) to https://github.com/geany/geany/pull/1191.

When cloning documents, a filename that's similar to the original - with a `.clone` extension appended to it, is given to the clone.  The new filename is unique.  It starts first with `filename.clone`.  If the filename exists or is used by another document, a number is appended to it (e.g. `.clone1`), which increments until a unique filename is found.

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

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

-- Commit Summary --

  * Give '.cloneX' filenames to cloned documents
  * Add documentation
  * Use locale-encoded string when testing if file exists

-- File Changes --

    M doc/geany.txt (6)
    M src/document.c (46)

-- Patch Links --

https://github.com/geany/geany/pull/1197.patch
https://github.com/geany/geany/pull/1197.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/1197
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160830/023b6a84/attachment.html>


More information about the Github-comments mailing list