JP2009086922A - Program editing device - Google Patents

Program editing device

Info

Publication number
JP2009086922A
JP2009086922A JP2007254622A JP2007254622A JP2009086922A JP 2009086922 A JP2009086922 A JP 2009086922A JP 2007254622 A JP2007254622 A JP 2007254622A JP 2007254622 A JP2007254622 A JP 2007254622A JP 2009086922 A JP2009086922 A JP 2009086922A
Authority
JP
Japan
Prior art keywords
nested
character string
text
display information
nest
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.)
Granted
Application number
JP2007254622A
Other languages
Japanese (ja)
Other versions
JP5542300B2 (en
Inventor
Nobumoto Furusawa
伸元 古澤
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 Mitsubishi Electric Industrial Systems Corp
Original Assignee
Toshiba Mitsubishi Electric Industrial Systems 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 Mitsubishi Electric Industrial Systems Corp filed Critical Toshiba Mitsubishi Electric Industrial Systems Corp
Priority to JP2007254622A priority Critical patent/JP5542300B2/en
Publication of JP2009086922A publication Critical patent/JP2009086922A/en
Application granted granted Critical
Publication of JP5542300B2 publication Critical patent/JP5542300B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a program editing device for easily grasping a nest structure without complicated operations. <P>SOLUTION: The device includes a text display information generation unit 5 for generating a program text; a nest character string determining unit 8 extracting a nest character string from the text; a nest structure display information generation unit 11 for generating nest structure display information corresponding to the character string extracted by the determining unit 8; and, when displaying the text generated from the generation unit 5 on a screen, and a text/nest structure display combination unit 13 for associating the nest character string extracted by the determining unit 8 with the nest structure display information generated from the generation unit 11 to combination-display the associated nest structure display information on the screen in an area independent of the text. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

この発明は、テキストベースのプログラムを編集するプログラム編集装置に関するものである。   The present invention relates to a program editing apparatus for editing a text-based program.

まず、プログラム言語の例について説明する。例えば、国際標準規格であるIEC61131−3に規定されるコントローラ用プログラム言語が規定されている。より具体的には、LD(ラダー・ダイアグラム)、FBD(ファンクション・ブロック・ダイアグラム)、SFC(シーケンシャル・ファンクション・チャート)、ST(ストラクチャード・テキスト)、IL(インストラクション・リスト)の5種類が規定されている。   First, an example of a programming language will be described. For example, a controller programming language defined in IEC 61131-3 which is an international standard is defined. More specifically, five types of LD (ladder diagram), FBD (function block diagram), SFC (sequential function chart), ST (structured text), and IL (instruction list) are defined. ing.

これらのプログラム言語のうち、LD、FBD、SFCはグラフィカル言語と言われ、各プログラム用の部品が画面上に配置される。そして、各部品間がグラフィカルに接続されることでプログラムされていくものである。一方、ST、ILは、テキストベース(非グラフィカル)言語と言われ、画面上に文字列が並べられてプログラムされていくものである。   Among these programming languages, LD, FBD, and SFC are called graphical languages, and components for each program are arranged on the screen. Each component is programmed by being connected graphically. On the other hand, ST and IL are called text-based (non-graphical) languages, and are programmed by arranging character strings on a screen.

また、コントローラ用プログラム言語以外でも、C、ASM(アセンブリ言語)、BASIC(Beginner's All purpose Symbolic Instruction Code)、PL/M(Programming Language for Microcomputer)、FORTLAN(FORmula TRANslation)等、多種多様なテキストベースプログラム言語が存在する。   In addition to programming languages for controllers, various text-based programs such as C, ASM (assembly language), BASIC (Beginner's All purpose Symbolic Instruction Code), PL / M (Programming Language for Microcomputer), FORTLAN (FORmula TRANslation), etc. Language exists.

そして、一般に、プログラムには、サブルーチンや関数など処理内容を記述したプログラムブロックや、条件分岐、無条件分岐、繰り返しなどのフロー制御と呼ばれる分岐処理が含まれる。そして、プログラム実行時には、必要に応じてプログラムブロックや分岐が選択されて処理が進むことになる。   In general, a program includes a program block describing processing contents such as a subroutine and a function, and branch processing called flow control such as conditional branching, unconditional branching, and repetition. When executing the program, program blocks and branches are selected as necessary, and the process proceeds.

これらのプログラムブロックやフロー制御は、グラフィカル言語ではそれぞれのシンボルによって表され、テキストベース言語ではそれぞれの文字列によって表される。以降、これらのプログラムブロックやフロー制御のことをネスト、ネストの階層のことをネストレベル、ネストの種類を示す文字列のことをネスト文字列と表す。   These program blocks and flow control are represented by respective symbols in the graphical language and represented by respective character strings in the text-based language. Hereinafter, these program blocks and flow control are expressed as nesting, the hierarchy of nesting is expressed as a nesting level, and a character string indicating the type of nesting is expressed as a nested character string.

グラフィカル言語では、各部品の形状そのものと各部品間の接続関係がグラフィカルに表示/印刷される。このため、プログラムのネスト構造が比較的分かりやすい。   In the graphical language, the shape of each part itself and the connection relationship between each part are graphically displayed / printed. For this reason, the nested structure of the program is relatively easy to understand.

一方、テキストベース言語でプログラムの構造を把握するためには、ユーザ変数、コメントや、各言語毎に決まっている予約語を、各文字の並びで一々識別していく必要がある。テキストベース言語において、ネスト構造を決定するのはこの予約語に属する文字列(ネスト文字列)である。つまり、ネスト構造を正しく把握するためには、プログラム全体を構成する文字列の中から、このネスト文字列を正しく抽出する必要がある。しかし、単純に、左詰めでプログラムテキストを表示すると、ネスト構造を正しく抽出することが難しい。即ち、プログラムの視認性が余りに悪い。   On the other hand, in order to grasp the structure of a program in a text-based language, it is necessary to identify user variables, comments, and reserved words determined for each language one by one by the sequence of characters. In a text-based language, it is a character string (nested character string) belonging to this reserved word that determines a nested structure. In other words, in order to correctly grasp the nested structure, it is necessary to correctly extract this nested character string from the character strings constituting the entire program. However, if the program text is simply displayed left-justified, it is difficult to correctly extract the nested structure. That is, the visibility of the program is too bad.

そこで、テキストベースのプログラムを編集する際には、ネスト階層レベルを表示するために、字下げを用いることが多い。この字下げは、あくまでも表示のためだけに行われる。即ち、字下げは、プログラムの実行に影響しない。このため、字下げ量とネストの深さの関係が統一されていなくてもプログラムをコンパイルする際にはエラーにならない。   Thus, when editing a text-based program, indentation is often used to display nested hierarchy levels. This indentation is for display purposes only. That is, the indentation does not affect the execution of the program. Therefore, even if the relationship between the indentation amount and the nesting depth is not unified, no error will occur when compiling the program.

従って、字下げ作業がプログラム入力者に委ねられた場合には、入力者毎に字下げ量が異なることがある。また、同じ入力者でも、入力時の気分で字下げ量を変えることもある。さらに、当然のことながら、入力時の勘違いにより、字下げ量を間違うこともある。従って、テキストベースのプログラムにおいては、ネスト構造の表示が曖昧になりやすい。即ち、プログラムを読む際に、ネスト構造の認識を間違ってしまうことが多かった。   Therefore, when the indentation operation is entrusted to the program input person, the indentation amount may differ for each input person. In addition, even the same input person may change the indentation amount according to the feeling at the time of input. Furthermore, as a matter of course, the amount of indentation may be wrong due to misunderstanding at the time of input. Therefore, in a text-based program, the display of the nested structure tends to be ambiguous. That is, when the program is read, the recognition of the nested structure is often wrong.

そこで、マイクロソフト社のVisual Studio(登録商標)などのある種のプログラム編集機能では、字下げを自動で行うものもある。しかし、プログラムを読む際に、ネストレベルを確認するためには、字下げ量を把握する必要がある。ここで、字下げ部は、空白で構成されている。従って、画面で表示されている場合は、カーソルキーを利用して数えることができる。しかし、印刷された場合は、空白文字の数を数えることが困難となる。更に、ネストの開始から終了までの表示距離が離れると、ネスト構造の把握が困難である。またプログラム中に字下げという、プログラムロジックとは関係ない空白部が必要となる。従って、ネストレベルが深くなるにつれ、肝心のロジック部分が次第に右方へ追いやられてしまうという問題もある。さらに、プログラムの新規作成途中や改造途中に、ネスト構造が未完成の部分において、プログラム入力者が希望しない字下げが自動的に行われ、視認性が低下するという問題もあった。   Therefore, some program editing functions such as Microsoft Visual Studio (registered trademark) automatically perform indentation. However, when reading the program, it is necessary to know the amount of indentation in order to check the nesting level. Here, the indentation part is comprised with the blank. Therefore, when it is displayed on the screen, it can be counted using the cursor key. However, when printed, it is difficult to count the number of blank characters. Furthermore, if the display distance from the start to the end of the nest is long, it is difficult to grasp the nest structure. In addition, a blank part, which is not related to the program logic, is required in the program. Therefore, as the nesting level deepens, there is a problem that the important logic part is gradually driven to the right. Further, during the new program creation or remodeling, indentation not desired by the program input person is automatically performed in a portion where the nest structure is not completed, and there is a problem that visibility is lowered.

そこで、上記問題点を解決するため、図式表現上でプログラムのデータ構造を表示するプログラム編集装置において、図式表現上でデータ種別が選択(入力)されたことに対応して、選択された項目(集団項目、基本項目、独立項目など)に対応して、当該選択された項目に対する制御レベル図を表示すると共に併せてこの制御レベル図のレベル記号中に選択された項目をもとに生成したレベル番号を設定して表示するように構成したことを特徴とするデータ構造を表示するものが提案されている(例えば、特許文献1参照)。   Therefore, in order to solve the above problem, in the program editing apparatus that displays the data structure of the program on the schematic representation, the selected item (corresponding to the data type being selected (input) on the graphical representation) Levels generated based on the item selected in the level symbol of the control level diagram and the control level diagram for the selected item is displayed corresponding to the group item, basic item, independent item, etc. There has been proposed one that displays a data structure characterized by being configured to display by setting a number (see, for example, Patent Document 1).

特開平5−233251号公報JP-A-5-233251

しかし、特許文献1記載のものは、プログラムの入力に加え、ネスト構造(データ構造)を入力しなければならなかった。これにより、プログラム入力者は、煩雑な入力作業を強いられるという問題があった。   However, the device described in Patent Document 1 has to input a nested structure (data structure) in addition to the program input. As a result, there is a problem that the program input person is forced to perform complicated input work.

この発明は、上述のような課題を解決するためになされたもので、その目的は、煩雑な操作を要することなく、ネスト構造の把握が容易にできるプログラム編集装置を提供することである。   The present invention has been made to solve the above-described problems, and an object of the present invention is to provide a program editing apparatus that can easily grasp a nested structure without requiring a complicated operation.

この発明に係るプログラム編集装置は、テキストベースプログラムを編集するプログラム編集装置であって、プログラムテキストを生成するテキスト表示情報生成部と、前記プログラムテキストからネスト文字列を抽出するネスト文字列判定部と、前記ネスト文字列判定部により抽出されたネスト文字列に応じたネスト構造表示情報を生成するネスト構造表示情報生成部と、前記テキスト表示情報生成部により生成されたプログラムテキストを画面に表示させる場合に、前記ネスト文字列判定部により抽出されたネスト文字列と前記ネスト構造表示情報生成部により生成されたネスト構造表示情報を対応付け、対応付けたネスト構造表示情報を前記プログラムテキストとは独立した領域で前記画面に合成表示させるテキスト/ネスト構造表示合成部とを備えたものである。   A program editing apparatus according to the present invention is a program editing apparatus that edits a text-based program, a text display information generation unit that generates program text, and a nested character string determination unit that extracts a nested character string from the program text; In the case of displaying on the screen the nested structure display information generating unit that generates the nested structure display information corresponding to the nested character string extracted by the nested character string determining unit, and the program text generated by the text display information generating unit The nested character string extracted by the nested character string determination unit is associated with the nested structure display information generated by the nested structure display information generation unit, and the associated nested structure display information is independent of the program text. Text / nested structure display to be synthesized and displayed on the screen in the area It is obtained by a formed part.

この発明は、テキストベースプログラムを編集するプログラム編集装置であって、プログラムテキストを生成するテキスト表示情報生成部と、前記プログラムテキストからネスト文字列を抽出するネスト文字列判定部と、前記ネスト文字列判定部により抽出されたネスト文字列に応じたネスト構造表示情報を生成するネスト構造表示情報生成部と、前記テキスト表示情報生成部により生成されたプログラムテキストを画面に表示させる場合に、前記ネスト文字列判定部により抽出されたネスト文字列と前記ネスト構造表示情報生成部により生成されたネスト構造表示情報を対応付け、対応付けたネスト構造表示情報を前記プログラムテキストとは独立した領域で前記画面に合成表示させるテキスト/ネスト構造表示合成部とを備える構成としたことで、煩雑な操作を要することなく、ネスト構造の把握が容易にできる。   The present invention is a program editing apparatus for editing a text-based program, a text display information generating unit for generating program text, a nested character string determining unit for extracting a nested character string from the program text, and the nested character string The nested structure display information generating unit that generates the nested structure display information corresponding to the nested character string extracted by the determining unit, and the program text generated by the text display information generating unit is displayed on the screen. The nested character string extracted by the column determining unit is associated with the nested structure display information generated by the nested structure display information generating unit, and the associated nested structure display information is displayed on the screen in an area independent of the program text. A text / nested structure display composition unit for composition display It is, without requiring a complicated operation, can be easily grasped nested structure.

この発明をより詳細に説明するため、添付の図面に従ってこれを説明する。なお、各図中、同一又は相当する部分には同一の符号を付しており、その重複説明は適宜に簡略化ないし省略する。   In order to explain the present invention in more detail, it will be described with reference to the accompanying drawings. In addition, in each figure, the same code | symbol is attached | subjected to the part which is the same or it corresponds, The duplication description is simplified or abbreviate | omitted suitably.

実施の形態1.
図1はこの発明の実施の形態1におけるプログラム編集装置のブロック図である。図2はこの発明の実施の形態1におけるプログラム編集装置に用いられるプログラムのネストの例を示した図である。図3はこの発明の実施の形態1におけるプログラム編集装置の画面を示した図である。図4はこの発明の実施の形態1におけるプログラム編集装置の画面の一部であるプログラムテキスト表示部を示した図である。図5はこの発明の実施の形態1におけるプログラム編集装置の画面の一部であるネスト構造表示部を示した図である。
Embodiment 1 FIG.
1 is a block diagram of a program editing apparatus according to Embodiment 1 of the present invention. FIG. 2 is a diagram showing an example of nesting of programs used in the program editing apparatus according to Embodiment 1 of the present invention. FIG. 3 is a diagram showing a screen of the program editing apparatus according to Embodiment 1 of the present invention. FIG. 4 is a diagram showing a program text display portion which is a part of the screen of the program editing apparatus according to Embodiment 1 of the present invention. FIG. 5 is a diagram showing a nested structure display portion which is a part of the screen of the program editing apparatus according to Embodiment 1 of the present invention.

図1において、1はキーボードである。2は記憶装置である。そして、キーボード1及び記憶装置2は、テキスト入力部3に接続される。このテキスト入力部3は、キーボード1又は記憶装置2からプログラムテキストが入力されるものである。そして、テキスト入力部3は、テキスト情報保持部4に接続される。このテキスト情報保持部4は、テキスト入力部3に入力されたプログラムテキストを保持するものである。   In FIG. 1, 1 is a keyboard. Reference numeral 2 denotes a storage device. The keyboard 1 and the storage device 2 are connected to the text input unit 3. The text input unit 3 is used to input program text from the keyboard 1 or the storage device 2. The text input unit 3 is connected to the text information holding unit 4. The text information holding unit 4 holds the program text input to the text input unit 3.

そして、テキスト情報保持部4は、テキスト表示情報生成部5に接続される。このテキスト表示情報生成部5は、テキスト中のタブや改行などの制御文字を処理するものである。そして、このテキスト表示情報生成部5は、モニタ6及びプリンタ7に接続される。このモニタ6は、テキスト表示情報生成部5で生成されたプログラムテキストを画面に表示するものである。一方、プリンタ7は、モニタ6の画面に表示された内容を印刷するものである。そして、編集されたプログラムテキストは、テキスト情報保持部4からテキスト入力部3を経由して記憶装置2に保存される。   The text information holding unit 4 is connected to the text display information generating unit 5. The text display information generation unit 5 processes control characters such as tabs and line feeds in the text. The text display information generation unit 5 is connected to a monitor 6 and a printer 7. The monitor 6 displays the program text generated by the text display information generating unit 5 on the screen. On the other hand, the printer 7 prints the content displayed on the screen of the monitor 6. The edited program text is stored in the storage device 2 from the text information holding unit 4 via the text input unit 3.

さらに、この発明におけるテキスト情報保持部4は、ネスト文字列判定部8にも接続される。このネスト文字列判定部8は、ネスト文字列設定部9に接続される。このネスト文字列設定部9は、プログラムテキストのネスト文字列情報が記憶されるものである。なお、ネストとは、プログラムブロックやフロー制御のことをいう。このネストは、プログラム言語に依存する。例えば、マイクロソフト社のVBA(Visual Basic for Application)というテキストベース言語では、図2のようなネストの種類がある。このネストの種類を示す文字列をネスト文字列という。そして、ネストの階層のことをネストレベルという。   Furthermore, the text information holding unit 4 in the present invention is also connected to a nested character string determination unit 8. The nested character string determination unit 8 is connected to the nested character string setting unit 9. The nested character string setting unit 9 stores the nested character string information of the program text. Nesting refers to program blocks and flow control. This nesting depends on the programming language. For example, in a text-based language called Microsoft Visual Basic for Application (VBA), there are nesting types as shown in FIG. A character string indicating the type of nesting is called a nested character string. The nesting hierarchy is called a nesting level.

ネスト文字列判定部8は、ネスト文字列設定部9のネスト文字列情報に基づいて、テキスト情報保持部4から入力されるプログラムテキストからネスト文字列を抽出する。また、ネスト文字列判定部8は、ネストレベル判定部10に接続される。このネストレベル判定部10は、ネスト文字列判定部8により判定されたネスト文字列のネストレベルを判定するものである。   The nested character string determination unit 8 extracts a nested character string from the program text input from the text information holding unit 4 based on the nested character string information of the nested character string setting unit 9. The nested character string determination unit 8 is connected to the nest level determination unit 10. The nest level determination unit 10 determines the nest level of the nest character string determined by the nest character string determination unit 8.

そして、ネストレベル判定部10は、ネスト構造表示情報生成部11に接続される。このネスト構造表示情報生成部11は、ネスト構造表示設定部12に接続される。このネスト構造表示設定部12は、ネスト構造の表現パターンが記憶されるものである。そして、ネスト構造表示情報生成部11は、ネスト構造表示設定部12の表現パターンの情報に基づいて、ネストレベル判定部10から入力されるネストレベルの情報を生成する。このネスト構造表示情報生成部11は、テキスト/ネスト構造表示合成部13に接続される。このテキスト/ネスト構造表示合成部13は、テキスト表示情報生成部5の出力側で、モニタ6及びプリンタ7の間に接続されるものである。   The nest level determination unit 10 is connected to the nest structure display information generation unit 11. The nest structure display information generation unit 11 is connected to the nest structure display setting unit 12. The nest structure display setting unit 12 stores the expression pattern of the nest structure. Then, the nest structure display information generation unit 11 generates nest level information input from the nest level determination unit 10 based on the expression pattern information of the nest structure display setting unit 12. The nest structure display information generation unit 11 is connected to the text / nest structure display synthesis unit 13. The text / nested structure display synthesis unit 13 is connected between the monitor 6 and the printer 7 on the output side of the text display information generation unit 5.

そして、このテキスト/ネスト構造表示合成部13は、テキスト表示情報生成部5により生成されたプログラムテキストをモニタ6の画面に表示させる場合に、ネスト文字列判定部8により抽出されたネスト文字列とネスト構造表示情報生成部11により生成されたネスト構造表示情報を対応付け、対応付けたネスト構造表示をプログラムテキストとは独立した領域でモニタ6の画面に合成表示させるものである。   The text / nested structure display combining unit 13 then displays the nested character string extracted by the nested character string determination unit 8 when the program text generated by the text display information generation unit 5 is displayed on the screen of the monitor 6. The nested structure display information generated by the nested structure display information generating unit 11 is associated, and the associated nested structure display is synthesized and displayed on the screen of the monitor 6 in an area independent of the program text.

次に、図3乃至図5を用いて、モニタ6の画面表示をより詳細に説明する。図3において、14はモニタ6の画面のテキスト表示部である。このテキスト表示部14には、プログラムテキストが表示される。このテキスト表示部14のみを示したものが図4である。図4に示すように、プログラムテキストは、左端を揃えて表示される。図3において、15はモニタ6の画面のネスト構造表示部である。このネスト構造表示部15のみを示したものが図5である。このネスト構造表示部15は、テキスト表示部14の左側部に設けられる。そして、ネスト構造表示部15には、ネスト構造表示情報生成部11により生成されたネスト構造表示情報が表示される。   Next, the screen display of the monitor 6 will be described in more detail with reference to FIGS. In FIG. 3, reference numeral 14 denotes a text display portion of the screen of the monitor 6. Program text is displayed on the text display unit 14. FIG. 4 shows only the text display unit 14. As shown in FIG. 4, the program text is displayed with the left ends aligned. In FIG. 3, reference numeral 15 denotes a nested structure display portion of the screen of the monitor 6. FIG. 5 shows only the nest structure display portion 15. The nest structure display unit 15 is provided on the left side of the text display unit 14. The nest structure display information generated by the nest structure display information generation unit 11 is displayed on the nest structure display unit 15.

実施の形態1においては、ネスト構造表示情報は、グラフィック型である。より具体的には、同じネストの文字列の左側部には、横線15aが表示される。そして、これらの横線15aの左端が縦線15bにより連結される。これにより、ネスト構造が表現される。また、より下位のネスト構造表示情報の縦線は、より上位のネスト構造表示情報の縦線よりも右側に表示される。これにより、ネスト構造の階層関係が示される。   In the first embodiment, the nested structure display information is a graphic type. More specifically, a horizontal line 15a is displayed on the left side of the same nested character string. And the left end of these horizontal lines 15a is connected by the vertical line 15b. Thereby, a nested structure is expressed. Further, the vertical line of the lower nested structure display information is displayed on the right side of the vertical line of the higher nested structure display information. Thereby, the hierarchical relationship of the nested structure is shown.

以上で説明した実施の形態1においては、煩雑な作業を要することなく、ネスト構造が容易に把握される。従って、プログラム作成及び解読時の効率が向上される。さらに、字下げを要しない。従って、ネストレベルの識別のために、画面上のスペースを要するということがない。加えて、元々のプログラムの実体であるプログラムテキストとネスト構造表示部15は、互いに独立して管理される。従って、ネスト構造表示部15に表示されたネスト構造表示情報の内容に基づいて、プログラムテキスト中の字下げを適切に行うことができる。なお、プリンタ7により印刷されたプログラムテキストにおいても、解読時の効率が向上されるのはいうまでもない。   In the first embodiment described above, the nest structure can be easily grasped without requiring complicated work. Therefore, the efficiency at the time of program creation and decoding is improved. In addition, no indentation is required. Therefore, there is no need for space on the screen for identifying the nest level. In addition, the program text that is the substance of the original program and the nested structure display unit 15 are managed independently of each other. Therefore, indentation in the program text can be appropriately performed based on the content of the nested structure display information displayed on the nested structure display unit 15. It goes without saying that the program text printed by the printer 7 is also improved in decoding efficiency.

実施の形態2.
図6はこの発明の実施の形態2におけるプログラム編集装置の画面を示した図である。図7はこの発明の実施の形態2におけるプログラム編集装置の画面の一部であるネスト構造表示部を示した図である。なお、実施の形態1と同一又は相当部分には同一符号を付して説明を省略する。
Embodiment 2. FIG.
FIG. 6 is a diagram showing a screen of the program editing apparatus according to the second embodiment of the present invention. FIG. 7 is a diagram showing a nested structure display portion which is a part of the screen of the program editing apparatus according to the second embodiment of the present invention. In addition, the same code | symbol is attached | subjected to the part which is the same as that of Embodiment 1, or an equivalent, and description is abbreviate | omitted.

実施の形態1におけるネスト構造表示情報は、グラフィック型であった。一方、実施の形態2におけるネスト構造表示情報は、テキスト型である。より具体的には、図7に示される。   The nested structure display information in the first embodiment is a graphic type. On the other hand, the nested structure display information in the second embodiment is a text type. More specifically, it is shown in FIG.

即ち、最上位のネストレベルは、ネスト構造表示部15の左側部で数字の1で表示される。そして、ネストレベルが下位になるにつれ、数字の12、123のように表示される。さらに、ネストの先頭及び終了は、数字の後にマイナスが表示される。そして、ネストの中間は、数字の後にプラスが表示される。   That is, the highest nesting level is displayed with the number 1 on the left side of the nest structure display portion 15. And as the nesting level becomes lower, it is displayed like numerals 12 and 123. Furthermore, minus is displayed after the number at the beginning and end of the nest. In the middle of nesting, a plus is displayed after the number.

以上で説明した実施の形態2によれば、実施の形態1と同様の効果を得ることができる。さらに、数字により、より直感的にネスト構造の階層関係が理解される。   According to the second embodiment described above, the same effect as in the first embodiment can be obtained. Furthermore, the hierarchical relationship of the nested structure can be understood more intuitively with numbers.

実施の形態3.
図8はこの発明の実施の形態3におけるプログラム編集装置の画面の一部であるネスト構造表示部を示した図である。なお、実施の形態1と同一又は相当部分には同一符号を付して説明を省略する。
Embodiment 3 FIG.
FIG. 8 is a diagram showing a nested structure display portion which is a part of the screen of the program editing apparatus according to Embodiment 3 of the present invention. In addition, the same code | symbol is attached | subjected to the part which is the same as that of Embodiment 1, or an equivalent, and description is abbreviate | omitted.

実施の形態1におけるネスト構造表示情報は、グラフィック型であった。一方、実施の形態3におけるネスト構造表示情報は、グラフィック型とテキスト型の混在型である。より具体的には、図8に示される。   The nested structure display information in the first embodiment is a graphic type. On the other hand, the nested structure display information in the third embodiment is a mixed type of graphic type and text type. More specifically, it is shown in FIG.

即ち、グラフィック型の部分は、実施の形態1と同様である。そして、グラフィック型ネスト構造表示情報の左側に実施の形態2と同様に数字が表示される。但し、スペースを考慮して、ネストレベルが下位になるにつれて数字の1、2、3・・・と表示される。   That is, the graphic portion is the same as that in the first embodiment. A number is displayed on the left side of the graphic type nested structure display information as in the second embodiment. However, considering the space, the numbers 1, 2, 3,... Are displayed as the nesting level becomes lower.

以上で説明した実施の形態3によれば、実施の形態1及び2と同様の効果を得ることができる。さらに、グラフィック及び数字により、より直感的にネスト構造の階層関係が理解される。   According to the third embodiment described above, the same effects as in the first and second embodiments can be obtained. Furthermore, the hierarchical relationship of the nested structure can be understood more intuitively with graphics and numbers.

実施の形態4.
図9はこの発明の実施の形態4におけるプログラム編集装置の画面を示した図である。図10はこの発明の実施の形態4におけるプログラム編集装置の画面の一部であるプログラムテキスト表示部を示した図である。図11はこの発明の実施の形態4におけるプログラム編集装置の画面の一部であるネスト構造表示部を示した図である。なお、実施の形態1と同一又は相当部分には同一符号を付して説明を省略する。
Embodiment 4 FIG.
FIG. 9 is a diagram showing a screen of the program editing apparatus according to the fourth embodiment of the present invention. FIG. 10 is a diagram showing a program text display portion which is a part of the screen of the program editing apparatus according to Embodiment 4 of the present invention. FIG. 11 is a diagram showing a nested structure display portion which is a part of the screen of the program editing apparatus according to the fourth embodiment of the present invention. In addition, the same code | symbol is attached | subjected to the part which is the same as that of Embodiment 1, or an equivalent, and description is abbreviate | omitted.

実施の形態1乃至3におけるテキスト表示部14においては、プログラムテキストは、左端を揃えて表示されていた。即ち、字下げが無い場合であった。一方、実施の形態4におけるテキスト表示部16では、各ネストレベル毎に半角四文字の字下げが行われている。   In the text display unit 14 in the first to third embodiments, the program text is displayed with the left end aligned. That is, there was no indentation. On the other hand, in the text display unit 16 according to the fourth embodiment, indentation of four half-width characters is performed for each nesting level.

また、実施の形態1乃至3においては、テキスト表示部14とネスト構造表示部15が画面上で重なることはなかった。一方、実施の形態4においては、テキスト表示部16の左側部とネスト構造表示部17の右側部が重なっている。これにより、字下げが行われたネスト文字列に対しても適切なネスト構造が表示される。   In the first to third embodiments, the text display unit 14 and the nested structure display unit 15 do not overlap on the screen. On the other hand, in the fourth embodiment, the left side of the text display unit 16 and the right side of the nested structure display unit 17 overlap. Thus, an appropriate nested structure is displayed even for the indented nested character string.

より具体的には、ネスト構造表示情報は図11に示される。即ち、実施の形態4におけるネスト構造表示情報は、実施の形態1と同様、グラフィック型である。そして、ネスト文字列の字下げ量に追従して右側に移動した状態で表示される。   More specifically, the nested structure display information is shown in FIG. That is, the nested structure display information in the fourth embodiment is a graphic type as in the first embodiment. Then, it is displayed in a state of moving to the right following the indentation amount of the nested character string.

以上で説明した実施の形態4によれば、実施の形態1と同様の効果を得ることができる。さらに、字下げが行われることにより、より直感的にネスト構造の階層関係が理解される。   According to the fourth embodiment described above, the same effect as in the first embodiment can be obtained. Furthermore, by indenting, the hierarchical relationship of the nested structure can be understood more intuitively.

実施の形態5.
図12はこの発明の実施の形態5におけるプログラム編集装置の画面を示した図である。図13はこの発明の実施の形態5におけるプログラム編集装置の画面の一部であるネスト構造表示部を示した図である。なお、実施の形態4と同一又は相当部分には同一符号を付して説明を省略する。
Embodiment 5 FIG.
FIG. 12 shows a screen of the program editing apparatus according to the fifth embodiment of the present invention. FIG. 13 is a diagram showing a nested structure display portion which is a part of the screen of the program editing apparatus according to the fifth embodiment of the present invention. In addition, the same code | symbol is attached | subjected to the same part as Embodiment 4, or an equivalent part, and description is abbreviate | omitted.

実施の形態4におけるネスト構造表示情報は、グラフィック型であった。一方、実施の形態5は、実施の形態2と同様のテキスト型である。なお、ネストの先頭及び終了を示すマイナスや、ネストの中間を示すプラスは、ネスト文字列の字下げ量に応じて、右側に付加される。   The nested structure display information in the fourth embodiment is a graphic type. On the other hand, the fifth embodiment is a text type similar to the second embodiment. A minus indicating the beginning and end of nesting and a plus indicating the middle of nesting are added to the right according to the indentation amount of the nested character string.

以上で説明した実施の形態5によれば、実施の形態2と同様の効果を得ることができる。さらに、字下げが行われることにより、より直感的にネスト構造の階層関係が理解される。   According to the fifth embodiment described above, the same effect as in the second embodiment can be obtained. Furthermore, by indenting, the hierarchical relationship of the nested structure can be understood more intuitively.

実施の形態6.
図14はこの発明の実施の形態6におけるプログラム編集装置の画面の一部であるネスト構造表示部を示した図である。なお、実施の形態4と同一又は相当部分には同一符号を付して説明を省略する。
Embodiment 6 FIG.
FIG. 14 is a diagram showing a nested structure display portion which is a part of the screen of the program editing apparatus according to the sixth embodiment of the present invention. In addition, the same code | symbol is attached | subjected to the same part as Embodiment 4, or an equivalent part, and description is abbreviate | omitted.

実施の形態4におけるネスト構造表示情報は、グラフィック型であった。一方、実施の形態6におけるネスト構造表示情報は、グラフィック型とテキスト型の混在型である。より具体的には、図12に示される。   The nested structure display information in the fourth embodiment is a graphic type. On the other hand, the nested structure display information in the sixth embodiment is a mixed type of graphic type and text type. More specifically, it is shown in FIG.

即ち、グラフィック型の部分は、実施の形態4と同様である。そして、グラフィック型の左側部に実施の形態5と同様に数字が表示される。但し、スペースを考慮して、ネストレベルが下位になるにつれて数字の1、2、3・・・と表示される。さらに、ネストの先頭及び終了を示すマイナスや、ネストの中間を示すプラスは、ネスト文字列の字下げ量に応じて、右側に付加される。   That is, the graphic type part is the same as in the fourth embodiment. A number is displayed on the left side of the graphic type as in the fifth embodiment. However, considering the space, the numbers 1, 2, 3,... Are displayed as the nesting level becomes lower. Further, a minus indicating the beginning and end of nesting and a plus indicating the middle of nesting are added to the right according to the indentation amount of the nested character string.

実施の形態1乃至実施の形態6は、ネスト構造表示情報の具体例である。従って、別のグラフィック表示方法や、別のテキストを使用した表示方法で、ネスト構造を表示しても構わない。   Embodiments 1 to 6 are specific examples of nested structure display information. Therefore, the nested structure may be displayed by another graphic display method or a display method using another text.

実施の形態7.
図15はこの発明の実施の形態7におけるプログラム編集装置の画面の一部であるネスト構造表示部を示した図である。なお、実施の形態1と同一又は相当部分には同一符号を付して説明を省略する。
Embodiment 7 FIG.
FIG. 15 is a diagram showing a nested structure display portion which is a part of the screen of the program editing apparatus according to the seventh embodiment of the present invention. In addition, the same code | symbol is attached | subjected to the part which is the same as that of Embodiment 1, or an equivalent, and description is abbreviate | omitted.

実施の形態7は、ネスト構造表示情報生成部11が、異なるレベルのネストの表示属性を変えてネスト構造表示情報を生成する。図15では、隣接するネストが各レベル毎に線種を変えて区別される。しかし、当該区別は、太さや線色などで行ってもよい。   In the seventh embodiment, the nest structure display information generation unit 11 generates nest structure display information by changing display attributes of nests at different levels. In FIG. 15, adjacent nests are distinguished by changing the line type for each level. However, the distinction may be made by thickness or line color.

以上で説明した実施の形態7によれば、実施の形態1と同様の効果を得ることができる。さらに、線種の違いにより、より直感的にネスト構造の階層関係が理解される。   According to the seventh embodiment described above, the same effect as in the first embodiment can be obtained. Furthermore, the hierarchical relationship of the nested structure can be understood more intuitively due to the difference in line type.

実施の形態8.
図16はこの発明の実施の形態8におけるプログラム編集装置の画面の一部であるネスト構造表示部を示した図である。なお、実施の形態7と同一又は相当部分には同一符号を付して説明を省略する。
Embodiment 8 FIG.
FIG. 16 is a diagram showing a nested structure display portion which is a part of the screen of the program editing apparatus according to the eighth embodiment of the present invention. In addition, the same code | symbol is attached | subjected to the part which is the same as that of Embodiment 7, or an equivalent, and description is abbreviate | omitted.

実施の形態7では、隣接するネストが各レベル毎に線種を変えて区別されていた。一方、実施の形態8では、隣接するネストが一つおきに線種を変えて区別されている。なおn種類の線種を用意し、n個のレベル毎に表示属性を循環して使用してもよい。   In the seventh embodiment, adjacent nests are distinguished by changing the line type for each level. On the other hand, in the eighth embodiment, every other adjacent nest is distinguished by changing the line type. Note that n line types may be prepared, and display attributes may be circulated and used for every n levels.

以上で説明した実施の形態8によれば、実施の形態1と同様の効果を得ることができる。さらに、線種の違いを減少することにより、実施の形態7よりも簡素化なプログラム編集装置が実現される。   According to the eighth embodiment described above, the same effect as in the first embodiment can be obtained. Furthermore, by reducing the difference in line type, a simpler program editing apparatus than that of the seventh embodiment is realized.

実施の形態7及び実施の形態8は、ネスト構造表示情報が、グラフィック型の場合で説明した。しかし、ネスト構造表示情報が、テキスト型の場合でも、ネストレベルの区別は可能である。即ち、ネスト文字列の使用テキストのフォント、文字色、文字太さ、文字サイズ等を変更して、ネストレベルを区別すればよい。   In the seventh embodiment and the eighth embodiment, the case where the nested structure display information is a graphic type has been described. However, even when the nested structure display information is a text type, it is possible to distinguish the nesting level. That is, the nested level may be distinguished by changing the font, character color, character thickness, character size, etc. of the text used in the nested character string.

実施の形態9.
図17はこの発明の実施の形態9におけるプログラム編集装置の画面の一部であるネスト構造表示部を示した図である。なお、実施の形態7と同一又は相当部分には同一符号を付して説明を省略する。
Embodiment 9 FIG.
FIG. 17 is a diagram showing a nested structure display portion which is a part of the screen of the program editing apparatus according to the ninth embodiment of the present invention. In addition, the same code | symbol is attached | subjected to the part which is the same as that of Embodiment 7, or an equivalent, and description is abbreviate | omitted.

実施の形態7では、異なるレベルのネストの表示属性を変えてネスト構造表示情報が生成されるものであった。一方、実施の形態8では、同一レベルのネストが近接している場合に、同一レベルのネストの表示属性を変えてネスト構造表示情報が生成されるものである。   In the seventh embodiment, nest structure display information is generated by changing display attributes of different levels of nests. On the other hand, in the eighth embodiment, when the nests at the same level are close to each other, the nest structure display information is generated by changing the display attributes of the nests at the same level.

以上で説明した実施の形態9によれば、実施の形態1と同様の効果を得ることができる。さらに、近接する同一レベルのネストを一種類のネストと勘違いすることがなくなる。   According to the ninth embodiment described above, the same effect as in the first embodiment can be obtained. In addition, adjacent nests of the same level are not mistaken for one type of nest.

なお、実施の形態9では、グラフィック型のネスト構造表示情報を線種により区別する場合で説明した。しかし、他にもグラフィック型のネスト構造表示情報の場合は、線の太さや線色により区別すればよい。また、テキスト型のネスト構造表示情報の場合は、使用テキスト、フォント、文字色、文字太さ、文字サイズなどにより区別すればよい。さらに、全ネストで表示属性が異なっても、一つおきに表示属性が異なっても、n個のネスト毎に表示属性が循環してもよい。即ち、近接する同一レベルのネスト間で表示属性が変わればよい。   In the ninth embodiment, the case where the graphic type nested structure display information is distinguished by the line type has been described. However, in the case of graphic type nested structure display information, it is only necessary to distinguish between the line thickness and line color. In the case of text-type nested structure display information, it may be distinguished by the text used, font, character color, character thickness, character size, and the like. Furthermore, even if the display attributes are different for all the nests, or every other display attribute is different, the display attributes may be cycled every n nests. That is, the display attribute only needs to change between adjacent nests of the same level.

実施の形態10.
図18はこの発明の実施の形態10におけるプログラム編集装置のブロック図である。なお、実施の形態1と同一又は相当部分には同一符号を付して説明を省略する。
Embodiment 10 FIG.
FIG. 18 is a block diagram of a program editing apparatus according to Embodiment 10 of the present invention. In addition, the same code | symbol is attached | subjected to the part which is the same as that of Embodiment 1, or an equivalent, and description is abbreviate | omitted.

実施の形態10は、実施の形態1に、ネスト構造表示指示部18を付加したものである。このネスト構造表示指示部18は、テキスト/ネスト構造表示合成部13に接続される。そして、ネスト構造表示指示部18は、操作者の操作によりテキスト/ネスト構造表示合成部13にネスト構造表示情報の表示合成の有効/無効の指示を出す。これにより、ネスト構造表示情報の全部又は一部をモニタ6の画面に表示させるか否かが、切り替えられる。   In the tenth embodiment, a nested structure display instruction unit 18 is added to the first embodiment. The nest structure display instruction unit 18 is connected to the text / nest structure display synthesis unit 13. Then, the nest structure display instruction unit 18 instructs the text / nest structure display composition unit 13 to validate / invalidate the display composition of the nest structure display information by the operation of the operator. Thereby, whether or not to display all or part of the nest structure display information on the screen of the monitor 6 is switched.

以上で説明した実施の形態10によれば、実施の形態1と同様の効果を得ることができる。さらに、不要なネスト構造表示情報を非表示にすることで、表示内容の単純化や、表示時間、印刷時間の低減化がなされる。   According to the tenth embodiment described above, the same effects as in the first embodiment can be obtained. Further, by hiding unnecessary nest structure display information, display contents can be simplified and display time and printing time can be reduced.

なお、実施の形態10では、ネスト構造表示指示部18は、テキスト/ネスト構造表示合成部13に接続される場合で説明した。しかし、ネスト構造の表示に関わる部分のいずれに指示を出すようにしてもよい。   In the tenth embodiment, the case where the nested structure display instructing unit 18 is connected to the text / nested structure display combining unit 13 has been described. However, an instruction may be issued to any part related to the display of the nested structure.

実施の形態11.
図19はこの発明の実施の形態11におけるプログラム編集装置のブロック図である。なお、実施の形態1と同一又は相当部分には同一符号を付して説明を省略する。
Embodiment 11 FIG.
FIG. 19 is a block diagram of a program editing apparatus according to Embodiment 11 of the present invention. In addition, the same code | symbol is attached | subjected to the part which is the same as that of Embodiment 1, or an equivalent, and description is abbreviate | omitted.

実施の形態11は、実施の形態1に、ネスト構造表示範囲指示部19を付加したものである。このネスト構造表示範囲指示部19は、テキスト/ネスト構造表示合成部13に接続される。   In the eleventh embodiment, a nested structure display range instruction unit 19 is added to the first embodiment. The nest structure display range instruction unit 19 is connected to the text / nest structure display synthesis unit 13.

そして、ネスト構造表示範囲指示部19は、操作者の操作によりテキスト/ネスト構造表示合成部13にネスト構造表示情報の表示合成の有効/無効範囲の指示を出す。これにより、指定されたネスト構造表示情報の範囲をモニタ6の画面に表示させるか否かが、切り替えられる。   Then, the nest structure display range instruction unit 19 instructs the text / nest structure display composition unit 13 of the valid / invalid range of display composition of the nest structure display information by the operation of the operator. Thereby, it is switched whether or not the range of the specified nest structure display information is displayed on the screen of the monitor 6.

以上で説明した実施の形態11によれば、実施の形態10と同様の効果を得ることができる。さらに、ネスト構造表示情報の範囲をモニタ6の画面に表示するか否かが切り替えられることで、より柔軟に表示内容の単純化や、表示時間、印刷時間の低減化がなされる。   According to the eleventh embodiment described above, the same effect as in the tenth embodiment can be obtained. Further, by switching whether or not to display the range of the nested structure display information on the screen of the monitor 6, display contents can be simplified more flexibly, and display time and printing time can be reduced.

なお、実施の形態11では、ネスト構造表示範囲指示部19は、テキスト/ネスト構造表示合成部13に接続される場合で説明した。しかし、ネスト構造の表示に関わる部分のいずれに指示を出すようにしてもよい。   In the eleventh embodiment, the case where the nested structure display range instruction unit 19 is connected to the text / nested structure display combining unit 13 has been described. However, an instruction may be issued to any part related to the display of the nested structure.

実施の形態12.
図20はこの発明の実施の形態12におけるプログラム編集装置の画面の変化を示した図である。なお、実施の形態4と同一又は相当部分には同一符号を付して説明を省略する。
Embodiment 12 FIG.
FIG. 20 is a diagram showing changes in the screen of the program editing apparatus according to the twelfth embodiment of the present invention. In addition, the same code | symbol is attached | subjected to the same part as Embodiment 4, or an equivalent part, and description is abbreviate | omitted.

実施の形態12は、実施の形態4と同様の画面表示である。そして、実施の形態12におけるプログラム編集装置は、ネスト文字列の一つが選択されると、同じネストに含まれる他のネスト文字列が強調表示されるものである。   The twelfth embodiment is the same screen display as the fourth embodiment. In the program editing apparatus according to the twelfth embodiment, when one of the nested character strings is selected, the other nested character strings included in the same nest are highlighted.

例えば、図20で、ネスト中間文字列b2をマウスやカーソルキーで選択した状態で、ネスト文字列強調を指示すると、同一ネストに含まれるネスト文字列が目立つように反転表示される。なお、強調表示は、色替え表示、ブリンク、別ウインド表示など、通常表示と区別しやすい表示方法であればよい。   For example, in FIG. 20, when the nested character string emphasis is instructed in a state where the nested intermediate character string b2 is selected with a mouse or a cursor key, the nested character strings included in the same nest are highlighted in a highlighted manner. The highlighted display may be any display method that can be easily distinguished from the normal display, such as color change display, blink, and separate window display.

以上で説明した実施の形態12によれば、実施の形態4と同様の効果を得ることができる。さらに、同じネストに含まれる他のネスト文字列も強調表示されることにより、直感的に同一ネストの文字列を認識できる。   According to the twelfth embodiment described above, the same effects as in the fourth embodiment can be obtained. Furthermore, by highlighting other nested character strings included in the same nest, the character strings of the same nest can be recognized intuitively.

実施の形態13.
図21はこの発明の実施の形態13におけるプログラム編集装置の画面を示した図である。なお、実施の形態4と同一又は相当部分には同一符号を付して説明を省略する。
Embodiment 13 FIG.
FIG. 21 is a diagram showing a screen of the program editing apparatus according to the thirteenth embodiment of the present invention. In addition, the same code | symbol is attached | subjected to the same part as Embodiment 4, or an equivalent part, and description is abbreviate | omitted.

実施の形態13は、実施の形態4と同様の画面表示である。そして、実施の形態13におけるプログラム編集装置は、指定された文字列を、選択されたネスト文字列の一つから同じネストに含まれる他のネスト文字列へジャンプさせるものである。より具体的には、図21に示される。   The thirteenth embodiment is the same screen display as the fourth embodiment. Then, the program editing apparatus according to the thirteenth embodiment jumps the designated character string from one of the selected nested character strings to another nested character string included in the same nest. More specifically, it is shown in FIG.

図21では、プログラムテキスト上のあるネスト文字列をマウスやカーソルキーなどで選択している状態は、ネスト文字列の右側部に表示される矢印で示される。そして、下にジャンプするように指示すると同一ネストの次のネスト文字列へ、上にジャンプするように指示すると同一ネストの前のネスト文字列へジャンプするようになっている。なお、ネストジャンプでは、ネスト開始文字列(図21の例ではネスト開始文字列bより上や、ネスト終了文字列(図21の例では、ネスト終了文字列bより下にはジャンプしないようになっている。   In FIG. 21, a state in which a certain nested character string on the program text is selected with a mouse or a cursor key is indicated by an arrow displayed on the right side of the nested character string. If the instruction is given to jump down, the next nested character string of the same nest is instructed. If the instruction is to jump up, the jump is to the nested character string before the same nest. It should be noted that in the nest jump, the nest start character string (in the example of FIG. 21 does not jump above the nest start character string b or in the nest end character string (in the example of FIG. ing.

以上で説明した実施の形態13によれば、実施の形態4と同様の効果を得ることができる。さらに、同一ネストの文字列へジャンプすることで、プログラムの編集作業の効率化が図れる。   According to the thirteenth embodiment described above, the same effects as in the fourth embodiment can be obtained. Furthermore, it is possible to improve the efficiency of program editing by jumping to the same nested character string.

実施の形態14.
図22はこの発明の実施の形態14におけるプログラム編集装置の画面を示した図である。なお、実施の形態4と同一又は相当部分には同一符号を付して説明を省略する。
Embodiment 14 FIG.
FIG. 22 is a diagram showing a screen of the program editing apparatus in the fourteenth embodiment of the present invention. In addition, the same code | symbol is attached | subjected to the same part as Embodiment 4, or an equivalent part, and description is abbreviate | omitted.

実施の形態14は、実施の形態4と同様の画面表示である。実施の形態14においては、あるネスト文字列を選択することで、当該文字列と同一ネストの開始文字列及び終了文字列が認識される。そして、画面のスクロールは、認識された同一ネストの開始文字列及び終了文字列の範囲に限定される。即ち、プログラムテキスト上のあるネスト文字列をマウスやカーソルキーなどで選択している状態で、ネストスクロール機能を有効にして画面をスクロールさせると同一ネストの開始文字列から終了文字列の範囲を超えないスクロールを行うことができるようになっている。   The fourteenth embodiment is the same screen display as the fourth embodiment. In the fourteenth embodiment, by selecting a certain nested character string, a start character string and an end character string having the same nest as the character string are recognized. Then, the scrolling of the screen is limited to the recognized start character string and end character string range of the same nest. In other words, when a nested text string in the program text is selected with the mouse or cursor key and the screen is scrolled with the nested scroll function enabled, the range of the same nested text from the start string to the end string will be exceeded. There is no scrolling that can be done.

以上で説明した実施の形態14によれば、実施の形態4と同様の効果を得ることができる。さらに、同一ネストの開始文字列から終了文字列の範囲を超えないスクロールを行うことで、選択したネストに注目した内容を確認できる。   According to the fourteenth embodiment described above, the same effect as in the fourth embodiment can be obtained. Furthermore, by performing scrolling that does not exceed the range from the start character string to the end character string of the same nest, the contents focused on the selected nest can be confirmed.

実施の形態15.
図23はこの発明の実施の形態15におけるプログラム編集装置の画面を示した図である。なお、実施の形態4と同一又は相当部分には同一符号を付して説明を省略する。
Embodiment 15 FIG.
FIG. 23 is a diagram showing a screen of the program editing apparatus in the fifteenth embodiment of the present invention. In addition, the same code | symbol is attached | subjected to the same part as Embodiment 4, or an equivalent part, and description is abbreviate | omitted.

実施の形態15は、実施の形態4と同様の画面表示である。画面の上下にネストレベルを表示するエリアを設け、そのエリアに画面上下端でネストレベルを表示するものである。より具体的には、図23に示される。   The fifteenth embodiment is the same screen display as the fourth embodiment. An area for displaying the nesting level is provided at the top and bottom of the screen, and the nesting level is displayed at the upper and lower ends of the screen in the area. More specifically, it is shown in FIG.

図23において、ネスト構造表示情報生成部11は、同一ネストに含まれるネスト文字列の左側部に表示される横線を縦線で連結してネスト構造表示情報を生成する。そして、画面の上下部で、文字列のネストレベルを示す識別子が、縦線に対応付けられて表示される。なお、図23においては、識別子は数字である。   In FIG. 23, the nested structure display information generating unit 11 generates nested structure display information by connecting horizontal lines displayed on the left side of nested character strings included in the same nest with vertical lines. In the upper and lower portions of the screen, an identifier indicating the character string nesting level is displayed in association with a vertical line. In FIG. 23, the identifier is a number.

以上で説明した実施の形態15によれば、実施の形態4と同様の効果を得ることができる。さらに、あるネストレベルが1画面や印刷時の1ページに収まらない場合に、画面又はページの境界部(図23では画面の上下端)にネストレベルの識別子を表示又は印刷できる。従って、画面又はページを跨ったネストに対する視認性が向上される。   According to the fifteenth embodiment described above, the same effects as in the fourth embodiment can be obtained. Further, when a certain nesting level does not fit on one screen or one page at the time of printing, the identifier of the nesting level can be displayed or printed at the boundary portion of the screen or page (in FIG. 23, the upper and lower ends of the screen). Therefore, the visibility with respect to the nest straddling a screen or a page is improved.

この発明の実施の形態1におけるプログラム編集装置のブロック図である。1 is a block diagram of a program editing device in Embodiment 1 of the present invention. この発明の実施の形態1におけるプログラム編集装置に用いられるプログラムのネストの例を示した図である。It is the figure which showed the example of the nesting of the program used for the program editing apparatus in Embodiment 1 of this invention. この発明の実施の形態1におけるプログラム編集装置の画面を示した図である。It is the figure which showed the screen of the program editing apparatus in Embodiment 1 of this invention. この発明の実施の形態1におけるプログラム編集装置の画面の一部であるプログラムテキスト表示部を示した図である。It is the figure which showed the program text display part which is a part of screen of the program editing apparatus in Embodiment 1 of this invention. この発明の実施の形態1におけるプログラム編集装置の画面の一部であるネスト構造表示部を示した図である。It is the figure which showed the nest structure display part which is a part of screen of the program editing apparatus in Embodiment 1 of this invention. この発明の実施の形態2におけるプログラム編集装置の画面を示した図である。It is the figure which showed the screen of the program editing apparatus in Embodiment 2 of this invention. この発明の実施の形態2におけるプログラム編集装置の画面の一部であるネスト構造表示部を示した図である。It is the figure which showed the nest structure display part which is a part of screen of the program editing apparatus in Embodiment 2 of this invention. この発明の実施の形態3におけるプログラム編集装置の画面の一部であるネスト構造表示部を示した図である。It is the figure which showed the nest structure display part which is a part of screen of the program editing apparatus in Embodiment 3 of this invention. この発明の実施の形態4におけるプログラム編集装置の画面を示した図である。It is the figure which showed the screen of the program editing apparatus in Embodiment 4 of this invention. この発明の実施の形態4におけるプログラム編集装置の画面の一部であるプログラムテキスト表示部を示した図である。It is the figure which showed the program text display part which is a part of screen of the program editing apparatus in Embodiment 4 of this invention. この発明の実施の形態4におけるプログラム編集装置の画面の一部であるネスト構造表示部を示した図である。It is the figure which showed the nest structure display part which is a part of screen of the program editing apparatus in Embodiment 4 of this invention. この発明の実施の形態5におけるプログラム編集装置の画面を示した図である。It is the figure which showed the screen of the program editing apparatus in Embodiment 5 of this invention. この発明の実施の形態5におけるプログラム編集装置の画面の一部であるネスト構造表示部を示した図である。It is the figure which showed the nest structure display part which is a part of screen of the program editing apparatus in Embodiment 5 of this invention. この発明の実施の形態6におけるプログラム編集装置の画面の一部であるネスト構造表示部を示した図である。It is the figure which showed the nested structure display part which is a part of screen of the program editing apparatus in Embodiment 6 of this invention. この発明の実施の形態7におけるプログラム編集装置の画面の一部であるネスト構造表示部を示した図である。It is the figure which showed the nest structure display part which is a part of screen of the program editing apparatus in Embodiment 7 of this invention. この発明の実施の形態8におけるプログラム編集装置の画面の一部であるネスト構造表示部を示した図である。It is the figure which showed the nest structure display part which is a part of screen of the program editing apparatus in Embodiment 8 of this invention. この発明の実施の形態9におけるプログラム編集装置の画面の一部であるネスト構造表示部を示した図である。It is the figure which showed the nest structure display part which is a part of screen of the program editing apparatus in Embodiment 9 of this invention. この発明の実施の形態10におけるプログラム編集装置のブロック図である。It is a block diagram of the program editing apparatus in Embodiment 10 of this invention. この発明の実施の形態11におけるプログラム編集装置のブロック図である。It is a block diagram of the program editing apparatus in Embodiment 11 of this invention. この発明の実施の形態12におけるプログラム編集装置の画面の変化を示した図である。It is the figure which showed the change of the screen of the program editing apparatus in Embodiment 12 of this invention. この発明の実施の形態13におけるプログラム編集装置の画面を示した図である。It is the figure which showed the screen of the program editing apparatus in Embodiment 13 of this invention. この発明の実施の形態14におけるプログラム編集装置の画面を示した図である。It is the figure which showed the screen of the program editing apparatus in Embodiment 14 of this invention. この発明の実施の形態15におけるプログラム編集装置の画面を示した図である。It is the figure which showed the screen of the program editing apparatus in Embodiment 15 of this invention.

符号の説明Explanation of symbols

1 キーボード
2 記憶装置
3 テキスト入力部
4 テキスト情報保持部
5 テキスト表示情報生成部
6 モニタ
7 プリンタ
8 ネスト文字列判定部
9 ネスト文字列設定部
10 ネストレベル判定部
11 ネスト構造表示情報生成部
12 ネスト構造表示設定部
13 テキスト/ネスト構造表示合成部
14 テキスト表示部
15 ネスト構造表示部
15a 横線
15b 縦線
16 テキスト表示部
17 ネスト構造表示部
18 ネスト構造表示指示部
19 ネスト構造表示範囲指示部
20 矢印
DESCRIPTION OF SYMBOLS 1 Keyboard 2 Memory | storage device 3 Text input part 4 Text information holding part 5 Text display information generation part 6 Monitor 7 Printer 8 Nest character string determination part 9 Nest character string setting part 10 Nest level determination part 11 Nest structure display information generation part 12 Nest Structure display setting part 13 Text / nest structure display composition part 14 Text display part 15 Nest structure display part 15a Horizontal line 15b Vertical line 16 Text display part 17 Nest structure display part 18 Nest structure display instruction part 19 Nest structure display range instruction part 20 Arrow

Claims (9)

テキストベースプログラムを編集するプログラム編集装置であって、
プログラムテキストを生成するテキスト表示情報生成部と、
前記プログラムテキストからネスト文字列を抽出するネスト文字列判定部と、
前記ネスト文字列判定部により抽出されたネスト文字列に応じたネスト構造表示情報を生成するネスト構造表示情報生成部と、
前記テキスト表示情報生成部により生成されたプログラムテキストを画面に表示させる場合に、前記ネスト文字列判定部により抽出されたネスト文字列と前記ネスト構造表示情報生成部により生成されたネスト構造表示情報を対応付け、対応付けたネスト構造表示情報を前記プログラムテキストとは独立した領域で前記画面に合成表示させるテキスト/ネスト構造表示合成部と、
を備えたことを特徴とするプログラム編集装置。
A program editing device for editing a text-based program,
A text display information generator for generating program text;
A nested string determination unit that extracts a nested string from the program text;
A nested structure display information generation unit that generates nested structure display information according to the nested character string extracted by the nested character string determination unit;
When displaying the program text generated by the text display information generating unit on the screen, the nested character string extracted by the nested character string determining unit and the nested structure display information generated by the nested structure display information generating unit are displayed. A text / nest structure display combining unit for combining and displaying the associated nested structure display information on the screen in an area independent of the program text;
A program editing apparatus comprising:
ネスト構造表示情報生成部は、異なるレベルのネストの表示属性を変えてネスト構造表示情報を生成することを特徴とする請求項1記載のプログラム編集装置。   2. The program editing apparatus according to claim 1, wherein the nest structure display information generation unit generates nest structure display information by changing display attributes of nests at different levels. ネスト構造表示情報生成部は、隣接する同一レベルのネストの表示属性を変えてネスト構造表示情報を生成することを特徴とする請求項1又は請求項2に記載のプログラム編集装置。   3. The program editing apparatus according to claim 1, wherein the nest structure display information generation unit generates nest structure display information by changing display attributes of adjacent nests at the same level. ネスト構造表示情報の全部又は一部を画面に表示させるか否かが、切り替えられることを特徴する請求項1〜請求項3のいずれかに記載のプログラム編集装置。   4. The program editing apparatus according to claim 1, wherein whether or not to display all or part of the nested structure display information on the screen is switched. ネスト文字列が選択されると、前記ネスト文字列と同一ネストに含まれる他のネスト文字列が強調表示されることを特徴とする請求項1〜請求項4のいずれかに記載のプログラム編集装置。   5. The program editing apparatus according to claim 1, wherein when a nested character string is selected, another nested character string included in the same nest as the nested character string is highlighted. . ネスト文字列が選択されると、前記ネスト文字列と同一ネストに含まれる他のネスト文字列へジャンプさせることを特徴とする請求項1〜請求項5のいずれかに記載のプログラム編集装置。   6. The program editing apparatus according to claim 1, wherein when a nested character string is selected, a jump is made to another nested character string included in the same nest as the nested character string. ネスト文字列が選択されると、前記ネスト文字列と同一ネストの開始文字列及び終了文字列が認識され、
画面のスクロールが、認識された同一ネストの開始文字列及び終了文字列の範囲に限定されることを特徴とする請求項1〜請求項6のいずれかに記載のプログラム編集装置。
When a nested character string is selected, a start character string and an end character string having the same nest as the nested character string are recognized,
The program editing apparatus according to any one of claims 1 to 6, wherein scrolling of the screen is limited to a range of recognized start character strings and end character strings of the same nest.
ネスト構造表示情報生成部は、同一ネストに含まれるネスト文字列の側部に表示される横線を縦線で連結してネスト構造表示情報を生成するとともに、画面の上下部の少なくとも一方で、上記文字列のネストレベルの識別子を前記縦線に対応付けて表示することを特徴とする請求項1〜請求項7のいずれかに記載のプログラム編集装置。   The nest structure display information generation unit generates the nest structure display information by connecting the horizontal lines displayed on the side of the nested character string included in the same nest with vertical lines, and at least one of the upper and lower portions of the screen 8. The program editing apparatus according to claim 1, wherein an identifier of a character string nesting level is displayed in association with the vertical line. ネスト文字列判定部により抽出されたネスト文字列と前記ネスト構造表示情報生成部により生成されたネスト構造表示情報を対応付けて合成表示された画面の内容が印刷されることを特徴とする請求項1〜請求項8のいずれかに記載のプログラム編集装置。   The content of a screen synthesized and displayed by associating the nested character string extracted by the nested character string determination unit with the nested structure display information generated by the nested structure display information generation unit is printed. The program editing apparatus according to claim 1.
JP2007254622A 2007-09-28 2007-09-28 Program editing device Expired - Fee Related JP5542300B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007254622A JP5542300B2 (en) 2007-09-28 2007-09-28 Program editing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007254622A JP5542300B2 (en) 2007-09-28 2007-09-28 Program editing device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2012234551A Division JP5376034B2 (en) 2012-10-24 2012-10-24 Program editing device

Publications (2)

Publication Number Publication Date
JP2009086922A true JP2009086922A (en) 2009-04-23
JP5542300B2 JP5542300B2 (en) 2014-07-09

Family

ID=40660287

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007254622A Expired - Fee Related JP5542300B2 (en) 2007-09-28 2007-09-28 Program editing device

Country Status (1)

Country Link
JP (1) JP5542300B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013025716A (en) * 2011-07-25 2013-02-04 Shinichi Ishida Device and program for supporting structure analysis of module
WO2013154055A1 (en) * 2012-04-09 2013-10-17 松崎 務 Structure analysis device and program
WO2015015622A1 (en) * 2013-08-01 2015-02-05 松崎 務 Apparatus and program

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6254337A (en) * 1985-09-02 1987-03-10 Nec Corp Specification displaying system for program hierarchy
JPH02140828A (en) * 1988-11-22 1990-05-30 Nec Corp Program display system sorted by hierarchy in graphic program editor
JPH04280360A (en) * 1991-03-08 1992-10-06 Nec Corp Editing device
JPH05197716A (en) * 1992-01-21 1993-08-06 Brother Ind Ltd Document processor
JPH08153103A (en) * 1994-11-29 1996-06-11 Sharp Corp Document processor
JPH09258972A (en) * 1996-03-25 1997-10-03 Meidensha Corp Editor

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6254337A (en) * 1985-09-02 1987-03-10 Nec Corp Specification displaying system for program hierarchy
JPH02140828A (en) * 1988-11-22 1990-05-30 Nec Corp Program display system sorted by hierarchy in graphic program editor
JPH04280360A (en) * 1991-03-08 1992-10-06 Nec Corp Editing device
JPH05197716A (en) * 1992-01-21 1993-08-06 Brother Ind Ltd Document processor
JPH08153103A (en) * 1994-11-29 1996-06-11 Sharp Corp Document processor
JPH09258972A (en) * 1996-03-25 1997-10-03 Meidensha Corp Editor

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
CSNA200002859001; 情報処理振興事業協会: Sigmaツール F77スタティックアナライザ説明書 第2版 第2版, 19910307, 第131-132頁, 富士通株式会社 *
JPN6012026553; 情報処理振興事業協会: Sigmaツール F77スタティックアナライザ説明書 第2版 第2版, 19910307, 第131-132頁, 富士通株式会社 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013025716A (en) * 2011-07-25 2013-02-04 Shinichi Ishida Device and program for supporting structure analysis of module
US9128807B2 (en) 2011-07-25 2015-09-08 Shinichi Ishida Module structural analysis supporting device and program
WO2013154055A1 (en) * 2012-04-09 2013-10-17 松崎 務 Structure analysis device and program
JP2013218507A (en) * 2012-04-09 2013-10-24 Shinichi Ishida Structure analyzer and program
US9286062B2 (en) 2012-04-09 2016-03-15 I-System Co., Ltd. Structure analysis device and program
WO2015015622A1 (en) * 2013-08-01 2015-02-05 松崎 務 Apparatus and program
KR20160027124A (en) * 2013-08-01 2016-03-09 신이치 이시다 Apparatus and program
JP6008456B2 (en) * 2013-08-01 2016-10-19 石田 伸一 Apparatus and program
KR101705254B1 (en) 2013-08-01 2017-02-09 신이치 이시다 Apparatus and program
US9792197B2 (en) 2013-08-01 2017-10-17 Shinichi Ishida Apparatus and program

Also Published As

Publication number Publication date
JP5542300B2 (en) 2014-07-09

Similar Documents

Publication Publication Date Title
CA2150765C (en) Method and operating system for separately manipulating the architecture and content of a document
CN102779118B (en) Paper typesetting method and system
US9940317B2 (en) Sentence parsing correction system
JP5723472B1 (en) Data link generation device, data link generation method, data link structure, and electronic file
JP5542300B2 (en) Program editing device
JP5376034B2 (en) Program editing device
JP2007079946A (en) Display device and method of displaying translation result
JP2008146637A (en) Domain transformation languages
JP6394516B2 (en) Development support program, recording medium, development support method, and development support apparatus
JP2007280092A (en) Picture data preparation method
JP2002041111A (en) Programming supporting device
KR20050061620A (en) Numerical formula editor for word processor and editing method thereof
Robbins vi and Vim Editors Pocket Reference: Support for every text editing task
JP2006285754A (en) Program source code automatic generation system
JPS63109578A (en) Processing system for logic diagram outline display
JPS6383861A (en) Automatic processing system for numerical formula
JP2002229613A (en) Ladder diagram preparing method and device, ladder preparation supporting program and recording medium for recording the same
Meyer Smashing CSS: professional techniques for modern layout
Robbins VI editor pocket reference
Nishikimi et al. When fonts do not know everything: an extensible system for multilingual text rendering
Contributors LaTeX
CN113609821A (en) Regular expression conversion method, device, equipment and storage medium
JPS63109534A (en) Cursor display control system for logic diagram generation processor
JP2004021831A (en) Display device, drawing device for display device, drawing program, and recording medium recording the program
JP2006127270A (en) Machine translation device and machine translation program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100823

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120516

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120529

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120720

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120807

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121024

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20121031

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20121122

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140507

R150 Certificate of patent or registration of utility model

Ref document number: 5542300

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees