[Github-comments] [geany/geany] Adds hidden preference 'always_set_from_selected' [...] (#2697)

Edgar notifications at xxxxx
Mon Dec 21 09:13:35 UTC 2020


See issue #2693.

Adds hidden preference 'always_set_from_selected' (editable in the various preferences) which always updates the search phrase in search dialogs with selected text after reopening the dialog (esp. using shortcuts), since default behaviour is to insert selected text as search phrase only if the dialog was not already opened before.

(Previous, closed PL: #2695)

---

I noticed the _geany.html_ is automatically updated, so I only edited _geany.txt_. The change now applies to all search dialogs (Find, Find in Files and Replace) because I think it would be confusing if the preference would only apply to Find and Replace.

@elextr I played around wit git and created a dedicated branch for this Pull Request only, I hope I have done all correct.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Adds hidden preference 'always_set_from_selected' (editable in the various preferences) which always updates the search phrase in search dialogs with selected text after reopening the dialog (esp. using shortcuts), since default behaviour is to insert selected text as search phrase only if the dialog was not already opened before.

-- File Changes --

    M doc/geany.txt (10)
    M src/keyfile.c (4)
    M src/search.c (12)
    M src/search.h (1)

-- Patch Links --

https://github.com/geany/geany/pull/2697.patch
https://github.com/geany/geany/pull/2697.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/2697
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20201221/853a7e8d/attachment.htm>


More information about the Github-comments mailing list