JPH03235167A - Text editing device - Google Patents

Text editing device

Info

Publication number
JPH03235167A
JPH03235167A JP2031265A JP3126590A JPH03235167A JP H03235167 A JPH03235167 A JP H03235167A JP 2031265 A JP2031265 A JP 2031265A JP 3126590 A JP3126590 A JP 3126590A JP H03235167 A JPH03235167 A JP H03235167A
Authority
JP
Japan
Prior art keywords
text
edit
editing
storage device
memory device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2031265A
Other languages
Japanese (ja)
Inventor
Yoshihiro Noguchi
喜洋 野口
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2031265A priority Critical patent/JPH03235167A/en
Publication of JPH03235167A publication Critical patent/JPH03235167A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To easily recover a text that is a result of edit in the text as an arbitrary stage where editing work is being performed by storing the text before edit and an inputted instruction, and adding sequentially change by the instruction on the text before edit. CONSTITUTION:This device is equipped with a before edit text memory device 1, an edit result memory device 2, an instruction memory device 3, and a text change device 4. When the present text that is the result of edit stored in the edit result memory device 2 is recovered at a certain time during edit to the text at a certain time before that, the text in the before edit text memory device 2 is duplicated on the edit result memory device 2 first. Secondarily, the instruction stored in the instruction memory device 3 is interpreted sequential ly with the text change device 4, and the text in the edit result memory device 2 is changed sequentially. Thereby, the text that is the result of the edit can be easily recovered in the text at the arbitrary stage where the editing work is being performed.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、コンピュータやワードプロセッサ等における
命令を入力して文章を編集する文章編集装置に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a text editing device that edits text by inputting instructions to a computer, word processor, or the like.

従来の技術 近年の半導体技術の進歩により、入力した文章に対して
入れ替えや削除、挿入、コピー等の編集を加えて出力す
ることが容易に行なえるようになった。従来のこの種の
文章編集装置は、−回の命令による文章の変換に対し、
変換以前の文章を毎回記憶することにより、必要であれ
ば前記文章の変更を取り消せるものであった。
BACKGROUND OF THE INVENTION Recent advances in semiconductor technology have made it easy to edit input text, such as replacing, deleting, inserting, copying, etc., and then outputting the edited text. Conventional text editing devices of this type have the ability to convert text using - times commands.
By storing the text before conversion each time, changes to the text can be canceled if necessary.

発明が解決しようとする課題 しかしながら、従来の文章編集装置では、二回以上の命
令による文章の変換に対し、変換以前の文章を復元する
ことができない問題点があった。
Problems to be Solved by the Invention However, in conventional text editing devices, there is a problem in that when a text is converted by two or more commands, it is not possible to restore the text before the conversion.

本発明は、このような従来の問題点を解決するものであ
り、編集以前の文章と入力した命令とを記憶し、編集以
前の文章に対して命令による変更を逐次加えることによ
り、編集結果の文章を編集作業中の任意の段階の文章に
復元できるようにした文章編集装置を提供することを目
的とする。
The present invention solves these conventional problems by storing the text before editing and the input commands, and by sequentially adding changes according to the commands to the text before editing, thereby changing the editing results. To provide a text editing device capable of restoring a text to a text at any stage during editing work.

課題を解決するための手段 本発明による文章編集装置は、前記目的を達成するため
に、編集以前の文章を記憶する編集前文章記憶装置と、
現在の編集結果の文章を記憶する編集結果記憶装置と、
入力命令を記憶する命令記憶装置と、命令を用いて文章
を変更する文章変更装置とを備えている。
Means for Solving the Problems In order to achieve the above object, the text editing device according to the present invention includes a pre-edited text storage device that stores the text before editing;
an editing result storage device that stores the text of the current editing result;
It is equipped with an instruction storage device that stores input instructions, and a text modification device that uses the instructions to modify the text.

作用 本発明は、前記した構成により、編集前記憶装置に記憶
された編集以前の文章に対し、命令記憶装置に記憶に記
憶された命令を用いて文章変更装置が変更を逐次行なう
ことにより、編集結果記憶装置に記憶された編集結果の
文章を編集作業中の任意の段階の文章中に復元すること
ができる。
Effect of the present invention With the above-described configuration, the text changing device sequentially changes the unedited text stored in the pre-editing storage device using the commands stored in the command storage device. The editing result text stored in the result storage device can be restored to the text at any stage during editing work.

実施例 図は、本発明の一実施例のブロック図である。Example The figure is a block diagram of one embodiment of the present invention.

図において、1は編集以前の文章を記憶する編集前文章
記憶装置、2は現在の編集結果を記憶する編集結果記憶
装置、3は入力した命令を記憶する命令記憶装置、4は
命令を用いて文章を変更する文章変更装置である。
In the figure, 1 is a pre-edited text storage device that stores sentences before editing, 2 is an editing result storage device that stores current editing results, 3 is an instruction storage device that stores input instructions, and 4 is a storage device that stores sentences before editing. This is a text changing device that changes texts.

次に前記実施例の動作について説明する。まず、編集作
業の開始時点では、編集前文章記憶装置1と編集結果記
憶装置2の命令とは等しく編集前の文章である。たとえ
ばキーボードによって人力された命令は、文章変更装置
4によって解釈され、その結果、編集結果記憶装置2の
文章が変更される。同時に、命令は命令記憶装置3に記
憶される。次に、編集中のある時点で編集結果記憶装置
2に記憶されている現在の編集結果の文章を、それ以前
のある時点における文章に復元する場合には、まず編集
前文章記憶装置1の文章を編集結果記憶装置2に複写す
る。次に命令記憶装置3に記憶されている命令を文章変
更装置4が逐次解釈して編集結果記憶装置2の文章を逐
次変更する。
Next, the operation of the above embodiment will be explained. First, at the start of the editing work, the commands in the pre-edited text storage device 1 and the edited result storage device 2 are equally unedited texts. For example, a command entered manually using a keyboard is interpreted by the text changing device 4, and as a result, the text in the editing result storage device 2 is changed. At the same time, the instructions are stored in the instruction storage device 3. Next, when restoring the current editing result sentence stored in the editing result storage device 2 at a certain point during editing to the sentence at a previous point in time, first the sentence in the unedited sentence storage device 1 is restored. is copied to the editing result storage device 2. Next, the text changing device 4 sequentially interprets the commands stored in the command storage device 3 and sequentially changes the text in the editing result storage device 2.

したがって、このような動作を行なうことにより、編集
作業の開始時点から現在までの任意の時点における文章
を、編集結果記憶装置2に復元することができる。
Therefore, by performing such an operation, it is possible to restore the text at any point in time from the start of the editing work to the present in the editing result storage device 2.

次に、本実施例における文章復元の手順を示す。次の表
1は文章変更装置4によって解釈および実行される命令
の一覧である。
Next, the procedure for text restoration in this embodiment will be described. Table 1 below lists the commands interpreted and executed by the text modification device 4.

表1 〉   編集点を右に一文字移動 編集点を左に一文字移動 m集魚の左の一文字を削除して編集点 を左に一文字移動 a、、、z  iii集点集魚にその文字を挿入法の表
2は編集作業の開始から終了までのkn集結果記憶装f
2の文章の変化と入力した命令とを示している。記号は
編集点の位置である。
Table 1 〉 Move the editing point one character to the right Move the editing point one character to the left m Delete one character to the left of the collection of fish and move the editing point one character to the left a,,,z iii Insert that character into the collection of fish Table 2 shows the kn collection result storage f from the start to the end of editing work.
It shows the changes in the sentence No. 2 and the input command. The symbol is the location of the edit point.

表2 編集結果記憶装置   命令 update         > > > >upd
ate         木* upte          > > upte 本 upt < upt                   sep
set この編集作業の終了時点における編集前文章記憶装置1
の内容は次の通りである。
Table 2 Editing result storage device Instruction update >>>>upd
ate wood* upte > > upte book upt < upt sep
set Unedited text storage device 1 at the end of this editing work
The contents are as follows.

update また、命令記憶装置3の内容は次の通りであく 寧 る。update The contents of the instruction storage device 3 are as follows. Ning Ru.

>>>>*木>>*<se 文章復元には、N集前記憶装置1の内容を編集結果記憶
装置2に複写し、命令記憶装置3に記憶された命令を文
章変更装置4が逐次解釈して変更を加える。その際の編
集結果記憶装置2の文章の変化は、編集時の文章の変化
と同一である。これにより編集結果記憶装置2の編集作
業の各段階における内容を復元することができる。
>>>>*Thursday>>*<se To restore the text, the contents of the N pre-collection storage device 1 are copied to the editing result storage device 2, and the text modification device 4 sequentially copies the instructions stored in the instruction storage device 3. Interpret and make changes. The changes in the text in the editing result storage device 2 at this time are the same as the changes in the text during editing. This makes it possible to restore the contents of the editing result storage device 2 at each stage of the editing work.

なお、本実施例の各装置をコンピュータの記憶装置に対
応させ、プログラム処理で実現しても同様な効果が得ら
れることは明らかである。
Note that it is clear that similar effects can be obtained even if each device of this embodiment is made to correspond to a computer storage device and realized by program processing.

発明の効果 以上のように、本発明による文章編集装置は、編集以前
の文章と入力した命令を記憶し、編集以前の文章に対し
て命令による変更を逐次加えるように構成したので、従
来の文章編集装置では困難であった編集結果の文章を編
集作業中の任意の段階の文章中に容易に復元することが
できる効果を有する。
Effects of the Invention As described above, the text editing device according to the present invention is configured to memorize the text before editing and input instructions, and sequentially make changes to the text before editing based on the commands. This has the effect that it is possible to easily restore text resulting from editing into a text at any stage during editing work, which is difficult to do with an editing device.

【図面の簡単な説明】[Brief explanation of drawings]

図は本発明の一実施例を示すブロック図である。 1・・・編集結果記憶装置、2・・・編集結果記憶装置
、3・・・命令記憶装置、4・・・文章変更装置。
The figure is a block diagram showing one embodiment of the present invention. 1... Editing result storage device, 2... Editing result storage device, 3... Command storage device, 4... Text modification device.

Claims (1)

【特許請求の範囲】[Claims] 編集以前の文章を記憶する編集前文章記憶装置と、現在
編集中の文章を記憶する編集結果記憶装置と、入力した
命令を記憶する命令記憶装置と、命令により文章を変更
する文章変更装置とを有し、前記編集前文章記憶装置の
文章に対し前記命令記憶装置の命令により前記文章変更
装置が変更を行なうことにより、前記編集結果記憶装置
の編集結果の文章を編集作業中の任意の段階の文章中に
復元することを特徴とする文章編集装置。
A pre-edited text storage device that stores the text before editing, an editing result storage device that stores the text that is currently being edited, an instruction storage device that stores input commands, and a text change device that changes the text according to the command. The text changing device changes the text in the pre-edited text storage device according to the command from the instruction storage device, thereby changing the text of the editing result in the editing result storage device at any stage during the editing process. A text editing device characterized by restoring data in a text.
JP2031265A 1990-02-09 1990-02-09 Text editing device Pending JPH03235167A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2031265A JPH03235167A (en) 1990-02-09 1990-02-09 Text editing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2031265A JPH03235167A (en) 1990-02-09 1990-02-09 Text editing device

Publications (1)

Publication Number Publication Date
JPH03235167A true JPH03235167A (en) 1991-10-21

Family

ID=12326515

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2031265A Pending JPH03235167A (en) 1990-02-09 1990-02-09 Text editing device

Country Status (1)

Country Link
JP (1) JPH03235167A (en)

Similar Documents

Publication Publication Date Title
DE3751276T2 (en) Dissecting device for natural languages.
JPH03235167A (en) Text editing device
CN111161735A (en) Voice editing method and device
JP3033133B2 (en) Text editing device
JPS6010348B2 (en) Automatic conversion method for half-width and full-width characters
JPS5965347A (en) Japanese sentence forming device
JPH0589103A (en) Document editing processor
JPH025132A (en) Automatic document forming system
JPS6325765A (en) Document editing device
JP2893239B2 (en) Translation support dictionary search and display system
JPS63291158A (en) Japanese editing device
JP3011273B2 (en) Translation result management method and machine translation system
JPS62245368A (en) Sentence editing device
JPS5965346A (en) Japanese sentence forming device
JPH04290161A (en) Editing system
JPH0269857A (en) Document processing device
JPS62290966A (en) Sentence editing device
Jones ONE MAN'S PROGRAM IS ANOTHER MAN'S DATA
JP2714303B2 (en) Document creation device
JPS61264472A (en) Document producing device
JPH02289081A (en) Comment registering and display system
JPH02238566A (en) Mechanical translating device
JPH02214934A (en) Control/display system for commentary sentence
JPH06231170A (en) Machine translation system
JPH0476665A (en) Document processor