JPH04127357A - Character processor - Google Patents

Character processor

Info

Publication number
JPH04127357A
JPH04127357A JP2251454A JP25145490A JPH04127357A JP H04127357 A JPH04127357 A JP H04127357A JP 2251454 A JP2251454 A JP 2251454A JP 25145490 A JP25145490 A JP 25145490A JP H04127357 A JPH04127357 A JP H04127357A
Authority
JP
Japan
Prior art keywords
block
address
data
width
cursor
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
JP2251454A
Other languages
Japanese (ja)
Inventor
Kenichi Kazumi
健一 数見
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 JP2251454A priority Critical patent/JPH04127357A/en
Publication of JPH04127357A publication Critical patent/JPH04127357A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To omit the operation of a cursor movement and to improve the operability by constituting the processor so that a repeat function of a block unit of a character-string can be realized. CONSTITUTION:When an input from a keyboard KB is supplied, an interrupting signal is sent to a microprocessor CPU, various control signals stored in a ROM are read out, and various controls are executed. In such a state, when row/column positions of an origin and an end point of a block are determined, row width/column width of the block are derived by a row width/column width arithmetic means, and by operating a block repeat instructing means, a cursor position is allowed to jump by a cursor moving means by row width or column width of the block, and document data corresponding to the row and the column of its cursor position is transferred by a block portion. In such a way, data of a document store means subjected to block repeat processing is converted to display data, and thereafter, displayed by a display means, and the operation is simplified.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、文章の作成/修正等の文書編集機能を有する
文字処理装置に関し、特に文章を構成する文字列のブロ
ック単位の複写における、操作性の向上を目的とした文
字処理装置に関するものである。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a character processing device having a document editing function such as creation/editing of a text, and particularly to an operation in copying block units of character strings constituting a text. The present invention relates to a character processing device aimed at improving character performance.

[従来の技術] 例えば、文字処理装置において、文字列のブロック単位
の複写を行なうときは、先ず複写範囲を指定して、次に
複写先にカーソルを移動してから、複写機能の起動をす
ることによって、目的とするブロックの複写を行なって
いた。
[Prior Art] For example, when copying a character string block by block in a character processing device, first specify the copy range, then move the cursor to the copy destination, and then start the copy function. By doing so, the target block was copied.

また、複写と類似するものとして、1文字単位のリピー
ト機能がある。リピートする文字にカーソルを移動して
、リピート機能の起動を行なうことによって、カーソル
の移動と1文字の複写を同時に行っていた。
Also, similar to copying, there is a repeat function for each character. By moving the cursor to a character to be repeated and activating the repeat function, the cursor was moved and one character was copied at the same time.

[発明が解決しようとしている課題] しかし、前記の方法では、特定のブロックをブロックの
次行に複写(機能的にはリピートしていることになる)
するときには、特定ブロックの範囲指定をして、ブロッ
クの次行にカーソルを移動してから、複写機能の起動を
する手順を踏まなければならない。本発明は、ブロック
単位のリピートを可能とすることによって、前記手順の
カーソル移動の操作を省略し、操作の簡略化を目的とし
た発明である。
[Problem to be solved by the invention] However, in the above method, a specific block is copied to the next line of the block (functionally, it is repeated)
When doing so, you must specify the range of a specific block, move the cursor to the next line of the block, and then start the copy function. The present invention aims to simplify the operation by omitting the operation of moving the cursor in the above procedure by enabling repeating in units of blocks.

[課題を解決するための手段(及び作用)]本発明によ
れば、ブロックの範囲指定をするに当たって、ブロック
範囲指定手段を操作して、指定した行桁に相当する文書
格納手段の文書データのアドレスをアドレス変換手段に
よってアドレス変換し、この手順を2度行なうことによ
って、ブロックの起点と終点を知る。ブロックの起点と
終点の行桁位置が決まれば、ブロックの行幅/桁幅を行
幅/桁幅演算手段によって求める。
[Means for Solving the Problems (and Effects)] According to the present invention, when specifying a block range, the block range specifying means is operated to select the document data in the document storage means corresponding to the specified line column. The address is converted by the address conversion means, and by repeating this procedure twice, the start and end points of the block are known. Once the line column positions of the starting point and end point of the block are determined, the line width/column width of the block is determined by the line width/column width calculation means.

次に、ブロックリピート指示手段を操作すると、前記の
ブロックの行幅、あるいは桁幅だけカーソル移動手段に
よって、カーソル位置をジャンプさせる。そのカーソル
位置の行桁に相当する文書データのアドレスを、前記ア
ドレス変換手段により求め、前記で求めた文書データの
アドレスから文書データを、前記アドレスにブロック分
だけ転送する。
Next, when the block repeat instruction means is operated, the cursor position is jumped by the cursor moving means by the line width or column width of the block. The address of the document data corresponding to the line column at the cursor position is determined by the address converting means, and the document data is transferred from the determined document data address to the address in blocks.

このようにブロックリピート処理された文書格納手段の
データを、表示データに変換した後、表示手段により表
示する。
The data in the document storage means that has been subjected to the block repeat processing in this manner is converted into display data and then displayed by the display means.

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

第1図は本発明に係る文字処理装置の全体構成の一例で
ある。
FIG. 1 shows an example of the overall configuration of a character processing device according to the present invention.

図示の構成において、CPUは、マイクロプロセッサで
あり、文字処理のための演算、論理判断等を行ない、ア
ドレスバスAB、コントロールバスCB、データバスD
Bを介して、それらのバスに接続された各構成要素を制
御する。
In the illustrated configuration, the CPU is a microprocessor that performs calculations, logical judgments, etc. for character processing, and uses an address bus AB, a control bus CB, and a data bus D.
B to control each component connected to those buses.

アドレスバスABはマイクロプロセッサCPUの制御の
対象とする構成要素を指示するアドレス信号を転送する
。コントロールバスCBはマイクロプロセッサCPUの
制御の対象とする各構成要素のコントロール信号を転送
して印加する。データバスDBは各構成機器相互間のデ
ータの転送を行なう。
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 device.

次にROMは、読出し専用の固定メモリである。PAは
、第6図につき後述するマイクロプロセッサCPUによ
る制御手順等を記憶させたプログラムエリアである。
Next, ROM is a read-only fixed memory. PA is a program area in which control procedures etc. by the microprocessor CPU, which will be described later with reference to FIG. 6, are stored.

また、RAMは、lワード16ビツトの構成の書込み可
能のランダムアクセスメモリであって、各構成要素から
の各種データの一時記憶に用いる。
Further, the RAM is a writable random access memory having a configuration of 1 word and 16 bits, and is used for temporary storage of various data from each component.

TBUFは文書バッファであり、キーボードKBより入
力された文書情報を蓄えるためのメモリである。
TBUF is a document buffer, which is a memory for storing document information input from the keyboard KB.

DICIは、部首入力、画数入力、単漢字人力などによ
って、漢字を検索するための辞書である。
DICI is a dictionary for searching kanji by inputting radicals, inputting the number of strokes, or manually inputting a single kanji.

DIC2は、カナ漢字変換を行なうための辞書である。DIC2 is a dictionary for performing kana-kanji conversion.

YBUFはキーボードKBにあるカナ人カキKANAよ
り人力されたカナ読みコードを蓄えるためのメモリであ
る。
YBUF is a memory for storing the kana reading code manually written by the kana person KANA in the keyboard KB.

PREDICは数字の前にっ(接頭語(前置助数詞)辞
書である。
PREDIC is a prefix dictionary for numbers.

NTJMD I Cは、数字辞書である。NTJMD IC is a numeric dictionary.

PSTDICは助数詞(後置助数詞)辞書である。PSTDIC is a particle noun (postfix particle) dictionary.

KBはキーボードであって、アルファベットキー、ひら
がなキー、カタカナキー等の文字記号入カキ−1及び、
変換キー、無変換キー、取消キー等の本文字処理装置に
対する各種機能を指示するための各種のファンクション
キーを備えている。
KB is a keyboard, which includes alphabet keys, hiragana keys, katakana keys, and other character/symbol keys-1;
It is equipped with various function keys for instructing various functions to the character processing device, such as a conversion key, a non-conversion key, and a cancel key.

図において、CONは変換キー、KANAは読みを入力
するための文字記号入カキ−である。また、REPは、
ブロックリピートを起動するためのキーである。
In the figure, CON is a conversion key, and KANA is a character symbol input key for inputting readings. Also, REP is
This is the key to activate block repeat.

DISKは定型文書を記憶するためのメモリで作成され
た文書の保管を行ない、保管された文書はキーボードの
指示により、必要な時呼び出される。
The DISK stores documents created in a memory for storing standard documents, and the stored documents can be called up when necessary by instructions from the keyboard.

CRはカーソルレジスタである。CPUにより、カーソ
ルレジスタの内容を読み書きできる。後述するCRTコ
ントローラCRTCは、ここに蓄えられたアドレスに対
する表示装置CRT上の位置にカーソルを表示する。
CR is a cursor register. The CPU can read and write the contents of the cursor register. A CRT controller CRTC, which will be described later, displays a cursor at a position on the display device CRT corresponding to the address stored here.

DBUFは表示用バッファメモリで、TBUFに蓄えら
れた文書情報等のパターンを蓄える。
DBUF is a display buffer memory that stores patterns such as document information stored in TBUF.

MDBLIFはメツセージ表示用バッファメモリで、R
OM内のメツセージデータのパターンを蓄える。
MDBLIF is a buffer memory for displaying messages.
Stores message data patterns in OM.

CRTCはカーソルレジスタCR及びバッファDBUF
、MDBLIFに蓄えられた内容を表示器CRTに表示
する役割を担う。
CRTC is cursor register CR and buffer DBUF
, plays the role of displaying the contents stored in MDBLIF on the display CRT.

また、CRTは表示装置であり、その表示装置CRTに
おけるドツト構成のパターンおよびカーソルの表示をC
RTコントローラで制御する。
Furthermore, a CRT is a display device, and the display of the dot configuration pattern and cursor on the display device CRT is
Controlled by RT controller.

さらに、CGはキャラクタジェネレータであって、表示
装置CRTに表示する文字、記号のパターンを記憶する
ものである。
Furthermore, CG is a character generator that stores patterns of characters and symbols to be displayed on the display device CRT.

かかる各構成要素からなる本発明文字処理装置において
は、キーボードKBからの各種の人力に応じて作動する
ものであって、キーボードKBからの入力が供給される
と、まず、インクラブド信号がマイクロプロセッサCP
Uに送られ、そのマイクロプロセッサCPUがROM内
に記憶しである各種の制御信号を読出し、それらの制御
信号に従って、各種の制御が行なわれる。
The character processing device of the present invention, which is composed of each of these components, operates in response to various human inputs from the keyboard KB, and when an input from the keyboard KB is supplied, an inscribed signal is first sent to the microprocessor CP.
The microprocessor CPU reads various control signals stored in the ROM, and various controls are performed in accordance with these control signals.

第2図〜第4図は、本発明による文書編集の状態を示す
ための概略図である。この図の中で、■■はそれぞれカ
ーソルの位置を示している。これらの図を用いて、本発
明の制御フローを第5図で示す。
2 to 4 are schematic diagrams showing the state of document editing according to the present invention. In this figure, ■■ indicates the position of the cursor. Using these figures, the control flow of the present invention is shown in FIG.

第2図において、カーソルが■の位置にあるときに範囲
指定キーを押したとすれば、第5図の制御フローのS】
10を経由して、5120にてflagがチエツクされ
る。今、範囲指定キーが初めて押されたとすれば、fl
ag=0であるから5170,5180にて、カーソル
位置の行桁、CXI、CYIとカーソル位置の文書デー
タのアドレスADRIが、それぞれの値を保存する。そ
して、flag=1にセットして、5looに戻り、何
かのキー人力を待つ。次に第2図の■にカーソルを移動
して、範囲指定のキーを押せば、第5図の8120にて
、flag=1であるから、5130.5140に進む
。カーソル位置の行桁、CX2.CY2とカーソル位置
の文書データのアドレスADH2を得た後に、f 1 
ag=oにリセットして、8160にて、前記のCXI
  CYIとCX2.CY2から範囲指定のブロックサ
イズDCXとDCYを計算して、5loOに戻る。第3
図で■の位置にカーソルがあるときに、ブロックリピー
トキーを押せば、第5図のフローでは、sl 10.5
200.5220と進み、リピート方向を判断する。今
仮に、リピート方向が行方向下であれば、5230で今
のカーソル位置にブロック幅(DCX)を加えて、新た
なカーソル位置を決定する。ただし、桁方向のカーソル
位置は変化しない。
In Fig. 2, if you press the range specification key when the cursor is at the ■ position, then S in the control flow in Fig. 5]
The flag is checked at 5120 via 10. Now, if the range specification key is pressed for the first time, fl
Since ag=0, at 5170 and 5180, the line column, CXI, and CYI at the cursor position and the address ADRI of the document data at the cursor position save their respective values. Then, set flag=1, return to 5loo, and wait for some key input. Next, move the cursor to ■ in FIG. 2 and press the range designation key. Since flag=1 at 8120 in FIG. 5, the process advances to 5130.5140. Line column at cursor position, CX2. After obtaining CY2 and the address ADH2 of the document data at the cursor position, f 1
Reset ag=o and at 8160, the above CXI
CYI and CX2. Calculate the range specified block sizes DCX and DCY from CY2 and return to 5loO. Third
If you press the block repeat key when the cursor is at the ■ position in the figure, in the flow of Figure 5, sl 10.5
200.5220 and determine the repeat direction. If the repeat direction is downward in the row direction, the block width (DCX) is added to the current cursor position in step 5230 to determine a new cursor position. However, the cursor position in the digit direction does not change.

次に、5250で新たなカーソル位置に相当する文書デ
ータのアドレスを計算して、前記のA D R1orA
 D H2の文書データのアドレスがら範囲指定したブ
ロック分だけデータを転送する。
Next, in 5250, the address of the document data corresponding to the new cursor position is calculated, and the address of the document data corresponding to the new cursor position is calculated.
Data is transferred for blocks specified by the address range of the document data in DH2.

そして、8260にて、新たなカーソルと文書データを
再表示し、5looに戻って、何かのキー人力を待つ。
Then, at 8260, the new cursor and document data are redisplayed, and the process returns to 5loo to wait for some key input.

この時の文書編集画面は、第2図から第3図に示すよう
に変化している。
The document editing screen at this time changes as shown in FIGS. 2 and 3.

第3図で■は、カーソルの位置である。In FIG. 3, ■ is the position of the cursor.

また、5220でリピート方向が桁方向布であれば52
40に進み、今のカーソル位置にブロック幅(DCY)
を加えて、新たなカーソル位置を決定する。この場合は
、行方向のカーソル位置は変化しない。次に、5250
で前記と同様に文書データの転送処理をして、5260
で編集画面の再表示を行なう。この時の編集画面の状態
を第4図に示す。
Also, if the repeat direction is digit direction cloth in 5220, 52
Proceed to step 40 and set the block width (DCY) to the current cursor position.
to determine the new cursor position. In this case, the cursor position in the row direction does not change. Next, 5250
Then transfer the document data in the same way as above, and send 5260
to redisplay the editing screen. The state of the editing screen at this time is shown in FIG.

[発明の効果] 以上説明したように、本発明によれば、文字列のブロッ
ク単位のリピート機能を可能とすることによって、カー
ソル移動の操作を省略し、操作性の向上を図ることがで
きる。
[Effects of the Invention] As described above, according to the present invention, by enabling the repeat function of character strings in blocks, it is possible to omit the operation of moving the cursor and improve operability.

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

第1図は発明文字処理装置の一実施例を示すブロック図
、 第2図は本発明による表示例を示す図、 第3図は本発
明による表示例を示す図、 第4図は本発明による表示
例を示す図、 第5図は本実施例によるブロックリピー
ト手順の一例を示すフローチャートである。
FIG. 1 is a block diagram showing an embodiment of the invention character processing device, FIG. 2 is a diagram showing a display example according to the invention, FIG. 3 is a diagram showing a display example according to the invention, and FIG. 4 is a diagram showing a display example according to the invention. FIG. 5 is a flowchart showing an example of a block repeat procedure according to the present embodiment.

Claims (1)

【特許請求の範囲】 1、文書データを入力するための入力手段と、前記入力
手段により入力された文書データを記憶する文書格納手
段と、 前記文書格納手段に記憶された文書データのブロックの
範囲指定をするブロック範囲指定手段と、 ブロック範囲指定手段により指定された行桁に相当する
文書格納手段の文書データのアドレスをアドレス変換す
るアドレス変換手段と、前記アドレス変換手段によって
求められたブロックの起点と終点の行桁位置により、ブ
ロックの行幅/桁幅を演算する演算手段と、ブロックリ
ピートをすることを指示する指示手段と、 前記指示手段の指示に従って、前記のブロックの行幅或
は桁幅だけカーソル位置をジャンプさせるカーソル移動
手段と、 前記カーソル移動手段によって移動されたカーソルの位
置の行桁に相当する文書データのアドレスを、前記アド
レス変換手段により求め、既に求めた文書データのアド
レスから文書データを、前記アドレスにブロック分だけ
転送する制御手段と、 ブロックリピート処理された文書格納手段のデータを、
表示データに変換した後、表示手段により表示する表示
制御手段とを具備したことを特徴とする文字処理装置。
[Claims] 1. An input means for inputting document data, a document storage means for storing the document data input by the input means, and a range of blocks of document data stored in the document storage means. A block range specifying means for specifying a block range, an address converting means for converting an address of document data in a document storage means corresponding to a line column specified by the block range specifying means, and a starting point of the block determined by the address converting means. calculation means for calculating the line width/column width of the block according to the line column position of the end point; and instruction means for instructing to repeat the block; cursor moving means for jumping the cursor position by a width; and the address converting means determining the address of document data corresponding to the line column of the cursor position moved by the cursor moving means, and converting the address from the already determined address of the document data. control means for transferring document data by blocks to the address; and data in the document storage means that has been subjected to block repeat processing.
What is claimed is: 1. A character processing device comprising: display control means for converting the data into display data and then displaying the data by means of a display means.
JP2251454A 1990-09-19 1990-09-19 Character processor Pending JPH04127357A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2251454A JPH04127357A (en) 1990-09-19 1990-09-19 Character processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2251454A JPH04127357A (en) 1990-09-19 1990-09-19 Character processor

Publications (1)

Publication Number Publication Date
JPH04127357A true JPH04127357A (en) 1992-04-28

Family

ID=17223069

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2251454A Pending JPH04127357A (en) 1990-09-19 1990-09-19 Character processor

Country Status (1)

Country Link
JP (1) JPH04127357A (en)

Similar Documents

Publication Publication Date Title
JPH04127357A (en) Character processor
JPS61250768A (en) Device for updating conversion dictionary
JPH0640296B2 (en) Character processor
JP2786260B2 (en) Kana-Kanji conversion device
JP2846655B2 (en) Character correction method
JP3058181B2 (en) Character processing apparatus and method
JPS59140541A (en) Character processing device
JPH027161A (en) Character processor
JPS6376055A (en) Original word/translated word display system in document forming device
JP3236039B2 (en) Character processing apparatus and method
JPH1158U (en) Document input device
JP2698348B2 (en) Character processor
JPS62266652A (en) Word processor
JP2543501B2 (en) Word processor
JPH0844472A (en) Document processor
JPH04111158A (en) Character processor
JPH0410105B2 (en)
JPS62276665A (en) Character processor
JPS63136083A (en) Character processor
JPH06274483A (en) Character processor
JPH0545988B2 (en)
JPH0392958A (en) Character processor
JPS6348593A (en) Character processor
JPH0392959A (en) Character processor
JPH06309320A (en) Method and device for character processing