JPH0424745B2 - - Google Patents

Info

Publication number
JPH0424745B2
JPH0424745B2 JP1284597A JP28459789A JPH0424745B2 JP H0424745 B2 JPH0424745 B2 JP H0424745B2 JP 1284597 A JP1284597 A JP 1284597A JP 28459789 A JP28459789 A JP 28459789A JP H0424745 B2 JPH0424745 B2 JP H0424745B2
Authority
JP
Japan
Prior art keywords
underline
character data
character
data
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.)
Expired - Lifetime
Application number
JP1284597A
Other languages
Japanese (ja)
Other versions
JPH02168347A (en
Inventor
Shunpei Takenaka
Hiroshi Oowada
Katsumi Masaki
Shuji Ichimura
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 JP1284597A priority Critical patent/JPH02168347A/en
Publication of JPH02168347A publication Critical patent/JPH02168347A/en
Publication of JPH0424745B2 publication Critical patent/JPH0424745B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)
  • Input From Keyboards Or The Like (AREA)

Description

【発明の詳細な説明】 本発明は、文字データを入力して、アンダーラ
インを付加したり、削除したりすることのできる
文字処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a character processing device that can input character data and add or delete an underline.

従来入力した文字列にアンダラインを付加した
い場合があつた。
In the past, there were cases where you wanted to add an underline to the input string.

本発明は、入力した文字列にアンダラインを付
加させたり、文字列に付加したアンダラインを削
除させたりするのに、カーソルで指示した文字に
対してアンダラインを付加する様にし更に、記憶
装置に文字列と対でアンダラインを記憶させる様
にして、アンダラインを付加する時、或は文字列
の編集による文字列の移動がある時、文書を記憶
装置から読み出した時でも、簡単にアンダライン
付きの文書を表示することができる文字処理装置
を提供することである。
The present invention adds an underline to an input character string or deletes an underline added to a character string by adding an underline to a character specified by a cursor, and furthermore, the storage device By storing underlines in pairs with character strings, you can easily add underlines, move character strings by editing them, or read the document from the storage device. An object of the present invention is to provide a character processing device capable of displaying a document with lines.

以下本発明による一実施例を説明する。 An embodiment according to the present invention will be described below.

第1図は本発明による入力装置の1実施例を適
用した文字処理装置のブロツク図である。同図に
おいて、CPUはマイクロプロセツサーで、演算、
論理判断等を行なう、ABはアドレスバスで、制
御対象を指示する信号を転送する。DBはデータ
バスで、各種データを転送するもので、双方向性
のバスである。CBはコントロールバスで、各種
制御対象に制御信号を印加するものである。
FIG. 1 is a block diagram of a character processing device to which an embodiment of the input device according to the present invention is applied. In the figure, the CPU is a microprocessor that performs calculations and
AB is an address bus that performs logical judgments, etc., and transfers signals indicating the control target. DB is a data bus that transfers various data and is a bidirectional bus. CB is a control bus that applies control signals to various control targets.

KBはキーボードで、文字やフアンクシヨン及
びモードを入力するキーKB1、アンダラインキ
ーKB2、カーソルキーKB3等を備えている。
KBCはキーボードコントローラで、キーボード
KBより入力されたデータをエンコードし、また
インタラプト信号をコントロールバスCBに送る。
DPCはCRTコントローラで、CRT装置DP、キ
ヤラクタジエネレータCG、リフレツシユメモリ
M、リフレツシユメモリコントローラMC3を制
御する。CRT装置DPは文字、記号、画等を表示
しうるものである。キヤタクタジエネレータCG
は文字コード記号コード及び文字記号パターンの
行アドレス等のコード入力により所望の文字記号
パターンを出力する。上記文字記号パターンはマ
トリクス状に形成され、行アドレスを変えること
で、文字記号パターンが出力される。リフレツシ
ユメモリRはCRT装置DPに表示される文字記号
コードを記憶し、CRTコントローラDPCの制御
の下に繰り返し文字記号コードを出力する。リフ
レツシユメモリコントローラMC3はCRTコント
ローラDPCの指示に従つてリフレツシユメモリ
Rのリフレツシユサイクルとマイクロプロセツサ
ーCPUよりのデータの書き込みで、読み出しを
制御する。ROMは制御メモリで、第3図に示す
制御手順等を記憶するものである。上記制御メモ
リROMはROMコントローラMC1により記憶さ
れた処置手順が読み出される。RAMはランダム
アクセスのメモリで、各種データの一時記憶に用
いられる。メモリRAMはRAMコントローラMC
2により書き込み、読み出しがなされる。MDは
磁気デイスク装置で、後述する形式で漢字情報を
記憶する。磁気デイスク装置MDは磁気デイスク
コントローラMDDにより制御される。
The KB is a keyboard, and includes a key KB1 for inputting characters, functions, and modes, an underline key KB2, a cursor key KB3, and the like.
KBC is a keyboard controller,
It encodes the data input from KB and sends an interrupt signal to control bus CB.
DPC is a CRT controller that controls the CRT device DP, character generator CG, refresh memory M, and refresh memory controller MC3. The CRT device DP is capable of displaying characters, symbols, strokes, etc. Character generator CG
outputs a desired character symbol pattern by inputting codes such as the character code symbol code and the line address of the character symbol pattern. The character and symbol patterns are formed in a matrix, and by changing the row addresses, the character and symbol patterns are output. The refresh memory R stores the character symbol code displayed on the CRT device DP, and repeatedly outputs the character symbol code under the control of the CRT controller DPC. The refresh memory controller MC3 controls the refresh cycle of the refresh memory R and the writing and reading of data from the microprocessor CPU in accordance with instructions from the CRT controller DPC. The ROM is a control memory that stores control procedures and the like shown in FIG. The treatment procedure stored in the control memory ROM is read out by the ROM controller MC1. RAM is a random access memory used for temporary storage of various data. Memory RAM is RAM controller MC
2, writing and reading are performed. MD is a magnetic disk device that stores kanji information in the format described below. The magnetic disk device MD is controlled by a magnetic disk controller MDD.

Pはプリンタで、漢字情報、カタカナ、ひらが
な等の情報を記憶するものであり、プリンタコン
トローラPDで制御される。
P is a printer that stores information such as kanji information, katakana, hiragana, etc., and is controlled by a printer controller PD.

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

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

第2図は本実施例の作動を説明する為のもの
で、メモリRAM内の一定の領域にはキーボード
KBより入力されたデータが制御メモリROM内
の制御手順によりマイクロプロセサCPUにより
書き込まれ、かた所謂ワードプロセサ処理により
各種の処理がなされる。
Figure 2 is for explaining the operation of this embodiment, and shows a keyboard in a certain area in the memory RAM.
Data input from the KB is written by the microprocessor CPU according to control procedures in the control memory ROM, and various processes are performed by so-called word processor processing.

入力されるデータはメモリRAM内において第
2図に示す形で記憶される。即ち20で示される
のは1文字のデータの構造を示すものであり、2
1は最上位のビツトMSBであり、22は最下位
のビツトLSBを示すものである。図において各
ビツトLSB,B1〜B14の内ビツトLSB,B
1〜B14は文字のコードが格納される部分であ
り、21で示されるビツトMSBは該文字にアン
ダラインが付されているかどうかの信号を記憶す
るビツトである。
The input data is stored in the memory RAM in the form shown in FIG. In other words, 20 indicates the structure of one character data, and 2
1 is the most significant bit MSB, and 22 is the least significant bit LSB. In the figure, each bit LSB, B1 to B14, bit LSB, B
1 to B14 are portions in which character codes are stored, and bit MSB indicated by 21 is a bit that stores a signal indicating whether or not the character is underlined.

上記のデータは各種のオペレーシヨンにおいて
現在入力中のデータ部分がCRT装置DPのリフレ
ツシユ用のメモリMに転送されることにより
CRT装置DPに表示される。
The above data is generated by transferring the data part currently being input to the refresh memory M of the CRT device DP during various operations.
Displayed on CRT device DP.

CRT装置DP上において現在カーソルがある位
置にアンダーラインを付加する場合、キーボード
KB上のキー「アンダーライン」KB3を押すこ
とにより行われる。「アンダーライン」キーKB
3が押されると、第3図のフローに示す制御メモ
リROM内の制御手順によりマイクロプロセサ
CPUにより実行されるものである。即ち「アン
ダーライン」キーKB3が押されるとステツプ23
により現在のCRT装置DP上のカーソル位置に対
応するメモリRAM上のデータエリアのアドレス
を算出し、ステツプ24で上記で算出したアドレス
のデータのビツトMSBが1かどうかを調べる。
アンダラインを付加する場合、1を入力する。そ
うでない場合0を入力する。その結果1でない場
合(この場合はアンダーラインがないところに付
加する場合であるので1ではない)はステツプ25
で該アドレスのビツトMSBを1にしてこのルー
チンをぬける。この後は当然上記により変更した
データを前述の如くCRT装置DPにデイスプレイ
を行う。
If you want to add an underline to the current cursor position on the CRT device DP, press the keyboard
This is done by pressing the key "underline" KB3 on the KB. "Underline" key KB
When 3 is pressed, the microprocessor is activated by the control procedure in the control memory ROM shown in the flowchart in Figure 3.
It is executed by the CPU. That is, when the "underline" key KB3 is pressed, step 23
The address of the data area on the memory RAM corresponding to the current cursor position on the CRT device DP is calculated, and in step 24 it is checked whether the bit MSB of the data at the address calculated above is 1.
If you want to add an underline, enter 1. If not, enter 0. If the result is not 1 (in this case, it is not 1 because it is added to a place where there is no underline), go to step 25.
Then, set the MSB bit of the address to 1 and exit from this routine. After this, naturally, the data changed as described above is displayed on the CRT device DP as described above.

一方すでにアンダーラインが付加されているデ
ータよりアンダーラインを削除する場合は、カー
ソルを上記と同様に該データの位置へ設定し、
「アンダーライン」のキーKB3を押すことによ
り行われる。
On the other hand, if you want to delete the underline from data that already has an underline added, set the cursor to the data position in the same way as above,
This is done by pressing the "underline" key KB3.

即ち第3図において「アンダーライン」キー
KBが押されると、ステツプ23においてカーソル
位置に対応するメモリRAMのデータのアドレス
を算出しステツプ24で該アドレスのデータのビツ
トMSBが1かどうかを調べ、(この場合1である
ため)1であれば、ステツプ26で該データのビツ
トMSBを0にする。前述と同様この後当然上記
により変更したデータを前述の如くCRT装置DP
にデイスプレイする。
In other words, in Figure 3, the "underline" key
When KB is pressed, in step 23 the address of the data in the memory RAM corresponding to the cursor position is calculated, and in step 24 it is checked whether the bit MSB of the data at the address is 1 (in this case it is 1). If so, the MSB bit of the data is set to 0 in step 26. Same as above, after this, of course, the data changed as above is transferred to CRT device DP as mentioned above.
display on the screen.

本発明によれば、文字列の文字にアンダライン
情報を付加して記憶する様にしたので、文字列の
編集或は、記憶装置から文字列を読み出した場合
でもアンダラインを文字と共に表示することがで
きる。
According to the present invention, since the underline information is added to the characters of a character string and stored, the underline can be displayed together with the characters even when editing the character string or reading the character string from the storage device. I can do it.

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

第1図は本発明による一実施例を示すブロツク
図。第2図は第1図に示すメモリRAM中のデー
タ構造を示す図。第3図は制御手順を示す図であ
る。 MSB……最上位ビツト、KB3……アンダーラ
インキー。
FIG. 1 is a block diagram showing one embodiment of the present invention. FIG. 2 is a diagram showing the data structure in the memory RAM shown in FIG. 1. FIG. 3 is a diagram showing the control procedure. MSB...Most significant bit, KB3...Underline key.

Claims (1)

【特許請求の範囲】 1 文字データを入力する入力手段と、 文字データと該文字データに対応するアンダラ
イン情報を対で記憶する記憶位置を複数有する記
憶手段と、 前記記憶手段に記憶された文字データを表示す
る場合、前記文字データに対応するアンダライン
情報の有無に応じて文字データにアンダラインを
表示するか否かを制御して表示手段上で表示する
表示制御手段と、 前記表示手段に表示された文字データの1つを
指示するカーソルを制御するカーソル制御手段
と、 文字データにアンダーラインの付加、或は削除
を指示する指示手段と、 前記指示手段のアンダライン付加の指示操作に
応答して、前記カーソルによつて指示された文字
データに対でアンダライン情報を付加する為に前
記記憶手段の記憶位置を計算してアンダライン情
報を記憶し、或はアンダラインの削除の指示操作
に応答して、前記カーソルによつて指示された文
字データに対で付加されたアンダライン情報を削
除する為に前記記憶手段の記憶位置を計算してア
ンダライン情報を削除する制御手段とを有する文
字処理装置。
[Scope of Claims] 1. An input means for inputting character data, a storage means having a plurality of storage locations for storing character data and underline information corresponding to the character data in pairs, and characters stored in the storage means. When displaying data, a display control means controls whether or not to display an underline on the character data according to the presence or absence of underline information corresponding to the character data, and displays the data on the display means; cursor control means for controlling a cursor that indicates one of the displayed character data; an instruction means for instructing adding or deleting an underline to the character data; and calculating the storage position of the storage means to add underline information in pairs to the character data indicated by the cursor and storing the underline information, or instructing operation to delete the underline. control means for calculating the storage position of the storage means and deleting the underline information in response to the character data indicated by the cursor in order to delete the underline information added in pairs to the character data indicated by the cursor. Character processing device.
JP1284597A 1989-10-30 1989-10-30 Character processor Granted JPH02168347A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1284597A JPH02168347A (en) 1989-10-30 1989-10-30 Character processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1284597A JPH02168347A (en) 1989-10-30 1989-10-30 Character processor

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP12720279A Division JPS5650431A (en) 1979-10-01 1979-10-01 Input device

Publications (2)

Publication Number Publication Date
JPH02168347A JPH02168347A (en) 1990-06-28
JPH0424745B2 true JPH0424745B2 (en) 1992-04-27

Family

ID=17680519

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1284597A Granted JPH02168347A (en) 1989-10-30 1989-10-30 Character processor

Country Status (1)

Country Link
JP (1) JPH02168347A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6359155A (en) * 1986-08-29 1988-03-15 Toshiba Corp Communication control system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6359155A (en) * 1986-08-29 1988-03-15 Toshiba Corp Communication control system

Also Published As

Publication number Publication date
JPH02168347A (en) 1990-06-28

Similar Documents

Publication Publication Date Title
US4789855A (en) Device for editing document in colors
US4603330A (en) Font display and text editing system with character overlay feature
JPS6034152B2 (en) Search information input method
JPS6359155B2 (en)
JPS6326910B2 (en)
JPH0424745B2 (en)
JPS6359188B2 (en)
JPS58219591A (en) Display unit
JPS648851B2 (en)
JPH0640296B2 (en) Character processor
JPH0445875B2 (en)
JPH0479024B2 (en)
JPS5818731A (en) Input device
JP2846655B2 (en) Character correction method
JP2786260B2 (en) Kana-Kanji conversion device
JPS6137671B2 (en)
JP2698348B2 (en) Character processor
JPH0449119B2 (en)
JP3147233B2 (en) Document processing method and apparatus
JPS648852B2 (en)
JPH0245596B2 (en)
JPH0330900B2 (en)
JPS5965339A (en) Document editing device
JP2606579B2 (en) Character display device
JPS5998239A (en) Documentation device