JPS59173831A - Editing device of document - Google Patents

Editing device of document

Info

Publication number
JPS59173831A
JPS59173831A JP58047041A JP4704183A JPS59173831A JP S59173831 A JPS59173831 A JP S59173831A JP 58047041 A JP58047041 A JP 58047041A JP 4704183 A JP4704183 A JP 4704183A JP S59173831 A JPS59173831 A JP S59173831A
Authority
JP
Japan
Prior art keywords
character
cursor
control code
input
register
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
JP58047041A
Other languages
Japanese (ja)
Inventor
Yuichi Sakauchi
祐一 坂内
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP58047041A priority Critical patent/JPS59173831A/en
Publication of JPS59173831A publication Critical patent/JPS59173831A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To simplify the procedure of the correction of a document by providing priority to a successively inputted character or control code and erasing a precedently inputted control code when the succeeding character or control code is contradict with the preceding control code. CONSTITUTION:Data such as document information inputted from a keyboard KB are stored in a buffer BUF. A CRT controller CRTC converts a character code stored in a buffer BUF into pattern data, which are displayed as characters or codes on a display device CRT. A microprocessor CPU controls respective constitutional elements in accordance with respective control procedures stored in a control memory ROM. When a character or a control code contradict with the precedently inputted control code is successively inputted, priority is provided to the succeeding character or control code and the preceding control code is erased.

Description

【発明の詳細な説明】 技術分野 本発明は、入力された文字列および入力された文字列に
対する制御記号を表示装置に表示して文書を編集する文
書編集装置に関するものである。
TECHNICAL FIELD The present invention relates to a document editing device that edits a document by displaying input character strings and control symbols for the input character strings on a display device.

従来技術 従来、この種の文書編集装置においては、先に入力した
制御記号に対して矛盾する文字または制御記号が入力し
たときには、後に人力したその文字または制御記号が無
視されていた。従って、先に入力した制御記号に対して
矛盾する文字または制御記号を文書訂正のために入力し
ようとするときには、先に入力した制御記号をまず削除
する必要かあった。
BACKGROUND ART Conventionally, in this type of document editing apparatus, when a character or control symbol that contradicts a previously input control symbol is input, the later manually inputted character or control symbol is ignored. Therefore, when attempting to input a character or control symbol that contradicts a previously input control symbol for document correction, it is necessary to first delete the previously input control symbol.

例えば、第1図(A)に示すような表示面にあって、O
で表わされた改行マークの右側へ新たに文字列”WOR
D”を入力しようとするときには、まずカーソルCMを
改行マークOの位置に移動して、第1図(B)に余すよ
うにそのQ行マークOを先に削除しておいてから、第1
図(C)に示すように文字列を入力しなければならなか
った。それ故、文占訂正の際の操作手順か複雑となって
操作が容易でなく、ひいては誤操作を引き起す原因とも
なっていた。
For example, on a display screen as shown in FIG.
Add a new string “WOR” to the right of the line break mark indicated by
When trying to input "D", first move the cursor CM to the position of the line feed mark O, delete the Q line mark O first so that it remains in Figure 1 (B), and then
A character string had to be entered as shown in Figure (C). Therefore, the operating procedure for correcting written readings has become complicated, making it difficult to operate, and even causing erroneous operations.

1−」的 そこで、本発明の目的は、上述した欠点を除去し、すで
に人力されている制御記号と矛盾する文字または制御記
号が入力したときには、後に入力した文字または制御記
号を優先させて矛盾のない文字列に編集しなおすように
して、文書訂正の際の操作手順を容易にした文書編集装
置を提供することにある。
Therefore, an object of the present invention is to eliminate the above-mentioned drawbacks, and when a character or control symbol that contradicts a control symbol that has already been entered manually is input, priority is given to the later input character or control symbol to eliminate the contradiction. To provide a document editing device which facilitates the operation procedure when correcting a document by re-editing the character string to a character string without .

実施例 以下、図面を参照して本発明の詳細な説明する。Example Hereinafter, the present invention will be described in detail with reference to the drawings.

2132図は本発明文書編集装置の構成の一例を示し、
ここでCpUはマイクロプロセンサであり5文字処理の
ための演神や論理判断等を行い、アドレスバスAB、コ
ントロールハスCB、およびデータバスDBを介して、
それらのパスに接続された各構成黄素を制御する。アド
レスバスABはマイクロプロセッサCPUの制御対象を
指示するアトスレ信号を転送し、コントロールハスCB
はマイクロプロセッサCPUの制御対象に制御信号を転
送し、データバスDBは各構成要素相互間の各種データ
の転送を行う。
Figure 2132 shows an example of the configuration of the document editing device of the present invention,
Here, the CPU is a microprocessor that performs processing and logical judgment for processing 5 characters, and sends data via the address bus AB, control bus CB, and data bus DB.
Control each constituent element connected to those paths. The address bus AB transfers an address signal that indicates the control target of the microprocessor CPU, and the control bus CB
transfers control signals to the control target of the microprocessor CPU, and data bus DB transfers various data between each component.

ROMは制御メモリであり、マイクロプロセンサCPU
の各種制御手順等をあらかじめ記憶する。
ROM is a control memory, and the microprocessor sensor CPU
Various control procedures etc. are memorized in advance.

RAMは書込み可能のランダムアクセスメモリであり、
各構成要素からの各種データの一時記憶およびマイクロ
プロセッサCPUの演算、論理判断におけるワークメモ
リとして用いる。XはランダムアクセスメモリRAM内
に設けられた汎用レジスタであり、各種データの一時記
憶に用いる。
RAM is writable random access memory.
It is used as a work memory for temporary storage of various data from each component and for calculations and logical judgments by the microprocessor CPU. X is a general-purpose register provided in the random access memory RAM, and is used for temporary storage of various data.

KBは文書入力用のキーボードであり、ここから打鍵さ
れたキー情報は、マイクロプロセンサCPUにより読み
取る。このキーホードKBは、例えは第3図に示すよう
に、文字入力用キ一群CHと、カーソルキーCKおよび
キャリッジリターンキーCRKを有するファンクション
入力用キ一群とを備えている。文字入力用キ一群CHは
例えばJIS鍵盤から成るものであり、アルファベント
キー、平仮名キー、片仮名キー等から莢数文字、カナ等
の文字記号を人力することができる。カーソルキーCK
はカーソル位置の移動用のキーであり、キャリッジリタ
ーンキーCRKは改行用のキーである。
KB is a keyboard for inputting documents, and the key information pressed from this keyboard is read by the micro processor CPU. For example, as shown in FIG. 3, the keyboard KB includes a character input key group CH, and a function input key group including a cursor key CK and a carriage return key CRK. The character input key group CH is made up of, for example, a JIS keyboard, and character symbols such as number characters and kana can be entered manually using alpha bent keys, hiragana keys, katakana keys, and the like. cursor key CK
is a key for moving the cursor position, and carriage return key CRK is a key for line feed.

CRは後述する表示装置CRTの表面上に表示すべきカ
ーソルの位置を書き込むカーソルレジスタであり、マイ
クロプロセッサCPυによりそのカーソルレジスタCR
の内容を読書きできる。このカーソルレジスタCRは行
数を表わすデータを記憶する行数レジスタ(行方向カー
ソルレジスタ) CRLと。
CR is a cursor register that writes the position of a cursor to be displayed on the surface of a display device CRT, which will be described later.
I can read and read the contents. This cursor register CR is called a line number register (row direction cursor register) CRL that stores data representing the number of lines.

桁数を表わすデータを記憶する列数レジスタ(桁方向カ
ーソルレジスタ)C:RC’とを有する。
It has a column number register (digit direction cursor register) C:RC' that stores data representing the number of digits.

BtlFはキーホードKBから入力した文書情+I[i
のデータを格納するバッファであり、例えは18X5W
(ワードをWと略称する)の古着を有し、5行16桁の
データをキャラクタコードの形態で格納し#!i□る。
BtlF is the document information input from the Keyboard KB +I[i
It is a buffer that stores data of 18x5W.
(Word is abbreviated as W) has used clothes, and 5 rows and 16 digits of data are stored in the form of a character code.#! I□ru.

ハ、フ7BtlF内の内容は、第41m(A)に示すよ
うに、B(L、C)で表現するものとし、ここでLは1
から5までの整数で行を表わし、Cは1から18までの
整数で列(または桁)を表わすものとする。
C, F7 The content in BtlF shall be expressed as B(L, C), as shown in No. 41m(A), where L is 1
C is an integer from 1 to 18 to represent a row (or column).

CGは表示装置CRTに表示する文字、記号およびカー
ソル等のキャラクタ信号を発生させるキャラクタジェネ
レータであり、本例において使用するキャラクタコード
に対応するパターンをあらかしめすべて格納している。
CG is a character generator that generates character signals such as letters, symbols, and cursors to be displayed on the display device CRT, and stores all patterns corresponding to the character codes used in this example.

CRTCは表示装置cRTを駆動制御するCRTコント
ローラであり、カーソルレジスタCRに格納されている
カーソルデータに従って表示装置CRTの表示面上にカ
ーソルを表示する。さらに、CRTコンロローラCRT
Cは、バッファBIIFに格納されたキャラクタコード
データをキャラクタジェネレータCGを参照することに
より、パターンデータに変換して表示装置CRT上に文
字あるいは記号で表示する。
CRTC is a CRT controller that drives and controls the display device cRT, and displays a cursor on the display surface of the display device CRT according to cursor data stored in the cursor register CR. Furthermore, CRT controller roller CRT
C converts the character code data stored in the buffer BIIF into pattern data by referring to the character generator CG, and displays the pattern data as characters or symbols on the display device CRT.

このとき、表示装置CRTには、例えは第4図(A)お
よび(B)に示すように、5行IB桁の形でパンファB
tlF内のデータに対応して表示するものとする。
At this time, on the display device CRT, for example, as shown in FIGS.
It is assumed that the display corresponds to the data in tIF.

表示装置CRTは陰極線管、液晶、発光タイオード等を
用いた画像出力装置であり、CRTコン[・ローラCR
TCの制御の下にカーソルレジスタCR内のデータ番こ
従ってカーソルの表示を行い、バ・ソファBUF内のデ
ータに従って文字あるいは記号の表示をする。
A CRT display device is an image output device using a cathode ray tube, liquid crystal, light emitting diode, etc.
Under the control of the TC, a cursor is displayed according to the data number in the cursor register CR, and characters or symbols are displayed according to the data in the buffer BUF.

次に、第2.21の本発明装置の動作例を説明する。Next, an example of the operation of the 2.21st inventive device will be described.

電源が投入されると、制御メモリROMに格納された制
御手順を順に実行し、カーソルホームポジション移動お
よび表示装置CRTの画面クリアのイニシャライズ処理
を行い、キーボードKBからの入力を可能な状態にする
。すなわち、電源投入に応じて、カーソルレジスタCR
の行数レジスタCRLと列数レジスタGRCのそれぞれ
を°゛1″にイニシャライズして、カーソルCMをホー
ムポジションである表示装置CRTの表示面の左上角に
移す。次いで、ハンファBUFの全ての’F[B(L、
C)にスペースコードを入れて、表示装置CRTの画面
のクリアを行う。なお、L=1〜5、C=−1〜16の
整数である。
When the power is turned on, control procedures stored in the control memory ROM are sequentially executed, initialization processing is performed to move the cursor home position and clear the screen of the display device CRT, and input from the keyboard KB is made possible. In other words, when the power is turned on, the cursor register CR
Initialize each of the row number register CRL and column number register GRC of Hanwha BUF to '1' and move the cursor CM to the upper left corner of the display screen of the display device CRT, which is the home position. [B(L,
Input a space code in C) to clear the screen of the display device CRT. Note that L=1 to 5 and C=an integer of -1 to 16.

よ述のイニシャライズ処理が終了すると、メインルーチ
ンを起動してキニボードKBがらの入力データに対して
各種処理の振り分けを行う。このとき、カーソルキーC
Kとの押下に応じてカーソルCMを表示装置CRTの表
示面上の操作者゛の所望の位置に移動させるカーソルキ
ー人力処理を行い、キャリッジリターンキーCRKの押
下に応じてカーソルCMを現カーソルが存在する行の次
の行の1桁目に移動させる等のキャリッジリターン入力
処理を行う。
When the initialization process described above is completed, the main routine is started and various processes are performed on the input data from the keyboard KB. At this time, cursor key C
In response to the press of the carriage return key CRK, cursor key manual processing is performed to move the cursor CM to the operator's desired position on the display surface of the display device CRT, and in response to the press of the carriage return key CRK, the cursor CM is moved to the current cursor position. Carriage return input processing is performed, such as moving the existing line to the first column of the next line.

上述のカーソルキー人力処理は、カーソルキーCKの押
下に応じて起動し、第5図のフローチャートで示すよう
に、最初のステップ101で列数レジスタCRCを°l
′′だけインクリメントした後、ステップ102で列数
レジスタCRCの値が最大桁の”16”より大であるが
否かを判断し、否定判定であればカーソルキー処理を終
了してメインルーチンに戻る。
The above-mentioned cursor key manual processing is started in response to pressing the cursor key CK, and as shown in the flowchart of FIG. 5, the column number register CRC is set in the first step 101.
After incrementing by '', it is determined in step 102 whether the value of the column number register CRC is greater than the maximum digit "16", and if the determination is negative, the cursor key processing is terminated and the process returns to the main routine. .

ステップ102が肯定判定のときは1列数レジスタCR
Cの値が最大桁を超えたときであるから、次のステップ
103において列数レジスタCRCの値を” i ”に
リセットするとともに、ステップ104において行数レ
ジスタCRLを°゛1″“だけインクリメントする。次
いで、ステップ105において行数レジスタCRLの値
か最大性の5゛′より大であるか否かを判断して否定判
定であればカーソル処理を終了してメインルーチンに戻
る。ステップ+05において肯定判定のときは、行数レ
ジスタCRLの仙が最大性を超えたときであるから、次
のステップ106において行数レジスタCRLの値を°
“l ++にリセットしてカーソルキー人力処理を終了
し、メインルーチンに戻る。よって、カーソルキーCK
の押下ブσにカーソルCMは表示面上を桁方向に17−
ドつつ移動して改行し、阿ひホームポジション位置にか
って移動を繰り返す。
If step 102 is affirmative, 1 column number register CR
Since the value of C exceeds the maximum digit, the value of the column number register CRC is reset to "i" in the next step 103, and the row number register CRL is incremented by "1" in step 104. . Next, in step 105, it is determined whether the value of the line number register CRL is greater than the maximum value of 5'', and if the determination is negative, the cursor processing is terminated and the process returns to the main routine. If the determination in step +05 is affirmative, it means that the value of the row number register CRL exceeds the maximum, so in the next step 106, the value of the row number register CRL is
“l ++” to end the cursor key manual processing and return to the main routine. Therefore, the cursor key CK
The cursor CM moves on the display screen in the direction of the digit 17-
Move and start a line, return to the home position, and repeat the movement.

一方、キャリンシリターンキー人カ処理は、キャリ・ン
シリターンキーCRKの押下に応して起動し、第6図の
フローチャートで示すように、まず最初のステップ20
+ においてバ・ンファBUFノ現カーソル位置B(L
、C)すなわチB(CRL 、CRC) ニ* ヤリッ
ジリターンコードを書き込む。次いで、汎用レジスタX
にカーソルレジスタCRの列数レジスタCRCの値を格
納した後、ステップ203においてレジスタXの値をパ
1′′だけインクリメントする。
On the other hand, the carry/return key input process is activated in response to pressing the carry/return key CRK, and as shown in the flowchart of FIG.
+ At the current cursor position B(L
, C) That is, B (CRL, CRC) D* Writes the return code. Then general register X
After storing the value of the column number register CRC of the cursor register CR in , the value of the register X is incremented by 1'' in step 203.

続くステップ204において、レジスタXの値が最大桁
の°’18′より大になったか否かを判断して、否定判
定ならば次のステップ205において/ヘツファBUF
 17)位置B(C:R1,、X)にスペースコードを
書き込み、再ひ203の処理に戻り、ステップ204が
肯定判定となるまで上述の処理を繰り返す。これにより
、表示装置CRTの表示画面上でキャリ・ンジリターン
コードが入力された桁から右側の桁の既存の文字列およ
びキャリッジリターンコードは全て消去される。
In the following step 204, it is determined whether the value of the register
17) Write a space code at position B (C: R1,, As a result, all existing character strings and carriage return codes in the digits to the right of the digit where the carriage return code was input on the display screen of the display device CRT are erased.

ステップ204で肯定判定となったときには、ステップ
206に移行してレジスタXに列数レジスタCRCの値
を再び格納し、次のステップ207においてレジスタX
の値を” 1 ”だけデクリメントし、続くステップ2
08でレジスタXの値が零より大であるか否かを判定し
、レジスタXの値が零より大であれば次のステップ20
8に進み、バッファBUFの位置B(CRC,X)の内
容がキャリッジリターンコードであるか否かを判定し、
キャリッジリターンコードであれはステップ210にお
いてそのバッファ位、“σj、 B(C:RC,X)に
キャリッジリターンコードと置き換えてスペースコード
を格納した後、ステップ211に進む。−力、ステ・ン
プ209が否定判定であればステップ207に戻り上述
の処理を繰り返し、またステップ208でレジスタXの
値が零であると判断したらステップ211に飛ぶ。以上
のステップ204〜210の処理により、キャリッジリ
ターンコードが入力された桁から右側の桁にある既存の
キャリッジリターンコードは消去される。
When an affirmative determination is made in step 204, the process proceeds to step 206, where the value of the column number register CRC is stored in register X again, and in the next step 207, the value of column number register CRC is stored in register
Decrement the value by "1" and proceed to step 2
In step 08, it is determined whether the value of register X is greater than zero, and if the value of register X is greater than zero, the next step 20
Proceed to step 8, determine whether the contents of position B (CRC, X) of buffer BUF is a carriage return code,
If it is a carriage return code, in step 210, a space code is stored in the buffer location "σj, B (C: RC, If the judgment is negative, the process returns to step 207 and repeats the above process, and if it is judged in step 208 that the value of register Existing carriage return codes in the digits to the right of the input digit are erased.

ステップ211 では列数レジスタCRCの値を” 1
 ”にリセットシ、次のステップ212で行数レジスタ
CRLの値を°°1゛だけインクリメントした後、ステ
ップ213で行数レジスタCRLの値が最大性の” 5
 ”より犬か否かを判断して否定判定であればキャリッ
ジリターンキー人力処理を終了してメインルーチンに戻
り、肯定判定であれば次のステップ214において行数
レジスタCRLの値を” l ”にリセットしてキャリ
ッジリターンキー人力処理を終了し、メインルーチンに
戻る。以上のステップ211〜214の処理により、カ
ーソルばか現カーソルの存在する行の次の行の1桁目(
またはホームポジション)に移動する。
In step 211, the value of the column number register CRC is set to "1".
In the next step 212, the value of the line number register CRL is incremented by °°1, and then in step 213, the value of the line number register CRL is set to maximum.
If the determination is negative, the carriage return key manual processing is terminated and the process returns to the main routine. If the determination is affirmative, the value of the line number register CRL is set to "l" in the next step 214. Reset the carriage return key to end the manual processing and return to the main routine. Through the above steps 211 to 214, the cursor is moved to the first digit (
or home position).

上述のように17でカーソルCMを移動した後、文字入
力用キ一群OHのキーが押下されると、そのキーに対応
する文字数字その他の記号等の入力データをバ・ンフγ
BUFにカーソルCMが示す位置から格納し、同時にC
RTコントローラCRC:T等を介して文章あるいは数
字データに作成したパターンを表示装置CRTの画面上
に表示する。
After moving the cursor CM at 17 as described above, when a key in the character input key group OH is pressed, the input data such as letters, numbers, and other symbols corresponding to that key are sent to
Store in BUF from the position indicated by cursor CM, and at the same time store C
RT controller CRC: Displays a pattern created in text or numerical data on the screen of the display device CRT via T or the like.

いま、第4図(A)に示すように文字列がバッファBU
Fに入力され、表示装置CRTの表示画面上に表示され
ているものとする。ここで、r JAPANESE @
 」の文字列と同県性に引き続き所望の文字、例えばr
 WORDJを入力させたい場合には、第4図(A)に
示すよう1こ、その文字を入力させたい位置の先頭にカ
ーソル叶を移動させ、文字rWjを入力すると、第4図
(B)に示すように、文字rWJの入力で無意味となっ
たキャリッジリターンコード○を消去し、それ以後の文
字入力をi!1!統して可能にするという文字入力処理
を実行する。
Now, as shown in Figure 4 (A), the character string is stored in the buffer BU.
It is assumed that the information is input to F and displayed on the display screen of the display device CRT. Here, r JAPANESE @
” and the same prefecture as the desired character, e.g. r
If you want to input WORDJ, move the cursor to the beginning of the position where you want to input the character, as shown in Figure 4 (A), and input the character rWj, as shown in Figure 4 (B). As shown, the carriage return code ○, which has become meaningless after inputting the character rWJ, is deleted, and subsequent character input is changed to i! 1! Execute the character input process that allows you to control the characters.

次に、上述の文字入力処理の手順の一例を、第7図のフ
ローチャートを参照して説明する。
Next, an example of the procedure of the above-mentioned character input processing will be explained with reference to the flowchart of FIG. 7.

まず、ステップ301において操作者が押下した文字キ
ーに対15する文字コードを現カーソル位置のバッファ
BUFの位置B (CRL 、 GRC)に書き込み、
次のステップ302において汎用レジスタXにカーソル
レジスタCRの列数レジスタCRCの値を格納する。次
いで、ステップ303でレジスタXの値を1“′だけデ
クリメントした後、ステップ304においてそのレジス
タXの(1?iが零より大であるか否かを判断して、肯
定判定であれば次のステップ305においてバッファB
UFの位置B(C:RL、X)の内容がキャリッジリタ
ーンコードであるか否かを判断し、否定判定であれば再
びステップ303に戻って上述の処理を繰り返す。
First, the character code 15 corresponding to the character key pressed by the operator in step 301 is written to position B (CRL, GRC) of the buffer BUF at the current cursor position.
In the next step 302, the value of the column number register CRC of the cursor register CR is stored in the general-purpose register X. Next, in step 303, the value of register X is decremented by 1'', and in step 304, it is determined whether (1? In step 305, buffer B
It is determined whether the content at position B (C:RL,

」−述のステップ305においてノへ1.ファ位置B(
CRL、X)に格納されているデータの内容かキャリッ
ジリターンコードであると判断したとき(こは1次のス
テ・ンプ30Elに進んでそのバッファ位置B(C:R
L、X)にスペースコードを書き込み、ステップ307
のカーソルキー処理に進む。また、ステ・ンプ304に
おC)てXの値が零となったと判定された場合、すなわ
ち現カーソルCMより左側に既存のキャリッジリタ−ン
コードがなかった場合もス7テ・ンプ′307に飛ぶ。
” - Go to step 305 described above. Fa position B (
When it is determined that the data stored in CRL,
Write the space code in L, X), step 307
Proceed to cursor key processing. Also, if it is determined in step 304 that the value of jump.

ステップ307では第5図で示すカーソルキー処理を実
行してカーソル師を次の桁に進ませ、メインルーチンに
戻る。
In step 307, the cursor key process shown in FIG. 5 is executed to advance the cursor to the next digit, and the process returns to the main routine.

これにより、もし表示画面上にカーソルCMが存在する
行の右側の桁にキャIルンジリターンコードが存在すれ
ば、そのキャリッジリターンニードの消去が行われるこ
ととなる。
As a result, if a carriage return code exists on the right column of the line where the cursor CM is located on the display screen, that carriage return need will be erased.

よって、本例によれば、キャリッジリターンコードに続
いてその同一行に文字列を入力する場合に、操作者が文
字入力に先だってキャリ・ンジリターンコードの消去指
示をする必要かなく、所望の位置に文字を入力すれば、
その入力文字の右側の桁にあるキャリッジリターンキー
ドは自動的に消去され、それ以後の文字入力が連続して
可能となるので、文書訂正の際の操作が容易となり、ひ
いては操作速度の向上が得られ、さらには誤入力の減少
も辻せられる。
Therefore, according to this example, when inputting a character string on the same line following a carriage return code, there is no need for the operator to instruct deletion of the carriage return code before inputting characters, and the character string can be input at the desired position. If you enter characters in
The carriage return key in the digit to the right of the input character is automatically erased, and subsequent characters can be input continuously, making the operation easier when correcting documents and improving the operation speed. In addition, the number of erroneous inputs can be reduced.

なお、本例では消去対象となる制御記号としてキャリッ
ジリターンキードのみを例示したが、他の制御記号、例
えばページエンドコード(改頁記号)も同様に取扱うこ
とができ、上述と同様の効果が得られる。
In this example, only the carriage return key is used as the control symbol to be erased, but other control symbols such as page end codes (page break symbols) can be handled in the same way, and the same effect as described above can be achieved. can get.

効   果 以)二説明したように、本発明によれば、先に入力した
制1kll記号に対して矛盾する文字または制御記号が
後から人力されたときには、後から入力された文字また
は制御記1弓−を優先させて先に入力した制御記号を消
去するようにしたので、文書訂正の際の手順か簡単とな
るという効果が得られる。
Effects (2) As explained above, according to the present invention, when a character or control symbol that is inconsistent with the previously input control symbol is input manually, the character or control symbol input later is Since the first inputted control symbol is erased with priority given to ``-'', the effect of simplifying the procedure for correcting a document can be obtained.

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

第1図(A)〜(C)は従来装置の動作例を示す説明図
、第2図は本発明文書編集装置の構成の一例を示すブロ
ック線図、第3図は第2図のキーボードKBの配置構成
例を示す平面図、第4図(A)および(B)は第2図の
八ツファBUFおよび表示装置CRTの表示画面の内容
の一例を示す説明図、第5図は第2歯の装置のカーソル
キー人力処理の動作例を示すフローチャート、第6図は
第2図の装置、のキャリッジリターンキー人力処理の動
作例を示すフローチャート、第7図は第2図の装置の文
字入力処理の動作例を示すフローチャートである。 CPU・・・マイクロプロセンサ、 ROM・・・制御メモリ、 RAM・・・ランタムアクセスメモリ、X・・・汎用レ
ジスタ、 KB・・・キーボード、 CH・・・文字入力用キ一群、 IJ RK・・・キャリッジリターンキー、CK・・・
カーソルキー、 CR・・・カーソルレジスタ、 CRL・・・行数レジスタ(行方向 カーソルレジスタ)、 CRC・・・列数レジスタ(桁方向 、カーソルレジスタ)、 BUF・・・7久ソフア、 CRTC・・・CRコントローラ、 CG・・・キャラクタジェネレータ、 CRT・・・表示装置、 CM・・・カーソル、 0・・・制御記号(キャリッジリターンコード)。 特 許 出 願 人  キャノン株式会社第4図 111丁 )ドア; 、fOf /lθ2
1 (A) to (C) are explanatory diagrams showing an example of the operation of a conventional device, FIG. 2 is a block diagram showing an example of the configuration of the document editing device of the present invention, and FIG. 3 is a keyboard KB shown in FIG. 2. 4(A) and 4(B) are explanatory views showing an example of the content of the display screen of the eight-face BUF of FIG. 2 and the display device CRT, and FIG. 5 is a plan view showing an example of the arrangement of the FIG. 6 is a flowchart showing an example of the operation of the cursor key manual processing of the device shown in FIG. 2, FIG. 7 is a flowchart showing an example of the operation of the carriage return key manual processing of the device of FIG. 2 is a flowchart showing an example of the operation. CPU...Micro processor sensor, ROM...Control memory, RAM...Random access memory, X...General purpose register, KB...Keyboard, CH...Character input key group, IJ RK・...Carriage return key, CK...
Cursor key, CR...Cursor register, CRL...Row number register (row direction cursor register), CRC...Column number register (digit direction, cursor register), BUF...7k software, CRTC...・CR controller, CG...character generator, CRT...display device, CM...cursor, 0...control symbol (carriage return code). Patent applicant: Canon Co., Ltd. (Figure 4, page 111) Door; , fOf /lθ2

Claims (1)

【特許請求の範囲】 1) 入力された文字列および該文字列に対する制御記
号とを表示して文書の編集を行う文書編集装置において
、すでに入力した前記制御記号と矛盾する文字または制
御記号が入力されたときには、後に入力された該文字ま
たは制御記号をIC先させて先に入力した前記制御記号
を消去する手段を具えたことを特徴とする文−2編集装
置。 2、特許請求の範囲第1項記載の装置において、前記制
御記号は改行を示すキャリンジリクーン記りおよび改頁
を示すページエンド記号の少なくとも一方であることを
特徴とする文d)編集装置、。
[Scope of Claims] 1) In a document editing device that edits a document by displaying an input character string and a control symbol for the character string, if a character or control symbol that is inconsistent with the control symbol that has already been input is input. 2. A sentence-2 editing device characterized by comprising means for erasing the previously inputted control symbol by placing the later inputted character or control symbol before the IC. 2. The apparatus according to claim 1, wherein the control symbol is at least one of a carrying rectangle indicating a line break and a page end symbol indicating a page break; d) a text editing device; .
JP58047041A 1983-03-23 1983-03-23 Editing device of document Pending JPS59173831A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58047041A JPS59173831A (en) 1983-03-23 1983-03-23 Editing device of document

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58047041A JPS59173831A (en) 1983-03-23 1983-03-23 Editing device of document

Publications (1)

Publication Number Publication Date
JPS59173831A true JPS59173831A (en) 1984-10-02

Family

ID=12764076

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58047041A Pending JPS59173831A (en) 1983-03-23 1983-03-23 Editing device of document

Country Status (1)

Country Link
JP (1) JPS59173831A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63155086A (en) * 1986-12-18 1988-06-28 シャープ株式会社 Document generator

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63155086A (en) * 1986-12-18 1988-06-28 シャープ株式会社 Document generator
JPH0571951B2 (en) * 1986-12-18 1993-10-08 Sharp Kk

Similar Documents

Publication Publication Date Title
JPS59223485A (en) Display
JPS59173831A (en) Editing device of document
JPH0232660B2 (en)
JPH0594253A (en) Screen touch type key input device
JPS6362005B2 (en)
JP2598436B2 (en) Character output device
JPH0640296B2 (en) Character processor
JP2845674B2 (en) Document processing device
JP2846655B2 (en) Character correction method
JP2561000B2 (en) String output method
JP2560999B2 (en) String output method
JP2675476B2 (en) Character input device
JP2510042B2 (en) Document creation device with key array position display function
JP2621869B2 (en) Document editing device
JPS6362004B2 (en)
JPH0350310B2 (en)
JPH07271548A (en) Character string input method
JPH1185733A (en) Document editing device and its method and recording medium
JPS61112277A (en) Processing range designating and executing device for word processor
JPH0831097B2 (en) Document input processor
JPH0440731B2 (en)
JPS63273158A (en) Document preparing device
JPH01287723A (en) Key input information display device
JPS5920034A (en) Electronic apparatus
JPH0341866B2 (en)