JP2635602B2 - Document creation device - Google Patents

Document creation device

Info

Publication number
JP2635602B2
JP2635602B2 JP62190912A JP19091287A JP2635602B2 JP 2635602 B2 JP2635602 B2 JP 2635602B2 JP 62190912 A JP62190912 A JP 62190912A JP 19091287 A JP19091287 A JP 19091287A JP 2635602 B2 JP2635602 B2 JP 2635602B2
Authority
JP
Japan
Prior art keywords
cursor
width
size
full
input
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
JP62190912A
Other languages
Japanese (ja)
Other versions
JPS6433663A (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.)
Toshiba Corp
Toshiba Computer Engineering Corp
Original Assignee
Toshiba Corp
Toshiba Computer Engineering Corp
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 Toshiba Corp, Toshiba Computer Engineering Corp filed Critical Toshiba Corp
Priority to JP62190912A priority Critical patent/JP2635602B2/en
Publication of JPS6433663A publication Critical patent/JPS6433663A/en
Application granted granted Critical
Publication of JP2635602B2 publication Critical patent/JP2635602B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は全角文字を編集の基本とする文書作成装置に
関する。
DETAILED DESCRIPTION OF THE INVENTION [Purpose of the Invention] (Industrial application field) The present invention relates to a document creation device based on editing full-width characters.

(従来の技術) 全角文字を編集の基本とする文書作成装置に於いて、
半角文字と全角文字の混在した文書を作成する際、従来
では第3図(a),(b)に示すような規則に従って次
の文字入力位置を示すカーソルを半角サイズから全角サ
イズに変更している。即ち、第3図(a)はカーソルが
左半角位置にある際の全角への切換え状態、同図(b)
はカーソルが右半角位置にある際の全角への切換え状態
をそれぞれ示している。
(Prior Art) In a document creation device based on full-width characters for editing,
Conventionally, when a document containing both half-width and full-width characters is created, the cursor indicating the next character input position is changed from half-size to full-size in accordance with the rules shown in FIGS. 3 (a) and 3 (b). I have. That is, FIG. 3A shows a state in which the cursor is switched to full-width when the cursor is at the left half-angle position, and FIG.
Indicates the state of switching to full-width when the cursor is at the right half-angle position.

しかしながら、この規則に基づいた変更のみでは、半
角文字を奇数個入力した後に全角文字を入力しようとし
てカーソルサイズを全角にしたとき、そのままの状態で
全角文字を入力すると、同全角文字が最後に入力された
半角文字1文字の上にオーバライトされ、既に入力した
半角文字が失われてしまうという欠点があった。
However, if only the change based on this rule is used, if the cursor size is changed to full-width when trying to enter full-width characters after inputting an odd number of half-width characters, if full-width characters are input as they are, the same full-width characters will be entered last There is a drawback that the half-width character is overwritten on one half-width character and the already-entered half-width character is lost.

その具体例を第5図(a)乃至(d)に示している。
ここでは半角で『abc』と入力した後、「ひらがな」シ
フトキーを操作して『あ』を入力した場合を示してお
り、この際は半角で最後に入力した『c』の桁位置に
『あ』がオーバライトされ、『c』が消されてしまう。
Specific examples are shown in FIGS. 5 (a) to (d).
Here, a case is shown in which, after inputting "abc" in one-byte characters and operating the "Hiragana" shift key to input "a", "a" is input in the digit position of the last input "c" in one-byte characters. Is overwritten, and “c” is erased.

(発明が解決しようとする問題点) 上述したように従来では、半角文字を奇数個入力した
後、ファンクションキー操作でカーソルサイズが全角に
切替わったとき、その状態で全角文字を入力すると、入
力済みの最後の半角文字が消されてしまうという欠点が
あった。
(Problems to be Solved by the Invention) As described above, in the related art, when the cursor size is switched to full-width by a function key operation after inputting an odd number of half-width characters, if a full-width character is input in that state, the input is performed. There is a disadvantage that the last half-width character that has already been erased is erased.

本発明は上記実情に鑑みなされたもので、カーソルサ
イズが半角から全角に切替わったときに入力済みの最後
の半角文字が消失してしまう不都合を解消して、半角文
字と全角文字が混在した文書の入力作業をカーソル位置
を何等意識することなく円滑に実行できるようにした文
書作成装置を提供することを目的とする。
The present invention has been made in view of the above circumstances, and eliminates the inconvenience that the last half-width character that has been input is lost when the cursor size is switched from half-width to full-width, and half-width and full-width characters are mixed. It is an object of the present invention to provide a document creating apparatus capable of executing a document input operation smoothly without any awareness of a cursor position.

[発明の構成] (問題点を解決するための手段及び作用) 本発明は、半角文字の入力位置を示すカーソルが右半
角位置にあり、かつカーソルがファンクションキー操作
で半角サイズから全角サイズへ切替わることを認識し同
状態認識時にカーソル表示桁を更新する手段を有して、
カーソルサイズが半角から全角に切替わったとき入力済
みの最後の半角文字が消えてしまう不都合を解消し、半
角文字と全角文字が混在した文書の入力作業を効率良く
円滑に実行できるようにしたものである。
[Structure of the Invention] (Means and Action for Solving the Problems) According to the present invention, a cursor indicating an input position of a half-width character is at a right half-width position, and the cursor is switched from a half-width size to a full-width size by operating a function key. It has means for recognizing that it will change and updating the cursor display digit when recognizing the same state,
Eliminates the inconvenience of erasing the last half-width character entered when the cursor size is changed from half-width to full-width, making it possible to efficiently and smoothly perform input work on documents containing both half-width and full-width characters It is.

(実施例) 以下、図面を参照して本発明の一実施例を説明する。Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

第1図は上記実施例に係る文書作成装置の基本的な構
成を示すブロック図である。
FIG. 1 is a block diagram showing a basic configuration of the document creating apparatus according to the above embodiment.

第1図に於いて、10はマイクロプロサッサ(CPU)、1
1は同マイクロプロセッサ10によりアクセスされるRAM、
12は同ROMである。
In FIG. 1, 10 is a microprocessor (CPU), 1
1 is a RAM accessed by the microprocessor 10,
12 is the ROM.

マイクロプロセッサ(以下CPUと称す)10は装置全体
の制御を行なうもので、上記RAM11及びROM12をアクセス
して、入力指示に従うプログラムの起動で、文書作成処
理、外字作成処理、更には上記第2図に示すようなキー
入力制御処理等を実行する。RAM11は、文書領域、行イ
メージ領域(印字バッファ)、外字登録領域、語句登録
領域を始め、文書表示画面上のカーソル位置を記憶する
カーソル位置レジスタなどの各制御情報を記憶する領域
からなる。ROM12は、CPU10の動作を決定するプログラム
や第2図に示すようなキー入力に伴うカーソル制御ルー
チンを含む入力処理プログラム等を格納したプログラム
領域13をはじめ、表示あるいは印字文字パターン等を記
憶する文字パターン領域14、仮名あるいはローマ字で入
力された読みを漢字に変換するための各種辞書が登録さ
れた辞書領域15等を有している。
A microprocessor (hereinafter referred to as a CPU) 10 controls the entire apparatus, accesses the RAM 11 and the ROM 12, activates a program in accordance with an input instruction, and executes a document creation process, an external character creation process, and FIG. The key input control processing shown in FIG. The RAM 11 includes a document area, a line image area (print buffer), an external character registration area, a word registration area, and an area for storing control information such as a cursor position register for storing a cursor position on a document display screen. The ROM 12 includes a program area 13 storing a program for determining the operation of the CPU 10 and an input processing program including a cursor control routine associated with key input as shown in FIG. 2, and a character for storing a display or print character pattern and the like. It has a pattern area 14, a dictionary area 15 in which various dictionaries for converting readings input in kana or romaji into kanji are registered.

又、16はキーボード(KB)、18は表示器、21はフロッ
ピィディスク装置(FDD)、23はプリンタ(PRT)であ
る。キーボード(KB)16は、文書作成等に必要な入力情
報をキーボードインターフェイス(KB−IF)17を介して
CPU10へ入力する。このキーボード16には、文字キー、
カーソルキー等に加えて、カーソル範囲を全角から半角
に切換える半角指定キー、及びカーソル範囲の半角から
全角への切換えを伴う、「ひらがな」シフトキー、「カ
タカナ」シフトキー、「漢字」シフトキー等を含む各種
のファンクションキーが設けられる。表示器18は、例え
ば10行表示の液晶ディスプレイ装置からなる。表示コン
トローラ(表示−CNT)19は、CPU10の制御の下に表示用
ドットメモリ20を用い表示器18の表示制御を行なう。フ
ロッピィディスク装置21は、ディスクインターフェイス
(FDD−IF)22を介してCPU10の制御の下に、作成された
文書を保存したり、外字および第2水準文字等を記憶す
る。プリンタ23は、プリンターフェイス(PRT−IF)24
を介してCPU10の制御の下に、作成された文書あるいは
上記フロッピィディスク装置21から本体内に読み込んだ
文字情報を印字する。
16 is a keyboard (KB), 18 is a display, 21 is a floppy disk drive (FDD), and 23 is a printer (PRT). A keyboard (KB) 16 receives input information necessary for document creation and the like via a keyboard interface (KB-IF) 17.
Input to CPU10. This keyboard 16 has character keys,
In addition to the cursor keys, various keys including a half-width designation key for switching the cursor range from full-width to half-width, and a "Hiragana" shift key, a "Katakana" shift key, a "Kanji" shift key, etc., which involve switching from a half-width to a full-width for the cursor range. Function keys are provided. The display 18 is composed of, for example, a 10-line liquid crystal display device. The display controller (display-CNT) 19 controls the display of the display 18 using the display dot memory 20 under the control of the CPU 10. The floppy disk device 21 stores a created document and stores external characters and second-level characters under the control of the CPU 10 via a disk interface (FDD-IF) 22. The printer 23 has a printer face (PRT-IF) 24
Under the control of the CPU 10 via the CPU 10, the created document or character information read into the main body from the floppy disk device 21 is printed.

第2図は上記実施例によるキー入力処理フローを示す
フローチャートである。
FIG. 2 is a flowchart showing a key input processing flow according to the embodiment.

第3図(a),(b)はカーソルサイズの変更規則を
説明するための図であり、第4図(a)乃至(d)は上
記実施例に於ける動作説明図である。
FIGS. 3 (a) and 3 (b) are diagrams for explaining the rules for changing the cursor size, and FIGS. 4 (a) to (d) are diagrams for explaining the operation in the above embodiment.

ここで、上記第1図乃至第4図を参照して本発明の一
実施例に於ける動作を説明する。
Here, the operation in one embodiment of the present invention will be described with reference to FIGS. 1 to 4.

キーボード16上のキーが操作されると、そのキー操作
に伴い第2図に示すようなキー入力処理ルーチンがCPU1
0の制御の下に実行される。ここでは、先ず操作キーが
カーソルの半角から全角への切換えを要する、例えば
「ひらがな」シフトキー、「カタカナ」シフトキー、又
は「漢字」シフトキー等のファンクションキーであるか
否かが判断され、当該ファンクションキーでないとき
は、そのキー入力情報を1文字バッファに一時保持し
て、そのキーに固有の処理が実行される(第2図ステッ
プS1,S2,S8,S9)。
When a key on the keyboard 16 is operated, a key input processing routine as shown in FIG.
It is executed under the control of 0. Here, first, it is determined whether or not the operation key is a function key such as a "Hiragana" shift key, a "Katakana" shift key, or a "Kanji" shift key which requires switching from a half-width to a full-width cursor. If not, the key input information is temporarily stored in the one-character buffer, and processing unique to the key is executed (steps S1, S2, S8, S9 in FIG. 2).

この際、操作されたキーが、例えば半角文字の入力を
指定する「半角キー」であるときは、カーソルが全角サ
イズから半角サイズに切替わり、以後、半角文字入力の
都度、次の半角文字入力位置(左半角/右半角)がカー
ソル制御レジスタに記憶され、その内容に従って半角カ
ーソルが表示制御される。
At this time, if the operated key is, for example, a “half-width key” for designating half-width character input, the cursor switches from a full-width size to a half-size size. The position (left half-width / right half-width) is stored in the cursor control register, and the display of the half-width cursor is controlled according to the contents.

又、上記操作されたキーが、カーソルの半角から全角
への切換えを要する、例えば「ひらがな」シフトキー、
「カタカタ」シフトキー、又は「漢字」シフトキー等の
ファンクションキーであるときは、次に、半角カーソル
位置が右半角位置にあるか否かが判断され、更に、右半
角位置にあるときは、1文字バッファに貯えられたキー
入力情報から前回操作されたキーが文字・数字・記号等
の文字類データであるかファンクションキーであるか否
かが判断される(第2図ステップS1〜S4)。
In addition, the operated key needs to switch from a half-width to a full-width of a cursor, for example, a “Hiragana” shift key,
If it is a function key such as the "Katakata" shift key or the "Kanji" shift key, it is then determined whether the half-width cursor position is at the right half-width position. From the key input information stored in the buffer, it is determined whether or not the previously operated key is character data such as characters, numbers, and symbols or function keys (steps S1 to S4 in FIG. 2).

ここで、半角カーソル位置が右半角位置にあり、前回
の操作キーがデータキーであるときは、カーソル位置が
次桁へ更新(+1)され、カーソルサイズが半角から全
角に切換えられて、同更新桁位置に全角サイズでカーソ
ルが表示される(第2図ステップS5〜S7)。
Here, when the half-width cursor position is at the right half-width position and the previous operation key is the data key, the cursor position is updated to the next digit (+1), the cursor size is switched from half-width to full-width, and the same size is updated. A cursor is displayed at the digit position in full size (steps S5 to S7 in FIG. 2).

又、半角カーソル位置が右半角位置にないとき(左半
角位置にあるとき)、又は前回の操作キーがファンクシ
ョンキーであるときは、カーソル位置が更新されず、そ
の桁位置でカーソルサイズが半角から全角に切換えられ
て、同桁位置に全角サイズでカーソルが表示される(第
2図ステップS3,S4,S6,S7)。
When the half-width cursor position is not at the right half-width position (when it is at the left half-width position) or when the previous operation key is a function key, the cursor position is not updated, and the cursor size is changed from the half-width position at the digit position. The mode is switched to full-width, and a cursor is displayed at the same digit position in full-width size (steps S3, S4, S6, S7 in FIG. 2).

上記実施例による具体的な動作例を第4図に示してい
る。
FIG. 4 shows a specific operation example according to the above embodiment.

ここでは上述とした従来例の場合と同様に、半角で
『abc』と入力した後、全角で『あ』を入力する場合を
例にとっている。
Here, as in the case of the above-described conventional example, an example is described in which "abc" is input in half-width and then "a" is input in full-width.

前述した第5図に示す従来のカーソル制御手段では、
第3図に示したカーソルサイズ変更規則に基づいている
ために半角奇数個の文字列を入力した際、最後に入力し
た半角文字『c』が消されてしまう虞れがあった。これ
に対して上述した本発明の一実施例によるキー入力制御
手段は、第4図(a)乃至(d)に示すように、カーソ
ルが右半角位置にあるとき、「ひらがな」シフトキーが
押下されて、そのまま全角文字『あ』が入力されても、
カーソルが次桁に自動的に移動して、次の入力文字桁位
置が更新されていることから、ずでに入力された半角文
字『c』が消されてしまう虞れが全く無く、従ってオペ
レータがカーソル位置を何等意識することなく、半角文
字が混在した文書入力を誤り無く円滑かつ迅速に実行で
きる。
In the conventional cursor control means shown in FIG.
When an odd half-width character string is input due to the cursor size changing rule shown in FIG. 3, the last input half-width character "c" may be erased. On the other hand, in the key input control means according to the embodiment of the present invention described above, as shown in FIGS. 4 (a) to 4 (d), when the cursor is at the right half-width position, the "Hiragana" shift key is pressed. Even if the full-width character "A" is entered as it is,
Since the cursor automatically moves to the next digit and the position of the next input character digit is updated, there is no danger that the half-width character "c" that was previously input will be erased. Can smoothly and quickly execute input of a document including half-width characters without error, without being aware of the cursor position.

更に上記実施例では、前回入力したキーがデータキー
であるかファンクションキーであるかをチェックしてい
るため、例えばカーソルキーのようなファンクションキ
ーによってカーソルを移動した後にカーソルサイズを変
更するときでも、カーソルが余分に動いてしまうという
不都合が生じない。
Further, in the above-described embodiment, since it is checked whether the previously input key is a data key or a function key, even when the cursor size is changed after moving the cursor with a function key such as a cursor key, The inconvenience that the cursor moves excessively does not occur.

[発明の効果] 以上詳記したように本発明によれば、全角文字を編集
の基本とする文書作成装置に於いて、カーソルが右半角
位置にあり、かつカーソルが半角サイズから全角サイズ
へ切替わることを判断する手段と、同判断時に於いてカ
ーソル表示桁を更新する手段とを有してなる構成とした
ことにより、カーソルサイズが半角から全角に切替わっ
たとき入力済みの最後の半角文字が消失してしまう不都
合を解消でき、半角文字と全角文字が混在した文書の入
力作業をカーソル位置を意識せず円滑に実行できる。
[Effects of the Invention] As described in detail above, according to the present invention, in a document creation device based on full-width characters for editing, the cursor is at the right half-width position, and the cursor is switched from half-width size to full-width size. Means for judging the change, and means for updating the cursor display digit at the time of the judgment, so that the last half-width character already input when the cursor size is switched from half-width to full-width Can be eliminated, and the input operation of a document in which half-width characters and full-width characters are mixed can be smoothly executed without being aware of the cursor position.

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

第1図は本発明の実施例に係る文書作成装置の構成を示
すブロック図、第2図は上記実施例によるキー入力処理
フローを示すフローチャート、第3図はカーソルサイズ
の変更規則を説明するための図、第4図は上記実施例に
於ける動作説明図、第5図は従来装置に於けるカーソル
制御手段を説明するための図である。 10……マイクロプロセッサ(CPU)、11……RAM、12……
ROM、13……プログラム領域、14……文字パターン領
域、15……辞書領域、16……キーボード(KB)、17……
キーボードインターフェイス(KB−IF)、18……表示
器、19……表示コントローラ(表示−CNT)、20……表
示用ドットメモリ、21……フロッピィディスク装置(FD
D)、22……ディスクインターフェイス(FDD−IF)、23
……プリンタ(PRT)、24……プリンタインターフェイ
ス(PRT−IF)、K……カーソル。
FIG. 1 is a block diagram showing the configuration of a document creation apparatus according to an embodiment of the present invention, FIG. 2 is a flowchart showing a key input processing flow according to the above embodiment, and FIG. 3 is for explaining rules for changing the cursor size. FIG. 4 is a view for explaining the operation in the above embodiment, and FIG. 5 is a view for explaining the cursor control means in the conventional apparatus. 10 ... Microprocessor (CPU), 11 ... RAM, 12 ...
ROM, 13 ... program area, 14 ... character pattern area, 15 ... dictionary area, 16 ... keyboard (KB), 17 ...
Keyboard interface (KB-IF), 18 Display unit, 19 Display controller (display-CNT), 20 Display dot memory, 21 Floppy disk drive (FD
D), 22 ... Disk interface (FDD-IF), 23
... Printer (PRT), 24 ... Printer interface (PRT-IF), K ... Cursor.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】カーソル表示手段と、 現在表示されているカーソル位置を判断するカーソル位
置判断手段と、 カーソルサイズを半角サイズあるいは全角サイズに切替
えるカーソルサイズ切替え手段と、 このカーソルサイズ切替え手段により、カーソルのサイ
ズが半角サイズから全角サイズに切替えられたか、ある
いは、全角サイズから半角サイズに切替えられたかを判
断する切替え状態判断手段と、 前記カーソル位置判断手段が、現在のカーソル位置が右
半角位置にあることを判断し、かつ、前記切替え状態判
断手段が、カーソルサイズが半角サイズから全角サイズ
へ切替えられたことを判断したとき、カーソルサイズを
切替え、カーソル表示位置を右へ更新する手段と を具備してなることを特徴とする文書作成装置。
1. Cursor display means, cursor position determining means for determining a currently displayed cursor position, cursor size switching means for switching a cursor size to a half size or full size size, and a cursor size switching means. Switching state determining means for determining whether the size of the character has been switched from half-size to full-size or from full-size to half-size, and the cursor position determining means has a current cursor position at the right half-size position. Means for switching the cursor size and updating the cursor display position to the right when the switching state determination means determines that the cursor size has been switched from the half-width size to the full-width size. A document creation device, comprising:
JP62190912A 1987-07-30 1987-07-30 Document creation device Expired - Lifetime JP2635602B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62190912A JP2635602B2 (en) 1987-07-30 1987-07-30 Document creation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62190912A JP2635602B2 (en) 1987-07-30 1987-07-30 Document creation device

Publications (2)

Publication Number Publication Date
JPS6433663A JPS6433663A (en) 1989-02-03
JP2635602B2 true JP2635602B2 (en) 1997-07-30

Family

ID=16265780

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62190912A Expired - Lifetime JP2635602B2 (en) 1987-07-30 1987-07-30 Document creation device

Country Status (1)

Country Link
JP (1) JP2635602B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0679213B2 (en) * 1983-11-18 1994-10-05 キヤノン株式会社 Character processor

Also Published As

Publication number Publication date
JPS6433663A (en) 1989-02-03

Similar Documents

Publication Publication Date Title
JP2635602B2 (en) Document creation device
JPH03282881A (en) Document preparation device
JP2585298B2 (en) Document creation device
JP2755589B2 (en) Document creation device
JP2713951B2 (en) Document creation device and display control method
JPH06161689A (en) Document preparing device and print control method
JP3236039B2 (en) Character processing apparatus and method
JPH0521159Y2 (en)
JPH01231088A (en) Calligraphic style selecting picture displaying system
JP3273607B2 (en) Document processing device
JPH0264853A (en) Document generating device
JPS61112277A (en) Processing range designating and executing device for word processor
JPH01231165A (en) Document generating device
JPH04303271A (en) Graphic preparing device
JPH01193916A (en) Electronic device
JPH02301856A (en) Document preparing device
JPH0719188B2 (en) Data input device
JPH04118771A (en) Document preparing device
JPH01251087A (en) Mouse cursor display control system
JPH07182321A (en) Device for documentation and method for generating data
JPS6269355A (en) Character processor
JPS63257862A (en) Character processor
JPH07287769A (en) Device and method for preparing document
JPH0981573A (en) Translation support device
JPS62266652A (en) Word processor