JPH07302264A - Information processor - Google Patents

Information processor

Info

Publication number
JPH07302264A
JPH07302264A JP6096529A JP9652994A JPH07302264A JP H07302264 A JPH07302264 A JP H07302264A JP 6096529 A JP6096529 A JP 6096529A JP 9652994 A JP9652994 A JP 9652994A JP H07302264 A JPH07302264 A JP H07302264A
Authority
JP
Japan
Prior art keywords
parenthesis
display
display color
character code
displayed
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
JP6096529A
Other languages
Japanese (ja)
Inventor
Hidetoshi Inoue
英俊 井上
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co Ltd
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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP6096529A priority Critical patent/JPH07302264A/en
Publication of JPH07302264A publication Critical patent/JPH07302264A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To grasp the correspondence relation of parentheses at a glance by displaying both parentheses in the same color when a front parenthesis and a rear parenthesis constitute a pair of sets and displaying both parentheses in different display colors when the front parenthesis and the rear parenthesis do not constitute a pair of the sets. CONSTITUTION:A parenthesis display color memory 8 stores parenthesis display color codes corresponding to the display colors at the time of displaying the front parenthesis and the rear parenthesis and stores the number of respective input pieces of both parentheses as a counted value. A lexical anolysis means 9 is provided with a function for incresing the counted value of the parenthesis display color memory 8 by one after judging that a character code corresponding to the front parenthesis is present and decreasing the counted value of the parenthesis display color memory 8 by one after judging that the character code corresponding to the rear parenthesis is present and judges positive and negative signs for the counted value sent out from the parenthesis display color memory 8. A display register 6b stores the parenthesis display color codes and the character codes.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は括弧を含んだプログラ
ム、或るいは文章を表示する情報処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a program including parentheses, or an information processing apparatus for displaying a sentence.

【0002】[0002]

【従来の技術】従来、情報処理装置の画面に括弧を含ん
だプログラム、或るいは文章を表示するに際して、情報
処理装置の入力者(以下ユーザという。)がキーボード
のキーによって文字コードを入力することを行ってお
り、斯かる情報処理装置の概略構成図を図3に示す。
2. Description of the Related Art Conventionally, when a program including parentheses or a sentence is displayed on the screen of an information processing device, an input person (hereinafter referred to as a user) of the information processing device inputs a character code by a key of a keyboard. FIG. 3 shows a schematic configuration diagram of such an information processing apparatus.

【0003】図3において、1は文字等、及び挿入、削
除、カーソル移動等に対応付けられて、キーが配置され
たキーボードからなる入力手段であり、斯かる入力手段
1によって文字コード、或るいは制御コードが入力され
る。2は入力手段1から入力された文字コード、或るい
は制御コードを逐次格納する入力レジスタ、3は入力レ
ジスタ2から送出される文字コードを、後述する編集制
御手段4を介して文字列コードとして格納するメモリ、
4は入力レジスタ2に格納されたコードが文字コードで
ある場合に、その文字コードをメモリ3に送出すると共
に、入力レジスタ2に格納されたコードが制御コードで
ある場合に、メモリ3に格納されている文字列コードに
対して、斯かる制御コードに対応する挿入、削除、或る
いはカーソル移動等の編集制御を行なう編集制御手段、
5は編集制御手段4によって編集された文字列コードを
表示のためにメモリ3から読み出す表示制御手段、6a
は表示制御手段5によって読み出された文字列コードを
逐次格納する表示レジスタ、7は表示レジスタ6aに格
納されている文字列コードを表示する表示手段である。
In FIG. 3, reference numeral 1 denotes an input means including a keyboard in which keys are arranged in association with characters and the like, insertion, deletion, cursor movement, etc., and a character code, or Control code is entered. Reference numeral 2 is a character code input from the input means 1, or an input register for sequentially storing a control code, and 3 is a character code sent from the input register 2 as a character string code via the edit control means 4 described later. Memory to store,
4 is sent to the memory 3 when the code stored in the input register 2 is a character code, and stored in the memory 3 when the code stored in the input register 2 is a control code. Edit control means for performing edit control such as insertion, deletion, or cursor movement on the character string code corresponding to the control code,
Reference numeral 5 is a display control means for reading the character string code edited by the edit control means 4 from the memory 3 for display, and 6a.
Is a display register for sequentially storing the character string code read by the display control means 5, and 7 is a display means for displaying the character string code stored in the display register 6a.

【0004】斯かる構成において、ユーザによる括弧等
を含むプログラム、或るいは文章の入力を行った際の動
作説明を以下に行う。
In such a configuration, the operation when a program including parentheses or the like or a sentence is input by the user will be described below.

【0005】まず、ユーザは入力手段1によって文字等
を入力し、斯かる文字等に対応する文字コードは入力レ
ジスタ2に一旦格納された後、その文字コードは編集制
御手段4を介してメモリ3に格納される。このとき、文
字コードと共に制御コードが入力されると、編集制御手
段4は斯かる制御コードをメモリ3に送出することな
く、その制御コードに応じて文字コードの制御を行な
う。例えば、既にメモリ3に格納された文字コードを削
除する命令であれば、その文字コードをメモリ3から削
除し、一方メモリ3に格納された文字コード間に別の文
字コードを挿入する命令であれば、その文字コードを該
当位置に挿入したりする。
First, the user inputs a character or the like by the input means 1, the character code corresponding to the character or the like is temporarily stored in the input register 2, and then the character code is stored in the memory 3 via the edit control means 4. Stored in. At this time, when the control code is input together with the character code, the editing control means 4 controls the character code according to the control code without sending the control code to the memory 3. For example, if it is an instruction to delete a character code already stored in the memory 3, it may be an instruction to delete the character code from the memory 3 and insert another character code between the character codes stored in the memory 3. For example, the character code is inserted in the corresponding position.

【0006】これによって、表示制御手段5はメモリ3
に格納されている文字列コードを読み出し、これらの文
字列コードを表示レジスタ6aに送出した後、表示手段
7に表示する。
As a result, the display control means 5 causes the memory 3
The character string codes stored in are read out, these character string codes are sent to the display register 6a, and then displayed on the display means 7.

【0007】[0007]

【発明が解決しようとする課題】然し乍ら、文字列コー
ドが括弧を表し、その括弧が表示手段に表示された場
合、前括弧を複数個入力した場合にはそれに対応する数
だけ後括弧を幾つ入力すればよいのかはユーザは即座に
判別出来なかったりする問題が多々あった。
However, when the character string code represents a parenthesis, and the parenthesis is displayed on the display means, when a plurality of front parentheses are input, the corresponding number of rear parentheses are input. There were many problems that the user could not immediately determine whether or not to do it.

【0008】[0008]

【課題を解決するための手段】そこで、本発明は上述の
問題に鑑み為されたものであり、文字コードに対応付け
られた前括弧、及び後括弧を表示する情報処理装置にお
いて、上記前括弧、及び後括弧が一対の組を構成する場
合、両括弧を同色で表示し、一方上記前括弧、及び後括
弧が一対の組を構成しない場合、両括弧を異なった表示
色で表示することを特徴とする。
SUMMARY OF THE INVENTION Therefore, the present invention has been made in view of the above-mentioned problems, and in an information processing device displaying a front bracket and a rear bracket associated with a character code, the front bracket is used. , And when the parentheses form a pair of pairs, the parentheses are displayed in the same color, while when the above parentheses and the parentheses do not form a pair of pairs, the parentheses are displayed in different display colors. Characterize.

【0009】また、本発明は文字コードに対応付けられ
た前括弧、及び後括弧を表示する情報処理装置におい
て、上記前括弧、又は後括弧の表示時の表示色に対応す
る括弧表示色コードを格納すると共に、上記両括弧夫々
の個数をカウント値として記憶している括弧表示色メモ
リと、上記前括弧を表す文字コードであると判定された
場合、上記括弧表示色メモリのカウント値を所定の規則
に従って変更し、一方後括弧を表す文字コードであると
判定された場合、上記括弧表示色メモリのカウント値を
上記規則の逆順序に従って変更する機能を有する字句解
析手段と、該字句解析手段を介して括弧表示色メモリか
ら送出されるカウント値に対応する括弧表示色コード、
及び上記文字コードを格納する表示レジスタと、該表示
レジスタに格納された括弧表示色コードに対応する表示
色に従って、上記文字コードに対応する括弧を表示する
表示手段と、を具備することを特徴とする。
Further, according to the present invention, in an information processing apparatus for displaying a front bracket and a rear bracket associated with a character code, a parenthesis display color code corresponding to a display color at the time of displaying the front bracket or the rear bracket is displayed. In addition to storing, the parenthesis display color memory that stores the number of each of the both parentheses as a count value, and if it is determined that the character code represents the opening parenthesis, the count value of the parenthesis display color memory is set to a predetermined value. If it is changed according to the rule and it is determined that it is a character code representing a trailing parenthesis, the lexical analysis unit having a function of changing the count value of the parenthesis display color memory according to the reverse order of the rule, and the lexical analysis unit The parenthesis color code corresponding to the count value sent from the parenthesis color memory via
And a display register for storing the character code, and a display unit for displaying the bracket corresponding to the character code according to the display color corresponding to the bracket display color code stored in the display register. To do.

【0010】[0010]

【作用】本発明は上述の如き手段を具備することによっ
て、前括弧が入力手段によって入力された場合には、字
句解析手段は括弧表示色メモリのカウント値を所定規則
に従って変更し、斯かる変更後のカウント値に対応する
表示色で上記前括弧を表示する。
According to the present invention, by providing the means as described above, when the opening parenthesis is input by the input means, the lexical analysis means changes the count value of the parenthesis display color memory according to a predetermined rule. The opening parenthesis is displayed in the display color corresponding to the subsequent count value.

【0011】一方、後括弧が入力手段によって入力され
た場合には、字句解析手段は括弧表示色メモリのカウン
ト値を所定規則の逆順序に従って変更し、斯かる変更前
のカウント値に対応する表示色で上記後括弧を表示す
る。
On the other hand, when the trailing parenthesis is input by the input means, the lexical analysis means changes the count value of the parenthesis display color memory according to the reverse order of the predetermined rule and displays the count value before the change. Display the above brackets in color.

【0012】このとき、上記前括弧、及び後括弧が一対
の組として対応する場合、両括弧を表示手段で同色で表
示する。また、上記前括弧、及び後括弧が一対の組とし
て対応しない場合、両括弧が一対の組として対応する場
合に表示される表示色以外の表示色で表示する。
At this time, when the front bracket and the rear bracket correspond as a pair, both brackets are displayed in the same color on the display means. Further, when the above-mentioned parentheses and the following parentheses do not correspond as a pair of pairs, they are displayed in a display color other than the display color displayed when both parentheses correspond as a pair of pairs.

【0013】[0013]

【実施例】本発明を図1、及び図2にしたがって説明
し、従来と同一構成については同一番号を付し、その説
明を省略する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described with reference to FIG. 1 and FIG.

【0014】図1は本発明の情報処理装置の概略構成図
を示したものである。
FIG. 1 is a schematic block diagram of an information processing apparatus according to the present invention.

【0015】図1において、8は前括弧、後括弧の表示
時の表示色に対応する括弧表示色コードを格納する括弧
表示色メモリであり、斯かる括弧表示色メモリ8は表1
に示すように両括弧の表示色と括弧表示色コードとの対
応関係を記憶格納すると共に、両括弧夫々の入力個数を
カウント値として記憶している。
In FIG. 1, reference numeral 8 is a parenthesis display color memory for storing parenthesis display color codes corresponding to display colors at the time of displaying the first parenthesis and the second parenthesis.
As shown in, the correspondence between the display color of the brackets and the display color code of the brackets is stored and stored, and the number of inputs of each bracket is stored as a count value.

【0016】[0016]

【表1】 [Table 1]

【0017】9は表示制御手段5から送出された文字コ
ード中に、前括弧に対応する文字コードが存在すると判
定した後、括弧表示色メモリ8のカウント値を+1イン
クリメントし、一方後括弧に対応する文字コードが存在
すると判定した後、括弧表示色メモリ8のカウント値を
1デクリメントする機能を有すると共に、括弧表示色メ
モリ8から送出されるカウント値の正負のサインを判定
する字句解析手段、6bは字句解析手段9を介して括弧
表示色メモリ8から送出される括弧表示色コード、及び
字句解析手段9を介して表示制御手段5から送出されて
くる文字コードを格納する表示レジスタである。
Reference numeral 9 increments the count value of the parenthesis display color memory 8 by +1 after judging that the character code corresponding to the opening parenthesis exists in the character codes sent from the display control means 5, and corresponds to the trailing parenthesis. A lexical analyzer 6b having a function of decrementing the count value of the parenthesis display color memory 8 by 1 after determining that there is a character code to be used, and determining the positive and negative signs of the count value sent from the parenthesis display color memory 8. Is a display register for storing the parenthesis display color code sent from the parenthesis display color memory 8 via the lexical analysis means 9 and the character code sent out from the display control means 5 via the lexical analysis means 9.

【0018】斯かる構成において、図1、及び図2に示
すフローチャートに従って動作説明を行なう。
With this structure, the operation will be described with reference to the flowcharts shown in FIGS.

【0019】尚、括弧以外の文字等の表示は、黒色で表
示されるものとし、一方括弧表示色メモリ8のカウント
値は、初期値として通常「0」を記憶しているものとす
る。
Characters other than parentheses are displayed in black, while the count value of the parenthesis display color memory 8 normally stores "0" as an initial value.

【0020】まず、ユーザは入力手段1を用いて文字等
を入力する。ステップS1では、字句解析手段9はその
文字コードが前括弧であるか否かを判定し、前括弧であ
ればステップS3に進み、一方前括弧でなければステッ
プS2に進む。ステップS2では、字句解析手段9はそ
の文字コードが後括弧であるか否かを判定し、後括弧で
あればステップS5に進み、一方後括弧でなければステ
ップS9に進む。
First, the user uses the input means 1 to input characters and the like. In step S1, the lexical analysis unit 9 determines whether or not the character code is a front bracket, and if it is a front bracket, the process proceeds to step S3, while if it is not the front bracket, the process proceeds to step S2. In step S2, the lexical analysis unit 9 determines whether or not the character code is a closing bracket, and if it is a closing bracket, the process proceeds to step S5, while if it is not a closing bracket, the process proceeds to step S9.

【0021】ステップS3においては、括弧表示色メモ
リ8のカウント値は1インクリメントされる。ステップ
S4では、ステップS3で1インクリメントされた括弧
表示色メモリ8のカウント値を字句解析手段9を介し
て、表示レジスタ6bの括弧表示色レジスタにセット
し、ステップS9に進む。
In step S3, the count value of the parenthesis display color memory 8 is incremented by 1. In step S4, the count value of the parenthesis display color memory 8 incremented by 1 in step S3 is set in the parenthesis display color register of the display register 6b via the lexical analysis means 9, and the process proceeds to step S9.

【0022】ステップS5では、それ以前に格納された
括弧表示色メモリ8のカウント値を字句解析手段9を介
して、表示レジスタ6bの括弧表示色レジスタにセット
して、ステップS6に進む。ステップS6においては、
括弧表示色メモリ8のカウント値は1デクリメントされ
る。
In step S5, the count value of the parenthesis display color memory 8 stored before that is set in the parenthesis display color register of the display register 6b via the lexical analysis means 9, and the process proceeds to step S6. In step S6,
The count value of the parenthesis display color memory 8 is decremented by 1.

【0023】ステップS7において、字句解析手段9は
括弧表示色メモリ8から送出される括弧表示色コードの
正負のサインを判定し、このサインが負であれば、ステ
ップS8に進み、一方正であればステップS9に進む。
In step S7, the lexical analysis means 9 determines the positive or negative sign of the parenthesis display color code sent from the parenthesis display color memory 8. If the sign is negative, the process proceeds to step S8, and if it is positive. If so, go to step S9.

【0024】ステップS8では、括弧表示色コードレジ
スタの値を初期値である「0」にした後、ステップS9
に進む。ステップS9においては、表示制御手段5、及
び字句解析手段9を介してメモリ3から送出される文字
コードが、表示レジスタ6bの文字コードレジスタにセ
ットされ、この際の表示手段7の表示色は括弧表示色コ
ードレジスタに格納されている括弧表示色コードに対応
する表示色となる。
In step S8, the value of the parenthesis display color code register is set to "0" which is the initial value, and then in step S9.
Proceed to. In step S9, the character code sent from the memory 3 via the display control means 5 and the lexical analysis means 9 is set in the character code register of the display register 6b, and the display color of the display means 7 at this time is bracketed. The display color corresponds to the bracket display color code stored in the display color code register.

【0025】上述が一般的な動作説明であるが、具体例
を交えて以下に詳細に説明を行なう。
Although the above is a general description of the operation, a detailed description will be given below with a specific example.

【0026】まず、前括弧を入力手段1を用いて入力す
ると、ステップS1、ステップS3、及びステップS4
を前括弧が入力された回数だけ通過するので、これらの
回数に対応してそれらの前括弧の表示色は順次前方から
「紫」、「青」、及び「水色」、・・・となる。
First, when a parenthesis is input using the input means 1, steps S1, S3, and S4 are performed.
Since the number of times the parentheses have been input is passed, the display colors of those parentheses are "purple", "blue", "light blue", ...

【0027】一方、後括弧を入力手段1を用いて入力す
ると、ステップS1、ステップS2、ステップS5、及
びステップS6を後括弧が入力された回数だけ通過する
ので、これらの回数に対応してそれらの後括弧の表示色
は順次前方から・・・「水色」、「青」、及び「紫」とな
る。これによって、前括弧と後括弧は同色の組を為して
おり、ユーザはどの前括弧と後括弧が対応しているかを
後括弧を入力した際に一目で把握することができる。
On the other hand, if a trailing bracket is entered using the input means 1, steps S1, S2, S5, and S6 are passed by the number of times the trailing bracket is entered. The display color of the rear brackets is "light blue", "blue", and "purple" sequentially from the front. As a result, the front brackets and the rear brackets have the same color group, and the user can grasp at a glance which front bracket and the rear bracket correspond to each other when the rear bracket is input.

【0028】ところで、前括弧の入力回数より多くの後
括弧を入力した場合には、ステップS1、ステップS
3、及びステップS4を処理する回数よりステップS
1、ステップS2、ステップS5、及びステップS6を
処理する回数が多くなる。これによって、ステップS7
で括弧表示色コードレジスタのカウント値は負であると
判定されるので、ステップS8で前括弧では全く使用し
ていない色、即ち本願では「赤」によって後括弧が表示
されることになる。ユーザは後括弧が「赤」で表示され
たことを見て、その後括弧は前括弧に対応していないこ
とを把握することができる。斯かる場合、ユーザは後括
弧を削除する必要がある。
By the way, when the number of times of inputting the rear bracket is larger than the number of times of inputting the front bracket, steps S1 and S are performed.
3 and the number of times step S4 is processed, step S
The number of times of processing 1, step S2, step S5, and step S6 increases. By this, step S7
Since it is determined that the count value of the parenthesis display color code register is negative, the parenthesis is displayed in step S8 with a color that is not used at all in the parenthesis, that is, "red" in the present application. The user can see that the rear parenthesis is displayed in “red”, and then understand that the rear parenthesis does not correspond to the front parenthesis. In such cases, the user needs to remove the trailing brackets.

【0029】一方、後括弧の入力回数より多くの前括弧
を入力した場合には、ステップS1、ステップS2、ス
テップS5、及びステップS6を処理する回数よりステ
ップS1、ステップS3、及びステップS4を処理する
回数が多くなる。これによって、複数個の前括弧のうち
先頭の前括弧は同色の後括弧が表示されないので、その
前括弧は後括弧に対応していないことを把握することが
できる。斯かる場合、ユーザは後括弧を追加する必要が
ある。
On the other hand, if the number of opening parenthesis is more than the number of inputting the number of trailing parentheses, Steps S1, S3, and S4 are processed according to the number of times that Steps S1, S2, S5, and S6 are processed. The number of times to do increases. As a result, since the first parenthesis among the plurality of parenthesis does not display the same color of the second parenthesis, it can be understood that the first parenthesis does not correspond to the last parenthesis. In such cases, the user needs to add the trailing bracket.

【0030】尚、上述の実施例では、前括弧、及び後括
弧として“(”、及び“)”を例として挙げたが、これ
には限られずこの他の種類の括弧に対応することも可能
である。
In the above-mentioned embodiment, "(" and ")" are given as the opening and closing brackets, but the present invention is not limited to this, and other kinds of brackets can be supported. Is.

【0031】[0031]

【発明の効果】以上の説明から明らかなように、本発明
では入力手段によって入力された前括弧、及び後括弧が
一対の組として対応する場合、同色で表示することがで
きるので、ユーザはそれら括弧の対応関係を一目で把握
することが出来る結果、文字等の入力効率を向上させる
ことができる。
As is apparent from the above description, in the present invention, when the front bracket and the rear bracket input by the input means correspond as a pair, they can be displayed in the same color. As a result of being able to grasp at a glance the correspondence between parentheses, it is possible to improve the input efficiency of characters and the like.

【0032】更に、前括弧、及び後括弧が一対の組とし
て対応しない場合には、一対の組として表示される表示
色以外の表示色で表示することができるので、ユーザは
括弧が一対の組として対応していないことを後括弧を入
力した際に一目で把握することが出来る結果、文字等を
全て入力した後に括弧の修正をする必要がなくなる。
Further, when the opening brackets and the closing brackets do not correspond to each other as a pair, a display color other than the display color displayed as a pair can be displayed. As a result, it is possible to grasp at a glance when the parenthesis is input that there is no correspondence, so there is no need to correct the parenthesis after inputting all the characters.

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

【図1】本発明の情報処理装置の概略構成図である。FIG. 1 is a schematic configuration diagram of an information processing apparatus of the present invention.

【図2】本発明の情報処理装置を実行する際のフローチ
ャートである。
FIG. 2 is a flowchart when executing the information processing apparatus of the present invention.

【図3】従来における情報処理装置の概略構成図であ
る。
FIG. 3 is a schematic configuration diagram of a conventional information processing device.

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

1 ・・・・・・・・・ 入力手段 2 ・・・・・・・・・ 入力レジスタ 3 ・・・・・・・・・ メモリ 4 ・・・・・・・・・ 編集制御手段 5 ・・・・・・・・・ 表示制御手段 6a、6b・・・ 表示レジスタ 7 ・・・・・・・・・ 表示手段 8 ・・・・・・・・・ 括弧表示色メモリ 9 ・・・・・・・・・ 字句解析手段 1 ・ ・ ・ ・ ・ ・ ・ Input means 2 ・ ・ ・ ・ ・ ・ ・ Input register 3 ・ ・ ・ ・ ・ ・ ・ Memory 4 ・ ・ ・ ・ ・ ・ ・ Editing control means 5 ・... Display control means 6a, 6b ... Display register 7 ... Display means 8 ... ... Parenthesis display color memory 9 ...・ ・ ・ ・ ・ Lexical analysis means

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 文字コードに対応付けられた前括弧、及
び後括弧を表示する情報処理装置において、 上記前括弧、及び後括弧が一対の組を構成する場合、両
括弧を同色で表示し、一方上記前括弧、及び後括弧が一
対の組を構成しない場合、両括弧を異なった表示色で表
示することを特徴とする情報処理装置。
1. In an information processing device for displaying a front bracket and a rear bracket associated with a character code, when the front bracket and the rear bracket form a pair of pairs, both brackets are displayed in the same color, On the other hand, when the above-mentioned front bracket and the rear bracket do not form a pair of pairs, the both brackets are displayed in different display colors.
【請求項2】 文字コードに対応付けられた前括弧、及
び後括弧を表示する情報処理装置において、 上記前括弧、又は後括弧の表示時の表示色に対応する括
弧表示色コードを格納すると共に、上記両括弧夫々の個
数をカウント値として記憶している括弧表示色メモリ
と、上記前括弧を表す文字コードであると判定された場
合、上記括弧表示色メモリのカウント値を所定の規則に
従って変更し、一方後括弧を表す文字コードであると判
定された場合、上記括弧表示色メモリのカウント値を上
記規則の逆順序に従って変更する機能を有する字句解析
手段と、該字句解析手段を介して括弧表示色メモリから
送出されるカウント値に対応する括弧表示色コード、及
び上記文字コードを格納する表示レジスタと、該表示レ
ジスタに格納された括弧表示色コードに対応する表示色
に従って、上記文字コードに対応する括弧を表示する表
示手段と、を具備することを特徴とする情報処理装置。
2. An information processing apparatus for displaying a front parenthesis and a rear parenthesis associated with a character code, storing a parenthesis display color code corresponding to a display color at the time of displaying the front parenthesis or the rear parenthesis. , If the parenthesis display color memory storing the number of each of the both parentheses as a count value and the character code representing the opening parenthesis are determined, the count value of the parenthesis display color memory is changed according to a predetermined rule. On the other hand, when it is determined that it is a character code representing a trailing parenthesis, a lexical analyzing unit having a function of changing the count value of the parenthesis display color memory according to the reverse order of the rule, and a parenthesis via the lexical analyzing unit. A parenthesis display color code corresponding to the count value sent from the display color memory, a display register storing the above character code, and a parenthesis display color stored in the display register According to the display color corresponding to the over-de, the information processing apparatus characterized by comprising display means for displaying the parentheses corresponding to the character code, the.
【請求項3】 上記表示手段に表示される前括弧、及び
後括弧が一対の組を構成する場合、それら両括弧を上記
表示手段に同色で表示することを特徴とする請求項2記
載の情報処理装置。
3. The information according to claim 2, wherein when the front bracket and the rear bracket displayed on the display means form a pair of pairs, the both brackets are displayed on the display means in the same color. Processing equipment.
【請求項4】 上記表示手段に表示される前括弧、及び
後括弧が一対の組を構成しない場合、それら両括弧を異
なった表示色で表示することを特徴とする請求項2、又
は3記載の情報処理装置。
4. The two brackets are displayed in different display colors when the front bracket and the rear bracket displayed on the display means do not form a pair of pairs. Information processing equipment.
JP6096529A 1994-05-10 1994-05-10 Information processor Pending JPH07302264A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6096529A JPH07302264A (en) 1994-05-10 1994-05-10 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6096529A JPH07302264A (en) 1994-05-10 1994-05-10 Information processor

Publications (1)

Publication Number Publication Date
JPH07302264A true JPH07302264A (en) 1995-11-14

Family

ID=14167668

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6096529A Pending JPH07302264A (en) 1994-05-10 1994-05-10 Information processor

Country Status (1)

Country Link
JP (1) JPH07302264A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016062284A (en) * 2014-09-18 2016-04-25 日本精工株式会社 Document masking system, document masking method, and document masking program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016062284A (en) * 2014-09-18 2016-04-25 日本精工株式会社 Document masking system, document masking method, and document masking program

Similar Documents

Publication Publication Date Title
JPH06215043A (en) Hypertext system and history information display method for the same
JPH07302264A (en) Information processor
JPH098934A (en) Character input method using numeric key
JPH05143588A (en) Document editing device
JP3608864B2 (en) Typesetting method and apparatus
JP3288738B2 (en) Natural language processing apparatus and method
JPS58163036A (en) Automatic numbering device
JP2855027B2 (en) Graphic display device
JPH04178814A (en) Keyboard input device
JPH07141155A (en) Information processor
JPH0199166A (en) Document preparing device
JPH08255204A (en) Data input device
JP2973520B2 (en) Display method in electronic document editing device
JPH05181661A (en) General purpose menu system for each user
JPH0573541A (en) Method and device for data editing
JPH03166642A (en) Method and device for inputting text
JPS61281358A (en) Function explaining and displaying system for word processor
JPH0764478A (en) Program composing device for programmable controller
JPH0315779B2 (en)
JPH08147301A (en) Display method for document processor
JPS59168555A (en) Data input system
KR970022707A (en) How to input repeated numeric data using flags
JPH08287064A (en) Method for adjusting character modification
JPH0764783A (en) Source code correcting method
JPH0259810A (en) Work station