JPH0435791B2 - - Google Patents

Info

Publication number
JPH0435791B2
JPH0435791B2 JP57012536A JP1253682A JPH0435791B2 JP H0435791 B2 JPH0435791 B2 JP H0435791B2 JP 57012536 A JP57012536 A JP 57012536A JP 1253682 A JP1253682 A JP 1253682A JP H0435791 B2 JPH0435791 B2 JP H0435791B2
Authority
JP
Japan
Prior art keywords
block
character
cursor
memory
range
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
JP57012536A
Other languages
Japanese (ja)
Other versions
JPS58132853A (en
Inventor
Kazunobu Sugitani
Katsumi Masaki
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 JP57012536A priority Critical patent/JPS58132853A/en
Publication of JPS58132853A publication Critical patent/JPS58132853A/en
Publication of JPH0435791B2 publication Critical patent/JPH0435791B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/126Character encoding

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Health & Medical Sciences (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • Processing Or Creating Images (AREA)
  • Digital Computer Display Output (AREA)
  • Document Processing Apparatus (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、文字情報を処理する文字処理装置に
関し、特に表示装置に表示されている文字群を矩
形のブロツクのまま他の位置のブロツクの文字群
と交換することのできる文字処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a character processing device that processes character information, and in particular, to a character processing device that processes character information, and in particular to a character processing device that processes character information, and in particular, converts a group of characters displayed on a display device into a rectangular block and blocks at other positions. The present invention relates to a character processing device capable of exchanging character groups.

[従来の技術] 従来、特定のブロツクの文字群をブロツクのま
ま他へ移動する事の出来る文字処理装置があつ
た。
[Prior Art] Conventionally, there has been a character processing device that can move a group of characters in a specific block to another block.

[発明が解決しようとする課題] しかしながら、かかる従来の文字処理装置にお
いては、移動先の文字群が消滅してしまうという
欠点があつた。特に、任意の文字群をブロツクの
まま他の位置のブロツクの文字群と交換する必要
が生じた場合は、交換先の文字群を予め保存して
おかねばならないというやつかいな操作作業が必
要であつた。
[Problems to be Solved by the Invention] However, such conventional character processing devices have the disadvantage that the destination character group disappears. In particular, when it becomes necessary to exchange a group of characters as a block with a group of characters in a block at another position, it is necessary to save the character group to be exchanged in advance, which is a complicated operation. Ta.

本発明の目的は、上述した欠点を除去し、簡単
な操作により所定のブロツクの文字群を他の位置
のブロツクの文字群と交換することができるよう
にした文字処理装置を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a character processing device that eliminates the above-mentioned drawbacks and allows a group of characters in a given block to be exchanged with a group of characters in a block at another position by a simple operation. .

[課題を解決するための手段] かかる目的を達成するために、本発明は、表示
される文字情報内の所望の第1ブロツクと、前記
第1ブロツク内に存在する文字情報と交換する対
象の第2ブロツクを指示する指示手段、前記指示
手段によつて指示される前記第1ブロツク内に存
在する前記文字情報と、前記指示手段によつて指
示される前記第2ブロツク内に存在する前記文字
情報とを、各ブロツクの形態を保持した状態で交
換して表示する表示制御手段とを有したことを特
徴とする。
[Means for Solving the Problems] In order to achieve the above object, the present invention provides a method for identifying a desired first block of character information to be displayed and an object to be exchanged with the character information existing in the first block. an instruction means for instructing a second block, the character information existing in the first block specified by the instruction means, and the character information existing in the second block specified by the instruction means; The present invention is characterized by comprising a display control means for exchanging and displaying information while maintaining the form of each block.

[作用] 本発明では、表示される文字情報内の所望の第
1ブロツクと、この第1ブロツク内に存在する文
字情報と交換する対象の第2ブロツクとを指示手
段により指示すると、その指示手段で指示された
上記第1ブロツク内に存在する文字情報と上記第
2ブロツク内に存在する文字情報とが、表示制御
手段により、各ブロツクの形態を保持した状態で
交換されて表示されるので、交換先の文字群を予
め保存操作する必要がなくなり、簡単な操作によ
り所定のブロツクの文字群を他のブロツクの文字
群と交換して表示することができる。
[Operation] In the present invention, when a desired first block in the character information to be displayed and a second block to be exchanged with the character information present in the first block are designated by the designation means, the designation means The character information existing in the first block and the character information existing in the second block instructed by the above are exchanged and displayed by the display control means while maintaining the form of each block. There is no need to store the character group to be exchanged in advance, and the character group of a predetermined block can be exchanged with the character group of another block and displayed with a simple operation.

すなわち、本発明によれば、交換先の文字群を
消滅させることを防止できるばかりでなく、予め
交換先の文字群を保存しておく操作作業も省くこ
とができる。
That is, according to the present invention, it is not only possible to prevent the character group of the exchange destination from disappearing, but also the operation work of storing the character group of the exchange destination in advance can be omitted.

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

第1図は本発明文字処理装置の構成の一例を示
し、ここで、CPUは、マイクロプロセツサでり、
文字処理のための演算、論理判断等を行ない、ア
ドレスバスAB、コントロールバスCB、データ
バスDBを介して、それらのバスに接続された各
構成要素を制御する。アドレスバスABはマイク
ロプロセツサCPUの制御の対称とする構成要素
を指示するアドレス信号を転送する。コントロー
ルバスCBはマイクロプロセツサCPUの制御の対
象とする各構成要素のコントロール信号を転送し
て印加する。データバスDBは各構成機器相互間
のデータの転送を行なう。
FIG. 1 shows an example of the configuration of the character processing device of the present invention, where the CPU is a microprocessor,
It performs calculations and logical judgments for character processing, and controls each component connected to the address bus AB, control bus CB, and data bus DB via these buses. Address bus AB transfers address signals indicating the components to be controlled by the microprocessor CPU. The control bus CB transfers and applies control signals for each component to be controlled by the microprocessor CPU. The data bus DB transfers data between each component.

ROMは、読出し専用の固定メモリであり、第
6図に示す如く後述するマイクロプロセツサ
CPUによる制御の手順等を記憶させておく。
RAMは、1ワード16ビツトの構成の書込み可能
のランダムアクセスメモリであり、各構成要素か
らの各種のデータを一時記憶するに用いられ、例
えば次に述べる範囲列数メモリHX、範囲行数メ
モリHY、カーソルレジスタメモリCRM、範囲
メモリHM等からなる。すなわち、範囲列数メモ
リHXは移動範囲のブロツクに於ける列数を一時
記憶するメモリであり、範囲行数メモリHYは移
動範囲のブロツクに於ける行数を一時記憶するメ
モリであり、カーソルレジスタメモリCRMは後
述するカーソルレジスタCRの内容を一時的に保
存する為のメモリであり、範囲メモリHMは移動
範囲のブロツク内の文字を格納する為のメモリで
ある。KBはキーボードであつて、文字処理装置
における各種データの入力、指示を行うための各
種のキー群を、例えば後述の第2図に示すように
構成して配列したものである。
ROM is a read-only fixed memory, and as shown in Figure 6, the microprocessor (described later)
Store the control procedures etc. by the CPU.
RAM is a writable random access memory with a configuration of 1 word and 16 bits, and is used to temporarily store various data from each component, such as range column number memory HX and range row number memory HY described below. , cursor register memory CRM, range memory HM, etc. That is, the range column number memory HX is a memory that temporarily stores the number of columns in the block of the moving range, the range row number memory HY is a memory that temporarily stores the number of rows in the block of the moving range, and the cursor register The memory CRM is a memory for temporarily storing the contents of a cursor register CR, which will be described later, and the range memory HM is a memory for storing characters within the block of the movement range. KB is a keyboard in which various key groups for inputting various data and giving instructions in the character processing device are configured and arranged, for example, as shown in FIG. 2, which will be described later.

CRは、カーソルレジスタであつて、マイクロ
プロセツサCPUにより制御してカーソルの位置
に関するデータを書込み、読出するためのメモリ
であり、CRTコントローラCRTCの制御のもと
に、このカーソルレジスタCRに記憶させたアド
レスに対応したCRT表示面上の表示位置にカー
ソルを移動させて表示する。
CR is a cursor register, and is a memory for writing and reading data related to the cursor position under the control of the microprocessor CPU, and is stored in this cursor register CR under the control of the CRT controller CRTC. Move the cursor to the display position on the CRT screen that corresponds to the address you entered.

DBUFはデータバツフアで、キーボードKBよ
り入力された文章情報を蓄えるためのメモリであ
り、CRTコントローラCRT上に表示される。こ
のバツフアメモリDBUFは表示装置CRT用のリ
フレシユメモリとして使用され、マイクロプロセ
ツサCPUにより自由に読み書きできるものとす
る。このデータバツフアDBUFは10×5W(W:
ワード、1W=1文字)の容量を有し、表示装置
CRT上に表示されるものとする。文字等の表示
は横10文字、縦5行の表示とし、データバツフア
DBUFの内容50ワードり内容と順に対応付けら
れている。さらにデータバツフアDBUFに格納
するデータには、1から順に50まで番号を付け、
その最初のデータはDBUF1、次のをDBUF2
とし、一般にN番目のデータをDBUFnと表現す
る。
DBUF is a data buffer, which is a memory for storing text information input from the keyboard KB, which is displayed on the CRT controller CRT. This buffer memory DBUF is used as a refresh memory for the display device CRT, and can be freely read and written by the microprocessor CPU. This data buffer DBUF is 10×5W (W:
word, 1W = 1 character), display device
It shall be displayed on a CRT. The display of characters, etc. is 10 characters horizontally and 5 lines vertically, and the data buffer is
The 50-word contents of DBUF are mapped in order. Furthermore, the data stored in the data buffer DBUF is numbered sequentially from 1 to 50.
The first data is DBUF1, the next data is DBUF2
The Nth data is generally expressed as DBUFn.

CRTコントローラCRTCは、カーソルレジス
タCRおよびデータバツフアメモリDBUFに記憶
させたカーソル位置および文字・記号コード信号
に基ずいて表示器CRTの表示面上におけるカー
ソルおよび表示パターンの表示を制御するもので
ある。CRTは陰極線管等を用いた表示装置であ
り、その表示装置CRTにおけるドツト構成の表
示パターンおよびカーソルの表示をCRTコント
ローラで制御する。さらに、CGはキヤラクタジ
エネレータであつて、表示装置CRTに表示する
文字、記号、カーソル等のキヤラクタ信号を発生
させるものであり、各文字、記号は例えば16×16
のドツト構成とする。DISKは作成した文書を記
憶させておくための外部メモリである。
The CRT controller CRTC controls the display of the cursor and display pattern on the display surface of the CRT display device based on the cursor position and character/symbol code signals stored in the cursor register CR and data buffer memory DBUF. . A CRT is a display device using a cathode ray tube or the like, and a CRT controller controls the dot-configured display pattern and cursor display on the CRT display device. Furthermore, CG is a character generator that generates character signals such as characters, symbols, and cursors to be displayed on the display device CRT. Each character and symbol is, for example, 16 x 16
The dot configuration is as follows. DISK is an external memory for storing created documents.

第2図は、第1図のキーボードKBの構成配置
の一例を示し、ここで、CIKは文字処理用の文字
キー、フアンクシヨンキー等の各種キー群であ
り、CKは、後述するカーソルを種々の方向に移
動させる為の各種のカーソル移動キーである。ま
た、CHKはブロツク交換を指示する為の交換指
示キーであり、MEKはブロツク挿入を指示する
為の挿入指示キーであり、HSKは移動範囲のブ
ロツクの先願を指示する範囲開始キーであり、
HEKは同じく最後の指定する範囲終了キーであ
る。
FIG. 2 shows an example of the configuration and layout of the keyboard KB shown in FIG. These are various cursor movement keys for moving in the direction of. Further, CHK is an exchange instruction key for instructing block exchange, MEK is an insertion instruction key for instructing block insertion, and HSK is a range start key for instructing the earlier application of the block in the moving range.
HEK is also the last specified range end key.

次に、上述の第1図示の回路構成による本発明
文字処理装置の動作の概要を表示装置CRTの表
示面を示す第3図a,b及び第4図a,b及び第
5図a,bを参照して説明する。
Next, an outline of the operation of the character processing device of the present invention based on the circuit configuration shown in the above-mentioned first drawing will be explained with reference to FIGS. Explain with reference to.

なお、本発明装置における動作は、全てキーボ
ードKB上の文字キーあるいはフアンクシヨンキ
ーの操作によつて行われる。また、指標のLMM
は左マージンコードであり、CRT上にのマー
クで表示され、キーボードから入力可能な最左端
を表示する。RMMは右マージンコードであり、
CRTコ上にのマークで表示され、キーボード
から入力可能な最右端を表示する。CMはカーソ
ルである。
All operations in the device of the present invention are performed by operating character keys or function keys on the keyboard KB. Also, the LMM of the indicator
is the left margin code, which is displayed as a mark on the CRT and indicates the leftmost edge that can be entered from the keyboard. RMM is the right margin code,
It is displayed as a mark on the CRT and displays the rightmost edge that can be entered from the keyboard. CM is a cursor.

まず、電源投入時には、第3図aに示すよう
に、表示装置CRTの表示面上には、その左上端
の先頭位置にカーソルCMが表示されているだけ
であり、引続くキーボードKB上のキー操作によ
る文字処理動作に従つて表示を行なう。すなわ
ち、キーボードKBのキー操作により入力された
文字等は、CRT表示面上におけるカーソルCMの
表示されている位置に表示されるのであるが、そ
のカーソルCMは、キーボードKBからの文字等
の入力の都度、その表示位置が歩進する。なお、
かかる信号入力の制御は慣用の技術によつて容易
に実現されるものである。
First, when the power is turned on, as shown in FIG. The display is performed according to the character processing operations performed by the user. In other words, characters input by key operations on the keyboard KB are displayed at the position where the cursor CM is displayed on the CRT display screen, but the cursor CM is Each time, the display position advances. In addition,
Control of such signal input is easily realized using conventional techniques.

次に、移動範囲のブロツク指定の操作手順を説
明すると、まず、指定したいブロツクの左上に相
当する位置(例えば、文字Aの下の位置)にカー
ソルCMを第3図aの様に持つて行き、ここで範
囲開始キーHSKを押下し、続いてブロツクの右
下の位置(例えば、文字Gの下の位置)にカーソ
ルCMを持つて行き範囲終了キーHEKを押下す
ると第3図bに示した様に点線で囲まれた部分が
移動範囲ブロツクとして登録される。
Next, to explain the operating procedure for specifying a block in the movement range, first, move the cursor CM to the position corresponding to the upper left of the block you want to specify (for example, the position below the letter A) as shown in Figure 3a. , here, press the range start key HSK, then move the cursor CM to the lower right position of the block (for example, the position below the letter G) and press the range end key HEK, as shown in Figure 3b. The area surrounded by dotted lines is registered as a movement range block.

次に、他の位置のブロツクと交換する操作手順
を説明する。上述した手順により第3図bの点線
で囲まれた部分が既に移動範囲ブロツクとして登
録されたものとすると、次に交換したいブロツク
の左上の位置に相当する所(例えば、文字Nの下
の位置)までカーソルCMを持つてくる。この様
子を第4図aに示す。続いて、交換指示キー
CHKを押下すると第4図bに示した如くブロツ
ク単位での位置の交換が行われる。
Next, the operating procedure for exchanging the block with a block at another position will be explained. Assuming that the part surrounded by the dotted line in Figure 3b has already been registered as a movement range block by the above procedure, the next place corresponding to the upper left position of the block to be exchanged (for example, the position below the letter N) ) and bring the cursor to CM. This situation is shown in FIG. 4a. Next, replace the instruction key
When CHK is pressed, positions are exchanged in block units as shown in FIG. 4b.

次に、ブロツク挿入の操作手順について説明す
る。上述した手順により第3図bに示した点線で
囲まれた部分が移動範囲ブロツクとして登録され
ているものとすると、次にブロツク挿入したい位
置(例えば文字Oの下の位置)までカーソルCM
を持つてくる(第5図a参照)。続いて、挿入指
示キーMEKを押下すると、第5図bに示した如
く、点線で囲まれたブロツクがカーソル位置に挿
入され、右マージンRMMが右に拡大される。
Next, the operating procedure for inserting a block will be explained. Assuming that the area surrounded by the dotted line shown in Figure 3b is registered as a movement range block by the above procedure, move the cursor CM to the position where you want to insert the next block (for example, the position below the letter O).
(See Figure 5a). Subsequently, when the insertion instruction key MEK is pressed, a block surrounded by a dotted line is inserted at the cursor position, as shown in FIG. 5b, and the right margin RMM is expanded to the right.

更に、上述した本発明によるとブロツク交換、
ブロツク挿入の動作手順の詳細を第6図のフロー
チヤートを参照して説明する。
Furthermore, according to the invention described above, block exchange,
The details of the block insertion operation procedure will be explained with reference to the flowchart of FIG.

電源投入後ステツプS1においてキー入力待機
の状態にある時に、キーボードKB上にキー入力
操作が行なわれるとステツプS2においてそのキ
ー入力がいずれの種類のキーの操作によるものか
の判別を行なう。ステツプS2において、キー入
力が文字入力用キーCIK及びカーソル移動キー
CKの押下によるものであると判別した時には、
ステツプS3において文字入力及びカーソル移動
処理を行い、この処理の終了後は再びステツプ
S1に戻り、キー入力待機の状態に復帰する。す
なわち、ステツプS3において、キーボードKBか
らのキー入力によると文字コード信号をカーソル
CMの位置に相当するデータバツフアメモリ
DBUFに一旦格納するとともに、カーソル位置
のデータをカーソルレジスタCRに書込み、文字
キー入力の都度、カーソルレジスタCRの記憶デ
ータに“1”を加えて歩進させ、データバツフア
メモリDBUFの記憶内容の文字をカーソルレジ
スタCRの記憶内容によるCRT表示面上の位置に
順次に表示する。
When a key input operation is performed on the keyboard KB during the key input standby state in step S1 after the power is turned on, it is determined in step S2 which type of key operation the key input is caused by. In step S2, the key input is the character input key CIK and the cursor movement key.
When it is determined that it was caused by pressing CK,
In step S3, character input and cursor movement processing is performed, and after this processing is completed, the step is resumed.
Return to S1 and return to key input standby state. That is, in step S3, the character code signal is moved to the cursor according to the key input from the keyboard KB.
Data buffer memory corresponding to CM position
At the same time, the data at the cursor position is written to the cursor register CR, and each time a character key is input, "1" is added to the data stored in the cursor register CR to increment it, and the data stored in the data buffer memory DBUF is updated. Characters are sequentially displayed at the positions on the CRT display screen according to the contents stored in the cursor register CR.

一方範囲開始キーHSKが押下された時は、ス
テツプS2からステツプS4に進み、カーソルレジ
スタCRの内容をカーソルレジスタメモリCRMに
保存してブロツクの左上の位置を記憶しておき、
再びステツプS1のキー入力待機の状態に復帰す
る。次に、ステツプS3のカーソルCMの移動処理
の後、範囲終了キーHEKが押下された時は、ス
テツプS2からステツプS5に進み、カーソルレジ
スタメモリCRMとカーソルレジスタCRの内容と
をそれぞれ移動範囲ブロツクの左上、右下となる
位置情報と見倣して、その位置情報に基づいて移
動範囲ブロツク内に相当するデータバツフア
DBUFの内容(ブロツクデータ)を範囲メモリ
HMに保存し、かつその位置情報から演算して得
た移動範囲ブロツクの大きさを示す例と行につい
ての数値情報を各々ランダムアクセスメモリ
RAMの範囲列数メモリHXと範囲行数メモリHY
とに保存する。かかる処理の終了後は、再びステ
ツプS1に戻りキー入力待機の状態に復帰する。
On the other hand, when the range start key HSK is pressed, the process advances from step S2 to step S4, stores the contents of the cursor register CR in the cursor register memory CRM, and memorizes the upper left position of the block.
The process returns to the state of waiting for key input in step S1. Next, after the cursor CM movement processing in step S3, when the range end key HEK is pressed, the process advances from step S2 to step S5, and the contents of the cursor register memory CRM and cursor register CR are respectively transferred to the movement range block. Based on the position information of the upper left and lower right, the data buffer corresponding to the movement range block is created.
The contents of DBUF (block data) are stored in range memory.
An example showing the size of the movement range block obtained by storing it in the HM and calculating it from the position information and numerical information about the row are stored in random access memory.
RAM range column number memory HX and range row number memory HY
and save it. After completing this process, the process returns to step S1 and returns to the key input standby state.

次に、交換指示キーCHKが押下された場合の
説明を行う。ステツプS4とS5における移動範囲
ブロツクの登録処理をして、ステツプS3におけ
るカーソルCMの移動処理をした後、続いて交換
指示キーCHKが押下されると、まずステツプS2
からステツプS6に進みカーソルレジスタCRの位
置をその左上の位置とする様な、列方向が範囲列
数メモリHXに記憶されている列数、行方向が範
囲行数メモリHYに記憶されている行数からなる
ブロツクの位置に相当するデータバツフア
DBUFの内容を、移動範囲が登録された位置、
即ちカーソルレジスタメモリCRMの内容をその
左上の位置とするブロツク内に相当するデータバ
ツフアDBUFに転送する。次に、ステツプS7に
進み、範囲メモリHMに登録されている内容をカ
ーソルレジスタCRをその左上の位置とする様な
ブロツク内に相当するデータバツフアDBUFに
転送する。かかる交換処理の終了後は、再びステ
ツプS1のキー入力待機の状態に復帰する。
Next, a description will be given of the case where the exchange instruction key CHK is pressed. After registering the movement range block in steps S4 and S5 and moving the cursor CM in step S3, when the exchange instruction key CHK is subsequently pressed, the process starts in step S2.
From there, proceed to step S6, and the column direction is the number of columns stored in the range column number memory HX, and the row direction is the rows stored in the range row number memory HY, such that the position of the cursor register CR is the upper left position. Data buffer corresponding to the position of a block consisting of numbers
The contents of DBUF, the position where the movement range is registered,
That is, the contents of the cursor register memory CRM are transferred to the data buffer DBUF corresponding to the block located at the upper left position. Next, the process advances to step S7, and the contents registered in the range memory HM are transferred to the data buffer DBUF corresponding to the block whose upper left position is the cursor register CR. After the exchange process is completed, the process returns to step S1, where the key input is waited for.

次に、挿入指示キーMEKが押下された場合の
説明を行う。ステツプS4とS5における移動範囲
ブロツクの登録処理をして、ステツプS3におけ
るカーソルCMの移動処理をした後、続いて挿入
指示キーMEKが押下されると、まずステツプS2
からステツプS8に進みカーソルレジスタCRの位
置をその左上の位置とするブロツク内に相当する
データバツフアDBUFの内容を範囲行数メモリ
HYに記憶されている行数にわたつて範囲列数メ
モリHXに記憶されている列数だけ右方へ移動す
る。かかる処理の後に前記ステツプS7へ進み、
範囲メモリHMに登録されている内容をカーソル
レジスタCRをその左上の位置とする様なブロツ
ク内に相当するデータバツフアDBUFに転送す
ることにより、移動範囲ブロツクの挿入が行われ
る。かかる挿入処理の終了後は、再びステツプ
S1のキー入力待機の状態に復帰する。
Next, a description will be given of the case where the insertion instruction key MEK is pressed. After the movement range block has been registered in steps S4 and S5 and the cursor CM has been moved in step S3, when the insertion instruction key MEK is subsequently pressed, the process is first performed in step S2.
Proceed to step S8 and store the contents of the data buffer DBUF corresponding to the block whose upper left position is the cursor register CR position in the range number of lines memory.
Move to the right by the number of columns stored in the range column number memory HX across the number of rows stored in HY. After such processing, the process proceeds to step S7,
A moving range block is inserted by transferring the contents registered in the range memory HM to the data buffer DBUF corresponding to the block whose upper left position is the cursor register CR. After this insertion process is completed, the steps are repeated.
Returns to S1 key input standby state.

従つて、上述の本実施例によれば、文字処理装
置の表示面に表示された文字・図形情報のうち任
意の位置の矩形のブロツク内に存在する文字・図
形情報を他の位置に、矩形ブロツク形態を保ちつ
つ移動もしくは挿入する際に、上述の表示面にお
ける文字入力可能範囲をはみ出る様な場合におい
ても、ブロツクの形態や内容を壊す事なく、必要
なだけ所定の文字入力可能範囲を自動的に拡大す
る事ができる。また、本実施例によれば文字群を
矩形のブロツクのまま他のブロツクと交換するに
際して、簡単な操作でもつて行う事を可能とし、
又移動先の文字群を消滅させたり、予め保存して
おかねばならないという操作作業を省くことがで
きる。更にまた、本実施例によれば文字群を矩形
のブロツクのまま他の位置へ挿入するに際して、
簡単な操作でもつて行う事を可能とし、移動先の
ブロツクに相当する文字群を消滅させないように
挿入できるばかりでなく、予め、挿入されるべき
領域を空けておかねばならないという操作作業を
省くことができる。
Therefore, according to the present embodiment described above, among the character/graphic information displayed on the display surface of the character processing device, character/graphic information existing within a rectangular block at an arbitrary position is transferred to another position in a rectangular block. When moving or inserting a block while maintaining its form, even if the block exceeds the possible character input range on the display screen, it will automatically move the specified character input range as necessary without destroying the form or contents of the block. can be expanded. Furthermore, according to this embodiment, when exchanging a group of characters as a rectangular block with another block, it is possible to do so with a simple operation.
Further, it is possible to eliminate the operation work of deleting a group of characters to be moved or saving them in advance. Furthermore, according to this embodiment, when inserting a group of characters into another position as a rectangular block,
To make it possible to do this with a simple operation, not only to be able to insert a group of characters corresponding to a block to be moved without disappearing, but also to omit the operation work of having to clear an area for insertion in advance. I can do it.

なお、上述した実施例に於ては、ブロツク移動
もしくは挿入された際に一行の文字数、即ち行単
位に於ける文字入力可能範囲の拡大を自動的に行
う様にしたが、行そのものを増やす方向に拡大す
る様にしてもよい。なお、また、上述した本実施
例に於いては、ブロツク挿入の手段をキー操作で
行う様にしたが、他の手段例えば文字例からなる
所定のコマンドによつて実現してもよいのは勿論
である。又、交換されるべきブロツクの例示を文
字群としたが、図形を交換するのにも好適であ
る。
In the above embodiment, when a block is moved or inserted, the number of characters in one line, that is, the range in which characters can be entered per line, is automatically expanded. It may be expanded to Furthermore, in this embodiment described above, block insertion is performed by key operation, but it is of course possible to implement it by other means, such as a predetermined command consisting of a character example. It is. Further, although a group of characters is used as an example of blocks to be exchanged, it is also suitable for exchanging figures.

[発明の効果] 以上説明したように、本発明によれば、表示さ
れる文字情報内の所望の第1ブロツクと、この第
1ブロツク内に存在する文字情報とを交換する対
象の第2ブロツクとを指示手段により指示する
と、その指示手段で指示された上記第1ブロツク
内に存在する文字情報と上記第2ブロツク内に存
在する文字情報とが、表示制御手段により、各ブ
ロツクの形態を保持した状態で交換されて表示さ
れるので、交換先の文字群を予め保存操作する必
要がなくなり、簡単な操作により所定のブロツク
の文字群を他のブロツクの文字群と交換して表示
することができる。
[Effects of the Invention] As explained above, according to the present invention, a desired first block in the displayed character information and a second block to which character information existing in the first block are to be exchanged. When this is instructed by the instruction means, the character information existing in the first block and the character information existing in the second block instructed by the instruction means are maintained in the form of each block by the display control means. This eliminates the need to save the character group to be exchanged in advance, and it is possible to exchange the character group of a given block with the character group of another block and display it with a simple operation. can.

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

第1図は本発明文字処理装置の構成の一例を示
すブロツク線図、第2図は第1図のキーボード
KBの構成配置の一例を示す配置図、第3図a,
b〜第5図a,bは第1図の装置の文字処理手順
の一例をモニター用の表示装置CRTの表示面上
に示した説明図で、第3図a,bは移動範囲ブロ
ツクの登録処理を示し、第4図a,bはブロツク
の交換処理を示し、第5図a,bはブロツクの挿
入処理を示す。第6図は第1図の装置の文字処理
手順の一例を示すフローチヤートである。 CPU……マイクロプロセツサ、ROM……読出
し専用の固定メモリ、RAM……書き込み可能の
ランダムアクセスメモリ、HX……範囲列数メモ
リ、HY……範囲行数メモリ、CRM……カーソ
ルレジスタメモリ、HM……範囲メモリ、DISK
……外部メモリ、KB……キーボード、CR……
カーソルレジスタ、DBUF……データバツフア、
CRTC……CRTコントローラ、CRT……表示装
置、CG……キヤラクタジエネレータ、CB……コ
ントロールバス、DB……データバス、AB……
アドレスバス、CHK……交換指示キー、MEK…
…挿入指示キー、HSK……範囲開始キー、HEK
……範囲終了キー、CK……各方向のカーソル移
動キー、CIK……文字処理用の文字キーやフアン
クシヨン等の各種キー群(文字入力用キー)、
LMM……左マージンコード、CM……カーソル、
RMM……右マージンコード、S1〜S8……ステツ
プ番号(処理手順番号)。
FIG. 1 is a block diagram showing an example of the configuration of the character processing device of the present invention, and FIG. 2 is a keyboard shown in FIG. 1.
Layout diagram showing an example of KB configuration layout, Figure 3a,
b - Fig. 5 a and b are explanatory diagrams showing an example of the character processing procedure of the device in Fig. 1 on the display screen of a monitor display device CRT, and Fig. 3 a and b are illustrations of the registration of movement range blocks. 4A and 4B show the block exchange process, and FIGS. 5A and 5B show the block insertion process. FIG. 6 is a flowchart showing an example of the character processing procedure of the apparatus shown in FIG. CPU: Microprocessor, ROM: Read-only fixed memory, RAM: Writable random access memory, HX: Range column number memory, HY: Range row number memory, CRM: Cursor register memory, HM ...Range memory, DISK
...external memory, KB...keyboard, CR...
Cursor register, DBUF...data buffer,
CRTC...CRT controller, CRT...display device, CG...character generator, CB...control bus, DB...data bus, AB...
Address bus, CHK...exchange instruction key, MEK...
...Insert instruction key, HSK...Range start key, HEK
...Range end key, CK...Cursor movement keys in each direction, CIK...Various key groups such as character keys and functions for character processing (keys for character input),
LMM...left margin code, CM...cursor,
RMM...Right margin code, S1 to S8...Step number (processing procedure number).

Claims (1)

【特許請求の範囲】 1 表示される文字情報内の所望の第1ブロツク
と、前記第1ブロツク内に存在する文字情報と交
換する対象の第2ブロツクを指示する指示手段、 前記指示手段によつて指示される前記第1ブロ
ツク内に存在する前記文字情報と、前記指示手段
によつて指示される前記第2ブロツク内に存在す
る前記文字情報とを、各ブロツクの形態を保持し
た状態で交換して表示する表示制御手段とを有し
たことを特徴とする文字処理装置。
[Scope of Claims] 1. Instructing means for instructing a desired first block of character information to be displayed and a second block to be exchanged with the character information existing in the first block; The character information present in the first block designated by the instruction means and the character information present in the second block designated by the instruction means are exchanged while maintaining the format of each block. 1. A character processing device comprising a display control means for displaying a character.
JP57012536A 1982-01-30 1982-01-30 Character processor Granted JPS58132853A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57012536A JPS58132853A (en) 1982-01-30 1982-01-30 Character processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57012536A JPS58132853A (en) 1982-01-30 1982-01-30 Character processor

Publications (2)

Publication Number Publication Date
JPS58132853A JPS58132853A (en) 1983-08-08
JPH0435791B2 true JPH0435791B2 (en) 1992-06-12

Family

ID=11808046

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57012536A Granted JPS58132853A (en) 1982-01-30 1982-01-30 Character processor

Country Status (1)

Country Link
JP (1) JPS58132853A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61221793A (en) * 1985-03-27 1986-10-02 富士通株式会社 Exchange processing system for data on screen
JPH07107712B2 (en) * 1985-07-19 1995-11-15 キヤノン株式会社 Image processing device

Also Published As

Publication number Publication date
JPS58132853A (en) 1983-08-08

Similar Documents

Publication Publication Date Title
US4947370A (en) Word processor for simultaneously displaying and scrolling documents and the corresponding titles
JPS6253820B2 (en)
JPH0417468B2 (en)
JPH0435791B2 (en)
JPH0117185B2 (en)
JPH0782551B2 (en) Character processor
JPH0522933B2 (en)
JPS5965339A (en) Document editing device
JP2699974B2 (en) Pattern registration method
JPH0445875B2 (en)
JPS6053990A (en) Character processor
JP2698348B2 (en) Character processor
JPH048473Y2 (en)
JPH0479024B2 (en)
JP2606579B2 (en) Character display device
JPS5851330A (en) Character processor
JP2713219B2 (en) Graphic display device
JPS62198950A (en) Character processor
JPS5924340A (en) Character processor
JPH0225547B2 (en)
JPH0310982B2 (en)
JPH0330900B2 (en)
JPS5957331A (en) Character processor
JPH0623975B2 (en) Document creation device
JPH0545988B2 (en)