The ConfirmSave gtkide config should restore the J6 behaviour if set
to 1. I leave it off and save the file on any change.

You can restore a script to its saved state with menu Script|Restore,
and you can browse through all today's changes with Script|Snapshots.

On Fri, Mar 11, 2011 at 7:26 AM, bill lam <[email protected]> wrote:
> I think this is expected, because dirty flag is set if any editing has
> happened, and dirty flag is not reset by undo.  At least vi also behaves
> in the same manner.
>
> undo/redo require gtksourceview which is bundled in gtk binary download
> from jsoftwaer for winodws and mac.  Gtk for linux came from linux itself,
> and gtksourceview is a separated package from gtk binary.  If there is no
> menu item for 'toggle line numbers' under the edit menu, it means
> gtksourceview is not installed.
>
>
> Чтв, 10 Мар 2011, David Mitchell писал(а):
>> One issue I have seen with JGTK Ctrl-z is that if I issue enough ctrl-z's to
>> undo all changes, the editor still thinks that the file is changed and tries 
>> to
>> save it on exit.
>>
>> On 3/10/2011 14:09, Ric Sherlock wrote:
>> > Ctrl-z and Ctrl-y seem to work fine for me both in Edit and Term windows.
>> >     JVERSION
>> > Engine: j701/2011-01-10/11:25
>> > Library: 7.01.047
>> > Platform: Linux 64
>> > Installer: j701a_linux64.sh
>> > InstallPath: /usr/local/lib/j64_701
>> >     'search' jpkgv 'ide/gtk gui/gtk'
>> > ┌───────┬──────┬──────┬───────┐
>> > │gui/gtk│1.0.60│1.0.60│GTK API│
>> > │ide/gtk│1.0.69│1.0.69│GTK IDE│
>> > └───────┴──────┴──────┴───────┘
>> >
>> >
>> > On Fri, Mar 11, 2011 at 6:10 AM, Don Guinn<[email protected]>  wrote:
>> >> When editing a file and one wants to undo text just entered it would be 
>> >> nice
>> >> to support an undo such as Ctrl-z as in J6. In addition, Menu item 
>> >> File/Quit
>> >> should not save the script.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to