The main idea is to save the session file list more often to prevent
accidental lost but saving the rest of the configuration might help
as well.
To prevent too many save attempts, an idle function is used and it's
only added once until it was executed.
This might help #1826, #1426 and replaces #1860.
IIRC at the very beginning I was a bit concerned about IO access and performance when writing the settings too often. At least performance doesn't seem to be a problem: `configuration_save` takes about 1-2 milliseconds on my system and IO access happens in the document-related actions in any way.
Even though I tested the code, I would like to use it "in production" for some time to get sure there are no unseen side effects or similar.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/2114
-- Commit Summary --
* Save main and project configuration whenever documents are opened/closed
-- File Changes --
M src/keyfile.c (38)
-- Patch Links --
https://github.com/geany/geany/pull/2114.patchhttps://github.com/geany/geany/pull/2114.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/2114
If I change the current project's 'base path' setting, refreshing the project organizer should first re-read that setting before crawling the directory structure.
--
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-plugins/issues/901
Changed sci_wrapper.c::sci_set_multipaste() from hardcoded value SC_MULTIPASTE_EACH to function parameter val.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/2328
-- Commit Summary --
* Changed the scintilla default from SC_MULTIPASTE_ONCE to SC_MULTIPASTE_EACH - fixes the paste only one line when a vertical selection is selected.
* Update Editor.cxx
* Moved scintilla SC_MULTIPASTE_EACH default setting to Geany.
* Merge branch 'multipaste' of https://github.com/AdamDanischewski/geany into multipaste
* Update sciwrappers.h
* Update Editor.cxx
* Update sciwrappers.c
-- File Changes --
M src/editor.c (3)
M src/sciwrappers.c (4)
M src/sciwrappers.h (165)
-- Patch Links --
https://github.com/geany/geany/pull/2328.patchhttps://github.com/geany/geany/pull/2328.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/2328
Project Organizer has a "Search in full path" checkbox in the "Find Project File" dialog.
The value of the checkbox is lost when Geany is re-opened, it will go back to unchecked.
Ideally the value should be remembered, as many (but not all) developers will have a preference for it being checked.
--
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-plugins/issues/908
It would be great to be able to right click on any directory in the organizer and have an option to create a new file (blank, or from one of the templates) in there. It'd ask a filename, and if a template had been chosen the default would be based on the name of that template.
--
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-plugins/issues/894
Fixes #1363.
Similar to #1750, this disables pref widgets that are overridden by an open project. (It doesn't disable the frame label). Instead of editing a translatable label, this adds an info image next to the frame/widget label. A tooltip is set to show when the mouse is over the label or the image. This doesn't try to change the tooltip for disabled widgets, I didn't find a way to implement that easily and cleanly.
![image](https://user-images.githubusercontent.com/1107820/65428866-103ec100-de0d-11e9-91b1-dc038082b1ee.png)
This approach can also be used to indicate which prefs are overridden by document-specific settings.
ATM this only affects the 'Saving files' prefs, but I can add the others.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/2316
-- Commit Summary --
* Prefs dialog: Disable overridden pref widgets when project is open
-- File Changes --
M data/geany.glade (32)
M src/prefs.c (9)
-- Patch Links --
https://github.com/geany/geany/pull/2316.patchhttps://github.com/geany/geany/pull/2316.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/2316