Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP2540940B2 - Multi-window editing management method - Google Patents
[go: Go Back, main page]

JP2540940B2 - Multi-window editing management method - Google Patents

Multi-window editing management method

Info

Publication number
JP2540940B2
JP2540940B2 JP1096926A JP9692689A JP2540940B2 JP 2540940 B2 JP2540940 B2 JP 2540940B2 JP 1096926 A JP1096926 A JP 1096926A JP 9692689 A JP9692689 A JP 9692689A JP 2540940 B2 JP2540940 B2 JP 2540940B2
Authority
JP
Japan
Prior art keywords
window
routine
data
display
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP1096926A
Other languages
Japanese (ja)
Other versions
JPH02275524A (en
Inventor
康 杉村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NTT Inc
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP1096926A priority Critical patent/JP2540940B2/en
Publication of JPH02275524A publication Critical patent/JPH02275524A/en
Application granted granted Critical
Publication of JP2540940B2 publication Critical patent/JP2540940B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Digital Computer Display Output (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、同一のファイル中の任意の場所に位置付け
ることが可能な複数のマルチウィンドウを有する情報処
理装置におけるマルチウィンドウ編集管理方法に関す
る。
The present invention relates to a multi-window edit management method in an information processing apparatus having a plurality of multi-windows that can be positioned at arbitrary places in the same file.

〔従来の技術〕[Conventional technology]

ファイルの内容を編集する場合、そのファイルのある
1個所を参照・更新しながら、それと同一のファイルの
内容の別の個所を参照・更新する必要がある場合があ
る。例えば、ファイルの内容がソース情報の場合、プロ
グラムの開発において、プログラムの変数を参照しなが
ら、別の個所にある同一プログラムの手続き部分を更新
したり、あるいは、同一のプログラムの別の変数を更新
したりする場合がある。また、オブジェクト情報の場
合、オブジェクトの値を参照しながら、同一のファイル
の別の個所にあるオブジェクトの値を更新したりする場
合がある。
When editing the contents of a file, it may be necessary to refer to / update one location of the file while referring to / update another location of the same file content. For example, if the contents of the file are source information, in the development of the program, while referring to the variables of the program, update the procedure part of the same program in another place, or update another variable of the same program. There is a case to do. In the case of object information, the value of an object in another place of the same file may be updated while referring to the value of the object.

この場合、同一のファイルの複数個の個所を、同時に
複数のウィンドウで編集できないと、オペレータ、すな
わち、そのファイルの編集操作をする人は、1つの個所
の情報を自分の頭に記憶するか、または、1つの個所の
情報を筆記等により記録する等の処置を行った後、同一
ファイルの別の個所に、スクロール等により画面を移動
して、上述の記憶または記録に従って、更新を行う必要
がある。このような記憶または記録の作業と画面の移動
の操作は、何度も繰り返し行う必要があり、これらは編
集作業の能率の大幅な低下をもたらすという問題があ
る。
In this case, if multiple points in the same file cannot be edited in multiple windows at the same time, the operator, that is, the person who edits the file, stores the information of one point in his / her head, Alternatively, it is necessary to move the screen to another location in the same file by scrolling after performing a procedure such as recording the information of one location by writing or the like, and update the information according to the above-mentioned storage or recording. is there. The operation of storing or recording and the operation of moving the screen have to be repeated many times, which causes a problem that the efficiency of the editing work is significantly reduced.

〔発明が解決しようとする課題〕[Problems to be Solved by the Invention]

上記問題の解消に関しては、例えば、特開昭60−1285
73号公報に開示された技術が知られている。この技術
は、ウィンドウ表示ルーチンをテキスト編集ルーチンと
独立した構成とし、ウィンドウ表示ルーチンはウィンド
ウの数分の個数用意して、1時点においては、その時点
で使用するウィンドウのウィンドウ表示ルーチンとテキ
スト編集ルーチンとを結合し、その他のウィンドウ表示
ルーチンとテキスト編集ルーチンとの間を切り離す方式
であり、同一テキストの異なる複数個所を編集可能では
あるが、以下の如き問題がある。
Regarding the solution of the above problem, for example, Japanese Patent Laid-Open No. 60-1285.
The technique disclosed in Japanese Patent Publication No. 73 is known. In this technique, the window display routine is configured independently of the text editing routine, and the window display routine prepares the same number as the number of windows. At one time, the window display routine and the text editing routine of the window used at that time are prepared. This is a method in which the window display routine and the text editing routine are separated from each other by connecting and, and it is possible to edit a plurality of different places in the same text, but there are the following problems.

すなわち、 (1)使用するウィンドウの個数分のウィンドウ表示ル
ーチンが必要であり、複数のウィンドウ表示ルーチンを
格納するために、多量のメモリを必要とする。
That is, (1) window display routines corresponding to the number of windows to be used are required, and a large amount of memory is required to store a plurality of window display routines.

(2)ある時点で結合されているウィンドウのウィンド
ウ表示ルーチン以外のウィンドウ表示ルーチンが、テキ
スト編集ルーチンから切り離されてしまうため、複数の
ウィンドウの間で部分的に表示個所が重複している場合
で、その個所をテキスト編集ルーチンで変更した場合、
テキスト編集ルーチンから切り離されているウィンドウ
表示ルーチンが表示しているウィンドウの表示内容は古
いテキスト部分を表示したままとなり、正しいテキスト
を表示しないことになる。
(2) When the window display routines other than the window display routines of the windows that are combined at a certain point are separated from the text editing routine, the display locations may partially overlap between multiple windows. , If you change that point in the text editing routine,
The display contents of the window displayed by the window display routine separated from the text editing routine remain the old text portion, and the correct text is not displayed.

このため、上記技術においては、次の(a)(b)の
うちのいずれかを行う必要がある。
Therefore, in the above technique, it is necessary to perform any of the following (a) and (b).

(a)各ウィンドウで表示するテキスト部分を、常に、
互いに重複しないように制御する。
(A) The text part displayed in each window is always
Control so that they do not overlap each other.

(b)各ウィンドウで表示するテキスト部分の重複を許
すが、重複した部分については、そのとき編集対象とし
ているウィンドウ以外は、表示内容を保証しない。
(B) Although the text portion displayed in each window can be duplicated, the display content of the duplicated portion is not guaranteed except for the window that is the editing target at that time.

しかし、上記(a)の場合には、複数のウィンドウが
表示している部分がファイル内で非常に接近した位置で
ある場合にも、必ず、オペレータによるウィンドウ切り
換え操作を必要とすることにより、そのウィンドウ切り
換え操作等による編集作業能率の低下が避けられないと
いう問題がある。また、上記(b)の場合には、オペレ
ータが、切り離されているどのウィンドウが正しいテキ
ストを表示していないのかを、自分の頭に記憶しておく
ことが必要になり、これは、編集作業の能率の大幅な低
下をもたらすという問題がある。
However, in the case of the above (a), even when the portions displayed by the plurality of windows are very close to each other in the file, the window switching operation by the operator is always required, There is a problem that the reduction of editing work efficiency due to window switching operation is unavoidable. Further, in the case of (b) above, it is necessary for the operator to remember in his / her mind which window that has been cut off is not displaying the correct text. There is a problem that it causes a significant decrease in the efficiency of.

本発明は上記事情に鑑みてなされたもので、その目的
とするところは、従来の技術における上述の如き問題を
解消し、同一のファイル中の任意の場所に位置付けるこ
とが可能な複数のウィンドウを有するマルチウィンドウ
編集を実現するとともに、複数のウィンドウが表示する
同一ファイル内のそれぞれの位置(範囲)の重複を互い
に許容し、かつ、各ウィンドウが表示している内容が編
集結果の最新状態に一致するようにしたマルチウィンド
ウ編集管理方法を提供することにある。また、本発明の
他の目的は、上述の如き方式を、ウィンドウ数の増加に
伴なう必要メモリ量の増大を押さえて実現可能とした、
マルチウィンドウ編集管理方法を提供することにある。
The present invention has been made in view of the above circumstances, and an object of the present invention is to solve the above-mentioned problems in the conventional technique and to provide a plurality of windows that can be positioned at arbitrary positions in the same file. In addition to realizing multi-window editing, it also allows overlapping of each position (range) in the same file displayed by multiple windows, and the contents displayed in each window match the latest state of the edited result. It is to provide a multi-window edit management method adapted to do so. Another object of the present invention is to realize the above-mentioned method by suppressing an increase in the required memory amount accompanying the increase in the number of windows.
It is to provide a multi-window edit management method.

〔課題を解決するための手段〕[Means for solving the problem]

本発明の上述の目的は、同一のファイル中の任意の場
所の内容の表示・変更・追加・削除等を行うことが可能
な複数のウィンドウと該複数のウィンドウの表示装置
(20)への表示範囲等の情報を共通に管理するための制
御テーブル(40)とコマンド等解析ルーチン(13)と一
つのデータ編集ルーチン(12)と一つのウィンドウ表示
ルーチン(11)とを具備する情報処理装置(10)におけ
るマルチウィンドウ編集処理方法であって、ファイル内
のデータを更新する場合、入力されたコマンド等を前記
コマンド等解析ルーチン(13)により解析し、解析結果
情報をデータ編集ルーチン(12)に通知し、前記データ
編集ルーチン(12)は、前記コマンド等解析ルーチン
(13)から通知された情報に基づきファイル内のデータ
を更新するとともに、前記制御テーブル(40)内に格納
されている表示範囲を自動的にサーチして更新されたデ
ータを含むウィンドウを決定し、決定したウィンドウの
情報を前記ウィンドウ表示ルーチン(11)に通知し、前
記ウィンドウ表示ルーチン(11)は、前記データ編集ル
ーチン(12)から通知されたウィンドウの情報に基づい
て更新後のウィンドウのデータを表示するようにしたマ
ルチウィンドウ編集管理方法によって達成される。
The above-mentioned object of the present invention is to display a plurality of windows capable of displaying / changing / adding / deleting contents at any place in the same file, and displaying the plurality of windows on a display device (20). An information processing apparatus including a control table (40) for common management of information such as ranges, a command etc. analysis routine (13), one data editing routine (12) and one window display routine (11) ( In the multi-window edit processing method in 10), when updating the data in the file, the input command etc. is analyzed by the command etc. analysis routine (13) and the analysis result information is sent to the data edit routine (12). The data edit routine (12) updates the data in the file based on the information notified from the command etc. analysis routine (13), and the control The display range stored in the table (40) is automatically searched to determine the window containing the updated data, the information of the determined window is notified to the window display routine (11), and the window display is performed. The routine (11) is achieved by a multi-window edit management method for displaying updated window data based on the window information notified from the data editing routine (12).

〔作用〕[Action]

本発明に係るマルチウィンドウ編集管理方法において
は、複数のウィンドウの表示装置への表示範囲等の情報
を管理する制御テーブルを持ち、表示内容に対応するデ
ータの変更を行った際には、同一ファイルの内容を表示
している他のウィンドウの表示が重複する該当部分を、
上記制御テーブルの内容を参照して更新するようにした
ことにより、各ウィンドウが表示している内容を、常
に、編集結果の最新状態に一致するようにすることが可
能になるとともに、ウィンドウ表示手段を単一のプログ
ラムルーチン(ウィンドウ表示ルーチン)で構成するこ
とにより、ウィンドウ数の増加に伴なう必要メモリ量の
増大を防止することができる。
In the multi-window edit management method according to the present invention, the multi-window edit management method has a control table for managing information such as display ranges of a plurality of windows on the display device, and when the data corresponding to the display content is changed, the same file The relevant part where the display of other windows displaying the contents of is duplicated,
Since the contents of each window are updated by referring to the contents of the control table, the contents displayed in each window can be always matched with the latest state of the edited result. Is configured by a single program routine (window display routine), it is possible to prevent an increase in the required memory amount due to an increase in the number of windows.

〔実施例〕〔Example〕

以下、本発明の実施例を図面に基づいて詳細に説明す
る。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

第1図は、本発明のマルチウィンドウ編集管理方法を
実行するための情報処理システムの一実施例の概略構成
を示すブロック図である。図において、10は本情報処理
システムの主要部である情報処理装置を示しており、11
はウィンドウ内のデータ等を表示装置20に表示する1個
のウィンドウ表示ルーチン、12はファイル内のデータの
編集(参照・更新・変更・追加・削除等)を行う1個の
データ編集ルーチン、13はキーボード等の入力装置30か
ら入力されるすべてのコマンドおよびデータの入力を制
御する1個のコマンド等解析ルーチンを示している。
FIG. 1 is a block diagram showing a schematic configuration of an embodiment of an information processing system for executing the multi-window edit management method of the present invention. In the figure, 10 indicates an information processing device which is a main part of the information processing system, and 11
Is one window display routine for displaying the data in the window on the display device 20, 12 is one data editing routine for editing the data in the file (reference / update / change / addition / deletion, etc.), 13 Shows one command analysis routine for controlling the input of all commands and data input from the input device 30 such as a keyboard.

なお、ウィンドウ表示ルーチンによるデータ等の表示
装置20への表示は、一般に、表示装置20へのデータの転
送、または、表示装置20のメモリへのデータの書込みに
よって行われ、その表示内容は表示装置20の同一位置へ
の新たな表示をウィンドウ表示ルーチンが指示しない限
り、表示装置20上で保持される。上述の表示装置20と入
力装置30(合わせて「入出力装置」という)は、通常、
至近距離に配置される。また、情報処理装置10と上記入
出力装置との距離が離れている場合には、図の●印の位
置に、通信回線,中継用情報処理装置等が挿入される場
合もある。
The display of data and the like on the display device 20 by the window display routine is generally performed by transferring the data to the display device 20 or writing the data to the memory of the display device 20, and the display content is the display device. It is retained on the display device 20 unless the window display routine directs a new display of 20 at the same position. The display device 20 and the input device 30 (collectively referred to as “input / output device”) described above are usually
It is placed at a close range. Further, when the information processing device 10 and the input / output device are separated from each other, a communication line, a relay information processing device, or the like may be inserted at the position indicated by ● in the figure.

上述の如く構成される本実施例の情報処理システムの
動作の概略について、以下説明する。
An outline of the operation of the information processing system of this embodiment configured as described above will be described below.

前記コマンド等解析ルーチン13は、オペレータが入力
装置30を使用して投入したコマンドおよびデータを解析
し、その解析結果に基づき、必要に応じて、データ編集
ルーチン12等を呼出し、データ編集ルーチン12に、ファ
イル内のデータのデータ編集用領域14への読込み,デー
タ編集用領域14内のデータ更新,データ編集用領域14か
らファイルへの書込み等の処理の依頼を行い、また、以
降に使用するウィンドウ情報の通知等を行う。
The command analysis routine 13 analyzes the command and data input by the operator using the input device 30, and based on the analysis result, calls the data edit routine 12 or the like as necessary, and the data edit routine 12 is called. , Requests processing such as reading the data in the file to the data editing area 14, updating the data in the data editing area 14, writing to the file from the data editing area 14, and the window to be used thereafter. Information is notified.

データ編集ルーチン12は、上述のコマンド解析ルーチ
ン13から依頼された処理を行うとともに、データ編集用
領域14内のデータを更新した場合には、ウィンドウ表示
ルーチン11を適宜呼出して、変更したデータに対応する
表示装置20上のデータの表示を変更する。このウィンド
ウ表示ルーチン11の呼出しは、データ編集ルーチン12が
そのときに編集対象としているウィンドウ、すなわち、
第1図のウィンドウ1,同2,同3または同4のうちのいず
れか1つに対して行われるだけでなく、データ編集ルー
チン12が更新したデータ編集用領域14内のデータに関係
する全ウィンドウ数の回数分行われる。なお、ウィンド
ウ表示ルーチン11の1回の呼出しで表示される範囲は、
1つのウィンドウ内に限られる。例えば、ウィンドウ1
に対する表示である場合、第1図中ので示される点線
の左端とで示される点線の左端を一対の対角とする四
角の範囲内に対する表示である。同様に、ウィンドウ2,
同3,同4に対する表示である場合は、それぞれ、;
;の点線の左端を対角とする四角の範囲内に対
する表示である。
The data edit routine 12 performs the processing requested by the command analysis routine 13 described above, and when the data in the data edit area 14 is updated, the window display routine 11 is called as appropriate to handle the changed data. The display of data on the display device 20 is changed. This window display routine 11 is called by the window that the data editing routine 12 is currently editing, that is,
All of the data related to the data in the data editing area 14 updated by the data editing routine 12 as well as being executed for any one of the windows 1, 2, 3, and 4 in FIG. It is performed as many times as the number of windows. The range displayed by one call of the window display routine 11 is
Limited to one window. For example, window 1
1 is a display within a square range in which the left end of the dotted line indicated by and the left end of the dotted line indicated by are a pair of diagonals. Similarly, window 2,
If the display is for 3 and 4, respectively,
Is a display within the range of a square with the left end of the dotted line of;

上述の如く、データ編集ルーチン12が、ウィンドウ表
示ルーチン11を、1つのデータの更新に対して複数回呼
出す場合、どのウィンドウに対してウィンドウ表示ルー
チン11を呼出すかは、後述する如く、制御テーブル内に
格納されている表示範囲をデータ編集ルーチン12がサー
チすることによって自動的に決定し、コマンド等解析ル
ーチン13や、入力装置30を操作するオペレータ等は、介
在する必要はない。なお、第1図中ので示される点線
が示す如く、データ編集用領域14の任意の部分への書込
み・読込みは、データ編集ルーチン12のみが行う。ま
た、制御テーブル内に格納されている表示範囲は、オペ
レータが入力装置30を使用して投入したコマンド等に従
って、データ編集ルーチン12が、コマンド等解析ルーチ
ン13から呼出されたとき、必要に応じて、データ編集ル
ーチン12が変更するものである。
As described above, when the data edit routine 12 calls the window display routine 11 a plurality of times for updating one data, the window to which the window display routine 11 is called is determined in the control table as described later. The display range stored in (1) is automatically determined by the data editing routine 12 searching, and the command etc. analyzing routine 13 and the operator operating the input device 30 need not intervene. As indicated by the dotted line indicated by in FIG. 1, only the data editing routine 12 writes / reads to / from an arbitrary portion of the data editing area 14. Further, the display range stored in the control table is, if necessary, when the data editing routine 12 is called from the command etc. analysis routine 13 in accordance with the command etc. inputted by the operator using the input device 30. The data edit routine 12 is to be changed.

ウィンドウ表示ルーチン11は、データ編集ルーチン12
等により呼出された場合、データ等を表示装置20に表示
する。その場合、ウィンドウ表示ルーチン11は、表示装
置20にウィンドウの物理的な構成を示す情報を呼出し時
に受取り、それに従って表示を行うので、どのウィンド
ウへの表示であるかを、直接意識しない。データ編集ル
ーチン12等からレジスタまたはメモリ等を介して渡され
た複数のデータ等(ウィンドウ情報)に従って、所定の
処理を行うだけである。従って、表示ウィンドウの相異
は、データ編集ルーチン12等から渡されるウィンドウ情
報のみにあり、ウィンドウ表示ルーチン11は、1つしか
必要としない。すなわち、ウィンドウの数が増えると、
データ編集ルーチン12およびコマンド等解析ルーチンが
管理する前述の制御テーブル等のデータの数が増えるだ
けである。これについては、以下に詳述する。
The window display routine 11 is the data editing routine 12
When called by etc., the data etc. are displayed on the display device 20. In that case, the window display routine 11 receives the information indicating the physical configuration of the window on the display device 20 at the time of calling and displays the information according to the information, and therefore does not directly recognize which window the display is to be performed. Only a predetermined process is performed according to a plurality of data (window information) passed from the data editing routine 12 or the like via a register or a memory. Therefore, the display window is different only in the window information passed from the data editing routine 12 and the like, and only one window display routine 11 is required. That is, as the number of windows increases,
Only the number of data such as the above-mentioned control table managed by the data editing routine 12 and the command etc. analysis routine increases. This will be described in detail below.

第2図に、上記制御テーブルの構成例を示す。なお、
図では、説明を簡単にするために、1つだけを示してい
る。本実施例に示す制御テーブル40は、マルチウィンド
ウ編集対象のファイル毎に存在する編集対象ファイル管
理制御テーブル内の、(a)対象ファイル名,(b)当
該ファイルを同時に参照・更新するウィンドウ数,
(c)ウィンドウ毎情報等により構成されている。ま
た、上記(c)ウィンドウ毎情報内には、第2図中の
〜に示される如く、上述の(b)ウィンドウの数分の
ウィンドウ毎の情報が存在し、各ウィンドウ毎情報は、
(d)表示装置上の当該ウィンドウの先頭行番号,
(e)表示装置上の当該ウィンドウの最終行番号,
(f)表示装置上の当該ウィンドウの先頭桁番号,
(g)表示装置上の当該ウィンドウの最終桁番号,
(h)当該ウィンドウの先頭行が表示している表示中デ
ータ編集用領域内の先頭行番号,(i)当該ウィンドウ
の最終行が表示している表示中データ編集用領域内の最
終行番号,(j)当該ウィンドウのカーソルの表示装置
上の行番号,(k)当該ウィンドウのカーソル表示装置
上の桁番号,(l)当該ウィンドウのカーソルのデータ
編集用領域上の行番号,(m)当該ウィンドウのカーソ
ルのデータ編集用領域上の桁番号等から構成されてい
る。上述の(h)当該ウィンドウの先頭行が表示してい
る表示中データ編集用領域内の先頭行番号から、(i)
当該ウィンドウの最終行が表示している表示中データ編
集用領域内の最終行番号までの範囲を、表示範囲とい
う。
FIG. 2 shows a configuration example of the control table. In addition,
In the figure, only one is shown to simplify the description. The control table 40 according to the present embodiment is (a) a target file name in the edit target file management control table existing for each multi-window edit target file, (b) the number of windows that simultaneously reference / update the file,
(C) Consists of information for each window. Further, in the (c) window information, as shown in (1) to (2) of FIG. 2, there is information for each window corresponding to the number of (b) windows described above.
(D) Top line number of the window on the display device,
(E) Last line number of the window on the display device,
(F) First digit number of the window on the display device,
(G) Last digit number of the window on the display device,
(H) The first line number in the displayed data editing area in which the first line of the window is displayed, (i) The last line number in the displayed data editing area in which the last line of the window is displayed, (J) Line number on the cursor display device of the window, (k) Column number on the cursor display device of the window, (l) Line number on the data editing area of the cursor of the window, (m) It consists of the digit number on the data editing area of the cursor of the window. From (h) the top line number in the displayed data editing area in which the top line of the window is displayed, (i)
The range up to the last line number in the displayed data editing area displayed by the last line of the window is called the display range.

また、第2図中の、データ編集用領域内のデータは、
(ア)そのデータが、行の区切りを示す情報で分割され
た複数の行から構成されている、または、(イ)一定の
長さの複数行から構成されている等により、行という単
位に分割して管理する。
Also, the data in the data editing area in FIG.
(A) The data is made up of multiple lines divided by information indicating line breaks, or (b) it is made up of multiple lines of a fixed length. Manage by dividing.

また、第2図に示す如く、現時点で、「どの」ファイ
ルの「どの」ウィンドウが編集対象となっているかを示
す、(y)現時点被選択ファイル名アドレス格納域、お
よび、(z)現時点被選択ウィンドウアドレス格納域が
1個ずつ存在し、複数個ある編集対象ファイル管理制御
テーブルのいずれか1つの上記(a)対象ファイル名の
情報、および、その(a)対象ファイル名の直後にある
複数の(d)表示装置上の当該ウィンドウの先頭行番号
のいずれか1つのアドレスを、それぞれ、格納してい
る。
In addition, as shown in FIG. 2, (y) presently selected file name address storage area and (z) presently selected file, which shows which “window” of “what” file is currently being edited. There is one selection window address storage area, and information of the above (a) target file name in any one of the plurality of edit target file management control tables and a plurality of files immediately after the (a) target file name. (D) One of the addresses of the first line number of the window on the display device is stored.

第2図中の、(b)対象ファイルを同時に参照・更新
するウィンドウ数と、〜等のウィンドウの情報の数
は、常時、同一であり、オペレータが入力装置30を介し
て投入したコマンドに従って、コマンド解析ルーチン13
が、必要に応じて更新する。上述の(a),(d),
(e),(f),(g),(y),(z)の情報につい
ても、同様である。
In FIG. 2, (b) the number of windows for simultaneously referencing / updating the target file and the number of windows information such as to are always the same, and according to the command input by the operator via the input device 30, Command analysis routine 13
Will be updated if necessary. The above (a), (d),
The same applies to the information of (e), (f), (g), (y), and (z).

一方、上述の(h),(i),(j),(k),
(l)および(m)の情報は、オペレータが入力装置30
を介して投入したコマンドに従って、データ編集ルーチ
ン12がコマンド等解析ルーチン13から呼出されたとき、
必要に応じて、データ編集ルーチン12が変更する。な
お、第2図に示した制御テーブル40の内容は、それらの
処理を行うための時間を短縮するために、適宜、レジス
タ等にロードして使用されるものである。
On the other hand, the above (h), (i), (j), (k),
The operator inputs the information of (l) and (m) with the input device 30.
When the data editing routine 12 is called from the command etc. analysis routine 13 according to the command input via
The data edit routine 12 changes as necessary. The contents of the control table 40 shown in FIG. 2 are appropriately loaded into a register or the like and used in order to shorten the time for performing those processes.

第1図に示したウィンドウ表示ルーチン11は、データ
編集ルーチン12等から呼出された場合に、「呼出し元が
指定したウィンドウ毎情報」内に存在する上記(d)〜
(m)、および、呼出し元が指定した処理対象の上記
(a)等の情報の参照を行って、データのウィンドウへ
の表示等を行う。
When the window display routine 11 shown in FIG. 1 is called from the data edit routine 12 or the like, the window display routine 11 exists in the "information for each window designated by the calling source" (d) to
(M) and the information such as the above (a) of the processing target designated by the caller is referred to, and the data is displayed in the window.

第1図の、データ編集ルーチン12は、コマンド等解析
ルーチン13から呼出されてデータ編集用領域の内容の更
新を行う場合は、前記(z)現時点被選択ウィンドウア
ドレス格納域が指すウィンドウのウィンドウ毎情報(第
2図の〜のいずれか)に基づき、データ編集用領域
の内容を更新し、ウィンドウ表示ルーチン11を呼出し
て、現在編集中のウィンドウ情報の表示装置への表示を
行う。例えば、第2図においては、のウィンドウ1の
情報に基づき、データ編集用領域14の斜線を施した部分
14aを更新し、のウィンドウ1の情報の先頭の(d)
表示装置上の当該ウィンドウの先頭行番号のアドレス等
を指定して、ウィンドウ表示ルーチン11を呼出して、現
在編集中のウィンドウ情報の表示装置への表示を行う
が、それと同時に、更新されたデータ編集用領域の内容
の行番号等が、前述の(z)現時点被選択ウィンドウア
ドレス格納域が指すウィンドウ情報以外のウィンドウ、
ここでは、ウィンドウ2,同3,同4のウィンドウ情報(第
2図の,,のいずれか)の表示範囲に含まれてい
ないかを、前記(y)現時点被選択ファイル名アドレス
が指す制御テーブル内にあるすべてのウィンドウ(ここ
ではウィンドウ1を除くすべて)のウィンドウ毎情報内
の前記(h)と(i)の情報を参照することにより、チ
ェックを行い、上に示した「現時点被選択ウィンドウ」
以外のウィンドウの表示範囲域に含まれているものがあ
れば、、該ウィンドウのウィンドウ毎情報のアドレス等
を指定して、ウィンドウ表示ルーチンを適宜、呼出す。
これにより、更新されたデータ編集用領域の内容に、重
複しているすべてのウィンドウの当該行等の表示内容を
変更する。
When the data editing routine 12 shown in FIG. 1 is called from the command analysis routine 13 to update the contents of the data editing area, each window of the window pointed to by the (z) currently selected window address storage area is The contents of the data editing area are updated based on the information (any one of FIG. 2), and the window display routine 11 is called to display the window information currently being edited on the display device. For example, in FIG. 2, the shaded portion of the data editing area 14 is based on the information in the window 1 of
14a is updated, and (d) at the beginning of the information in window 1 of
The window display routine 11 is called by specifying the address of the first line number of the window on the display device, and the window information currently being edited is displayed on the display device. At the same time, the updated data edit is performed. The line number of the contents of the working area is a window other than the window information pointed to by the (z) currently selected window address storage area,
Here, the control table pointed to by (y) the currently selected file name address indicates whether or not it is included in the display range of the window information of window 2, window 3 or window 4 (any of FIG. 2). A check is made by referring to the information of (h) and (i) in the window-by-window information of all the windows inside (all except window 1 here), and the "currently selected window" shown above is checked. "
If any window is included in the display range area of any other window, the window display routine is appropriately called by designating the address of the window information of the window.
As a result, the display contents of the relevant line of all the overlapping windows are changed to the updated contents of the data editing area.

なお、上述の説明中の「呼出す」という語は、タスク
またはプロセス等への処理依頼の形態をとることによ
り、同時に複数の呼出しを並行して実行させる実現形態
を含むものである。
The term “call” in the above description includes an implementation mode in which a plurality of calls are simultaneously executed in parallel by taking the form of a processing request to a task or a process.

第3図に、上述の並行実行を伴なわない場合のデータ
更新時の各プログラムの処理フローの例を示す。
FIG. 3 shows an example of the processing flow of each program at the time of updating data when the above-mentioned parallel execution is not involved.

今、既に、第2図に示したデータ編集用領域14に、フ
ァイル内容の読込みが完了しており、4つのウィンドウ
が生成されているものとし、また、コマンド等解析ルー
チン13が、次のコマンドを待っていることを前提とす
る。この状態で、オペレータが、入力装置30から、デー
タ更新のコマンドを投入すると、コマンド等解析ルーチ
ン13は、そのコマンドを受取って(ステップ52)、その
コマンドがデータ更新のコマンドであるか否かを判定す
る(ステップ53)。ここでは、受取ったコマンドがデー
タ更新のコマンドであるから、ステップ54に進み、更新
データの到着を待ち合せる。
Now, it is assumed that the file contents have already been read into the data editing area 14 shown in FIG. 2 and four windows have been created. It is assumed that you are waiting for. In this state, when the operator inputs a data update command from the input device 30, the command analysis routine 13 receives the command (step 52) and checks whether the command is a data update command. The determination is made (step 53). Here, since the received command is a data update command, the process proceeds to step 54 and waits for the arrival of update data.

オペレータが更新データを投入すると、コマンド等解
析ルーチン13は、そのコマンドを受取って(ステップ52
〜55)、ステップ56へ進み、ここで、データ編集ルーチ
ン12にデータの更新を依頼するため、データ編集ルーチ
ン12を呼出す。
When the operator inputs the update data, the command etc. analysis routine 13 receives the command (step 52).
55), the process proceeds to step 56, where the data edit routine 12 is called in order to request the data edit routine 12 to update the data.

データ編集ルーチン12は、呼出されると、ステップ58
で、何の処理依頼であるかを判定する。この場合はデー
タ更新であるので、ステップ59に進み、前述の(第2図
参照)(z)現時点被選択ウィンドウアドレスの格納域
から、現時点の編集対象ウィンドウ1のアドレス情報を
得て、該情報と、呼出されたときに渡されたデータとに
基づき、データ編集領域14内の当該データを更新する。
その後、ステップ60に進み、更新された結果を表示装置
20に表示するために、現時点被選択ウィンドウアドレス
が示すウィンドウ情報のアドレス等を指定して、更新デ
ータの表示を依頼するために、ウィンドウ表示ルーチン
11を呼出す。
When the data edit routine 12 is called, step 58
Then, the processing request is determined. In this case, since the data is updated, the process proceeds to step 59, and the address information of the edit target window 1 at the current time is obtained from the storage area of the (z) current time selected window address described above (see FIG. 2), and the information is updated. And the data passed when it is called, the data in the data editing area 14 is updated.
After that, go to step 60 to display the updated result on the display device.
To display the update data, specify the window information address indicated by the currently selected window address, etc. to display at 20, and request the display of update data.
Call 11.

ウィンドウ表示ルーチン11は、呼出されると、ステッ
プ70で、何の処理依頼であるかを判定し、この場合は更
新データの表示依頼であるので、データ編集ルーチン12
から渡されたウィンドウ情報等に基づき、データを、ウ
ィンドウ1に表示して(ステップ71)、データ編集ルー
チン12へリターンする。データ編集ルーチン12は、ステ
ップ60で、ウィンドウ表示ルーチン11の処理が終了する
と、ステップ61に進み、ウィンドウ数(前述の(b))
をチェックする。この場合、ウィンドウ数は4であるか
ら、ステップ62に進み、ここで、全ウィンドウのサーチ
を行うための初期設定処理として、前述の(y)現時点
被選択ファイル名アドレス格納域が指す編集対象ファイ
ル管理制御テーブル40内にある、先頭のウィンドウ情報
のアドレスを得て、そのアドレスをアドレスAというワ
ークエリアにセットする(ステップ62)。この場合、ア
ドレスAは、ウィンドウ1のウィンドウ情報のアドレス
となる。なお、以下の説明で、「アドレスA」という場
合には、このワークエリアの内容を意味するものとす
る。
When called, the window display routine 11 determines in step 70 what the processing request is, and in this case, the update data display request.
The data is displayed in the window 1 on the basis of the window information etc. passed from (step 71) and the process returns to the data editing routine 12. When the window display routine 11 finishes processing in step 60, the data editing routine 12 proceeds to step 61, in which the number of windows ((b) above)
Check. In this case, since the number of windows is 4, the process proceeds to step 62, where the file to be edited indicated by the above-mentioned (y) current selected file name address storage area is set as the initial setting process for searching all windows. The address of the top window information in the management control table 40 is obtained, and that address is set in the work area called address A (step 62). In this case, the address A is the address of the window information of window 1. In the following description, “address A” means the contents of this work area.

その後、表示範囲が重複するウィンドウを探すため
に、ステップ63に進み、現時点被選択ウィンドウ以外に
対する重複を選択するための判断を行い、ここでは、ア
ドレスAは、現時点被選択ウィンドウアドレスと一致す
るので、ステップ66に進む。ステップ66は、全ウィンド
ウの表示範囲をチェックしたかの判断を行うものであ
り、この場合には、まだ、ウィンドウ1の処理であるの
で、ステップ67に進み、ステップ67では、次のウィンド
ウのチェックを行うために、アドレスAに、次のウィン
ドウ情報のアドレスを設定する。ここで、アドレスA
は、ウィンドウ2のウィンドウ情報のアドレスとなる。
After that, in order to search for a window whose display range overlaps, the process proceeds to step 63, and a determination is made to select a duplication for a window other than the currently selected window. Here, the address A matches the currently selected window address. , Go to step 66. In step 66, it is judged whether or not the display ranges of all windows have been checked. In this case, since it is the processing of window 1, the process proceeds to step 67, and in step 67, the next window is checked. To do so, the address of the next window information is set in the address A. Where address A
Is the address of the window information of window 2.

その後、再びステップ63に進むが、アドレスAは、現
時点被選択ウィンドウアドレスとは異なるので、ステッ
プ64に進み、ステップ64で、アドレスAが示すウィンド
ウ(この場合、ウィンドウ2)のウィンドウ情報内の表
示範囲(第2図のウィンドウ2の(h)と(i)の間)
に更新データが含まれるかどうかを判定する。含まれて
いる場合はステップ65に進み、アドレスA等を指定し
て、更新データの表示をウィンドウ表示ルーチン11に依
頼するために、ウィンドウ表示ルーチン11を呼出し、ウ
ィンドウ表示ルーチン11は、指定の情報に基づき、(表
示が重複するウィンドウの)データを、表示装置20に表
示して(ステップ70と71)、ステップ65にリターンし、
その後、ステップ66に進む。
After that, the process proceeds to step 63 again, but since the address A is different from the currently selected window address, the process proceeds to step 64, and at step 64, the display in the window information of the window indicated by the address A (in this case, the window 2) is performed. Range (between (h) and (i) in window 2 in Figure 2)
Determines whether the update data is included in. If it is included, the process proceeds to step 65, the window display routine 11 is called to request the window display routine 11 to display the update data by designating the address A etc. Based on the above, the data (of the windows whose display is overlapped) is displayed on the display device 20 (steps 70 and 71), and the process returns to step 65,
Then, it progresses to step 66.

上の場合、ウィンドウ表示ルーチン11の表示処理は、
ステップ60で呼出された場合の処理と全く同様の処理を
行うだけであり、どのウィンドウに対する表示であるか
を、直接意識しない。すなわち、ウィンドウ表示ルーチ
ン11の呼出し時の相異は呼出し時に渡される情報のみが
異なり、それらの情報にウィンドウの物理情報が含まれ
ているため、ウィンドウ表示ルーチン11のロジックは1
つで良いわけである。
In the above case, the display process of window display routine 11 is
Only the processing that is the same as when it is called in step 60 is performed, and it is not directly conscious of which window the display is. In other words, the difference when the window display routine 11 is called differs only in the information passed at the time of calling, and since the information includes the physical information of the window, the logic of the window display routine 11 is 1
It ’s all right.

上述のステップ64における判定において、アドレスA
が示すウィンドウのウィンドウ情報内の表示範囲に更新
データが含まれていない場合には、ステップ65を通らず
にステップ66に進み、ステップ66では、再び全ウィンド
ウのチェックをしたか否かを判定する。全ウィンドウの
チェックをしていなければ、ステップ67に進み、ウィン
ドウ3,4について、上述のウィンドウ2に対する処理と
同様の処理(ステップ67と63〜66)を行う。ステップ66
において、全部のウィンドウ(ここでは4つ)の処理が
終了したことを判別した場合には、データ編集ルーチン
12は、コマンド等解析ルーチン13へリターンする。
In the determination in step 64 described above, the address A
If the display range in the window information of the window indicated by does not include update data, the process proceeds to step 66 without passing through step 65, and in step 66, it is determined whether all windows have been checked again. . If all the windows are not checked, the process proceeds to step 67, and the processes similar to the process for the window 2 described above (steps 67 and 63 to 66) are performed on the windows 3 and 4. Step 66
When it is determined that the processing of all windows (here, four windows) is completed, the data editing routine
12 returns to the command analysis routine 13.

以上のようにして、データ編集ルーチン12は、更新デ
ータの表示が重複する全ウィンドウを自動的に判別し
て、表示が重複するウィンドウのすべての表示状態を、
最新の状態になるように制御することができる。
As described above, the data edit routine 12 automatically determines all the windows in which the update data is displayed in duplicate, and displays all the display states of the windows in which the display is duplicated,
It can be controlled to be up to date.

上述の実施例における制御テーブル40の形式,処理動
作等は、一例として示したものであり、本発明はこれに
限定されるべきものではない。
The format, processing operation, etc. of the control table 40 in the above-mentioned embodiment are shown as an example, and the present invention should not be limited to this.

〔発明の効果〕〔The invention's effect〕

以上、詳細に説明した如く、本発明によれば、複数の
ウィンドウの表示装置への表示範囲等の情報を管理する
制御テーブルを持ち、表示内容に対応するデータの変更
を行った際には、同一ファイルの内容を表示している他
のウィンドウの表示が重複する該当部分を、上記制御テ
ーブルの内容を参照して更新するようにしたことによ
り、各ウィンドウが表示している内容を、常に、編集結
果の最新状態に一致するようにすることが可能になると
ともに、上記方式を、ウィンドウ数の増加に伴なう必要
メモリ量の増大を押さえて実現できるものである。
As described above in detail, according to the present invention, a control table for managing information such as display ranges of a plurality of windows on a display device is provided, and when data corresponding to display contents is changed, By updating the relevant part where the display of other windows displaying the same file is duplicated by referring to the contents of the above control table, the contents displayed in each window are always It becomes possible to match the latest state of the edited result, and the above method can be realized while suppressing the increase in the required memory amount accompanying the increase in the number of windows.

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

第1図は本発明のマルチウィンドウ編集管理方法を実行
するための情報処理システムの一実施例の概略構成を示
すブロック図、第2図は制御テーブルの構成例を示す
図、第3図はデータ更新時の各プログラムの処理の一例
を示すフローチャートである。 10:情報処理装置、11:ウィンドウ表示ルーチン、12:デ
ータ編集ルーチン、13:コマンド等解析ルーチン、14:デ
ータ編集領域、14a:更新エリア、20:表示装置、30:入力
装置、40:制御テーブル、51〜71:処理ステップ。
FIG. 1 is a block diagram showing a schematic configuration of an embodiment of an information processing system for executing the multi-window editing management method of the present invention, FIG. 2 is a diagram showing a configuration example of a control table, and FIG. 3 is data. It is a flow chart which shows an example of processing of each program at the time of update. 10: information processing device, 11: window display routine, 12: data editing routine, 13: command analysis routine, 14: data editing area, 14a: update area, 20: display device, 30: input device, 40: control table , 51-71: processing steps.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】同一のファイル中の任意の場所の内容の表
示・変更・追加・削除等を行うことが可能な複数のウィ
ンドウと該複数のウィンドウの表示装置への表示範囲等
の情報を共通に管理するための制御テーブルとコマンド
等解析ルーチンと一つのデータ編集ルーチンと一つのウ
ィンドウ表示ルーチンとを具備する情報処理装置におけ
るマルチウィンドウ編集処理方法であって、 ファイル内のデータを更新する場合、入力されたコマン
ド等を前記コマンド等解析ルーチンにより解析し、解析
結果情報をデータ編集ルーチンに通知し、 前記データ編集ルーチンは、前記コマンド等解析ルーチ
ンから通知された情報に基づきファイル内のデータを更
新するとともに、前記制御テーブル内に格納されている
表示範囲を自動的にサーチして更新されたデータを含む
ウィンドウを決定し、決定したウィンドウの情報を前記
ウィンドウ表示ルーチンに通知し、 前記ウィンドウ表示ルーチンは、前記データ編集ルーチ
ンから通知されたウィンドウの情報に基づいて更新後の
ウィンドウのデータを表示するようにしたことを特徴と
するマルチウィンドウ編集管理方法。
1. A plurality of windows capable of displaying / changing / adding / deleting contents in an arbitrary place in the same file and information common to a display device of the plurality of windows. A multi-window edit processing method in an information processing apparatus comprising a control table for managing, a command etc. analysis routine, one data edit routine and one window display routine, when updating data in a file, The input command etc. is analyzed by the command etc. analysis routine, and analysis result information is notified to the data edit routine, and the data edit routine updates the data in the file based on the information notified from the command etc. analysis routine. In addition, the display range stored in the control table is automatically searched and updated. The window containing the data is determined, the information of the determined window is notified to the window display routine, and the window display routine displays the updated window data based on the window information notified from the data editing routine. A multi-window edit management method characterized in that
JP1096926A 1989-04-17 1989-04-17 Multi-window editing management method Expired - Fee Related JP2540940B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1096926A JP2540940B2 (en) 1989-04-17 1989-04-17 Multi-window editing management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1096926A JP2540940B2 (en) 1989-04-17 1989-04-17 Multi-window editing management method

Publications (2)

Publication Number Publication Date
JPH02275524A JPH02275524A (en) 1990-11-09
JP2540940B2 true JP2540940B2 (en) 1996-10-09

Family

ID=14177956

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1096926A Expired - Fee Related JP2540940B2 (en) 1989-04-17 1989-04-17 Multi-window editing management method

Country Status (1)

Country Link
JP (1) JP2540940B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06342357A (en) * 1993-06-01 1994-12-13 Mitsubishi Electric Corp User interface method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60128573A (en) * 1983-12-15 1985-07-09 Hitachi Software Eng Co Ltd Multi-window text editing system
JPS6427736U (en) * 1987-08-11 1989-02-17

Also Published As

Publication number Publication date
JPH02275524A (en) 1990-11-09

Similar Documents

Publication Publication Date Title
JPH02130628A (en) Inputting of data
JPH08137678A (en) How to create a program
JP2540940B2 (en) Multi-window editing management method
JPH05143136A (en) File editor
US5155848A (en) Method of searching and displaying selected data and for updating displayed data in a text editing system
JPH0778015A (en) Numerical controller with data displaying and alterating function
JPH0750480B2 (en) Text data editing device
JP3283055B2 (en) Program editing device
JPH02281327A (en) Information processor
JPH0836569A (en) File editing processor
JP2546828B2 (en) Information processing device
JPH06149906A (en) Hierarchical position display system
JPH0436792A (en) Method and device for selectively displaying picture
JP2002279336A (en) Search result display device of matrix data
JPH024023A (en) User interface managing device
JPS62103689A (en) Display unit
JPH0822490A (en) Layer selection method and layer attribute editing method
JPH06231266A (en) Graph preparing device
JPH07114646A (en) Document creating apparatus and object specifying method
JPS63288310A (en) Initial line setting and processing system for picture type editor
JPH04282775A (en) Illustration control processor
JPH02267671A (en) Retrieval display device for table format database
JPH05241753A (en) Window display processing method and apparatus
JPS63168687A (en) Automatic scrolling method
JPH07244658A (en) How to add comment information to the table processor

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070725

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080725

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees