I guess I have become too accustomed to the behavior of my current favorite 
editor, Jedit.  It does reset its equivalent of the dirty flag if all actions 
are undone.

I have found that a nice way for an editor to behave.

On 3/10/2011 18:26, bill lam 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
>>>>
>>> ----------------------------------------------------------------------
>>> For information about J forums see http://www.jsoftware.com/forums.htm
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to