JPH09160700A - Document preparation device - Google Patents

Document preparation device

Info

Publication number
JPH09160700A
JPH09160700A JP7322783A JP32278395A JPH09160700A JP H09160700 A JPH09160700 A JP H09160700A JP 7322783 A JP7322783 A JP 7322783A JP 32278395 A JP32278395 A JP 32278395A JP H09160700 A JPH09160700 A JP H09160700A
Authority
JP
Japan
Prior art keywords
parenthesis
key input
key
closing
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.)
Pending
Application number
JP7322783A
Other languages
Japanese (ja)
Inventor
Tamami Sasaki
珠実 佐々木
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP7322783A priority Critical patent/JPH09160700A/en
Publication of JPH09160700A publication Critical patent/JPH09160700A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To input and display a closing parenthesis at an arbitrary position being conscious of closing parenthesis corresponding to an opening parenthesis at the time of document preparation. SOLUTION: When a key input is the opening parenthesis, a key decision part 4 supplies this key input to a key input processing part 5 to display it on a screen, and retrieves the closing parenthesis corresponding to the opening parenthesis from a parenthesis corresponding data part 1 and saves the closing parenthesis in a closing parenthesis stack part 3. Then when there is a key input, the key decision part 4 decides whether or not this key input is a specified function key input, and takes the closing parenthesis out of the closing parenthesis stack part 3 and supplies it as a key input to the key input processing part 5 when the key input is the specified function key input. The key input processing part 5 performs an input process and displays the closing parenthesis on the screen.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、キーボード入力に
応じて文章を作成するための装置に関し、特に、対で使
用される記号(例えば、括弧)を自動的に入力する装置
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a device for creating sentences in response to keyboard input, and more particularly to a device for automatically inputting symbols (for example, parentheses) used in pairs.

【0002】[0002]

【従来の技術】一般に、ワードプロセッサ及びパーソナ
ルコンピュータ等のOA機器において、「{」「}」等
の括弧記号を使用して文章を表現する際、開き括
弧「{,(,[」等を入力した後、これら開き括弧に対
応して閉じ括弧が入力される。
2. Description of the Related Art Generally, in an OA device such as a word processor and a personal computer, when a sentence is expressed using parenthesis symbols such as "{" and "}", an opening parenthesis "{, (, [" etc. is entered. After that, closing brackets are input corresponding to these opening brackets.

【0003】このような場合には、オペレータが意識的
に閉じ括弧を入力する必要があり、且つ、OA機器等に
おいては、一般に、括弧の入力は複数キーを同時に押下
る入力方法であるため、閉じ括弧等の入力に当たっては
操作性が劣る。
In such a case, it is necessary for the operator to consciously input the closing parenthesis, and in the OA equipment and the like, generally, the inputting of the parentheses is an input method of pressing a plurality of keys at the same time. Operability is poor when inputting closing brackets.

【0004】上述の操作性を改善した装置として、開き
括弧「{,(,[」等を入力すると同時に、開き括弧に
対する閉じ括弧が自動的に表示され、括弧中に文章を入
力可能とする装置が知られている(例えば、特開平2−
85954号広報)。
As a device for improving the operability described above, a device for automatically inputting opening brackets "{, (, [", etc., and at the same time, closing brackets corresponding to the opening brackets, allowing a sentence to be entered in the brackets. Are known (for example, Japanese Laid-Open Patent Publication No. 2-
85954 issue).

【0005】ここで、図3を参照して、従来の文書作成
装置(例えば、ワードプロセッサ)における括弧記号入
力処理について説明する。
Now, with reference to FIG. 3, parenthesis symbol input processing in a conventional document creating apparatus (for example, a word processor) will be described.

【0006】この装置では、例えば、キーボードから括
弧記号として「{」を入力すると(ステップS1)、ま
ず、表示部に「{」が表示される(ステップS2)。こ
の際、括弧記号対応テーブルが検索されて(ステップS
3)、対応する括弧記号「}」が抽出される(ステップ
S4)。そして、表示部に「}」が表示される(ステッ
プS5)。続いて、括弧記号間挿入モード記号間にカー
ソルがセットされる(ステップS6)。つまり、表示部
に「{ }」と表示される。
In this apparatus, for example, when "{" is input as a parenthesis symbol from the keyboard (step S1), "{" is first displayed on the display section (step S2). At this time, the bracket symbol correspondence table is searched (step S
3) The corresponding bracket symbol "}" is extracted (step S4). Then, "}" is displayed on the display unit (step S5). Then, a cursor is set between the inter-bracket symbol insertion mode symbols (step S6). In other words, "{ } ”Is displayed.

【0007】カーソルの位置をそのままとして、文字を
入力すると(ステップS7及びS8)、挿入と判断され
て文字が入力され「{ }」内に文字が挿入される(ス
テップS9)。例えば、カーソルの位置をそのままとし
て、キーボードから「あ」を入力すると、表示部には
「{あ }」という形で表示される。
When a character is input with the cursor position kept unchanged (steps S7 and S8), it is determined that the character is inserted and the character is input and "{ }] Is inserted (step S9). For example, if you leave the cursor at the same position and enter "A" from the keyboard, "{A }] ”Is displayed.

【0008】一方、カーソルを括弧記号の外に移動させ
て、文字を入力すると、挿入終了と判断され(ステップ
S10)、入力文字は括弧記号の外に表示される。例え
ば、「{あ }」が表示されている際、カーソルを移動
させて、「{あ} 」とした後、キーボードから「い」
を入力すると、表示部には「{あ}い 」と表示され
る。
On the other hand, when the character is input by moving the cursor outside the parenthesis symbols, it is determined that the insertion has been completed (step S10), and the input character is displayed outside the parenthesis symbols. For example, "{a }] Is displayed, move the cursor to After that, click "I" from the keyboard.
When you enter, "{A} Is displayed.

【0009】[0009]

【発明が解決しようとする課題】上述のように、従来の
文書作成装置においては、開き括弧を入力すると同時に
閉じ括弧が表示されるから、文書作成の際の操作性は向
上するが、括弧入力を行うと、必ず閉じ括弧が入力され
た状態となるため、既に作成されている文章に対して括
弧を付加したい場合には、表示されてしまった閉じ括弧
を削除し、挿入したい位置に入力し直す操作が必要とな
ってしまう。つまり、不要な操作が増えてしまうという
問題点がある。
As described above, in the conventional document creating apparatus, the closing parenthesis is displayed at the same time when the opening parenthesis is input, so that the operability at the time of creating the document is improved, but the parenthesis input is performed. If you do, the closing bracket will always be entered, so if you want to add a bracket to a sentence that has already been created, delete the closing bracket that was displayed and enter it at the position you want to insert. The operation to fix is necessary. That is, there is a problem that unnecessary operations increase.

【0010】つまり、開き括弧を入力すると同時に閉じ
括弧が表示されるから、閉じ括弧の位置を任意に指定す
ることができず、このため、作成済文章を修正する際の
操作性が悪いという問題点がある。
That is, since the closing parenthesis is displayed at the same time when the opening parenthesis is input, the position of the closing parenthesis cannot be arbitrarily specified, and thus the operability when correcting the prepared sentence is poor. There is a point.

【0011】本発明の目的は、括弧を含んだ文字を入力
する際の操作性が良好な文書作成装置を提供することに
ある。
An object of the present invention is to provide a document creating apparatus which has good operability when inputting characters including parentheses.

【0012】[0012]

【課題を解決するための手段】本発明によれば、キーボ
ードからのキー入力に応じて画面上に文章を表示するよ
うにした文書作成装置であって、前記キー入力のうち予
め指定されたキー入力が指定ファンクションキー入力と
して設定されており、前記キー入力を受けると、前記キ
ー入力が開き括弧であるかを判定して開き括弧であると
該開き括弧に対応する閉じ括弧を一時的に保持閉じ括弧
として保持して前記キー入力が前記指定ファンクション
キー入力であると前記保持閉じ括弧を前記画面上に表示
する判定処理手段を有することを特徴とする文書作成装
置が得られる。
According to the present invention, there is provided a document creating apparatus for displaying a sentence on a screen in response to a key input from a keyboard, wherein a key designated in advance among the key inputs is used. The input is set as a designated function key input, and when the key input is received, it is determined whether the key input is an open parenthesis and if it is an open parenthesis, the close parenthesis corresponding to the open parenthesis is temporarily held. There is provided a document creating apparatus characterized by further comprising a determination processing means which holds the closing parenthesis as the closing parenthesis and displays the holding closing parenthesis on the screen when the key input is the designated function key input.

【0013】さらに、この文書作成装置は、前記指定フ
ァンクションキー入力に対応するキーが指定ファンクシ
ョンキーとして設定された設定テーブルを備えるととも
に、前記開き括弧と該開き括弧に対応する前記閉じ括弧
とがペアで格納された括弧対応データ部を備えている。
Further, the document creating apparatus includes a setting table in which a key corresponding to the designated function key input is set as a designated function key, and the opening parenthesis and the closing parenthesis corresponding to the opening parenthesis are paired. It has a data section corresponding to parentheses stored in.

【0014】前記判定処理手段は、例えば、前記キー入
力が前記指定ファンクションキーであるか前記キー入力
が前記開き括弧であるかを判定するキー判定部と、前記
キー入力が前記開き括弧であると該開き括弧に対応する
前記閉じ括弧がスタックされるスタック部とを有し、前
記キー入力が前記開き括弧であると、前記キー判定部は
前記括弧データ対応データ部を検索して前記閉じ括弧を
前記スタック部に前記保持閉じ括弧としてスタックし、
前記キー入力が前記指定ファンクションキーであると、
前記スタック部から前記保持閉じ括弧を取り出す。前記
スタック部は、例えば、先入れ後だしメモリである。
The determination processing means may be, for example, a key determination unit that determines whether the key input is the designated function key or the key input is the open parenthesis, and the key input is the open parenthesis. And a stack portion on which the closing parenthesis corresponding to the opening parenthesis is stacked, and the key input is the opening parenthesis, the key determining unit retrieves the parenthesis data corresponding data portion and detects the closing parenthesis. Stacked as the holding closing bracket in the stack part,
When the key input is the designated function key,
The holding closing bracket is taken out from the stack portion. The stack unit is, for example, a first-in-first-out memory.

【0015】括弧を含む文章を入力する際、開き括弧に
対応する閉じ括弧が括弧対応データ部からスタック部に
退避される。その後、指定ファンクションキー入力があ
ると、この入力に応じてスタック部から閉じ括弧が読み
出されて画面上に表示される。従って、オペレータは入
力した開き括弧に対応するを意識することなく画面上の
任意に位置に閉じ括弧を入力表示することがてき、操作
性を向上させることができる。
When inputting a sentence including parentheses, the closing parenthesis corresponding to the opening parenthesis is saved from the parenthesis corresponding data section to the stack section. After that, when the designated function key is input, the closing parenthesis is read from the stack portion according to this input and displayed on the screen. Therefore, the operator can input and display the closing parenthesis at an arbitrary position on the screen without being aware of the corresponding opening parenthesis, and the operability can be improved.

【0016】[0016]

【発明の実施の形態】次に、本発明ついて図面を参照し
て説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings.

【0017】図1を参照して、本発明による文書作成装
置は、例えば、ワードプロセッサにである。この文書作
成装置は、括弧対応データ部1、指定ファンクションキ
ー設定エリア2、閉じ括弧スタック部3、キー判定部
4、及びキー入力処理部5を備えている。
Referring to FIG. 1, the document creating apparatus according to the present invention is, for example, a word processor. This document creation device includes a parenthesis correspondence data section 1, a designated function key setting area 2, a closing parenthesis stack section 3, a key determination section 4, and a key input processing section 5.

【0018】括弧対応データ部1には開き括弧及び閉じ
括弧に関するデータが格納されており、文字入力の際、
組(対)となる括弧が設定されているテーブルである。
Data relating to the opening parenthesis and the closing parenthesis is stored in the parenthesis corresponding data section 1, and when inputting characters,
It is a table in which parentheses that form a pair (pair) are set.

【0019】指定ファンクションキー設定エリア2は閉
じ括弧を自動的に入力する際のキーを設定するためのエ
リアである。
The designated function key setting area 2 is an area for setting a key for automatically inputting a closing bracket.

【0020】閉じ括弧スタック部3は、入力された括弧
に対する閉じ括弧を要求がくるまで退避しておくスタッ
ク部である。このスタック部3は先入れ後だしの管理を
行う。
The closing parenthesis stacking section 3 is a stacking section for saving the closing parenthesis for the input parenthesis until a request comes. The stack unit 3 manages the stock after the first-in.

【0021】キー判定部4は、キー入力されたデータが
括弧対応データ部1に格納されているデータがどうかを
判定する。そして、該当する開き括弧であった場合、キ
ー判定部4は、該当開き括弧に対応する閉じ括弧のデー
タを閉じ括弧スタック部3に退避する。キー入力が指定
のファンクションキーであると、キー判定部4は、閉じ
括弧スタック部3に退避されている文字を入力データと
してキー入力処理部5に渡す処理を行う。
The key determination unit 4 determines whether or not the data input by the key is the data stored in the bracket corresponding data unit 1. Then, if it is the corresponding opening bracket, the key determination unit 4 saves the data of the closing bracket corresponding to the opening bracket in the closing bracket stack unit 3. When the key input is the designated function key, the key determination unit 4 performs a process of passing the characters saved in the closing bracket stack unit 3 to the key input processing unit 5 as input data.

【0022】キー入力処理部5はキー判定部4から送ら
れた文字を入力処理して画面上に表示する。
The key input processing unit 5 inputs the characters sent from the key determination unit 4 and displays them on the screen.

【0023】次に、図2も参照して、図1に示す文書作
成装置の動作について説明する。
Next, the operation of the document creating apparatus shown in FIG. 1 will be described with reference to FIG.

【0024】いま、キーボード1aからキー入力がある
と(ステップA1)、キー判定部4は、このキー入力デ
ータが予め指定ファンクションキー設定エリア2に設定
されたファンクションキーかであるを判定する(ステッ
プA2)。キー入力データが指定ファンクションキーで
ないと、次に、キー判定部4は、キー入力データがが括
弧対応データ部1に格納されたデータであるかを判定す
る(ステップA3)。この結果、キー入力が括弧対応デ
ータ部1に格納されたデータでないと、キー判定部4
は、キー入力をキー入力処理部5に渡す。キー入力処理
部5ではキー入力を入力処理して表示部(図示せず)の
画面上に表示する。
When there is a key input from the keyboard 1a (step A1), the key determination section 4 determines whether the key input data is a function key set in the designated function key setting area 2 in advance (step A1). A2). If the key input data is not the designated function key, then the key determination unit 4 determines whether the key input data is the data stored in the bracket corresponding data unit 1 (step A3). As a result, if the key input is not the data stored in the bracket-corresponding data section 1, the key determination section 4
Passes the key input to the key input processing unit 5. The key input processing unit 5 processes the key input and displays it on the screen of a display unit (not shown).

【0025】一方、ステップA2において、キー入力が
ファンクションキーであると、後述するようにして、キ
ー判定部4は、閉じ括弧スタック部3からファンクショ
ンキー入力に応じてスタックデータを取り出し(ステッ
プA4)、キー入力データとしてキー入力処理部5へ渡
す(ステップA5)。
On the other hand, in step A2, if the key input is a function key, the key determination section 4 extracts stack data from the closing bracket stack section 3 in response to the function key input, as will be described later (step A4). , And passes it as key input data to the key input processing unit 5 (step A5).

【0026】ステップA3において、キー入力データが
括弧対応データ部1に格納されたデータ(開き括弧デー
タ)であると、キー判定部4では、開き括弧データに対
応する閉じ括弧データを検索して(ステップA6)、こ
の閉じ括弧データを括弧対応データ部1から閉じ括弧ス
タック部3に退避する(ステップA7)。
In step A3, if the key input data is the data (open parenthesis data) stored in the parenthesis corresponding data section 1, the key determination section 4 searches for the closing parenthesis data corresponding to the open parenthesis data ( In step A6), the closing bracket data is saved from the corresponding parenthesis data section 1 to the closing bracket stack section 3 (step A7).

【0027】その後、ステップA2において、キーボー
ド1aから指定ファンクションキー設定エリア2に設定
されたファンクションキーが入力されると、キー判定部
4は、閉じ括弧スタック部3からファンクションキー入
力に応じてスタックデータを取り出し、キー入力データ
としてキー入力処理部5へ渡す。そして、キー入力処理
部5ではこのキー入力データを処理して画面上(表示
部:図示せず)に表示する。
After that, in step A2, when the function key set in the designated function key setting area 2 is input from the keyboard 1a, the key determination section 4 causes the closing bracket stack section 3 to input stack data in response to the function key input. Is taken out and passed to the key input processing section 5 as key input data. Then, the key input processing unit 5 processes the key input data and displays it on the screen (display unit: not shown).

【0028】具体的に説明すると、いま、「測定(式)
“X×(Y+Z)”」という文章を入力する。
More specifically, now, "measurement (formula)"
Enter the sentence "XX (Y + Z)".

【0029】まず「測」「定」を入力する。これらの文
字はキー判定部4において、指定ファンクションキーで
も括弧でもないと見なされ、そのまま、キー入力処理部
5へ渡される。次に「(」の入力を行う。キー判定部4
は、指定ファンクションキーであるか括弧対応データ部
1に格納された括弧であるかを判定する。
First, "measurement" and "constant" are input. These characters are regarded by the key determination unit 4 as neither designated function keys nor parentheses, and are passed to the key input processing unit 5 as they are. Next, "(" is input. Key determination unit 4
Determines whether it is the designated function key or the parenthesis stored in the parenthesis correspondence data part 1.

【0030】ここでは、入力文字「(」は括弧対応デー
タ部1に格納された文字であると判断され、「(」に対
応する閉じ括弧「)」が括弧対応データ部1から閉じ括
弧スタック3へセットされる。
Here, it is determined that the input character "(" is a character stored in the parenthesis corresponding data section 1 and the closing parenthesis ")" corresponding to "(" is from the parenthesis corresponding data section 1 to the closing parenthesis stack 3 Is set to.

【0031】入力文字「(」は、キー判定部4からキー
入力処理部5へ渡され,通常のキー入力処理が行われ
る。その結果、画面上には、「測定(」と表示される。
The input character "(" is passed from the key determination unit 4 to the key input processing unit 5 and a normal key input process is performed, and as a result, "measurement (" is displayed on the screen.

【0032】次に「式」を入力する。「式」もキー判定
部4にて判定され、その結果、通常のキー入力処理が行
われ、画面上には、「測定(式」と表示される。
Next, the "expression" is input. The "expression" is also determined by the key determination unit 4, and as a result, a normal key input process is performed, and "measurement (expression)" is displayed on the screen.

【0033】最後の「)」を入力する際、オペレータ
は、予め定められたファンクションキーを押下する。キ
ー判定部4は、指定のファンクションキーであるか否か
をチェックする。この場合は、指定のキーであるから、
キー判定部4は、閉じ括弧スタック部3から指定データ
を取り出して、取り出したデータ「)」をキー入力とし
てキー入力処理部1に渡す。これにより、「測定
(式)」が入力される。
When entering the last ")", the operator presses a predetermined function key. The key determination unit 4 checks whether or not the function key is a designated function key. In this case, because it is the specified key,
The key determination unit 4 takes out the designated data from the closing bracket stack unit 3 and passes the taken-out data “)” to the key input processing unit 1 as a key input. As a result, the "measurement (formula)" is input.

【0034】次に、「“」を入力する。上述のようにし
て、キー判定部4において、指定ファンクションキーで
あるか括弧であるかがチェックされる。「“」は開き括
弧と見なされるので、閉じ括弧スタック部3に「”」が
セットされる。
Next, "" is input. As described above, the key determination unit 4 checks whether the function key is a designated function key or a parenthesis. Since "" is regarded as an open parenthesis, """is set in the closing parenthesis stack unit 3.

【0035】「X」「×」入力の後、「(」も同様にし
てチェックされ、閉じ括弧スタック部3に「)」がセッ
トされる。「Y」「+」「Z」入力の後、指定ファンク
ションキーを押下ると、閉じ括弧スタック部3は、前述
のように、先入れ後だし管理であるから、閉じ括弧スタ
ック部3にセットされた「)」が取り出され、取り出し
たデータ「)」がキー入力としてキー判定部4からキー
入力処理部1に渡される。そして、再度指定ファンクシ
ョンキーを押下ると、閉じ括弧スタック部3にセットさ
れた「”」が取り出され、取り出したデータ「”」がキ
ー入力としてキー判定部4からキー入力処理部1に渡さ
れる。
After inputting "X" and "x", "(" is checked in the same manner, and ")" is set in the closing bracket stack section 3. When the designated function key is pressed after inputting “Y”, “+”, and “Z”, the closing parenthesis stack unit 3 is set to the closing parenthesis stack unit 3 because the first-in first-out management is performed as described above. ")" Is extracted, and the extracted data ")" is passed from the key determination unit 4 to the key input processing unit 1 as a key input. Then, when the designated function key is pressed again, """set in the closing bracket stack section 3 is taken out, and the taken-out data""" is passed from the key determination section 4 to the key input processing section 1 as a key input. .

【0036】このようして、閉じ括弧入力の際には、指
定ファンクションキーを押下するだけで、開き括弧に対
応する閉じ括弧を入力することができ、操作性が向上す
る。
In this way, when the closing bracket is input, the closing bracket corresponding to the opening bracket can be input by simply pressing the designated function key, and the operability is improved.

【0037】さらに、既に作成済みの文章に対しても、
本発明は適用することができる。
Furthermore, even for sentences that have already been created,
The present invention can be applied.

【0038】いま、「これは、測定(式)“X×(Y+
Z)”において、」という文章において「測定(式)
“X×(Y+Z)”」を「[」「]」で閉じたい場合に
は、まず、開き括弧を挿入したい位置で(開き括弧を挿
入したい位置にカーソルを合わせて)、「[」を入力す
る。これによって、画面上には、「これは、[測定
(式)“X×(Y+Z)”において、」と表示される。
そして、前述のように、開き括弧「[」の入力によっ
て、閉じ括弧スタック部3には「]」がセットされるこ
とになる。
Now, "This is a measurement (formula)" X × (Y +
Z) ”,” in the sentence “measurement (formula)
To close "XX (Y + Z)" with "[" and "]", first enter "[" at the position where you want to insert the opening bracket (move the cursor to the position where you want to insert the opening bracket). To do. As a result, “This is in the measurement (formula)“ X × (Y + Z) ”is displayed on the screen.
Then, as described above, by inputting the opening bracket "[", "]" is set in the closing bracket stack unit 3.

【0039】その後、閉じ括弧を挿入したい位置で
((開き括弧を挿入したい位置にカーソルを移動させ
て)、ファンクションキーを押下すると、閉じ括
弧「]」がキー入力してキー判定部4からキー入力処理
部5に渡され、画面上には、「これは、[測定(式)
“X×(Y+Z)”]において、」と表示される。つま
り、文章の修正が容易にできる。
Thereafter, when the function key is pressed at the position where the closing bracket is desired to be inserted ((the cursor is moved to the position where the opening bracket is desired to be inserted), the closing bracket "]" is key-input and the key is judged from the key determination section 4. It is passed to the input processing unit 5, and on the screen, "This is [measurement (formula)
“X × (Y + Z)”] is displayed. That is, the text can be easily corrected.

【0040】[0040]

【発明の効果】以上説明したように、本発明では、開き
括弧に対応する閉じ括弧の入力が指定ファンクションキ
ーの押下で入力できるから、閉じ括弧入力における誤り
がなくなって操作性が向上するという効果がある。つま
り、開き括弧の入力か否かを判断して、入力開き括弧に
対応した閉じ括弧をスタック部へ退避しておき、ファン
クションキー押下のみによって、退避したデータをキー
入力データとして表示するようにしたから、閉じ括弧入
力における誤りがなくなって操作性が向上するという効
果がある。
As described above, according to the present invention, the input of the closing parenthesis corresponding to the opening parenthesis can be input by pressing the designated function key, so that the error in the closing parenthesis input is eliminated and the operability is improved. There is. In other words, it is determined whether or not the opening parenthesis is input, the closing parenthesis corresponding to the input opening parenthesis is saved in the stack, and the saved data is displayed as the key input data only by pressing the function key. Therefore, there is an effect that the error in the closing bracket input is eliminated and the operability is improved.

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

【図1】本発明による文書作成装置の一例を示すブロッ
ク図である。
FIG. 1 is a block diagram showing an example of a document creation device according to the present invention.

【図2】図1に示す文書作成装置の動作を説明するため
のフローチャートである。
FIG. 2 is a flowchart for explaining the operation of the document creation device shown in FIG.

【図3】従来の文書作成装置を説明するためのフローチ
ャートである。
FIG. 3 is a flowchart for explaining a conventional document creation device.

【符号の説明】[Explanation of symbols]

1 括弧対応データ部 2 指定ファンクションキー設定エリア 3 閉じ括弧スタック部 4 キー判定部 5 キー入力処理部 1 Parenthesis correspondence data part 2 Designated function key setting area 3 Closed bracket stack part 4 Key judgment part 5 Key input processing part

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 キーボードからのキー入力に応じて画面
上に文章を表示するようにした文書作成装置であって、
前記キー入力のうち予め指定されたキー入力が指定ファ
ンクションキー入力として設定されており、前記キー入
力を受けると、前記キー入力が開き括弧であるかを判定
して開き括弧であると該開き括弧に対応する閉じ括弧を
一時的に保持閉じ括弧として保持して前記キー入力が前
記指定ファンクションキー入力であると前記保持閉じ括
弧を前記画面上に表示する判定処理手段を有することを
特徴とする文書作成装置。
1. A document creation device configured to display a sentence on a screen in response to a key input from a keyboard,
A key input designated in advance among the key inputs is set as a designated function key input, and when the key input is received, it is determined whether the key input is an open parenthesis and the open parenthesis is the open parenthesis. A document having a determination processing means for temporarily holding the closing bracket corresponding to the above and holding the closing bracket as the closing bracket and displaying the holding bracket on the screen when the key input is the designated function key input. Creation device.
【請求項2】 請求項1に記載された文書作成装置にお
いて、前記指定ファンクションキー入力に対応するキー
が指定ファンクションキーとして設定された設定テーブ
ルを備えることを特徴とする文書作成装置。
2. The document creating apparatus according to claim 1, further comprising a setting table in which a key corresponding to the designated function key input is set as a designated function key.
【請求項3】 請求項2に記載された文書作成装置にお
いて、前記開き括弧と該開き括弧に対応する前記閉じ括
弧とがペアで格納された括弧対応データ部を有すること
を特徴とする文書作成装置。
3. The document creation apparatus according to claim 2, further comprising a parenthesis corresponding data part in which the opening parenthesis and the closing parenthesis corresponding to the opening parenthesis are stored as a pair. apparatus.
【請求項4】 請求項3に記載された文書作成装置にお
いて、前記判定処理手段は、前記キー入力が前記指定フ
ァンクションキーであるか前記キー入力が前記開き括弧
であるかを判定するキー判定部と、前記キー入力が前記
開き括弧であると該開き括弧に対応する前記閉じ括弧が
スタックされるスタック部とを有し、前記キー入力が前
記開き括弧であると、前記キー判定部は前記括弧データ
対応データ部を検索して前記閉じ括弧を前記スタック部
に前記保持閉じ括弧としてスタックするようにしたこと
を特徴とする文書作成装置。
4. The document creation apparatus according to claim 3, wherein the determination processing means determines whether the key input is the designated function key or the key input is the open parenthesis. And a stack portion in which the closing parenthesis corresponding to the opening parenthesis is stacked when the key input is the opening parenthesis, and when the key input is the opening parenthesis, the key determining unit includes the parenthesis. A document creating apparatus, wherein a data corresponding data part is searched and the closing bracket is stacked on the stacking part as the holding closing bracket.
【請求項5】 請求項4に記載された文書作成装置にお
いて、前記キー判定部は、前記キー入力が前記指定ファ
ンクションキーであると、前記スタック部から前記保持
閉じ括弧を取り出すようにしたことを特徴とする文書作
成装置。
5. The document creation apparatus according to claim 4, wherein the key determination unit takes out the holding closing bracket from the stack unit when the key input is the designated function key. Characterized document creation device.
【請求項6】 請求項5に記載された文書作成装置にお
いて、前記スタック部は先入れ後だしメモリであること
を特徴とする文書作成装置。
6. The document creating apparatus according to claim 5, wherein the stack unit is a first-in-after-out memory.
JP7322783A 1995-12-12 1995-12-12 Document preparation device Pending JPH09160700A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7322783A JPH09160700A (en) 1995-12-12 1995-12-12 Document preparation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7322783A JPH09160700A (en) 1995-12-12 1995-12-12 Document preparation device

Publications (1)

Publication Number Publication Date
JPH09160700A true JPH09160700A (en) 1997-06-20

Family

ID=18147594

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7322783A Pending JPH09160700A (en) 1995-12-12 1995-12-12 Document preparation device

Country Status (1)

Country Link
JP (1) JPH09160700A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10885273B2 (en) 2018-08-06 2021-01-05 Samsung Electronics Co., Ltd. Method and system simplifying the input of symbols used as a pair within a user interface

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62125426A (en) * 1985-11-26 1987-06-06 Casio Comput Co Ltd Data input system
JPH02173817A (en) * 1988-12-26 1990-07-05 Nec Corp Reinput mechanism for immediately preceding input command

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62125426A (en) * 1985-11-26 1987-06-06 Casio Comput Co Ltd Data input system
JPH02173817A (en) * 1988-12-26 1990-07-05 Nec Corp Reinput mechanism for immediately preceding input command

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10885273B2 (en) 2018-08-06 2021-01-05 Samsung Electronics Co., Ltd. Method and system simplifying the input of symbols used as a pair within a user interface
US11308279B2 (en) 2018-08-06 2022-04-19 Samsung Electronics Co., Ltd. Method and system simplifying the input of symbols used as a pair within a user interface

Similar Documents

Publication Publication Date Title
JP2656820B2 (en) Common link source display method in display processing system
JPS63766A (en) Document processor
JPH09160700A (en) Document preparation device
JPH11328166A (en) Character input device and computer-readable recording medium where character input processing program is recorded
JP2000330704A (en) Electronic equipment with virtual key type character input function, method for virtual key type character input processing, and its storage medium
JP3288738B2 (en) Natural language processing apparatus and method
US20030088833A1 (en) Word/phrase display apparatus, spelling checking apparatus and electronic dictionary
JPH08297675A (en) Translation supporting device
JPH09198375A (en) Mathematical expression/chemical formula inputting and editing system
JP3956240B2 (en) Audio output processing device
JPH04322324A (en) Data processor
JPH096617A (en) Method and device for information processing
JP3466761B2 (en) Document processing apparatus and control method thereof
JP3213991B2 (en) Word processor
JPH0844745A (en) Machine translation device
JPH0414169A (en) Document processor
JPH03166642A (en) Method and device for inputting text
JPH07121514A (en) Automatic preparation system for operation manual
JPH08147302A (en) Index detection method for document processor
JPH06119325A (en) Word correcting device
JPS6324353A (en) Voice output sentence preparing system
JPH05242095A (en) Display of manual for word processor
JPH08241316A (en) Method and device for operation processing
KR20020012089A (en) a key input controller having a function for correcting misinput of a keyboard and method thereof
JPH03212757A (en) Romaji/kana conversion system

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19980624