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


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];


Memory: 0.56 MB
Time: 0.024 c
We answer immediately.
2001-12-04 14:07
Reading and Correcting Data from a Visual FoxPro 6.0 DBF Database

We answer immediately.
2001-12-04 17:42
arithmetic overflow or string truncation with Restore

We answer immediately.
2001-10-27 17:03
How to make your little proxy server?

We answer immediately.
2001-11-08 11:01
Programmer Forums

We answer immediately.
2001-12-19 10:07
How to pass a function parameter in a DLL.

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 Español 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
English French German Italian Portuguese Russian Spanish