Home » Community » Coffee corner » Great (and funny) Linus' speach about GIT
Re: Great (and funny) Linus' speach about GIT [message #13524 is a reply to message #13522] |
Fri, 11 January 2008 19:04 |
|
mirek
Messages: 13979 Registered: November 2005
|
Ultimate Member |
|
|
mdelfede wrote on Fri, 11 January 2008 12:44 |
luzr wrote on Fri, 11 January 2008 18:37 |
Generally, undo works on pretty low level - there are only two basic operations supported by editor - insert and remove. Both store records to undo queue.
In your case it would mean that if you perform your replace as "remove" / "insert", it should work... (I guess you will want to support selection reformatting as well, so this is more than natural IMO).
|
So, to reformat all editor code I should do a 'remove' of a selection of full code, then insert a new one... ok. Is it possible to group 2 operations in 1 undo step ? So, if I undo the change, I don't have on first undo the code fully erased ?
|
Yes, sorry, forgot to mention. Steps are grouped by "serial id". If you call NextUndo, you start another undo block. Actually, these things are even documented, see TextCtrl documentation.
Mirek
|
|
|
|
|
Great (and funny) Linus' speach about GIT
By: unodgs on Tue, 18 December 2007 22:48
|
|
|
Re: Great (and funny) Linus' speach about GIT
By: mr_ped on Wed, 19 December 2007 13:59
|
|
|
Re: Great (and funny) Linus' speach about GIT
By: fudadmin on Wed, 09 January 2008 19:09
|
|
|
Re: Great (and funny) Linus' speach about GIT
By: mirek on Wed, 09 January 2008 21:58
|
|
|
Re: Great (and funny) Linus' speach about GIT
By: fudadmin on Thu, 10 January 2008 01:31
|
|
|
Re: Great (and funny) Linus' speach about GIT
By: fudadmin on Thu, 10 January 2008 07:54
|
|
|
Re: Great (and funny) Linus' speach about GIT
By: mdelfede on Thu, 10 January 2008 12:16
|
|
|
Re: Great (and funny) Linus' speach about GIT
By: fudadmin on Thu, 10 January 2008 18:14
|
|
|
Re: Great (and funny) Linus' speach about GIT
By: mdelfede on Thu, 10 January 2008 18:36
|
|
|
Re: Great (and funny) Linus' speach about GIT
By: zsolt on Thu, 10 January 2008 19:11
|
|
|
Re: Great (and funny) Linus' speach about GIT
By: mdelfede on Thu, 10 January 2008 19:18
|
|
|
Re: Great (and funny) Linus' speach about GIT
By: zsolt on Thu, 10 January 2008 19:36
|
|
|
Re: Great (and funny) Linus' speach about GIT
By: fudadmin on Thu, 10 January 2008 19:31
|
|
|
Re: Great (and funny) Linus' speach about GIT
By: mirek on Thu, 10 January 2008 17:30
|
|
|
Re: Great (and funny) Linus' speach about GIT
By: mr_ped on Thu, 10 January 2008 14:04
|
|
|
Re: Great (and funny) Linus' speach about GIT
By: mdelfede on Thu, 10 January 2008 16:24
|
|
|
Re: Great (and funny) Linus' speach about GIT
By: mirek on Thu, 10 January 2008 17:36
|
|
|
Re: Great (and funny) Linus' speach about GIT
By: fudadmin on Thu, 10 January 2008 18:48
|
|
|
Re: Great (and funny) Linus' speach about GIT
By: mr_ped on Thu, 10 January 2008 21:04
|
|
|
Re: Great (and funny) Linus' speach about GIT
By: mdelfede on Thu, 10 January 2008 21:34
|
|
|
Re: Great (and funny) Linus' speach about GIT
By: fudadmin on Fri, 11 January 2008 01:14
|
|
|
Re: Great (and funny) Linus' speach about GIT
By: mirek on Fri, 11 January 2008 09:03
|
|
|
Re: Great (and funny) Linus' speach about GIT
By: fudadmin on Mon, 14 January 2008 04:55
|
|
|
Re: Great (and funny) Linus' speach about GIT
By: mirek on Mon, 14 January 2008 11:36
|
|
|
Re: Great (and funny) Linus' speach about GIT
By: mirek on Thu, 10 January 2008 22:55
|
|
|
Re: Great (and funny) Linus' speach about GIT
By: mirek on Thu, 10 January 2008 22:58
|
|
|
Re: Great (and funny) Linus' speach about GIT
By: mr_ped on Fri, 11 January 2008 09:43
|
|
|
Re: Great (and funny) Linus' speach about GIT
By: mdelfede on Fri, 11 January 2008 11:12
|
|
|
Re: Great (and funny) Linus' speach about GIT
By: mirek on Fri, 11 January 2008 12:27
|
|
|
Re: Great (and funny) Linus' speach about GIT
By: mdelfede on Fri, 11 January 2008 14:05
|
|
|
Re: Great (and funny) Linus' speach about GIT
By: mirek on Fri, 11 January 2008 14:29
|
|
|
Re: Great (and funny) Linus' speach about GIT
By: mdelfede on Fri, 11 January 2008 16:09
|
|
|
Re: Great (and funny) Linus' speach about GIT
By: zsolt on Fri, 11 January 2008 17:46
|
|
|
Re: Great (and funny) Linus' speach about GIT
By: mirek on Fri, 11 January 2008 18:04
|
|
|
Re: Great (and funny) Linus' speach about GIT
By: mdelfede on Fri, 11 January 2008 18:19
|
|
|
Re: Great (and funny) Linus' speach about GIT
By: mirek on Fri, 11 January 2008 18:37
|
|
|
Re: Great (and funny) Linus' speach about GIT
By: mdelfede on Fri, 11 January 2008 18:44
|
|
|
Re: Great (and funny) Linus' speach about GIT
By: mirek on Fri, 11 January 2008 19:04
|
|
|
Re: Great (and funny) Linus' speach about GIT
By: zsolt on Fri, 11 January 2008 19:03
|
|
|
Re: Great (and funny) Linus' speach about GIT
By: mirek on Fri, 11 January 2008 18:06
|
|
|
Re: Great (and funny) Linus' speach about GIT
By: fudadmin on Fri, 11 January 2008 15:38
|
|
|
Re: Great (and funny) Linus' speach about GIT
By: mirek on Fri, 11 January 2008 12:10
|
|
|
Re: Great (and funny) Linus' speach about GIT
By: mirek on Fri, 11 January 2008 12:21
|
Goto Forum:
Current Time: Mon May 13 12:26:48 CEST 2024
Total time taken to generate the page: 0.02142 seconds
|