JPH0743705B2 - Character processor - Google Patents

Character processor

Info

Publication number
JPH0743705B2
JPH0743705B2 JP62281545A JP28154587A JPH0743705B2 JP H0743705 B2 JPH0743705 B2 JP H0743705B2 JP 62281545 A JP62281545 A JP 62281545A JP 28154587 A JP28154587 A JP 28154587A JP H0743705 B2 JPH0743705 B2 JP H0743705B2
Authority
JP
Japan
Prior art keywords
indent
register
memory
cursor
character
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.)
Expired - Lifetime
Application number
JP62281545A
Other languages
Japanese (ja)
Other versions
JPS63145570A (en
Inventor
克己 正木
浩 大和田
駿平 竹中
秀志 市村
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 JP62281545A priority Critical patent/JPH0743705B2/en
Publication of JPS63145570A publication Critical patent/JPS63145570A/en
Publication of JPH0743705B2 publication Critical patent/JPH0743705B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、領域の変更の指示に基づいて、前記領域を表
わす領域情報の変更及び文字情報の配置を変更し、前記
変更後の領域内において文字列を再配列することのでき
る文字処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial application] The present invention changes the area information representing the area and the arrangement of character information based on an instruction to change the area, and The present invention relates to a character processing device capable of rearranging a character string.

[従来の技術] 従来、文字処理装置は、分割された画面上でカーソルを
移動させるものがあった(特開昭54−19618号公報、特
開昭51−4927号公報、特開昭52−79733号公報、特開昭5
0−61950号公報、特開昭52−110528号公報、特開昭52−
104824号公報、特開昭54−159132号公報)或いは特開昭
51−87919号公報、特開昭50−146225号公報に示される
様に、カラム印刷等の技術が存在していた。
[Prior Art] Conventionally, some character processing devices move a cursor on a divided screen (Japanese Patent Laid-Open Nos. 54-19618, 51-4927, and 52-52). 79733 gazette, JP-A-5
0-61950, JP-A-52-110528, JP-A-52-
JP 104824, JP 54-159132) or JP
As shown in JP-A-51-87919 and JP-A-50-146225, there have been techniques such as column printing.

[発明が解決しようとしている課題] しかしながら、従来の装置では、領域の変更の指示に基
づいて、前記領域情報を表わす領域の変更及び文字情報
の配置を変更し、前記変更後の領域内において、文字列
を再配列することができないという課題があった。
[Problems to be Solved by the Invention] However, in the conventional device, based on an instruction to change the area, the area representing the area information is changed and the arrangement of the character information is changed, and in the area after the change, There was a problem that the strings could not be rearranged.

[課題を解決するための手段] この課題を解決する為に、文字情報の入力及び領域を規
定する複数種の制御情報の入力を行う入力手段と、 前記入力手段から入力された前記文字情報と前記複数種
の制御情報を記憶する記憶手段と、 前記記憶手段に記憶された文字情報と制御情報を表示す
る表示手段と、 前記表示手段上の、前記入力手段から新たに入力すべき
文字情報及び前記制御情報の表示位置を示すカーソル
と、 前記入力手段から文字データが入力される毎に前記カー
ソルを行に沿って移動し、前記カーソルが前記入力手段
によって入力された前記制御情報によって規定される文
字編集領域を越える場合、前記カーソルを前記文字編集
領域内の次の行の行頭に移動するカーソル制御手段と、 前記制御情報は、領域を規定するものであり、前記文書
編集領域の領域変更の指示により制御情報の位置が変更
されることに応じて前記隣接する文字編集領域の領域を
変更させる共に、前記文字編集領域に文字情報が入力さ
れている場合、その入力されている文字情報を変更され
た文字編集領域内に再配置する制御手段とを備えること
により領域変更に応じて文字列の再配列を実行できる。
[Means for Solving the Problem] In order to solve this problem, an input unit that inputs character information and a plurality of types of control information that defines an area, and the character information that is input from the input unit, Storage means for storing the plurality of types of control information, display means for displaying the character information and control information stored in the storage means, character information to be newly input from the input means on the display means, and A cursor indicating a display position of the control information, and the cursor is moved along a line every time character data is input from the input unit, and the cursor is defined by the control information input by the input unit. Cursor control means for moving the cursor to the beginning of the next line in the character edit area when the character edit area is exceeded, and the control information defines the area. When the position of the control information is changed by an instruction to change the area of the document edit area, the area of the adjacent character edit area is changed, and when character information is input to the character edit area, By providing the control means for rearranging the input character information in the changed character edit area, the rearrangement of the character string can be executed according to the area change.

[実施例] 以下、本図面を参照し、本発明の1実施例について、詳
細に説明する。尚本発明は、1つ或は複数の装置自体で
達成される場合であっても、装置にプログラムなどを供
給することにより達成される場合であっても良い。第1
図は、本発明の文字処理装置の実施例を示す機能ブロッ
ク図である。同図において、KB1はキーボードで、例え
ばJIS鍵盤、漢字フルキーボード、ペンタツチ入力ボー
ド等で構成され、キヤラクタキーCKを有する。
[Embodiment] An embodiment of the present invention will be described in detail below with reference to the drawings. The present invention may be achieved by one or a plurality of devices themselves or may be achieved by supplying a program or the like to the devices. First
FIG. 1 is a functional block diagram showing an embodiment of a character processing device of the present invention. In the figure, KB1 is a keyboard, which is composed of, for example, a JIS keyboard, a kanji full keyboard, a pentach input board, etc., and has a character key CK.

KB2はキーボードで、第2図に示す如きフアンクシヨン
キーを備えている。同図について説明すると、DELは入
力データを削除させるデリートキー、OWは入力されたデ
ータの上に新たなデータを書き込むオーバーライトキ
ー、INSは入力データの間に新たなデータを書き込むイ
ンサートキー、CARはカーソルを移動させるキー、IND1
〜IND3はインデントを入力させるインデントキー、WKは
白紙信号を入力させる白紙キーである。
The KB2 is a keyboard equipped with function keys as shown in FIG. Explaining the figure, DEL is a delete key for deleting input data, OW is an overwrite key for writing new data on the input data, INS is an insert key for writing new data between input data, and CAR. Is the key to move the cursor, IND1
~ IND3 is an indent key for inputting an indent, and WK is a blank key for inputting a blank signal.

KB3はキーボードで、プリント指示を行わせるプリント
キーPRTを有する。
KB3 is a keyboard, and has a print key PRT for issuing a print instruction.

CCPUは編集処理部で、キーボードKB1〜3からのキー信
号に応じてデータを編集し、出力する。
The CCPU is an edit processing unit, which edits data according to key signals from the keyboards KB1 to KB3 and outputs it.

Buf1,Buf2はメモリで、データが格納される。Buf1 and Buf2 are memories that store data.

CRはカーソルレジスタで、カーソルデータが記憶され
る。
CR is a cursor register that stores cursor data.

SCはセレクタで、メモリBuf1,Buf2のいずれかを編集処
理部CCPUの指示により選択する。
SC is a selector that selects one of the memories Buf1 and Buf2 according to an instruction from the edit processing unit CCPU.

DCは表示制御回路で、セレクタSCにより選択されたメモ
リBuf1,Buf2のいずれか一方の内容とカーソルレジスタC
Rの内容を制御し、CRT装置DPに出力する。
DC is a display control circuit, and the contents of one of the memories Buf1 and Buf2 selected by the selector SC and the cursor register C
It controls the contents of R and outputs it to the CRT device DP.

PCはプリンタ制御回路で、セレクタSCにより選択された
メモリBuf1もしくはBuf2の内容を印刷する。
The PC is a printer control circuit that prints the contents of the memory Buf1 or Buf2 selected by the selector SC.

第3図は第1図、第2図に示す各構成の具体的構成を示
すものである。同図に於いて、第1図と第2図とに示さ
れた符番と同一のものには同じ符番を付す。
FIG. 3 shows a specific structure of each structure shown in FIGS. 1 and 2. In the figure, the same parts as those shown in FIGS. 1 and 2 are designated by the same reference numerals.

編集処理部CCPUは第3図に示す如く3つの要素から成っ
ている。
The edit processing unit CCPU is composed of three elements as shown in FIG.

CPUはマイクロプロセツサーで、演算、論理判断等を行
う。
The CPU is a microprocessor that performs operations, logical decisions, etc.

ROMは制御メモリで、各種処理手順及び図に示す制御手
順及び漢字情報等を記憶するものである。第4図Aは制
御手順の格納を示す。
The ROM is a control memory, which stores various processing procedures, control procedures shown in the figure, Chinese character information, and the like. FIG. 4A shows the storage of the control procedure.

RAMはランダムアクセスのメモリで、各種データの一時
記憶に用いられる。第4図Bにその主要部を示す。第5
図BにインデントレジスタINDR1,INDR2の構成を示す。A
Bはアドレスバスで、制御対象を指示する信号を転送す
る。DBはデータバスで、各種データを転送するもので、
双方向性のバスである。CBはコントロールバスで、各種
制御対象に制御信号を印加するものである。
RAM is a random access memory and is used for temporary storage of various data. The main part is shown in FIG. 4B. Fifth
FIG. B shows the configuration of the indent registers INDR1 and INDR2. A
B is an address bus, which transfers a signal indicating a control target. DB is a data bus that transfers various data.
It is a bidirectional bus. CB is a control bus that applies control signals to various control targets.

メモリBuf1,Buf2は第5図Aに示す如く22行×22桁(484
WORD)の容量を有する。
The memories Buf1 and Buf2 are 22 rows × 22 columns (484) as shown in FIG. 5A.
WORD) capacity.

上述の構成より成る実施例の作動を次に詳述する。The operation of the embodiment configured as described above will be described in detail below.

文字処理装置はキーボードKBの操作により装置が起動さ
れるものである。キーボードKBが操作されると、キーボ
ードKBより発生するインタラプト信号がマイクロプロセ
ツサCPUに伝えられ、これによりマイクロプロセツサCPU
を介して制御メモリROM内の制御手順を呼び出し、制御
手順に従って各制御が行われる。
The character processing device is activated by operating the keyboard KB. When the keyboard KB is operated, the interrupt signal generated from the keyboard KB is transmitted to the microprocessor CPU, which causes the microprocessor CPU to operate.
The control procedure in the control memory ROM is called via the control memory, and each control is performed according to the control procedure.

まず電源投入が行われると、第9図のステツプ1のイニ
シヤライズルーチンM1が行われる。その詳細は第10図に
示す。まずマイクロプロセツサCPUはメモリBuf1の内容
をクリア(ステツプI1)、モメモリBuf2の内容をクリア
(ステツプI2)する。引き続いてそれはバツフアセレク
トレジスタBSRに1を設定し、次にセレクタSCに対しメ
モリBuf1の内容をセレクトさせる(ステツプI5)。次に
マイクロプロセツサCPUはオーバライトフラツグOWFを
「1」にセツトし、インデントレジスタINDR1,2に数値2
2を入れる(22×3×2W分)(ステツプI7)。以上の処
理を行うことでイニシヤライズルーチンを終える。
First, when the power is turned on, the initialization routine M1 of step 1 in FIG. 9 is performed. The details are shown in FIG. First, the microprocessor CPU clears the contents of the memory Buf1 (step I1) and clears the contents of the memory Buf2 (step I2). Subsequently, it sets the buffer select register BSR to 1, and then causes the selector SC to select the contents of the memory Buf1 (step I5). Next, the microprocessor CPU sets the overwrite flag OWF to "1" and sets the value 2 in the indent registers INDR1,2.
Add 2 (22 x 3 x 2W) (step I7). The initialization routine is completed by performing the above processing.

次に文字処理装置はキー待ちの状態に入り、キーボード
KB1からKB2のいずれかのキー操作を持つ(ステツプM
2)。第9図にその概要を示す。
Next, the character processing unit enters the state of waiting for keys and the keyboard
Has any key operation from KB1 to KB2 (Step M
2). The outline is shown in FIG.

ステツプM3〜ステツプM10で、マイクロプロセツサCPUは
操作されたキーが、カーソルキーCAR、インデントキーI
ND1〜IND3、白紙キーWK、インサートキーINS、オーバラ
イトキーOW、デリートキーDEL、キヤラクタキーCKかを
次々に判定し、いずれのキーでもないとき、その入力デ
ータを捨てる(ステツプM10)。
In steps M3 to M10, the keys operated by the microprocessor CPU are cursor key CAR and indent key I.
ND1 to IND3, blank key WK, insert key INS, overwrite key OW, delete key DEL, charactor key CK are judged one after another, and if none of the keys, the input data is discarded (step M10).

もし、何れかのキーが操作されたのであれば、夫々の判
断のところで、カーソルルーチン(ステツプM11)、イ
ンデントルーチン(ステツプM12)、白紙キールーチン
(ステツプM14)、インサートルーチン(ステツプM1
5)、オーバライトルーチン(ステツプM16)、デリート
ルーチン(ステツプM17)、キヤラクタルーチン(ステ
ツプM18)に移る。
If any key is operated, the cursor routine (step M11), the indent routine (step M12), the blank key routine (step M14), and the insert routine (step M1) are judged at their respective judgments.
5), the overwrite routine (step M16), the delete routine (step M17), and the character routine (step M18).

今第6図(a)に示す如く6列目から10列目に1つの文
章を書き、12列目から14列目迄に他の文章を書き込む場
合、以下のようにして情報を書き込む。
When one sentence is written in the sixth to tenth columns and another sentence is written in the twelfth to fourteenth columns as shown in FIG. 6A, the information is written as follows.

まずカーソルキーCARが操作される。カーソルキーCARの
操作は第9図のステツプM3で判別され、カーソルルーチ
ンM11に移る。カーソルキーCARが操作されると、マイク
ロプロセツサーCPUはカーソルレジスタCRのレジスタX
を1インクリメントする(ステツプC1)。
First, the cursor key CAR is operated. The operation of the cursor key CAR is judged at step M3 in FIG. 9, and the process proceeds to the cursor routine M11. When the cursor key CAR is operated, the microprocessor CPU causes the cursor X
Is incremented by 1 (step C1).

次に、マイクロプロセツサCPUはカーソルレジスタCRの
Xの内容が22以上かを判別する(ステツプC2)。今の場
合カーソルはX=0、Y=0から始まっているので、上
記判別はNOとなってキー待ちルーチンにもどる。
Next, the microprocessor CPU determines whether the content of X in the cursor register CR is 22 or more (step C2). In this case, since the cursor starts from X = 0 and Y = 0, the above determination is NO, and the process returns to the key waiting routine.

上述の如くカーソルキーCARを操作し、カーソルの位置
を第5列目に移動させる。
As described above, the cursor key CAR is operated to move the cursor position to the fifth row.

次にインデントキーIND1を操作し、インデント信号を入
力される。かかるキーに対する処理は以下の如く行われ
る。第9図のステツプM4で当該キーの操作が判別され、
第12図A〜Dに示すインデントルーチルの処理がマイク
ロプロセツサCPUで行われる。
Next, the indent key IND1 is operated to input the indent signal. The processing for such a key is performed as follows. The operation of the key is determined in step M4 of FIG.
The processing of the indent rutile shown in FIGS. 12A to 12D is performed by the microprocessor CPU.

バツフアセレクトレジスタBSCの内容が判断され、空き
メモリ及び空きインデントレジスタを探す。“空き”と
は使用していないメモリもしくは使用していないレジス
タである。初期状態に於いて、バツフアセレクトレジス
タBSRの内容は「1」となっているので、空きメモリBuf
としてメモリBuf2、空きインデントレジスタINDRとして
インデントレジスタINDR2をセレクトする(ステツプI
1)。
The contents of the buffer select register BSC are judged, and a free memory and a free indent register are searched. "Free" means unused memory or unused registers. In the initial state, the content of the buffer select register BSR is "1", so the free memory Buf
As memory Buf2 and free indent register INDR as indent register INDR2 (step I
1).

次にカーソルレジスタCRによって示される行よりE行
(後述する)または最終行(22行目)までの現メモリBu
f、即ちメモリBufの内容(白紙コードを除く)を各イン
デントによる仕切りに従ってメモリRAMのメモリW01,W0
2,W03,W04に移す。
Next, the current memory Bu from the line indicated by the cursor register CR to the E line (described later) or the last line (22nd line)
f, that is, the contents of the memory Buf (excluding blank codes) according to the partition by each indent, the memory W01, W0 of the RAM
Move to 2, W03, W04.

その際メモリW01L,W12L,W23L,W34Lに、メモリW01,W12,W
23,W34のデータの長を設定する。
At that time, memory W01L, W12L, W23L, W34L, memory W01, W12, W
Set the data length of 23 and W34.

次に空きメモリBuf、空きインデントレジスタINDRにカ
ーソルレジスタCRが示す行の前まで現メモリBuf(メモ
リBuf1)及び現インデントレジスタINDR(インデントレ
ジスタINDR1)の内容をそのまま移す。今の場合、0行
目にカーソルがあるので、移す内容はない(ステツプI
3)。
Then, the contents of the current memory Buf (memory Buf1) and the current indent register INDR (indent register INDR1) are transferred to the empty memory Buf and the empty indent register INDR just before the line indicated by the cursor register CR. In this case, there is nothing to move because the cursor is on the 0th line (Step I
3).

次に変更指示したインデントに関して、カーソルレジス
タCRが示す行からE行または最終行まで、空きメモリBu
f2の指示された位置にインデントコードを書き込む。ま
た空きインデントレジスタINDR2にそのアドレスを書き
込む。ここではメモリBuf2の第5列目にインデントコー
ド1をインデントレジスタINDR2に5を最終行迄書き込
む(ステツプI4)。
Next, regarding the indentation instructed to change, from the line indicated by the cursor register CR to the E line or the last line, the free memory Bu
Write the indent code at the designated position in f2. Also, write the address to the empty indent register INDR2. In this case, the indent code 1 is written in the fifth column of the memory Buf2 in the indent register INDR2 up to the last line (step I4).

次に変更指示されなかったインデントに関し、カーソル
レジスタCRが示す行からE行または最終行まで空きメモ
リBuf(メモリBuf2)に、現メモリBuf(メモリBuf1)と
同じ位置にインデントコードを書き込む。また空きイン
デントレジスタ(INDR2)に現インデントレジスタ(IND
R1)と同じインデントアドレスを記憶させる(ステツプ
I5)。
Next, regarding the indentation which is not instructed to be changed, the indentation code is written in the empty memory Buf (memory Buf2) from the line indicated by the cursor register CR to the E line or the last line at the same position as the current memory Buf (memory Buf1). In addition, the empty indent register (INDR2) is added to the current indent register (IND
Remember the same indent address as R1) (step
I5).

ここでは、はじめインデントコードが現メモリに存在し
なかったので、空きメモリの内容はこのステツプで変化
しない。
Here, since the indent code does not exist in the current memory at first, the contents of the free memory are not changed in this step.

次にマイクロプロセツサCPUは空きインデントレジスタ
(INDR2)の最終行迄インデントアドレスを記入したか
を判別し、NOであれば、ステツプ17でインデントアドレ
スを入れる制御を行い、ステツプI8に移る。YESであれ
ば、直接ステツプI8に移る。
Next, the microprocessor CPU determines whether or not the indent address has been entered up to the last line of the empty indent register (INDR2), and if the result is NO, control is performed to insert the indent address in step 17, and the process proceeds to step I8. If YES, go directly to step I8.

マイクロプロセツサCPUはメモリW01,W12,W23,W34の内容
を調べ、データがあるか調べる(ステツプI8)。今NOで
あるので、ステツプI12に移る。
The microprocessor CPU checks the contents of the memories W01, W12, W23, W34 to see if there is data (step I8). Since it is NO now, move to step I12.

ステツプI12でマイクロプロセツサCPUは現メモリ(メモ
リBuf1)の空きメモリ(メモリBuf2)へ移動した残りは
存在するかを判断する。今の場合NOであり、ステツプI1
6に処理は移る。マイクロプロセツサCPUは現メモリ(メ
モリBuf1)及び現インデントレジスタ(レジスタINDR
1)の内容をクリアする為に、現メモリにNULL Codeを入
れ、一方に22を入れる。
At step I12, the microprocessor CPU determines whether or not there is any remaining memory after moving to the free memory (memory Buf2) of the current memory (memory Buf1). In this case NO, step I1
The process moves to 6. The microprocessor CPU uses the current memory (memory Buf1) and current indent register (register INDR
To clear the contents of 1), put a NULL Code in the current memory and put 22 in one.

次にマイクロプロセツサCPUはバツフアセレクトレジス
タBSRの内容を1→2にする。この処理はバツフアセレ
クトレジスタBSRの内容が“2"のとき、マイクロプロセ
ツサCPUはそれに“1"を入れる(ステツプI17)。
Next, the microprocessor CPU changes the contents of the buffer select register BSR from 1 to 2. In this processing, when the content of the buffer select register BSR is "2", the microprocessor CPU puts "1" into it (step I17).

次にマイクロプロセツサCPUはバツフアセレクトレジス
タBSRの内容に従ってセレクタSCを切り換える(ステツ
プI18)。これで現メモリはメモリBuf2で現インデント
レジスタはINDR2になる。
Next, the microprocessor CPU switches the selector SC according to the contents of the buffer select register BSR (step I18). The current memory is now memory Buf2 and the current indent register is INDR2.

以上の処理が終わると、またキー待ち状態となる。When the above processing is completed, the key waiting state is resumed.

次に第1のインデントを文頭にする文章の文末を決まる
為に第2のインデントコードを入力する。まず再びカー
ソルキーCARが操作される。カーソルキーCARが操作され
ると、カーソルレジスタのXの内容が再び前述の如く1
操作毎に+1インクリメントする。Xの内容が11となっ
たとき、前述の第1のインデントを入力したときと同様
にインデントキーIND2が操作されると、前述と同様に第
2のインデントのインデントコード2が空きメモリ(メ
モリBuf1)に記憶され、空きインデントレジスタ(レジ
スタINDR1)にそのアドレスが記憶される。また現メモ
リ(メモリBuf2)の第1のインデントのインデントコー
ド1及び現インデントレジスタ(レジスタINDR2)のイ
ンデントアドレスが空きメモリ、空きインデントレジス
タに移される。そしてバツフアセレクタレジスタBSRの
内容「2」→「1」に変化する。
Next, the second indent code is entered to determine the end of the sentence with the first indent as the beginning. First, the cursor key CAR is operated again. When the cursor key CAR is operated, the contents of X in the cursor register are again set to 1 as described above.
Increment by +1 for each operation. When the content of X becomes 11, when the indent key IND2 is operated as in the case of inputting the first indent described above, the indent code 2 of the second indent is vacant memory (memory Buf1 ), And the address is stored in the empty indent register (register INDR1). Further, the indent code 1 of the first indent of the current memory (memory Buf2) and the indent address of the current indent register (register INDR2) are moved to the empty memory and the empty indent register. Then, the content of the buffer selector register BSR changes from "2" to "1".

上述と同様に第2インデントを文頭に第3インデントを
その文末にする為に、カーソルキーCARが操作され、図
示の如くXが15となる迄、そしてインデントキーIND3が
操作されると、空きメモリ(メモリBuf2)にインデント
コード3が記憶され、空きインデントレジスタ(レジス
タINDR2)に15が記憶され、現メモリ(メモリBuf1)の
内容及び現インデントレジスタ(INDR1)の内容がそれ
ぞれ空きメモリ(メモリBuf2)、空きインデントレジス
タ(レジスタINDR2)に移される。さらにバツフアセレ
クトレジスタBSRの内容が1→2に変わる。
Similar to the above, in order to make the second indent the first sentence and the third indent the last sentence, the cursor key CAR is operated until X becomes 15 as shown in the figure and the indent key IND3 is operated. The indent code 3 is stored in (memory Buf2), 15 is stored in the empty indent register (register INDR2), and the contents of the current memory (memory Buf1) and the current indent register (INDR1) are empty memory (memory Buf2). , Are moved to the empty indent register (register INDR2). Furthermore, the contents of the buffer select register BSR change from 1 to 2.

上述の処理が終了すると、再びキー待ちになる。When the above process is completed, the key waits again.

まずカーソルキーCARを操作し、カーソルの位置を第1
行の第6列に移動させる。
First, operate the cursor key CAR to move the cursor to the first position.
Move to column 6 of row.

次にキヤラクタキーCKが操作されると、第9図のステツ
プM9で、キヤラクタキーCKが操作されたことが判断され
ると、ステツプM18のキヤラクタルーチンに入る。第17
図Aにその詳細が示される。
Next, when the charactor key CK is operated, at step M9 in FIG. 9, when it is judged that the charactor key CK has been operated, the charactor routine of step M18 is entered. 17th
The details are shown in FIG.

まずオーバライトフラツグOWFが1か否かを調べる。今
の場合、初期状態設定時に「1」になっているので、ス
テツプC2に移る。バツフアセレクトレジスタBSRにより
現メモリを探す。
First, check whether the overwrite flag OWF is 1 or not. In this case, since it is "1" when the initial state is set, the process moves to step C2. The current memory is searched by the buffer select register BSR.

次にステツプC3で現メモリ(メモリBuf2)に於いてカー
ソルレジスタCRの内容はインデントコードの存在位置か
を調べる 今の場合NOで、ステツプC4に移り、カーソルレジスタCR
の(X,Y)に対応したメモリ位置に入力キヤラクタコー
ドを書き込む。
Then, in step C3, it is checked whether the contents of the cursor register CR in the current memory (memory Buf2) are the position where the indent code exists. In this case, if NO, the process moves to step C4 and the cursor register CR
Write the input character code to the memory location corresponding to (X, Y).

次にステツプC5に移ってカーソルによって示された行の
インデントによる区切り範囲(X1,X2)を現インデント
レジスタ(INDR2)を参照して求める。
Then determine delimited range of the indentation of the line indicated by the cursor moves to step C5 to (X 1, X 2) with reference to the current indent register (INDR2).

次にカーソルレジスタCRのXの内容をインクリメントす
る(ステツプC6)。
Next, the content of X in the cursor register CR is incremented (step C6).

次にインデントレジスタINDR2より求めたX2の内容とカ
ーソルレジスタCRのXとの値との大きさを比較する(ス
テツプC7)。
Next, the contents of X 2 obtained from the indent register INDR2 and the value of X in the cursor register CR are compared in size (step C7).

今の場合X<X2なので、NOとなり、キー待ち制御とな
る。
In this case, since X <X 2 , NO is set, and key waiting control is performed.

上述の如くして行の第9列迄キヤラクタを同様に入れて
いくことができる。
Charactors can be similarly inserted up to the ninth column of the row as described above.

次に第10列目のキヤラクタ即ち第2インデントコードの
左隣りのキヤラクタを入れるキー操作を行う。
Next, the key operation for inserting the character in the tenth row, that is, the character to the left of the second indent code is performed.

ステツプC1,C2,C3,C4,C5,C6は前述と同様に行う。Steps C1, C2, C3, C4, C5 and C6 are performed in the same manner as described above.

つぎにステツプC7で、マイクロプロセツサCPUはカーソ
ルレジスタCRのXの内容がX2と等しいかを調べる。ステ
ツプC6でXの内容は第2インデントコードのXアドレス
と同じ値になっているので、ここでYESとなり、ステツ
プC8に移り、カーソルレジスタCRのYの値を+1インク
リメントさせる。次にカーソルレジスタCRのYの値が22
以上かを調べ、NOであるので、次のステツプC10に移
る。ステツプC10に於いてカーソルに示された行のイン
デントによる区切り範囲(X1,X2)を現インデントレジ
スタ(INDR2)を参照し求める。
Next, at step C7, the microprocessor CPU checks whether the content of X in the cursor register CR is equal to X 2 . Since the content of X has the same value as the X address of the second indent code at step C6, YES is obtained at this step, the process proceeds to step C8, and the Y value of the cursor register CR is incremented by +1. Next, the Y value of the cursor register CR is 22
Check if it is the above, and since it is NO, move to the next step C10. In step C10, the delimiter range (X 1 , X 2 ) of the line indicated by the cursor is obtained by referring to the current indent register (INDR2).

次にカーソルレジスタCRのXの値をX1+1にする。すな
わち、第2行目の第6列にカーソルを移動させる。
Next, the value of X in the cursor register CR is set to X 1 +1. That is, the cursor is moved to the 6th column on the 2nd row.

従ってインデントコード1〜2との間にキヤラクタを次
々に配列させていくことができる。
Therefore, the charactors can be sequentially arranged between the indent codes 1 and 2.

従ってカーソルが次に第1行の第12列に配置されたと
き、第6図(a)の小文字で示したキヤラクタa,b,c…
が第2インデントと第3インデントの間に配列されるの
が前述の説明より理解されるであろう。
Therefore, when the cursor is next placed in the 12th column of the 1st row, the characters a, b, c ...
It will be understood from the above description that is arranged between the second indent and the third indent.

今、第6図(a)に示した現メモリ(メモリBuf2)の第
2インデントを第11列より第9列に移動させた場合の処
理を説明する。
Now, the processing when the second indent of the current memory (memory Buf2) shown in FIG. 6A is moved from the 11th column to the 9th column will be described.

カーソルキーCARが操作され、カーソルを第0行の第9
列に移動させる。
The cursor key CAR is operated and the cursor is moved to the 9th line on the 0th line.
Move to a row.

次にインデントキーIND2が操作されると、第9図のステ
ツプM4でインデントキーであることが判別され、第12図
Aより始まるインデントルーチンの制御を行う。
Next, when the indent key IND2 is operated, it is determined in step M4 in FIG. 9 that the key is the indent key, and the indent routine starting from FIG. 12A is controlled.

まずステツプI1で、バツフアセレクトレジスタBSRの内
容により空きメモリ(メモリBuf1)及び空きインデント
レジスタ(INDR1)を探す。次にカーソルレジスタCRに
よって示される行よりE行もしくは最終行ここでは最終
行迄の現メモリ(メモリBuf1)の内容(白紙コードを除
く)を各インデントにより仕切りに従ってメモリW01,W1
2,W23,W34に移す。その際、上記メモリ内のデータの長
さをメモリW01L,W12L,W23L,W34Lに入れる。
First, in step I1, an empty memory (memory Buf1) and an empty indent register (INDR1) are searched for according to the contents of the buffer select register BSR. Next, from the line indicated by the cursor register CR to the E line or the last line, the contents of the current memory (memory Buf1) (except the blank code) from the line to the last line are divided by the indents into the memories W01, W1.
Move to 2, W23, W34. At that time, the length of the data in the memory is stored in the memories W01L, W12L, W23L, W34L.

次にステツプI3で、カーソルレジスタCRが示す行の前ま
での現メモリ(Buf1)及び現インデントレジスタ(INDR
1)の内容を移す。
Next, at step I3, the current memory (Buf1) and the current indent register (INDR) up to the line before the cursor register CR is displayed.
Transfer the contents of 1).

次に変更指示したインデントに関し、カーソルレジスタ
CRが示す行からE行または最終行ここでは最終行まで空
きメモリ(メモリBuf2)の指示された位置にインデント
コードを書き込む。また空きインデントレジスタ(イン
デントレジスタINDR2)に指示されたアドレスを書き込
む(ステツプI4)。変更指示されなかったインデントに
関し、カーソルレジスタCRが示す行からE行もしくは最
終行まで空きメモリ(Buf2)に現メモリ(Buf1)と同じ
位置にインデントコードを書き込む。また、空きインデ
ントレジスタ(INDR2)に現インデントレジスタ(INDR
1)と同じインデントアドレスを記入する。
Cursor register for the next indent
From the line indicated by CR to the E line or the last line, the indent code is written at the designated position in the empty memory (memory Buf2) from the last line. Further, the designated address is written in the empty indent register (indent register INDR2) (step I4). Regarding the indentation which is not instructed to be changed, the indentation code is written in the empty memory (Buf2) from the line indicated by the cursor register CR to the E line or the last line at the same position as the current memory (Buf1). In addition, the current indent register (INDR2) is added to the empty indent register (INDR2).
Enter the same indent address as in 1).

空きインデントレジスタ(INDR2)にすべてインデント
データを記入したら、ステツプI6,I7を終了し、ステツ
プI8で、メモリW01,W12,W23,W34にデータがあるかを調
べる。
When all the indent data is written in the empty indent register (INDR2), the steps I6 and I7 are ended and it is checked at step I8 whether or not there is data in the memories W01, W12, W23 and W34.

今の場合、YESとなり、ステツプI9で、メモリW01,W12,W
23,W34に退避したデータを空きインデントレジスタ(IN
DR2)に記憶された区切りデータに従って空きメモリ(B
uf2)に書き込む。
In this case, YES is selected and the memory W01, W12, W is set in step I9.
The data saved in 23 and W34 is stored in the empty indent register (IN
Free memory (B
uf2).

かかる制御は第12図Dに詳細に示す。この処理はメモリ
W01,W12,W23,W34のそれぞれについて逐次行う。
Such control is shown in detail in FIG. 12D. This process is a memory
Perform sequentially for each of W01, W12, W23, W34.

今の場合、第6図Aに示される区切り1〜2間のデータ
A,B,C,D,E,F…は第6図Bに示される区切り1〜2間に
配列される。
In this case, the data between the divisions 1 and 2 shown in FIG. 6A.
A, B, C, D, E, F ... Are arranged between the partitions 1 and 2 shown in FIG. 6B.

まずステツプI801でメモリW12の長さが0でないことが
判別され、カーソルレジスタCRのX,Yの値を退避させる
(ステツプI802)。カーソルがある行のインデントによ
る区切り範囲(X1,X2)を空きインデントレジスタ(IND
R2)を参照し求める。ここではX1=5,X2=9次にX1+2
≦X2であるか調べる。YESであるので、ステツプI805に
移る。カーソルレジスタにX=X1+1を入れる。カーソ
ルによって示された空きメモリ(Buf2)の位置にメモリ
W12のデータを移す(ステツプI806)。
First, it is determined in step I801 that the length of the memory W12 is not 0, and the X and Y values of the cursor register CR are saved (step I802). The indentation range (X 1 , X 2 ) of the line where the cursor is located is set in the free indent register (IND
See R2) to find out. Here, X 1 = 5, X 2 = 9 and then X 1 +2
Check if ≤ X 2 . YES, so move to step I805. Put X = X 1 +1 in the cursor register. Memory at the free memory (Buf2) location indicated by the cursor
Transfer W12 data (step I806).

次に長さを−1デクリメントさせる。ステツプI808で長
さが0以下かを調べ、NOであれば、カーソルレジスタCR
のX=X+1にする。
Next, the length is decremented by -1. In step I808, check if the length is 0 or less, and if NO, use cursor register CR
X = X + 1.

次にX≧X2であるかを調べNOであれば、ステツプI806に
もどり、メモリW12の内容をさらに空きメモリ(Buf2)
に転送していく。もしXの値がX2即ち9になったとき、
カーソルレジスタCRのYの値が+1インクリメントし、
Xの値が再びX1+1となり再び前述の如くデータの転送
制御を行う。
Next, it is checked whether X ≧ X 2 and if NO, the process returns to step I806 and the contents of the memory W12 are further emptied into memory (Buf2).
Transfer to. If the value of X becomes X 2 or 9,
Y value of cursor register CR is incremented by +1
The value of X becomes X 1 +1 again, and the data transfer control is performed again as described above.

以上のような制御をメモリW01,W12,W23,W34について行
う。
The above control is performed for the memories W01, W12, W23, W34.

上述の処理を終えたら、退避させていたカーソルレジス
タCRのXYの値をもとにもどし、第12図BのステツプI10
に移り、書き込みの最後の行の第1列に“E"マークを記
憶させる。かかるEマークは行方向の仕切りとなり、E
マークの個所迄を1つのデータとして以下に述べる如く
処理する。ステツプI11で、E行は空きメモリの最後行
かを調べる。YESであればステツプI16に移り、ステツプ
I16,I17,I18を行ってキー待ち、ステツプI11でNOであれ
ば、ステツプI12,I16,I17,I18もしくはI12,I13,I14に移
り、ステツプI14で空きメモリ(メモリBuf2)にさらに
空きはあるかを調べ、ここでNOであればステツプI14,I1
6,I17,I18に移りキー待ち、もしステツプI14でYESであ
れば、ステツプI15で空きメモリ(Buf2)に白紙コード
(NVLL)を書き込み、対応する空きインデントレジスタ
(INDR2)に22を書き込み、スイツプI16〜I18を経てキ
ー待ちとなる。
After the above processing is completed, the saved values of XY in the cursor register CR are restored, and the step I10 of FIG. 12B is returned.
Then, the "E" mark is stored in the first column of the last row of writing. The E mark is a partition in the row direction,
The data up to the mark is treated as one data and processed as described below. At step I11, it is checked whether the E line is the last line of the free memory. If YES, move to step I16, step
Go to I16, I17, I18 and wait for the key. If NO at step I11, move to steps I12, I16, I17, I18 or I12, I13, I14, and at step I14, there is more free memory (memory Buf2). If NO, step I14, I1
Move to 6, I17, I18, wait for key, and if YES in step I14, write blank code (NVLL) in empty memory (Buf2) in step I15, write 22 in corresponding empty indent register (INDR2), and switch. Wait for the key after going through I16 to I18.

上述の如くして1つの文章の行頭と行末をそろえる。ま
たメモリW23に退避したデータを空きメモリ(Buf2)に
書き込み制御も第12図Dの制御により行う。従って第6
図(a)に示すデータ配列は第6図(b)に示す如き配
列に変更される。
As described above, the beginning and end of a sentence are aligned. Further, the control of writing the data saved in the memory W23 to the empty memory (Buf2) is also performed by the control of FIG. 12D. Therefore, the sixth
The data array shown in FIG. 6A is changed to the array shown in FIG.

第7図(a)は前述の如きキー操作により4段に区切
り、それぞれの段毎にインデントを異なる位置にデータ
を配列したものである。
FIG. 7 (a) shows that the data is arrayed at different positions by dividing the indent into four levels by operating the keys as described above.

今第6図(a)の2段目の第1インデントの位置を5→
10に変更した場合の処理を説明する。
Now, change the position of the first indent in the second row of FIG. 6 (a) to 5 →
The process when the value is changed to 10 will be described.

まずカーソルが第6行目の第10列目に移動させられる。
次にインデントキーIND1が操作されると、前述の如く、
カーソルで示した行よりE行迄のデータがメモリW01,W1
2、W23、W34に転送される。次にカーソルが示す行の前
のデータがそのまま空きメモリ及び空きインデントレジ
スタに転送される。従って第6図(a)の1段目のデー
タはそのまま第6図(b)の1段目に現われる。そして
第2段目は前述の如く配列変更がなされる。第3段目と
第4段目のデータは第3段目のデータの転送が終了する
ステツプI10の次の次のステツプI12に於いて決められ
る。まず現メモリの内容があるかのステツプI12でYESと
なり、ステツプI13で、現メモリの内容が空きメモリに
転送される。しかるのち処理は前述した如く行われる。
また第8図に示す如くインデントを配列しうることも前
述の説明より明らかである。
First, the cursor is moved to the 10th column on the 6th row.
Next, when the indent key IND1 is operated, as described above,
The data from the line indicated by the cursor to the E line is stored in the memory W01, W1
2, transferred to W23, W34. Next, the data before the line indicated by the cursor is transferred as it is to the empty memory and the empty indent register. Therefore, the data in the first row of FIG. 6 (a) appears as it is in the first row of FIG. 6 (b). Then, the arrangement of the second row is changed as described above. The data in the third and fourth stages are determined in step I12 next to step I10 in which the transfer of the data in the third stage is completed. First, YES is determined in step I12 if the contents of the current memory are present, and the contents of the current memory are transferred to the empty memory in step I13. Thereafter, the processing is performed as described above.
It is also apparent from the above description that indents can be arranged as shown in FIG.

次に配列し終った入力データ中のデータを一部削除した
い場合、削除したい位置にカーソルを移動させる。
Next, when you want to delete a part of the input data that has been arranged, move the cursor to the position you want to delete.

次にデリートキーDELが操作されると、デリートキーDEL
の確認後第16図に示すステツプD1に移り、空きメモリ及
び空きインデントレジスタを探す。カーソルレジスタCR
によって示される行よりE行又は最終行までの現内容
(白紙コードを除く)を各インデントによる仕切りに従
ってメモリW01,W12,W23,W34に移す。その際W01L,W12L,W
23L,W34Lにそれぞれの長さを蓄える(但し、白紙コード
(NULL)は含めない)。
Next time the delete key DEL is operated, the delete key DEL
After confirming that, the process moves to step D1 shown in FIG. 16 to search for a free memory and a free indent register. Cursor register CR
The current contents (excluding blank codes) from the line indicated by to the E line or the last line are transferred to the memories W01, W12, W23, W34 according to the partition by each indent. At that time W01L, W12L, W
Store each length in 23L and W34L (however, do not include blank code (NULL)).

次に第16図Bに示す如く現カーソルレジスタによって示
されるキヤラクタをメモリW01〜W34上で削除する。
Next, as shown in FIG. 16B, the character indicated by the current cursor register is deleted on the memories W01 to W34.

空きメモリ及び空きインデントレジスタに現カーソルが
示す行の前までの現メモリ及び現インデントレジスタの
内容を移す。現カーソルが示す行からE行又は最終行ま
で空きメモリに現メモリと同じ位置にインデントコード
を書き込む。又空きインデントレジスタに現インデント
レジスタと同じインデントアドレスを書き込む。
The contents of the current memory and the current indent register up to the line before the line indicated by the current cursor are moved to the free memory and the free indent register. The indent code is written in the empty memory from the line indicated by the current cursor to the E line or the last line at the same position as the current memory. In addition, the same indent address as the current indent register is written in the empty indent register.

次に第12図Aに示すステツプI6に移り、以降の処理は前
述の如く行われる。
Next, in step I6 shown in FIG. 12A, the subsequent processing is performed as described above.

次にキヤラクタの挿入についてその処理を述べる。Next, the processing for inserting the charactor will be described.

まずインサートキーINSが操作されると、第9図に示す
ステツプM6でインサートキーINSのキー操作が判断さ
れ、ステツプM15のインサートルーチンの制御を行う。
第14図に示す如くオーバライトフラツグOWFをリセツト
させてキー待ちになる。オーバライトフラツグOWFをセ
ツトするにはオーバライトキーOWが操作されると第15図
に示す如くオーバライトフラツグOWFをセツト状態にす
る。
First, when the insert key INS is operated, the key operation of the insert key INS is judged at step M6 shown in FIG. 9, and the insert routine of step M15 is controlled.
As shown in FIG. 14, the overwrite flag OWF is reset and the key waits. To set the overwrite flag OWF, when the overwrite key OW is operated, the overwrite flag OWF is set as shown in FIG.

前述のようにオーバライトフラツグOWFをリセツトさせ
た後に、キヤラクタを挿入したい個所にカーソルをカー
ソルキーCARにより移動させる。
After resetting the overwrite flag OWF as described above, the cursor key CAR is used to move the cursor to the position where the character is to be inserted.

次にキヤラクタキーが操作されると、第17図Aのステツ
プC1に於いて、オーバライトフラツグ=1かの判断で、
NOとなり、第17図Bの制御を行う。
Next, when the charactor key is operated, in step C1 of FIG. 17A, it is determined whether the overwrite flag is 1 or not.
When NO, the control shown in FIG. 17B is performed.

まずステツプC12でバツフアセレクトレジスタBSRの内容
を調べ、空きメモリ,空きインデントレジスタを探す。
次にカーソルレジスタによって示される行よりE行又は
最終行までの現メモリの内容(白紙コードを除く)を各
インデントによる仕切りに従ってメモリW01,W12,W23,W3
4に移す。その際メモリW01L,W12L,W23L,W34Lにそれぞれ
の長さを蓄える(但し、白紙コード(NULL)は含めな
い)。
First, at step C12, the contents of the buffer select register BSR are checked to find an empty memory and empty indent register.
Next, the contents of the current memory (excluding blank codes) from the line indicated by the cursor register to the E line or the last line are stored in the memory W01, W12, W23, W3 according to the partition by each indent.
Move to 4. At that time, the respective lengths are stored in the memories W01L, W12L, W23L, and W34L (however, the blank code (NULL) is not included).

現カーソルレジスタによって示されるキヤラクタをメモ
リW、メモリ上でインサートする(第20図)。
The character indicated by the current cursor register is inserted into the memory W or memory (FIG. 20).

空きメモリ及び空きインデントレジスタに現カーソルが
示す行の前までの現メモリ及び現インデントレジスタの
内容を移す。
The contents of the current memory and the current indent register up to the line before the line indicated by the current cursor are moved to the free memory and the free indent register.

カーソルが示す行からE行又は最終行まで空きに現と同
じ位置にインデントコードを書き込む。又空きに現と同
じを書き込む。
Write the indent code at the same position as the current position in the space from the line indicated by the cursor to the E line or the last line. Also, write the same as the current one in the empty space.

次に第12図Aに示すステツプI6に移り前述同様の作動を
行う。
Next, in step I6 shown in FIG. 12A, the same operation as described above is performed.

第22図は前述の実施例に於けるインデントキーの減少を
実現させる例を示す。第22図に示すのはインデントキー
IND12、メモリBuf及びインデントレジスタINDRである。
この例に於いてインデントレジスタINDRの内部構成は3
つに分割されているが、前述の実施例の如くキーと1対
1に対応していない。
FIG. 22 shows an example of realizing the reduction of the indent key in the above-mentioned embodiment. Figure 22 shows the indent key
IND12, memory Buf and indent register INDR.
In this example, the internal structure of the indent register INDR is 3
However, they do not correspond to the keys in a one-to-one manner as in the above-described embodiment.

第21図は上述の如きインデントキーとインデントレジス
タINDRを構成したときの制御手順を示すもので、第12図
AのステツプI4の一部に挿入しうる。まずメモリBufに
インデントコードが書き込まれていないとき、第1のイ
ンデントキーIND1が操作されると、カーソルレジスタCR
の内容を基にその左側のインデントコードの数を知る
(ステツプK1)。
FIG. 21 shows a control procedure when the indent key and the indent register INDR are constructed as described above, and can be inserted into a part of the step I4 of FIG. 12A. First, when the first indent key IND1 is operated while the indent code is not written in the memory Buf, the cursor register CR
Know the number of indent codes on the left side based on the contents of (step K1).

次にカーソルレジスタによって示される位置のすぐ左に
あるインデントコードは、打鍵されたインデントキーに
対応するものか?を調べる。NOであれば、変更指示され
たインデントはN+1番目のインデントとしてインデン
トレジスタINDRの所定の処に書き込む。この例ではイン
デントデータは1行に3つ迄書き込める。もしYESであ
れば、変更指示されたインデントは、N番目のものであ
る。従ってN番目のインデントとしてインデントレジス
タにインデントアドレスを書き込む。
Does the indent code just to the left of the position next indicated by the cursor register correspond to the indent key typed? Find out. If the answer is NO, the indentation instructed to be changed is written as a N + 1th indentation in a predetermined area of the indent register INDR. In this example, up to three indent data can be written in one line. If YES, the change indent is the Nth indent. Therefore, the indent address is written in the indent register as the Nth indent.

以上の制御を行うことで、キーの数を減少させられる。By performing the above control, the number of keys can be reduced.

以上、述べたごとく、本発明によると領域と文字列を別
個に管理し、予め設定された領域内に表示される文字デ
ータが、領域の変更に従って表示位置も変更されるの
で、文章を入力した後で、領域を変更されるので、文章
を入力した後で、領域を変更しても、文章のつながりが
崩れることがない。
As described above, according to the present invention, the area and the character string are managed separately, and the display position of the character data displayed in the preset area is changed according to the change of the area. Since the area is changed later, even if the area is changed after inputting the sentence, the connection of the sentences is not broken.

[効果] 以上、詳述した様に、本願発明により文字情報の配置を
規定する境界を有し、前記境界に対応したサイズの領域
を表わす領域情報と、前記領域内に配列すべき文字列を
表わす文字情報とを有し、前記領域の変更の指示に基づ
いて、前記領域情報を変更し、前記変更後の領域内に、
前記文字列を再配列すべく、前記文字情報の配置を変更
することが可能となった。
[Effect] As described above in detail, according to the present invention, there is a boundary that defines the arrangement of character information, and area information representing an area having a size corresponding to the boundary and character strings to be arranged in the area are provided. Character information to represent, based on an instruction to change the area, the area information is changed, in the area after the change,
It has become possible to change the arrangement of the character information in order to rearrange the character strings.

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

第1図は本発明による一実施例を示す機能ブロック図、 第2図は第1図に示すキーボードKB2の詳細図、 第3図は第1図に示すブロツク図の具体的回路図、 第4図Aは第3図に示す制御メモリROMの説明図、 第4図Bは第3図に示すメモリRAMの説明図、 第5図AはメモリBuf1,Buf2の構成を示す図、 第5図BはインデントレジスタINDR1,INDR2の構成説明
図、 第6図AはメモリBuf1(又はBuf2)とインデントレジス
タINDR1(又はINDR2)の状態説明図、 第6図BはメモリBuf2(Buf1)とインデントレジスタIN
DR2(INDR1)の状態説明図、 第7図AはメモリBuf1(Buf2)とインデントレジスタIN
DR1(INDR2)の状態説明図、 第7図BはメモリBuf2(Buf1)とインデントレジスタIN
DR2(INDR1)の状態説明図、 第8図はメモリBuf1(Buf2)とインデントレジスタINDR
1(INDR2)の状態説明図、 第9図〜第11図は制御手順を示す図、 第12図A〜第12図Dは制御手順を示す図、 第13図〜第18図は制御手順を示す図、 第19図、第20図はデータのアレンジを示す図、 第21図は制御手順を示す図、 第22図は制御を説明する図である。 INDR1,INDR2……インデントレジスタ IND1〜3……インデントキー
FIG. 1 is a functional block diagram showing an embodiment according to the present invention, FIG. 2 is a detailed view of the keyboard KB2 shown in FIG. 1, FIG. 3 is a specific circuit diagram of the block diagram shown in FIG. 1, and FIG. FIG. A is an explanatory diagram of the control memory ROM shown in FIG. 3, FIG. 4B is an explanatory diagram of the memory RAM shown in FIG. 3, FIG. 5A is a diagram showing the configurations of the memories Buf1 and Buf2, and FIG. 6A is a configuration explanatory diagram of the indent registers INDR1 and INDR2, FIG. 6A is a state explanatory diagram of the memory Buf1 (or Buf2) and the indent register INDR1 (or INDR2), and FIG. 6B is a memory Buf2 (Buf1) and the indent register IN.
DR2 (INDR1) state explanatory diagram, FIG. 7A shows memory Buf1 (Buf2) and indent register IN
DR1 (INDR2) state explanatory drawing, FIG. 7B shows memory Buf2 (Buf1) and indent register IN
DR2 (INDR1) status diagram, Figure 8 shows memory Buf1 (Buf2) and indent register INDR
1 (INDR2) state explanatory diagram, FIGS. 9 to 11 are diagrams showing control procedures, FIGS. 12A to 12D are diagrams showing control procedures, and FIGS. 13 to 18 are control sequences. FIG. 19, FIG. 19 and FIG. 20 are diagrams showing data arrangement, FIG. 21 is a diagram showing a control procedure, and FIG. 22 is a diagram explaining control. INDR1, INDR2 …… Indent register IND1 to 3 …… Indent key

───────────────────────────────────────────────────── フロントページの続き (72)発明者 竹中 駿平 東京都大田区下丸子3丁目30番2号 キヤ ノン株式会社内 (72)発明者 市村 秀志 東京都大田区下丸子3丁目30番2号 キヤ ノン株式会社内 (56)参考文献 特開 昭50−61950(JP,A) 特開 昭50−146225(JP,A) 特開 昭51−4927(JP,A) 特開 昭51−87919(JP,A) 特開 昭52−79733(JP,A) 特開 昭52−104824(JP,A) 特開 昭52−110528(JP,A) 特開 昭54−19618(JP,A) 特開 昭54−159132(JP,A) 特公 昭48−29171(JP,B1) ─────────────────────────────────────────────────── ─── Continued Front Page (72) Inventor Shunpei Takenaka 3-30-2 Shimomaruko, Ota-ku, Tokyo Canon Inc. (72) Inventor Hideshi Ichimura 3-30-2 Shimomaruko, Ota-ku, Tokyo Kya Non-Co. Ltd. (56) Reference JP 50-61950 (JP, A) JP 50-146225 (JP, A) JP 51-4927 (JP, A) JP 51-87919 (JP , A) JP 52-79733 (JP, A) JP 52-104824 (JP, A) JP 52-110528 (JP, A) JP 54-19618 (JP, A) JP 54-159132 (JP, A) JP48-29171 (JP, B1)

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】文字情報の入力及び領域を規定する複数種
の制御情報の入力を行う入力手段と、 前記入力手段から入力された前記文字情報と前記複数種
の制御情報を記憶する記憶手段と、 前記記憶手段に記憶された文字情報と制御情報を表示す
る表示手段と、 前記表示手段上の、前記入力手段から新たに入力すべき
文字情報及び前記制御情報の表示位置を示すカーソル
と、 前記入力手段から文字データが入力される毎に前記カー
ソルを行に沿って移動し、前記カーソルが前記入力手段
によって入力された前記制御情報によって規定される文
字編集領域を越える場合、前記カーソルを前記文字編集
領域内の次の行の行頭に移動するカーソル制御手段と、 前記制御情報は、領域を規定するものであり、前記文書
編集領域の領域変更の指示により制御情報の位置が変更
されることに応じて前記隣接する文字編集領域の領域を
変更させる共に、前記文字編集領域に文字情報が入力さ
れている場合、その入力されている文字情報を変更され
た文字編集領域内に再配置する制御手段とを有する文字
処理装置。
1. Input means for inputting character information and a plurality of types of control information for defining an area, and storage means for storing the character information and the plurality of types of control information input from the input means. A display unit for displaying the character information and the control information stored in the storage unit; a cursor on the display unit for indicating the display position of the character information and the control information to be newly input from the input unit; Each time the character data is input from the input means, the cursor is moved along the line, and when the cursor exceeds the character edit area defined by the control information input by the input means, the cursor is moved to the character Cursor control means for moving to the beginning of the next line in the edit area; and the control information that defines the area. When the position of the control information is changed, the area of the adjacent character editing area is changed, and when the character information is input to the character editing area, the input character information is changed. A character processing device having a control means for rearranging in a character editing area.
JP62281545A 1987-11-07 1987-11-07 Character processor Expired - Lifetime JPH0743705B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62281545A JPH0743705B2 (en) 1987-11-07 1987-11-07 Character processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62281545A JPH0743705B2 (en) 1987-11-07 1987-11-07 Character processor

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP12720379A Division JPS5650432A (en) 1979-10-01 1979-10-01 Character processor

Publications (2)

Publication Number Publication Date
JPS63145570A JPS63145570A (en) 1988-06-17
JPH0743705B2 true JPH0743705B2 (en) 1995-05-15

Family

ID=17640672

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62281545A Expired - Lifetime JPH0743705B2 (en) 1987-11-07 1987-11-07 Character processor

Country Status (1)

Country Link
JP (1) JPH0743705B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6397233B1 (en) 1995-11-22 2002-05-28 Fujitsu Limited Document processing apparatus and computer program product therefor

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5515712B2 (en) * 1973-09-28 1980-04-25
JPS5333413B2 (en) * 1974-05-13 1978-09-13
JPS559743B2 (en) * 1974-07-03 1980-03-12
US3952852A (en) * 1975-01-22 1976-04-27 International Business Machines Corporation Column format control system
JPS5827509B2 (en) * 1975-12-26 1983-06-09 株式会社日立製作所 Cursor movement control device in screen split control device
JPS52104824A (en) * 1976-03-01 1977-09-02 Hitachi Ltd Letter display end unit
JPS52110528A (en) * 1976-03-12 1977-09-16 Mitsubishi Electric Corp Numeric representation system of display device
JPS5419618A (en) * 1977-07-15 1979-02-14 Hitachi Ltd Cursor control unit
JPS54159132A (en) * 1978-06-07 1979-12-15 Hitachi Ltd Display unit

Also Published As

Publication number Publication date
JPS63145570A (en) 1988-06-17

Similar Documents

Publication Publication Date Title
US4124843A (en) Multi-lingual input keyboard and display
US4947370A (en) Word processor for simultaneously displaying and scrolling documents and the corresponding titles
US4198685A (en) Text editing system having flexible repetitive operation capability with keyboard interactive feature
JPS641819B2 (en)
US4980841A (en) Block processing apparatus
JPH0743705B2 (en) Character processor
US4924409A (en) Image processing apparatus wherein character string processing can be performed on a display screen
JPS60241156A (en) Word processor
JPH02193259A (en) Character processor
JPH0547858B2 (en)
JPH0522933B2 (en)
JPS63145572A (en) Character processor
JPH02193254A (en) Character processor
JPH02193253A (en) Character processor
JP2003167869A (en) Character processor
JPH02193258A (en) Character processor
JPH02193255A (en) Character processor
JPH02193256A (en) Character processor
JPS6326909B2 (en)
JP2556488B2 (en) Character processor
JPH0679309B2 (en) Word processor
JP2606579B2 (en) Character display device
JPS605955B2 (en) Display control method
JPH0680508B2 (en) Character processor
JPH0480421B2 (en)