JPH01270165A - Initial line setting processing system for picture type editor - Google Patents

Initial line setting processing system for picture type editor

Info

Publication number
JPH01270165A
JPH01270165A JP63099392A JP9939288A JPH01270165A JP H01270165 A JPH01270165 A JP H01270165A JP 63099392 A JP63099392 A JP 63099392A JP 9939288 A JP9939288 A JP 9939288A JP H01270165 A JPH01270165 A JP H01270165A
Authority
JP
Japan
Prior art keywords
file
source
label
screen
file label
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP63099392A
Other languages
Japanese (ja)
Inventor
Masanori Saito
正則 斉藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP63099392A priority Critical patent/JPH01270165A/en
Publication of JPH01270165A publication Critical patent/JPH01270165A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Devices For Executing Special Programs (AREA)

Abstract

PURPOSE:To speed up positioning to a part to be corrected when the part to be corrected is near the part corrected last time by providing a file label obtaining means, a file label output means, and an initial picture display means. CONSTITUTION:A file label output means 3 sets source record position information at the time of the execution of the completing command of a picture type editor at a file label, and when the file is closed, it is outputted to a source file 6 discriminated by a file name in the file label. When the file name of the source file 6 is designated and a picture type editor is activated, the file label obtaining means obtains the file label outputted from the source file 6 by the file label output means 3. An initial picture display means 4 displays an initial picture including an initial line based on the source record position information in the file label. Thus, the positioning to the correcting part can be speed up.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は電子計算機システムにおける画面型エディタに
関し、特にその初期両面の表示の際における画面型エデ
ィタの初期行設定処理方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a screen-type editor in a computer system, and more particularly to an initial line setting processing method for the screen-type editor during initial double-sided display.

〔従来の技術〕[Conventional technology]

従来、この種の画面型エディタの初期行設定処理方式(
画面型エディタの初期画面の表示の際に初期行(初期画
面においてカーソルが位置付けられる行)を設定する処
理の方式)では、画面型エディタによる修正処理等の対
象のソースファイル内のソースデータ(ソースレコード
の集合)の先頭のソースレコードに対応する行を初期行
として初期画面を表示していたくその画面型エディタで
直前に処理されていたソースデータに関しては、直前の
修正処理等の最後に取り扱われていたソースレコードに
対応する行を初期行として表示することができた)。
Conventionally, this type of screen editor's initial line setting processing method (
In the processing method that sets the initial line (the line where the cursor is positioned on the initial screen) when displaying the initial screen of the screen editor, the source data (source The initial screen is displayed with the line corresponding to the first source record of a set of records) as the initial line.The source data that was processed immediately before with that screen editor is handled at the end of the previous correction process, etc. (I was able to display the row corresponding to the original source record as the initial row).

【発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来の画面型エディタの初期行設定処理方式で
は、ソースファイル内のソースデータの先頭のソースレ
コードに対応する行を初期行として初期画面を表示して
いるので、利用者がソースファイル内のソースデータを
修正する作業において修正する箇所(ソースレコード。
In the initial line setting processing method of the conventional screen-based editor described above, the initial screen is displayed with the line corresponding to the first source record of the source data in the source file as the initial line, so the user can The parts to be modified in the process of modifying source data (source records).

画面表示装置の両面上では行)が前回に(貞正した箇所
の近傍にある場合(この場合が多い)に修正する箇所へ
の位置付け(画面上ではその行へのカーソルの位置付け
)が遅くなるという欠点がある。
If the line (on both sides of the screen display device) is near the previously corrected area (this is often the case), positioning the cursor to the area to be corrected (positioning the cursor to that line on the screen) will be slow. There is a drawback.

本発明の目的は、上述の点に鑑み、上述のような場合に
修正する箇所への位置付けを高速にできる画面型エディ
タの初期行設定処理方式を提供することにある。
SUMMARY OF THE INVENTION In view of the above-mentioned points, an object of the present invention is to provide an initial line setting processing method for a screen-type editor that can quickly locate a part to be corrected in the above-mentioned cases.

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

本発明の画面型エディタの初期行設定処理方式は、画面
型エディタの終了コマンドが実行されたときのソースレ
コード位置情報をファイルラベルに設定しファイルクロ
ーズ時にそのファイルラベルをそのファイルラベル内の
ファイル名でalされるソースファイルに出力するファ
イルラベル出力手段と、ソースファイルのファイル名が
指定されて画面型エディタが起動される際にそのファイ
ル名で識別されるソースファイルから前記ファイルラベ
ル出力手段により出力されたファイルラベルを取得する
ファイルラベル取得手段と、このファイルラベル取得手
段により取得されたファイルラベル内のソースレコード
位置情報に基づく初期行を含む初期画面を表示する初期
画面表示手段とを有する。
The initial line setting processing method of the screen editor of the present invention is to set source record position information in a file label when the end command of the screen editor is executed, and to change the file label to the file name within the file label when the file is closed. a file label output means for outputting to a source file that is al.; and a file label output means for outputting from a source file identified by the file name when the file name of the source file is specified and the screen editor is started. and an initial screen display means for displaying an initial screen including an initial line based on the source record position information in the file label obtained by the file label obtaining means.

(作用〕 本発明の画面型エディタの初期行設定処理方式では、フ
ァイルラベル出力手段が画面型エディタの終了コマンド
が実行されたときのソースレコード位置情報をファイル
ラベルに設定しファイルクローズ時にそのファイルラベ
ルをそのファイルラベル内のファイル名で識別されるソ
ースファイルに出力し、ファイルラベル取得手段がソー
スファイルのファイル名が指定されて画面型エディタが
起動される際にそのファイル名で識別されるソースファ
イルからファイルラベル出力手段により出力されたファ
イルラベルを取得し、初期画面表示手段がファイルラベ
ル取得手段により取得されたファイルラベル内のソース
レコード位置情報に基づく初期行を含む初期画面を表示
する。
(Operation) In the initial line setting processing method of the screen-based editor of the present invention, the file label output means sets the source record position information when the screen-based editor termination command is executed to the file label, and when the file is closed, the file label is output to the source file identified by the file name in the file label, and the file label acquisition means outputs the source file identified by the file name when the file name of the source file is specified and the screen editor is started. The file label output by the file label output means is acquired from the file label output means, and the initial screen display means displays an initial screen including an initial line based on the source record position information in the file label acquired by the file label acquisition means.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は、本発明の画面型エディタの初期行設定処理方
式の一実施例の構成を示すブロック図である0本実施例
の画面型エディタの初期行設定処理方式は、本実施例の
画面型エディタの初期行設定処理方式が適用される画面
型エディタ(以下、単に画面型エディタという)の全体
の制御を行う画面型エディタ制御手段1と、利用者の指
定したファイル名で識別されるソースファイル6内のフ
ァイルラベル60 (第2図参照)を取得する(直接的
な取得はソースレコード入力手段5が行う。取得(入力
)されたファイルラベル60はメモリ (図示せず)上
に存在する)ファイルラベル取得手段2と、画面型エデ
ィタの終了時(終了コマンドの発行時)におけるソース
レコード位置情報(画面表示装E11の画面上のカーソ
ル位置の行(カーソルが存在している行)に対応するソ
ースレコード(第2図参照)のソースファイル6におけ
る位置)をメモリ上のファイルラベル60内のソースレ
コード位置格納域61(第2図参照)に設定しファイル
クローズ時にそのファイルラベル60をソースファイル
6に出力するファイルラベル取得手段3と、ファイルラ
ベル取得手段2により取得されたファイルラベル60内
のソースレコード位置格納域61に格納されているソー
スレコード位置情報に基づく初期行(ソースレコード位
置情報によりソースファイル6内の位置が示されている
ソースレコードに対応する行が初期行となる)を含む初
期画面を画面表示装置11上に表示する初期画面表示手
段4と、ソースファイル6からソースレコードを入力す
る(ファイルラベル取得手段2の指示に基づくファイル
ラベル60の入力も行う)ソースレコード入力手段5と
、ソースデータ(ソースレコードの集合。第2図参照)
が格(丙されているソースファイル6と、ソースレコー
ド入力手段5により入力されたソースレコードからなる
画面を画面表示装置11−Fに表示する(初期画面の表
示を除く)画面表示手段7と、利用者が終了コマンドを
指定(入力)シた場合にソースレコードをソースファイ
ル6に出力する(ファイルラベル出力手段3の指示に基
づくファイルラベル60の出力も行う)ソースレコード
出力手段8と、利用者により入力される画面型エディタ
に対する指示(コマンド)を解析するコマンド解析手段
9と、利用者により人力されるコマンド等を画面表示装
置11から入力する画面情報人力手段10と、ソースレ
コードに対応する行からなる画面が表示される画面表示
装置11とを含んで構成されている(図中で「=」は制
御の流れを示し「→」はデータの流れを示す)。
FIG. 1 is a block diagram showing the configuration of one embodiment of the initial line setting processing method of the screen-type editor of the present invention. A screen-type editor control means 1 that controls the entire screen-type editor (hereinafter simply referred to as the screen-type editor) to which the type editor's initial line setting processing method is applied, and a source identified by a file name specified by the user. Acquire the file label 60 (see Figure 2) in the file 6 (direct acquisition is performed by the source record input means 5. The acquired (input) file label 60 exists on the memory (not shown). ) File label acquisition means 2 and source record position information (corresponding to the line where the cursor is located on the screen of the screen display device E11 (the line where the cursor is present) at the time of termination of the screen editor (when the termination command is issued) The file label 60 is set in the source record position storage area 61 (see Figure 2) in the file label 60 on memory, and the file label 60 is set in the source file 6 when the file is closed. 6 and the initial row based on the source record position information stored in the source record position storage area 61 in the file label 60 acquired by the file label acquisition means 2 (based on the source record position information An initial screen display means 4 displays an initial screen on a screen display device 11 including a line corresponding to a source record whose position in the source file 6 is indicated as an initial line; A source record input means 5 for inputting (also inputting a file label 60 based on instructions from the file label acquisition means 2) and source data (a set of source records; see FIG. 2).
a screen display means 7 for displaying on a screen display device 11-F (excluding display of the initial screen) a screen consisting of the source file 6 in which the source file 6 is listed and the source record input by the source record input means 5; A source record output means 8 that outputs a source record to a source file 6 when a user specifies (inputs) an end command (also outputs a file label 60 based on instructions from the file label output means 3); a command analysis means 9 for analyzing instructions (commands) to the screen-type editor inputted by a user; a screen information manual means 10 for inputting commands manually inputted by a user from a screen display device 11; and a line corresponding to a source record. (In the figure, "=" indicates the flow of control, and "→" indicates the flow of data).

第2図を参照すると、ソースファイル6は、画面型エデ
ィタによる修正処理等の終了時(終了コマンドの発行時
)におけるソースレコード位置情報を格納するソースレ
コード位置格納域61を有しているファイルラベル60
(ソースファイル6のファイル名等も存している)と、
画面型エディタの修正処理や編集処理等の対象となるソ
ースレコードの集合であるソースデータとを含んで構成
されている。
Referring to FIG. 2, the source file 6 is a file label that has a source record position storage area 61 that stores source record position information at the end of correction processing etc. by the screen editor (when the end command is issued). 60
(The file name of source file 6 also exists) and
It is configured to include source data, which is a collection of source records that are subject to correction processing, editing processing, etc. of the screen-type editor.

第3図を参照すると、ファイルラベル取得手段2の処理
は、ファイルラベル取得ステップ21からなる。
Referring to FIG. 3, the processing of the file label acquisition means 2 consists of a file label acquisition step 21.

第4図を参照すると、ファイルラベル出力手段3の処理
は、ファイルラヘル設定ステンプ31と、ファイルラヘ
ル出カステップ32とからなる。
Referring to FIG. 4, the processing of the file label output means 3 consists of a file label setting step 31 and a file label output step 32.

次に、このように構成された本実施例の両面型エディタ
の初期行設定処理方式の動作について説明する(第1図
中の符号の2〜5および7〜10で示される各手段は画
面型エディタ制御手段1の11?IMの下で動作するが
、特に必要な場合以外はその制御の動作については言及
しない)。
Next, the operation of the initial line setting processing method of the double-sided editor of this embodiment configured as described above will be explained. 11 of the editor control means 1?I operate under the IM, but I will not discuss the operation of that control unless it is particularly necessary).

画面型エディタによるソースデータの修正処理等におい
ては、ソースレコード入力手段5はソースファイル6か
らソースレコードを入力し、画面表示手段7はそのソー
スレコードに基づく行からなる画面を画面表示装置11
上に表示する。
In the process of modifying source data using a screen editor, the source record input means 5 inputs a source record from a source file 6, and the screen display means 7 displays a screen consisting of lines based on the source record on the screen display device 11.
Display above.

所定の修正処理等が終了して利用者が終了コマンドを指
定すると、画面情報入力手段10は画面表示装置11か
らその終了コマンドを受は取り、コマンド解析手段9は
画面型エディタ制御手段1を介してその終了コマンドに
ついてコマンド解析を行い終了コマンドであることを認
識する。
When the user specifies a termination command after a predetermined correction process is completed, the screen information input means 10 receives the termination command from the screen display device 11, and the command analysis means 9 receives the termination command via the screen-type editor control means 1. The command analyzes the termination command and recognizes that it is an termination command.

ファイルラベル出力手段3は、画面型エディタ制211
1手段1を介して終了コマンドの入力をL’22hし、
終了コマンドが入力された時点における画面表示装置1
1の画面上のカーソル位置の行に対応するソースレコー
ド(このソースレコードを含む修正処理等が終了したソ
ースデータは終了コマンドの人力の認識に基づいてソー
スレコード出力手段8によりソースファイル6に出力さ
れている)のソースファイル6における位置(アドレス
等)をソースレコード位置情報としてファイルラベル6
0内のソースレコード位置格納域61に設定する(ファ
イルラベル60はメモリ上に存在する) くステップ3
1)。
The file label output means 3 is a screen-type editor system 211
1 Input the end command through means 1 L'22h,
Screen display device 1 at the time the end command is input
The source record corresponding to the line at the cursor position on the screen No. 1 (source data for which correction processing, etc., including this source record has been completed is output to the source file 6 by the source record output means 8 based on the human recognition of the end command. file label 6 using the position (address, etc.) of
Set the source record position storage area 61 in 0 (file label 60 exists in memory) Step 3
1).

さらに、ファイルラベル出力手段3は、画面型エディタ
制御手段lの依重頁に基づいてオペレーティングシステ
ム(図示せず)により行われるファイルクローズ時に、
ファイルラベル60をソースファイル6 (ファイルラ
ベル60内のファイル名によりソースファイル6が識別
される)に出力する(直接的な出力はソースレコード出
力手段8が行う) (ステップ32)。
Further, the file label output means 3 outputs a message when the file is closed by the operating system (not shown) based on the priority page of the screen-type editor control means 1.
The file label 60 is output to the source file 6 (the source file 6 is identified by the file name in the file label 60) (direct output is performed by the source record output means 8) (step 32).

次に、再びソースファイル6内のソースデータの修正処
理等を行うためにソースファイル6のファイル名が指定
されて画面型エディタが起動されると(前回のソースフ
ァイル6のソースデータの修正処理等の直後である必要
はない)、画面型エディタ制御手段1の依頼に基づいて
オペレーティングシステムがソースファイル6のファイ
ルオープンを行う。
Next, when the file name of the source file 6 is specified and the screen editor is started in order to perform correction processing of the source data in the source file 6 again (processing of correction of the source data of the previous source file 6, etc.) 2), the operating system opens the source file 6 based on the request from the screen editor control means 1.

ファイルラベル取得手段2は、このファイルオーブン時
に指定されたファイル名を有するソースファイル6内の
ファイルラベル60を取得する(直接的な入力はソース
レコード入力手段5が行う)(ステップ21)。
The file label acquisition means 2 acquires the file label 60 in the source file 6 having the file name specified at the time of file opening (direct input is performed by the source record input means 5) (step 21).

初期画面表示手段4は、ファイルラベル取得手段2によ
り取得されたファイルラベル60内のソースレコード位
置格納域61に格納されているソースレコード位置情報
によりソースファイル6における位置が示されているソ
ースレコードに対応する行を初期行とする初期画面の表
示を画面表示装置11上に行う。
The initial screen display means 4 displays the source record whose position in the source file 6 is indicated by the source record position information stored in the source record position storage area 61 in the file label 60 acquired by the file label acquisition means 2. An initial screen is displayed on the screen display device 11 with the corresponding line as the initial line.

〔発明の効果〕〔Effect of the invention〕

以−ト説明したように本発明は、ファイルラベル取得手
段、ファイルラベル出力手段および初期画面表示手段を
設けることにより、利用考がソースファイル内のソース
データを修正する作業において修正する箇所が前回に修
正した箇所の近傍にある場合に、修正する箇所への位置
付けが高速になり、画面型エディタにおける処理効率を
向上することができるという効果がある。
As explained above, the present invention provides a file label acquisition means, a file label output means, and an initial screen display means, so that the parts to be modified in the work of modifying the source data in the source file can be changed from the previous location. When the location is near the location to be modified, the location to be modified can be positioned quickly, and processing efficiency in the screen editor can be improved.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例の構成を示すプロンク図、 第2図は第1図中のソースファイルの構成を示す図、 第3図は第1図中のファイルラベル取得手段の処理を示
す流れ図、 第4図は第1図中のファイルラベル出力手段の処理を示
す流れ図である。 図において、 l・・・画面型エディタ制?It1手段、2・・・ファ
イルラベル取得手段、 3・・・ファイルラベル出力手段、 4・・・初期画面表示手段、 5・・・ソースレコード入力手段、 6・・・ソースファイル、 7・・・画面表示手段、 8・・・ソースレコード出力手段、 9・・・コマンド解析手段、 10・・・画面情報入力手段、 11・・・画面表示装置、 60・・・ファイルラベル、 61・・・ソースレコード位置格納域である。
FIG. 1 is a pronk diagram showing the configuration of an embodiment of the present invention, FIG. 2 is a diagram showing the configuration of the source file in FIG. 1, and FIG. 3 is a diagram showing the processing of the file label acquisition means in FIG. 1. FIG. 4 is a flowchart showing the processing of the file label output means in FIG. In the figure, l... Screen-type editor system? It1 means, 2... File label acquisition means, 3... File label output means, 4... Initial screen display means, 5... Source record input means, 6... Source file, 7... Screen display means, 8... Source record output means, 9... Command analysis means, 10... Screen information input means, 11... Screen display device, 60... File label, 61... Source This is the record position storage area.

Claims (1)

【特許請求の範囲】  画面型エディタの終了コマンドが実行されたときのソ
ースレコード位置情報をファイルラベルに設定しファイ
ルクローズ時にそのファイルラベルをそのファイルラベ
ル内のファイル名で識別されるソースファイルに出力す
るファイルラベル出力手段と、 ソースファイルのファイル名が指定されて画面型エディ
タが起動される際にそのファイル名で識別されるソース
ファイルから前記ファイルラベル出力手段により出力さ
れたファイルラベルを取得するファイルラベル取得手段
と、 このファイルラベル取得手段により取得されたファイル
ラベル内のソースレコード位置情報に基づく初期行を含
む初期画面を表示する初期画面表示手段と、 を有することを特徴とする画面型エディタの初期行設定
処理方式。
[Claims] Source record position information when a screen editor termination command is executed is set in a file label, and when the file is closed, the file label is output to the source file identified by the file name in the file label. and a file that obtains a file label output by the file label output means from a source file identified by the file name when the screen editor is started with the file name of the source file specified. A screen-type editor comprising: a label acquisition means; and an initial screen display means for displaying an initial screen including an initial line based on source record position information in the file label acquired by the file label acquisition means. Initial row setting processing method.
JP63099392A 1988-04-22 1988-04-22 Initial line setting processing system for picture type editor Pending JPH01270165A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63099392A JPH01270165A (en) 1988-04-22 1988-04-22 Initial line setting processing system for picture type editor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63099392A JPH01270165A (en) 1988-04-22 1988-04-22 Initial line setting processing system for picture type editor

Publications (1)

Publication Number Publication Date
JPH01270165A true JPH01270165A (en) 1989-10-27

Family

ID=14246225

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63099392A Pending JPH01270165A (en) 1988-04-22 1988-04-22 Initial line setting processing system for picture type editor

Country Status (1)

Country Link
JP (1) JPH01270165A (en)

Similar Documents

Publication Publication Date Title
JPH01270165A (en) Initial line setting processing system for picture type editor
JPH07120285B2 (en) How to use the syntax checker and text editor
JPS63288357A (en) Data editing system
JPH01177680A (en) Image edit processor
JPH0535837A (en) Cut data editing system for window system with cut-and-paste function
JPS6254337A (en) Specification displaying system for program hierarchy
JP2720768B2 (en) Program customization equipment
JPH11265397A (en) Storage medium, information accessing method and its device
JPS6293745A (en) Table information correcting system at the time of table format data is inputted
JPS6388627A (en) User definition command preparing system
JPH0816809A (en) Drawing system
JPH08286897A (en) Program editing device having hierarchical structure display function
JPH08263333A (en) Programming support device and method
JP2591938B2 (en) Method of modifying part program of numerical controller
JPS60246433A (en) Command indicating system of document processor
JPH06168090A (en) Window diplay device and menu electing method
JP2704053B2 (en) Document editing device
JPH05151048A (en) File display system of information processor
JPH025089A (en) Data display editing device
JPH01237834A (en) System for editing and displaying load module
JPH06282392A (en) Program generating tool for window and window control function editing method
JPH03194622A (en) System for supporting lisp interface
JPH1091617A (en) Document processor, its method and storage medium
JPS63196939A (en) Initial line set processing system for screen editor
JPS63640A (en) Execution control system for partial unit of data flow