Home
Top.Mail.Ru Yandeks.Metrika
Forum: "Main";
Current archive: 2002.01.08;
Download: [xml.tar.bz2];

Down

Word processor Find similar branches


Smuggler   (2001-12-18 14:01) [0]

The people, tell me, pliz, how to do in the UNDO subject on the principle of Word, i.e. so that you can cancel not one, but several recent actions. If it is possible, throw ...



fag2000@ok.ru   (2001-12-18 14:12) [1]

It is necessary to remember the actions of the user and in the case of cancellation to produce the reverse of them.



Vasay   (2001-12-18 15:10) [2]

In my opinion, it is better to memorize text states (not all actions are reversible)



fag2000@ok.ru   (2001-12-18 16:16) [3]

and if the document is large and there are other objects in it?



Виктор Щербаков   (2001-12-18 16:40) [4]

1) Implement class - action
2) Teach a text editor to work with these actions.
2) Implement container class - action history.

After each user action, save the reverse action in the container.
When UNDO - extract them one by one and send it to the editor.

It is better to simply warn the user about irreversible actions.
Let him save himself if he wants.



Pages: 1 whole branch

Forum: "Main";
Current archive: 2002.01.08;
Download: [xml.tar.bz2];

Top





Memory: 0.55 MB
Time: 0.021 c
7-22451
Dmitri
2001-09-23 12:36
2002.01.08
Directive {$ I}


1-22016
Leviathan
2001-12-13 23:05
2002.01.08
Appearance form


1-22165
g
2001-12-20 20:18
2002.01.08
creating and placing a logo on the form


3-21928
kaif
2001-12-04 17:42
2002.01.08
arithmetic overflow or string truncation with Restore


4-22490
SergeyDonetsk
2001-11-06 09:22
2002.01.08
As on API, you can know Handle Canvas and set





afrikaans albanian Arabic armenian azerbaijani basque belarusian bulgarian catalan Chinese (Simplified) Chinese (Traditional) croatian Czech danish Dutch English estonian filipino finnish French
galician georgian German greek haitian Creole hebrew Hindi hungarian icelandic Indonesian Irish italian Japanese Korean latvian lithuanian macedonian malay maltese norwegian
persian polish portuguese Romanian russian serbian slovak Slovenian Spanish swahili Swedish Thai turkish Ukrainian urdu Vietnamese welsh yiddish bengali bosnian
cebuano Esperanto gujarati hausa hmong igbo javanese kannada Khmer lao latin maori marathi mongolian nepali punjabi somali tamil telugu yoruba
zulu
English French German Italian Portuguese Russian Spanish