JPS63123156A - Text edition control system in screen editor - Google Patents

Text edition control system in screen editor

Info

Publication number
JPS63123156A
JPS63123156A JP61270112A JP27011286A JPS63123156A JP S63123156 A JPS63123156 A JP S63123156A JP 61270112 A JP61270112 A JP 61270112A JP 27011286 A JP27011286 A JP 27011286A JP S63123156 A JPS63123156 A JP S63123156A
Authority
JP
Japan
Prior art keywords
processing
editing
directive
preprocessing
direct
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
JP61270112A
Other languages
Japanese (ja)
Inventor
Akio Yuzawa
湯澤 映夫
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 JP61270112A priority Critical patent/JPS63123156A/en
Publication of JPS63123156A publication Critical patent/JPS63123156A/en
Pending legal-status Critical Current

Links

Landscapes

  • Digital Computer Display Output (AREA)
  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To substantially reduce the number of processing routines by activating a function-by-function edition processing part including a shared processing routine at a succeeding stage after a function-by-function unified format edition information block is created through pre-processing in accordance with three specified edition types. CONSTITUTION:If edition information 5 includes direct edition information 4, the function-by-function unified format edition information block 10 is created repeatedly based on the direct edition information until a direct edition pre- processing activation part 61 activates a direct edition pre-processing part 9 through its direct edition pre-processing part activation processing 612 and decides termination through its direct edition termination decision processing 611. If the edition information 5 includes row directive edition information 3, a pre-processing activation part 6 is activated. After a row directive pre- processing activation part 62 recognizes that a row direction pre-processing part 8 concerned has been registered through a row directive registration table processing 621, the row directive pre-processing part 8 that has been registered is activated through a row directive pre-processing part activation processing 623.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、情報処理システムで使用される画面エディタ
におけるテキスト編集制御方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention relates to a text editing control method in a screen editor used in an information processing system.

従来の技術 従来の画面エディタにおけるテキスト編集制御方式は、
第7図と第8図の方式概念図に示すような構成となって
いる。
Conventional technology The text editing control method in conventional screen editors is as follows:
The configuration is as shown in the conceptual diagrams of FIGS. 7 and 8.

すなわち、第7図に示す端末装置1からディレクティブ
編集情報2、行ディレクティブ編集情報3及び直接編集
情報4を含む編集情報5が入力されると、編集ルーチン
制御部19が起動される。
That is, when editing information 5 including directive editing information 2, line directive editing information 3, and direct editing information 4 is input from the terminal device 1 shown in FIG. 7, the editing routine control section 19 is activated.

まず、直接編集の指定があれば、第8図に示す直接編集
起動部191により直接編集処理部18が起動され、テ
キストW集が行われる。
First, if direct editing is designated, the direct editing processing section 18 is activated by the direct editing activation section 191 shown in FIG. 8, and the text W collection is performed.

上記直接編集の指定に関する処理がすべて終了すると、
次に行ディレクティブ処理起動部192によって、行挿
入、行削除、行置換、行複写、行移送などの行ディレク
ティブ編集処理部17が起動される。
When all the processes related to the above direct editing specification are completed,
Next, the line directive processing starting unit 192 starts the line directive editing processing unit 17, which performs line insertion, line deletion, line replacement, line copying, line movement, and the like.

これらの行ディレクティブ処理が終了すると、最後に、
ディレクティブ処理起動部193によって、指定された
ディレクティブ編集処理に該当するディレクティブ編集
処理部16が呼出される。
When these line directives are finished processing, finally,
The directive processing starting section 193 calls the directive editing processing section 16 that corresponds to the specified directive editing processing.

このディレクティブ処理には、行挿入、行削除、行置換
、行複写、行移送など上述した行ディレクティブ処理と
共通するもののほか行検索、文字列検索、文字列置換な
ど固有の処理も含まれる。共通の処理であっても、ディ
レクティブ編集処理と行ディレクティブ編集処理のそれ
ぞれについて個別の処理ルーチンが準備される。
This directive processing includes processing common to the above-described row directive processing such as line insertion, line deletion, line replacement, line copying, and line movement, as well as unique processing such as line search, character string search, and character string replacement. Even if the processing is common, separate processing routines are prepared for each of the directive editing processing and the line directive editing processing.

発明が解決しようとする問題点 上述した従来のテキスト編集制御方式では、直接編集、
行ディレクティブ編集、ディレクティブ編集の編集情報
を認識するたびに個々の処理ルーチンを起動する構成で
あるから、行ディレクティブ編集とディレクティブ編集
との間で共通する機能や、いくつかの編集機能の組合せ
で実現できる機能についても個々に処理ルーチンを持た
ねばならず、機能上の無駄があるという問題がある。
Problems to be Solved by the Invention In the conventional text editing control method described above, direct editing,
Since the configuration is such that an individual processing routine is started each time editing information for line directive editing and directive editing is recognized, this can be achieved using common functions between line directive editing and directive editing, or a combination of several editing functions. There is a problem in that each of the available functions must have its own processing routine, which results in wasted functionality.

問題点を解決するための手段 本発明の画面エディタにおけるテキスト編集制御方式は
、端末装置から入力された編集情報に基づき該当の前処
理部を起動する起動制御部と、この起動制御部によって
起動され直接編集に基づく機能別統一形式編集情報ブロ
ックを作成する直接編集前処理部、同じく行ディレクテ
ィブ編集情報に基づく機能別統一形式編集情報ブロック
を作成する行ディレクティブ前処理部及びディレクティ
ブ編集情報に基づく機能別統一形式編集情報ブロックを
作成するディレクティブ前処理部から成る3種の前処理
部とを備えている。
Means for Solving the Problems The text editing control method in the screen editor of the present invention includes an activation control unit that activates a corresponding preprocessing unit based on editing information input from a terminal device, and a control system activated by the activation control unit. A direct edit preprocessing unit that creates a functional unified format editing information block based on direct editing, a line directive preprocessing unit that creates a functional unified format editing information block based on line directive editing information, and a functional division based on directive editing information. It is equipped with three types of preprocessing units, each consisting of a directive preprocessing unit that creates a unified format editing information block.

さらに、本発明の方式は、これら3種の前処理部により
作成された機能別統一形式編集情報ブロックにより要求
機能と処理ルーチンを結びつける編集処理制御部と、こ
の編集処理制御部により起動される機能別編集処理部と
を備えている。
Furthermore, the method of the present invention includes an editing processing control section that connects a requested function and a processing routine using a unified format editing information block for each function created by these three types of preprocessing sections, and a function activated by this editing processing control section. It also has a separate editing processing section.

すなわち、本発明のテキスト編集制御方式によれば、デ
ィレクティブ編集処理による指定であるか行ディレクテ
ィ ブ編集処理による指定であるかを問わず同一処理に
よる編集を可能にすると共に、既存の複数の処理の組み
合わせにより実現できる機能については機能別統一形式
編集情報ブロックを複数組合せることを可能とすること
により、所要処理ルーチン数が大幅に圧縮される。
That is, according to the text editing control method of the present invention, it is possible to edit by the same process regardless of whether the specification is made by directive editing processing or by line directive editing processing, and it is also possible to As for the functions that can be realized by combining the functions, the number of required processing routines can be greatly reduced by making it possible to combine a plurality of function-specific unified format editing information blocks.

以下、本発明の作用を実施例と共に詳細に説明する。Hereinafter, the operation of the present invention will be explained in detail together with examples.

実施例 本発明の一実施例は、第1図の方式概念図に示すように
、前処理起動部6、直接編集前処理部9、行ディレクテ
ィブ前処理部8、ディレクティブ前処理部7、機能別統
一形式編集情報ブロック1o、編集処理制御部12、機
能別編集処理部13、画面構成部20とから構成される
Embodiment One embodiment of the present invention, as shown in the system conceptual diagram in FIG. It is composed of a unified format editing information block 1o, an editing processing control section 12, a functional editing processing section 13, and a screen configuration section 20.

第2図を参照すると、前処理起動部6は直接編集前処理
起動部61、行ディレクティブ前処理起動部62及びデ
ィレクティブ前処理起動部63から構成されている。
Referring to FIG. 2, the preprocessing starting section 6 is composed of a direct editing preprocessing starting section 61, a line directive preprocessing starting section 62, and a directive preprocessing starting section 63.

第3図を参照すると、直接編集前処理起動部61は直接
編集終了判定処理611と直接編集部処理部起動処理6
12から構成されている。
Referring to FIG. 3, the direct editing pre-processing activation unit 61 performs a direct editing end determination process 611 and a direct editing unit processing unit activation process 6.
It consists of 12.

第4図を参照すると、行ディレクティブ前処理起動部6
2は、行ディレクティブ登録表検索処理621、行ディ
レクティブ登録判定処理622、行ディレクティブ前処
理部起動処理623、行ディレクティブ終了判定処理6
24及び行ディレクティブ・エラー処理625から構成
されている。
Referring to FIG. 4, the row directive preprocessing starting section 6
2 includes row directive registration table search processing 621, row directive registration determination processing 622, row directive preprocessing unit startup processing 623, and row directive end determination processing 6.
24 and row directive error handling 625.

第5図を参照すると、ディレクティブ前処理起動部63
は、ディレクティブ登録表検索処理63I、ディレクテ
ィブ登録判定処理632、ディレクティブ前処理部起動
処理633、ディレクティブ終了判定処理634及びデ
ィレクティブ・エラー処理635から構成されている。
Referring to FIG. 5, the directive preprocessing starting unit 63
is composed of a directive registration table search process 63I, a directive registration determination process 632, a directive preprocessing unit startup process 633, a directive end determination process 634, and a directive error process 635.

第6図を参照すると、第1図の編集処理制御部12は、
編集機能名登録表検索処理121、機能別編集処理部起
動処理122及び機能別編集処理終了判定処理123か
ら構成されている。
Referring to FIG. 6, the editing processing control section 12 of FIG.
This process is composed of an editing function name registration table search process 121, a function-specific editing processing unit activation process 122, and a function-specific editing process end determination process 123.

第1図において、直接編集情報4、行ディレクティブ編
集情報3、ディレクティブ編集情報2から成る編集情報
5が端末装置1から入力されると、前処理起動部6の処
理が開始される。
In FIG. 1, when editing information 5 consisting of direct editing information 4, line directive editing information 3, and directive editing information 2 is input from the terminal device 1, the processing of the preprocessing starting unit 6 is started.

編集情報5中に直接編集情報4が存在していれば、直接
編集前処理起動部61の直接編集部処理部起動処理61
2によって直接編集前処理部9が起動され、直接編集終
了判定処理611によって終了が判定されるまで、直接
編集情報に基づく機能別統一形式編集情報ブロック10
の作成が繰り返される。
If the direct editing information 4 exists in the editing information 5, the direct editing unit processing unit activation process 61 of the direct editing preprocessing activation unit 61
2, the direct editing pre-processing unit 9 is activated, and the function-specific unified format editing information block 10 based on the direct editing information is activated until the direct editing end determination process 611 determines the end.
creation is repeated.

編集情報5中に行ディレクティブ編集情報3が存在する
場合にも、前処理起動部6が起動され、行ディレクティ
ブ前処理起動部62の行ディレクティブ登録表検索処理
621によって該当の行ディレクティブ前処理部8が登
録済みであることの確認が行われたのち、行ディレクテ
ィブ前処理部起動処理623により登録確認済みの行デ
ィレクティブ前処理部8が起動される。
Even when the row directive editing information 3 exists in the editing information 5, the preprocessing activation unit 6 is activated, and the corresponding row directive preprocessing unit 8 is activated by the row directive registration table search process 621 of the row directive preprocessing activation unit 62. After it is confirmed that the registration has been completed, the row directive preprocessing unit 8 whose registration has been confirmed is activated by row directive preprocessing unit activation processing 623.

誤った行ディレクティブ名が指定されていた場合には、
行ディレクティブ登録判定処理622により行ディレク
ティブ・エラー処理625が起動され、適宜なエラー処
理が行われる。行ディレクティブ前処理部8は、処理6
23によって起動されると行挿入、行削除などの行ディ
レクティブ編集情報に基づく機能別統一形 式編集情報
ブロック10を作成する。この後、行ディレクティブ終
了判定処理624によって全ての行ディレクティブ文に
ついての前処理の終了が判定されると、行ディレクティ
ブ前処理が終了する。
If an incorrect line directive name is specified,
A row directive error processing 625 is activated by the row directive registration determination processing 622, and appropriate error processing is performed. The row directive preprocessing unit 8 performs processing 6
23, a functional unified format editing information block 10 is created based on line directive editing information such as line insertion and line deletion. Thereafter, when the end of preprocessing for all row directive statements is determined by the row directive end determination process 624, the row directive preprocessing ends.

次に、編集情報5中にディレクティブ編集情報2が存在
する場合にも、編集前処理制御部6が起動され、ディレ
クティブ前処理起動部63のディレクティブ登録表検索
処理631によって該当のディレクティブ前処理部7が
登録済みであることの確認が行われたのち、ディレクテ
ィブ前処理部起動処理633によって登録確認済みのデ
ィレクティブ前処理部7が起動される。誤ったディレク
ティブ名が指定されていれば、ディレクティブ・エラー
処理部635が起動され、エラー処理が行われる。
Next, even when the directive editing information 2 exists in the editing information 5, the editing preprocessing control unit 6 is activated, and the directive preprocessing unit 7 is activated by the directive registration table search process 631 of the directive preprocessing activation unit 63. After it is confirmed that the directive preprocessing unit 7 has been registered, the directive preprocessing unit 7 whose registration has been confirmed is activated by directive preprocessing unit activation processing 633. If an incorrect directive name is specified, the directive error processing unit 635 is activated and error processing is performed.

処理633で起動されたディレクティブ前処理部7は行
挿入、行検索、文字列置換、文字列検索などディレクテ
ィブ編集情報に基づく機能別統一形式編集情報ブロック
1oを作成する。ディレクティブ終了判定処理634に
より指定されたディレクティブ前処理の終了が判定され
ると、ディレクティブ前処理が終了する。
The directive preprocessing unit 7 activated in process 633 creates a functional unified format editing information block 1o based on directive editing information such as line insertion, line search, character string replacement, and character string search. When the end of the specified directive preprocessing is determined by the directive end determination process 634, the directive preprocessing ends.

上述の前処理によって全ての編集情報5に関する機能別
統一形式編集情報ブロック1oの作成が終了すると、編
集処理部制御部12が起動され、行ディレクティブによ
る指定であるかディレクティブによる指定であるかによ
らず、上記機能別統一形式編集情報プロツク10に基づ
き編集機能名登録表示検索処理121が起動され、機能
別編集処理部13が登録済みであることが確認されたの
ち、機能別編集処理部起動処理122によって登録確認
済みの機能別編集処理部13が起動され、該当の最終処
理が行われる。この後、機能別編集処理終了判定処理1
23によって全ての機能別統一形式編集情報ブロック1
0についての最終処理の終了が判定されると、1画面に
ついての指定された編集処理が終了し、画面構成部20
による1画面の構成処理と次の画面について編集情報の
入力が可能になった旨の通知が行われる。
When the creation of the functional unified format editing information block 1o for all the editing information 5 is completed by the above-mentioned preprocessing, the editing processing unit control unit 12 is activated and the processing is performed depending on whether the specification is by a line directive or a directive. First, the editing function name registration display search processing 121 is started based on the above-mentioned unified format editing information block 10 for each function, and after confirming that the editing processing unit 13 for each function has been registered, the editing processing unit activation processing for each function is performed. 122, the function-based editing processing section 13 whose registration has been confirmed is activated, and the corresponding final processing is performed. After this, processing for determining the end of editing processing by function 1
23 for all functional unified format editing information block 1
When it is determined that the final processing for 0 is completed, the specified editing processing for one screen is completed, and the screen configuration unit 20
A notification is given that it is now possible to perform configuration processing for one screen and input editing information for the next screen.

発明の効果 以上詳細に説明したように本発明は、指定された3種の
編集方法に従う前処理によって該当の機能別統一形式編
集情報ブロックを作成したのち、共通処理ルーチンを含
む後段の機能別編集処理部を起動する構成であるから、
ディレクティブ編集処理による指定であるか行ディレク
ティブ編集処理による指定であるかをよらず同一処理ル
ーチンに基づく編集が可能になり、用意しなければなら
ない処理ルーチンの数が大幅に圧縮される。
Effects of the Invention As explained in detail above, the present invention creates a corresponding unified format editing information block for each function through preprocessing according to three specified editing methods, and then performs subsequent editing for each function including a common processing routine. Since it is configured to start the processing section,
Editing based on the same processing routine becomes possible regardless of whether the specification is made by directive editing processing or line directive editing processing, and the number of processing routines that must be prepared can be greatly reduced.

また、既存の複数の編集処理の組み合わせにより実現で
きる機能については機能別統一形式編集情報ブロックを
複数組合せることが可能になり、この点からも所要処理
ルーチン数が大幅に圧縮され、システムの経済性が大幅
に向上する。
In addition, for functions that can be realized by combining multiple existing editing processes, it is now possible to combine multiple unified format editing information blocks for each function, which also greatly reduces the number of required processing routines, making the system more economical. performance is greatly improved.

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

第1図乃至第6図は本発明の一実施例の方式概念図、第
7図と第8図は従来方式の方式概念図である。 1・・・端末装置、2・・・ディレクティブ編集情報、
3・・・行ディレクティブ編集情報、4・・・直接編集
情報、5・・・編集情報、6・・・編集前処理制御部、
7・・・ディレクティブ前処理部、9・・・直接編集前
処理部、10・・・機能別統一形式編集情報ブロック、
11・・・編集情報スタック、12・・・編集処理制御
部、13・・・機能別編集処理部、14・・・主記憶上
被編集テキスト。
1 to 6 are conceptual diagrams of a system according to an embodiment of the present invention, and FIGS. 7 and 8 are conceptual diagrams of a conventional system. 1... Terminal device, 2... Directive editing information,
3... Line directive editing information, 4... Direct editing information, 5... Editing information, 6... Editing pre-processing control unit,
7... Directive preprocessing unit, 9... Direct editing preprocessing unit, 10... Functional unified format editing information block,
11...Editing information stack, 12...Editing processing control section, 13...Editing processing section by function, 14...Edited text on main memory.

Claims (1)

【特許請求の範囲】 直接編集、行ディレクティブ編集及びディレクティブ編
集の三種の編集方法を有する画面エディタにおいて、 端末から入力された編集情報に基づき該当の前処理部を
起動する前処理起動部と、 この前処理起動部から起動され、直接編集情報に基づく
機能別統一形式編集情報ブロックを作成する直接編集前
処理部と、 前記前処理起動部によって起動され、行ディレクティブ
編集情報に基づく機能別統一形式編集情報ブロックを作
成する行ディレクティブ前処理部と、 前記前処理起動部によって起動され、ディレクティブ編
集情報に基づく機能別統一形式編集情報ブロックを作成
するディレクティブ前処理部と、各前処理部により作成
された機能別統一形式編集情報ブロックに基づく要求機
能及び処理ルーチンを結びつける編集処理制御部と、 この編集処理制御部によって起動される機能別編集処理
部とを備えたことを特徴とする画面エディタにおけるテ
キスト編集制御方式。
[Claims] A screen editor having three types of editing methods: direct editing, line directive editing, and directive editing, comprising: a preprocessing activation unit that activates a corresponding preprocessing unit based on editing information input from a terminal; A direct editing preprocessing unit that is activated by the preprocessing activation unit and creates a functional unified format editing information block based on direct editing information; and a direct editing preprocessing unit that is activated by the preprocessing activation unit and creates a functional unified format editing information block based on line directive editing information. a line directive preprocessing unit that creates an information block; a directive preprocessing unit that is activated by the preprocessing activation unit and creates a functional unified format editing information block based on the directive editing information; Text editing in a screen editor, characterized by comprising an editing processing control unit that links requested functions and processing routines based on a unified format editing information block for each function, and an editing processing unit for each function activated by the editing processing control unit. control method.
JP61270112A 1986-11-13 1986-11-13 Text edition control system in screen editor Pending JPS63123156A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61270112A JPS63123156A (en) 1986-11-13 1986-11-13 Text edition control system in screen editor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61270112A JPS63123156A (en) 1986-11-13 1986-11-13 Text edition control system in screen editor

Publications (1)

Publication Number Publication Date
JPS63123156A true JPS63123156A (en) 1988-05-26

Family

ID=17481705

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61270112A Pending JPS63123156A (en) 1986-11-13 1986-11-13 Text edition control system in screen editor

Country Status (1)

Country Link
JP (1) JPS63123156A (en)

Similar Documents

Publication Publication Date Title
JPS63123156A (en) Text edition control system in screen editor
JPS6362639A (en) Working sequence controlled profile working machine
JPH05314073A (en) Partial transfer system for program specification data
JPS58103023A (en) Field input system for display terminal
JPH06110884A (en) Editing device
JP2692141B2 (en) Sequence controller
JPS5953956A (en) Data processing editor
JP2670276B2 (en) Character reader
JPH0895612A (en) Sfc program development device
JPH02194476A (en) Logical circuit conversion system
JPS5837586B2 (en) Data file control method
JPH05339A (en) Method and device for arranging die
JP3532603B2 (en) Automatic number assignment method
JPH02228722A (en) Output code determining method by combined key input
JPS62157942A (en) Record linking system in two files
JPH0589103A (en) Document editing processor
JPH04346126A (en) Program generation device
JPS6286436A (en) Editor control information generating system
JPH025132A (en) Automatic document forming system
JPH0668744B2 (en) NCP load module update processing method
JPH02184963A (en) Document editing system
JPS6349927A (en) Execution system for plural sort processing
JPH01159733A (en) Source program generation processing system in precompiler
JPS62214422A (en) Text input/output control system
JPS62212726A (en) Compression processing system for index key