JPS62191928A - Division display system for text editer - Google Patents
Division display system for text editerInfo
- Publication number
- JPS62191928A JPS62191928A JP61034377A JP3437786A JPS62191928A JP S62191928 A JPS62191928 A JP S62191928A JP 61034377 A JP61034377 A JP 61034377A JP 3437786 A JP3437786 A JP 3437786A JP S62191928 A JPS62191928 A JP S62191928A
- Authority
- JP
- Japan
- Prior art keywords
- screen
- display
- source program
- pointer
- source
- 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
Links
- 238000000034 method Methods 0.000 claims abstract description 10
- 238000010586 diagram Methods 0.000 description 2
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
この発明は、ソースプログラムを編集するためのプログ
ラムのテキストエディタにおける画面表示を左右に二分
割して表示するテキストエディタの分割表示方式に関す
る。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a split display method for a text editor in which the screen display of a program for editing a source program in a text editor is divided into left and right halves.
従来の技術では、テキストエディタにおいてソースプロ
グラムの内容を画面表示する際は、第3図に示すように
、プログラム上の1つの範囲を対象とし、表示画面−行
に対してソースプログラム上の1行を表示していた。In conventional technology, when displaying the contents of a source program on a screen in a text editor, one range on the program is targeted, and one line on the source program is displayed for each line on the display screen, as shown in Figure 3. was displayed.
このような従来のテキストエディタにおける画面表示方
式においては、ソースプログラム上の1つの範囲しか表
示していなかったため、他の関連する範囲を同時に画面
上で見ることは出来ないという欠点があった。In the screen display method of such a conventional text editor, only one range on the source program was displayed, so there was a drawback that other related ranges could not be viewed on the screen at the same time.
本発明の目的は、このような欠点を解決し、関連するプ
ログラムを同一画面上に表示できるようにしたテキスト
エディタの分割表示方式を提供することにある。SUMMARY OF THE INVENTION An object of the present invention is to provide a split display system for a text editor that solves these drawbacks and allows related programs to be displayed on the same screen.
本発明の構成は、キーボードとCRT表示手段を用いて
ソースプログラムを編集するテキストエディタの分割表
示方式において、編集対象となるソースプログラムを作
業用ファイルに格納する格納手段と、前記作業用ファイ
ルに格納されているソースプログラム中の独立な表示開
始位置を示す2個のポインタによって指定された範囲を
同一画面上で左右に二分割して画面表示させる画面表示
手段とを倉むことを特徴とする。The present invention provides a split display method for a text editor in which a source program is edited using a keyboard and a CRT display means. The present invention is characterized by having a screen display means for displaying a range designated by two pointers indicating independent display start positions in a source program being displayed on the same screen by dividing it into left and right halves.
次に本発明を図面により詳細に説明する。 Next, the present invention will be explained in detail with reference to the drawings.
第1図は本発明の一実施例を説明するプロ・ツク図であ
る。本実施例は、テキストエディタにおける編集の対象
となるソースプログラムが格納されるソースファイル1
と、編集を行い修正されたソースプログラム20を一時
的に格納する作業ファイル2と、分割画面上の左右の表
示領域各々の先頭行をさしソースファイル中の該当行番
号を格納しているポインタ6並びにポインタ7と、ソー
スファイル1の内容を作業ファイル2に格納するための
作業ファイル格納手段3および作業ファイル2に格納さ
れているソースプログラムを画面の左右に分割表示させ
るための画面表示手段4を片む処理部10と、分割画面
を表示させるコマンドやソースプログラムの編集等の入
力を行うための装置であるCR7表示装置5およびキー
ボード6とから構成されている。FIG. 1 is a process diagram illustrating one embodiment of the present invention. In this embodiment, source file 1 stores a source program to be edited in a text editor.
, a work file 2 that temporarily stores the edited and corrected source program 20, and a pointer that points to the first line of each of the left and right display areas on the split screen and stores the corresponding line number in the source file. 6 and a pointer 7, a work file storage means 3 for storing the contents of the source file 1 in the work file 2, and a screen display means 4 for displaying the source program stored in the work file 2 split on the left and right sides of the screen. It is comprised of a processing section 10 for displaying a split screen, a CR7 display device 5 and a keyboard 6, which are devices for inputting commands for displaying a split screen, editing of source programs, and the like.
次に、作業ファイル格納手段2の流れは、まずソースプ
ログラム10をソースファイル1から読出し、ソースプ
ログラムを読込み部21で読込み、次に作業ファイル2
に格納し、この作業ファイル2を作業ファイル出力部2
2から読出す。また、画面表示手段4の流れは、まず作
業ファイル2からの出力にその表示範囲を表示範囲設定
部31で設定し、画面表示用出力を画面表示部32で作
成し、CRT表示部5に表示する。Next, the flow of the work file storage means 2 is that the source program 10 is first read from the source file 1, the source program is read by the reading section 21, and then the work file 2 is read.
This work file 2 is stored in the work file output section 2.
Read from 2. The flow of the screen display means 4 is as follows: First, the display range setting section 31 sets the display range for the output from the work file 2, the screen display section 32 creates the output for screen display, and the output is displayed on the CRT display section 5. do.
次に本実施例の動作について詳細の説明を行う。Next, the operation of this embodiment will be explained in detail.
作業ファイル格納手段2においては、編集の対象となる
ソースプログラム10が格納されているソースファイル
1からソースプログラム読込み部21によって読込み単
位毎に読込まれ、作業ファイル出力部22によって、編
集されたソースプログラムの一時的な格納場所である作
業ファイル2に逐次出力される。In the work file storage means 2, the source program reading section 21 reads in each reading unit from the source file 1 in which the source program 10 to be edited is stored, and the edited source program is read by the work file output section 22. are sequentially output to work file 2, which is a temporary storage location.
次に、画面表示手段3においては、表示範囲設定部31
でソースプログラム上の表示を行いたい2つの範囲の先
頭行番号をポインタ7及びポインタ8に指定/設定する
ことによって作業ファイル2に存在するソースプログラ
ム中の2つの該当行番号に表示開始位置が設定される。Next, in the screen display means 3, the display range setting section 31
By specifying/setting the first line numbers of the two ranges that you want to display on the source program to pointer 7 and pointer 8, the display start position is set to the two corresponding line numbers in the source program that exists in work file 2. be done.
そこで先ず、画面表示手段32によって表示開始位置が
設定された2つのポインタのうち、ポインタ7によって
ソースプログラム中の該当ステップを左半分の画面に1
行表示し、この1行表示が終わったらポインタ7の内容
を1づつ上げてゆき、左画面全体を表示し終わるまで、
ソースステップの逐次画面表示を行っていく。これによ
ってポインタ7に示される行番号を表示開始位置とする
画面表示が完了すると、次にポインタ7と同様の手続き
により画面表示手段32を用いてポインタ8で示される
行番号を表示開始位置とする第二の表示範囲を画面上の
右半分の領域に表示してゆく。右半分の画面を全て表示
し終わると、第2図の様な形式の分割画面が表示される
。First, of the two pointers whose display start positions are set by the screen display means 32, pointer 7 is used to move the corresponding step in the source program to the left half of the screen.
Display the line, and when this one line display is finished, increase the contents of pointer 7 by 1 until the entire left screen is displayed.
The source steps are sequentially displayed on the screen. When the screen display with the line number indicated by pointer 7 as the display start position is completed, the next step is to use the screen display means 32 in the same procedure as pointer 7 to set the line number indicated by pointer 8 as the display start position. The second display range is displayed in the right half area on the screen. When the entire right half of the screen is displayed, a split screen as shown in FIG. 2 will be displayed.
以上説明したように、この発明によれば、テキストエデ
ィタにおける画面表示方式として画面の左半分に、ソー
スプログラムのある範囲を、また画面の右半分に別の範
囲を表示することにより、関連し合うソースプログラム
中の別々の範囲を同一画面に表示することが可能になり
、関連するプログラム作業を効率的に行うことができる
。As explained above, according to the present invention, as a screen display method in a text editor, a certain range of the source program is displayed on the left half of the screen, and another range is displayed on the right half of the screen, so that they can be related to each other. It becomes possible to display different ranges in a source program on the same screen, and related program work can be performed efficiently.
第1図は本発明のテキストエディタにおける分割表示方
式の一実施例を示すブロック図、第2図は本実施例のテ
キストエディタにおける分割表示例を示す正面図、第3
図は従来技術による画面表示例を示す正面図である。
1・・・ソースファイル、2・・・作業ファイル、3・
・・作業ファイル格納手段、4・・・画面表示手段、5
・・・CRT表示部、6・・・キーボード、10・・・
処理部、20・・・ソースプログラム、21・・・ソー
スプログラム読込み部、22・・・作業ファイル出力部
、31・・・表示範囲設定部、32・・・画面表示部。
半1面FIG. 1 is a block diagram showing an embodiment of the split display method in the text editor of the present invention, FIG. 2 is a front view showing an example of split display in the text editor of the present embodiment, and FIG.
The figure is a front view showing an example of a screen display according to the prior art. 1... Source file, 2... Work file, 3.
...Work file storage means, 4...Screen display means, 5
...CRT display section, 6...keyboard, 10...
Processing unit, 20... Source program, 21... Source program reading unit, 22... Work file output unit, 31... Display range setting unit, 32... Screen display unit. Half 1 page
Claims (1)
ムを編集するテキストエディタの分割表示方式において
、編集の対象となるソースプログラムを作業用ファイル
に格納する格納手段と、前記作業用ファイルに格納され
ているソースプログラム中の各々独立な表示開始位置を
示す2個のポインタにより指定された範囲を同一画面上
で左右に二分割表示させる画面表示手段とを含むことを
特徴とするテキストエディタの分割表示方式。In a split display method of a text editor in which a source program is edited using a keyboard and a CRT display means, there is provided a storage means for storing a source program to be edited in a work file, and a source stored in the work file. A split display method for a text editor, comprising screen display means for displaying a range specified by two pointers indicating independent display start positions in a program into two parts on the same screen, left and right.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61034377A JPS62191928A (en) | 1986-02-18 | 1986-02-18 | Division display system for text editer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61034377A JPS62191928A (en) | 1986-02-18 | 1986-02-18 | Division display system for text editer |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS62191928A true JPS62191928A (en) | 1987-08-22 |
Family
ID=12412478
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP61034377A Pending JPS62191928A (en) | 1986-02-18 | 1986-02-18 | Division display system for text editer |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS62191928A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7684062B2 (en) | 1999-02-26 | 2010-03-23 | Canon Kabushiki Kaisha | Information processing apparatus, device setting method, and computer-readable memory storing device driver program therein |
-
1986
- 1986-02-18 JP JP61034377A patent/JPS62191928A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7684062B2 (en) | 1999-02-26 | 2010-03-23 | Canon Kabushiki Kaisha | Information processing apparatus, device setting method, and computer-readable memory storing device driver program therein |
US7911637B2 (en) | 1999-02-26 | 2011-03-22 | Canon Kabushiki Kaisha | Printing using multiple paper sources |
US8305621B2 (en) | 1999-02-26 | 2012-11-06 | Canon Kabushiki Kaisha | Printing using multiple paper sources |
US8780370B2 (en) | 1999-02-26 | 2014-07-15 | Canon Kabushiki Kaisha | Changing a page layout preview picture in accordance with an operation on the preview picture |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS62191928A (en) | Division display system for text editer | |
JPS58163036A (en) | Automatic numbering device | |
JP2830913B2 (en) | How to edit a schedule table with adjustable scale | |
JP2842511B2 (en) | Form creation device | |
JP2682826B2 (en) | Graphic display method in graphic processing device | |
JP2667187B2 (en) | Line clipping method in multi-window | |
JPH03171364A (en) | Preparing device for state transition chart | |
JP2000000066A (en) | Device for analyzing process for producing food | |
JPH02158879A (en) | Method for arranging graphic in graphic processing system | |
JP2667454B2 (en) | Plotting device | |
JPH10187683A (en) | Table preparation system for word processor | |
JP3601971B2 (en) | Bit data display system | |
JP2624183B2 (en) | How to determine the beginning of a line | |
JPS63205772A (en) | Segment forming system in graphic processing system | |
JPH0527875B2 (en) | ||
JPH04248677A (en) | Method and device for drawing wall or beam in building drawing or the like | |
JPH04104337A (en) | Processing waiting time display system | |
JPH0744605A (en) | Pattern layout device | |
JPH03255575A (en) | Automatic numbering system | |
JPH01177607A (en) | System for editing sequence program | |
JPH04127374A (en) | Interactive parametric graphic processing method | |
JPH0457155A (en) | Text edit processing device | |
JPS62298808A (en) | Automatic nc programming device | |
JPS63195764A (en) | Multi-area simultaneous editing system | |
JPH04314135A (en) | Error message displaying system |