Hi Siergiej,
I have downloaded your revision 1002 as a diff file and applied it to the main branch.
Undo and redo seem to be working, but I have been able to generate a GTK warning in the following cases.
Case 1 ----------------------- Create new / empty pad Press CTRL-Z
Case 2 ---------------------- Create a pad with text Quit Xpad Start Xpad Press CTRL-Z
This generates the following error message.
GtkSourceView-CRITICAL: gtk_source_buffer_real_undo: assertion 'gtk_source_undo_manager_can_undo (buffer->priv->undo_manager)' failed
You think you can prevent/fix this warning of being generated?
Hi Siergiej,
I have downloaded your revision 1002 as a diff file and applied it to the main branch.
Undo and redo seem to be working, but I have been able to generate a GTK warning in the following cases.
Case 1 ------- ------- --
-------
Create new / empty pad
Press CTRL-Z
Case 2 ------- ------- -
-------
Create a pad with text
Quit Xpad
Start Xpad
Press CTRL-Z
This generates the following error message.
GtkSourceView- CRITICAL: gtk_source_ buffer_ real_undo: assertion 'gtk_source_ undo_manager_ can_undo (buffer- >priv-> undo_manager) ' failed
You think you can prevent/fix this warning of being generated?