Re: [gedit-list] Gedit 3.6.2 Undo History



Hey Sebastian, what a coincidence. This has you name on it lol...

Found this by Google'ing for the difference between those 2 options for "Undo" and I found this:

        -----------------------------------------------------------------------------
commit f1aff46f2bf0b870702ac58b7da24dbfb63d609e
Author: Sébastien Wilmet <swilmet gnome org>
Date:   2013-11-04

    Remove deprecated setting undo-actions-limit

    Deprecated since 2.12. Use max-undo-actions instead.
        -----------------------------------------------------------------------------

I thought the "Author" in there looked familiar... So that explains which one does what.

Thanks Again,
Matt



-----Original Message-----
From: gedit-list [mailto:gedit-list-bounces gnome org] On Behalf Of Matt Martin
Sent: Friday, June 13, 2014 11:24 AM
To: Sébastien Wilmet
Cc: gedit-list gnome org
Subject: Re: [gedit-list] Gedit 3.6.2 Undo History

Hey Sebastian, thanks for the reply!

You were right, it was in the dconf-editor. I thought I looked in there yesterday, but could NOT find Gedit 
settings anywhere. I'm just realizing now that I was actually looking in the "gconf-editor" NOT 
"dconf-editor"... 
Gedit settings were located at the following in dconf-editor:
        org > gnome > gedit > preferences > editor > max-undo-actions --> "2000"
        org > gnome > gedit > preferences > editor > undo-actions-limit --> "25"

In the dconf-editor, in the locations above, there were actually 2 spots claiming to hold the "Undo Limit", 
as you can see above. 
If I run the command below, I get the following (*BTW, any idea why it shows the same settings 3 times, is 
that per user or something?):
        # gsettings list-recursively | grep -i gedit | grep -i undo
        org.gnome.gedit.preferences.editor max-undo-actions 2000
        org.gnome.gedit.preferences.editor undo-actions-limit 25
        org.gnome.gedit.preferences.editor max-undo-actions 2000
        org.gnome.gedit.preferences.editor undo-actions-limit 25
        org.gnome.gedit.preferences.editor max-undo-actions 2000
        org.gnome.gedit.preferences.editor undo-actions-limit 25

Since it seemed as though I could ONLY undo a few things at a time, I'm assuming the "undo-actions-limit" is 
what actually controls the number of "Undo's, which was set to ONLY 25...
So I edited both of the values anyway, to the following:
        org.gnome.gedit.preferences.editor max-undo-actions --> 4000
        org.gnome.gedit.preferences.editor undo-actions-limit --> 10000

It said for the "undo-actions-limit" that if you use "-1" it will set it to unlimited, but apparently that 
has been deprecated since version 2.12.0...

Will Gedit need to be restarted to take these new values for "undo"?

Thanks AGAIN for the reply, very much appreciated!

Thanks Again,
Matt


-----Original Message-----
From: Sébastien Wilmet [mailto:sebastien wilmet gmail com] On Behalf Of Sébastien Wilmet
Sent: Friday, June 13, 2014 6:48 AM
To: Matt Martin
Cc: gedit-list gnome org
Subject: Re: [gedit-list] Gedit 3.6.2 Undo History

Hi,

On Thu, 2014-06-12 at 22:08 +0000, Matt Martin wrote:
So my question is, is it possible to change how big the undo buffer is for Gedit?

Yes, use gsettings or dconf-editor.

--
Sébastien

_______________________________________________
gedit-list mailing list
gedit-list gnome org
https://mail.gnome.org/mailman/listinfo/gedit-list


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]