JPS5864547A - Inserting and deleting method for character by limiter selection system - Google Patents

Inserting and deleting method for character by limiter selection system

Info

Publication number
JPS5864547A
JPS5864547A JP56162688A JP16268881A JPS5864547A JP S5864547 A JPS5864547 A JP S5864547A JP 56162688 A JP56162688 A JP 56162688A JP 16268881 A JP16268881 A JP 16268881A JP S5864547 A JPS5864547 A JP S5864547A
Authority
JP
Japan
Prior art keywords
characters
limiter
corrected
character
correction
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
JP56162688A
Other languages
Japanese (ja)
Inventor
Yoshinobu Sone
曽根 良信
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.)
Hitachi Engineering Co Ltd
Hitachi Ltd
Original Assignee
Hitachi Engineering Co Ltd
Hitachi Ltd
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 Hitachi Engineering Co Ltd, Hitachi Ltd filed Critical Hitachi Engineering Co Ltd
Priority to JP56162688A priority Critical patent/JPS5864547A/en
Publication of JPS5864547A publication Critical patent/JPS5864547A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To prevent occurrence of erroneous operation, by specifying part of the display screen area of a CRT display with an upper and a lower limiter, and inserting and deleting characters in the specified area. CONSTITUTION:A program or data to be corrected are read out of a storage table 1 for the program and data that a user generates and then displayed on a CRT display device 2. For this correction processing, necessary information is specified on a keyboard 3 and the cursor is moved to a corrected point. In this case, only display information within a correction range is corrected by a character inserting and deleting command system 4 by a limiter selection system and redisplayed on the device 2, thereby proceeding to successive processing. A column varying part 8 is arranged between the upper and lower limiters 7-1 and 7-2 on this display screen 5, and column fixation parts 6-1 and 6-2 are also arranged corresponding to the limiters 7-1 and 7-2 to insert and delete characters, thus preventing occurrence of erroneous operation.

Description

【発明の詳細な説明】 本発明は鍵盤とCRTディスプレイ装置を入力媒体とし
て、プログラム又はデータの作成や修正及び追加を行う
マンマシンシステムに係シ、特に表示文字列中に文字の
挿入或いは削除などによるカラム(列)移動の影響を及
ぼしたくない箇所(以下刃ラム固定部と称す。)がある
場合に好適な、修正範囲を任意に設定するりミツターセ
レクション方式を採用した文字の挿入・削除処理に関す
る。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a man-machine system for creating, modifying, and adding programs or data using a keyboard and a CRT display device as input media, and in particular for inserting or deleting characters in a displayed character string. Inserting and deleting characters by setting the correction range arbitrarily or using the Mitsutah selection method, which is suitable when there is a part (hereinafter referred to as the blade ram fixed part) that you do not want to be affected by column movement. Regarding processing.

画面によるプログラムの部分修正作業ではりミツターを
いかに設けて修正による他への影響を防ぐかがキーポイ
ントとなってくる。
When partially modifying a program using the screen, the key point is how to set up a barrier to prevent the modification from affecting others.

従来のワードプロセッサーでは、上下限のIJ Sツタ
−を画面の複数桁分に渡って設定したり、画面−桁分の
みを対象として設定したり出来るが、これをプログラム
デバッグ修正作業に適応した場合、前者の設定法では複
数行にまたがった+) ミツターに含まれるものは全て
修正の対象となる。例えば最初の一行にいくつかの文字
を挿入した場合その行からあふれた文字は次の行へずれ
、またそのためにあふれた文字はその次の行へと連続的
にずれていく事になる。つまりカラム固定部がある場合
は事前にカラムがいくつずれるかをみてずらしておくか
、或いは事後にそこだけ元のカラムに戻しておく必要が
あった。従って一箇所の修正に最低二度のハンドリング
を行わなければならず、これではマンマシンによるプロ
グラム修正、即ち各行で独立した情報の部分修正を行う
には手間がかかり、誤操作も起こし易くなる。捷た後者
のように画面−桁分に対して上下限のりミツターを設定
した場合は、リミッタ−を設定した行の修正が終わると
別の行へりミツターを設定し直す必要があり、修正を要
するステートメントが複数行ある場合はその桁数分だけ
IJ ミツターの設定処理を繰り返さ々ければならない
。これは労力や時間の労費であり、効率の点で難がある
In conventional word processors, the upper and lower limits of IJS can be set for multiple digits of the screen, or can be set for only the digits of the screen, but when this is applied to program debugging and correction work, In the former setting, anything in the mitzah that spans multiple lines is subject to modification. For example, if you insert several characters in the first line, the overflowing characters will be shifted to the next line, and the overflowing characters will be continuously shifted to the next line. In other words, if there was a column fixing part, it was necessary to see in advance how many columns would be shifted and shift it, or to return only that part to the original column after the fact. Therefore, it is necessary to carry out handling at least twice to correct one location, and in this case, it is time-consuming for a man-machine to correct the program, that is, to partially correct information independent of each line, and is prone to operational errors. If you set the upper and lower limit limiters for the screen digits as in the latter case, once you finish correcting the line where the limiter is set, you will need to set the limiter again for another line, which requires correction. If the statement has multiple lines, the IJ Mitter setting process must be repeated for the number of digits. This costs labor and time, and is difficult in terms of efficiency.

本発明の目的は、表示プログラム又はデータに対する文
字の挿入・削除処理に於いて、カラム固定部を意識する
事なく一度の・・ンドリングにより処理を済ませること
で作業に要する労力や時間を軽減すると共に、プログラ
ムデバッグ修正作業を高品質・高信頼性のものにすべく
、キャラクタ−のインサート・デリートコマンド方式を
提供する事にある。
An object of the present invention is to reduce the labor and time required for inserting or deleting characters in a display program or data by completing the process in a single operation without having to be aware of column fixed parts. The object of the present invention is to provide a character insert/delete command system in order to improve the quality and reliability of program debugging and correction work.

本発明は従来技術の問題点に着目し、予め修正範囲のリ
ミットを指定しておき修正範囲外の文字(カラム固定部
)には影響を及はす事なく一度のハンドリングで自由に
、しかも修正箇所が複数行に及ぶ1易合でも連続的に文
字の挿入・削除を行うことができ、加えてIJ ミツタ
ーを可変にしておく事でどのようなプログラム言語にも
対応できるようにしている。尚、挿入処理により修正行
の左端の文字が上限IJ ミツターからはみ出し1表示
画面から消滅した場合は、その行全体をリバース表示し
てユーザーに注意を促す事で修正作業の誤操作を防いで
いる。ここでリバース表示とは文字とバック(画面)の
色を入れ替えて表示することである。
The present invention focuses on the problems of the prior art, and specifies the limits of the correction range in advance, allowing characters outside the correction range (column fixed parts) to be freely edited in a single handling without affecting them. It is possible to insert and delete characters continuously even in a single case that spans multiple lines, and by making the IJ mitter variable, it can be used with any programming language. Furthermore, if the leftmost character of the correction line protrudes from the upper limit IJ mitzah and disappears from the 1 display screen due to the insertion process, the entire line is displayed in reverse to alert the user, thereby preventing erroneous operations during correction work. Here, "reverse display" means displaying the text and background (screen) by changing their colors.

以下、本発明の一実施例を画面を用いて説明する。第1
図は本発明の実施例に於けるデータの流れを示したもの
である。第1図に於いて修正の必要なユーザープログラ
ム又はデータがメインメモリ1から読み出され、(、R
Tディスプレイ装置2に画面表示される。そしてユーザ
ーによシ修正処理に必要な情報が鍵盤3により指定され
る。ここに修正処理に必要な情報とはインサート(又は
デリート)コマンド、修正文字数、及び必要ならば修正
範囲の新規設定値、そして最後に16正箇所へのカソー
ル移動等である。その後本発明のりミツターセレクショ
ン方式によるキャラクタ−のインサート・デリート方式
4によって修正・蛇囲内の表示情報のみ修正が施され、
CRTディスプレイ装置に再表示され次の処理(例えば
新たな文字の挿入・削除処理、或いは修正済みユーザー
プログラム又はデータのメインメモリへの格納処理等)
へ移行することになる。
An embodiment of the present invention will be described below using screens. 1st
The figure shows the flow of data in an embodiment of the present invention. In FIG. 1, the user program or data that needs to be modified is read out from the main memory 1,
The screen is displayed on the T display device 2. Then, the user specifies information necessary for the correction process using the keyboard 3. The information necessary for the correction process here includes an insert (or delete) command, the number of characters to be corrected, a new set value for the correction range if necessary, and finally, movement of the cursor to the 16-point position. After that, only the display information within the meandering area is corrected by the character insert/delete method 4 using the glue selection method of the present invention.
It is redisplayed on the CRT display device for further processing (e.g. inserting or deleting new characters, or storing modified user programs or data in main memory).
will be moved to.

第2図は本発明の実施例に於ける表示情報のりミツター
設定例である。第2図に於いて上下限のりミツターには
さまれた部分8が修正範囲であり、文字の挿入・削除に
よるカラム移動が行われる部分である。それ以外の部分
は修正範囲外ということになり、カラム移動は行われな
い。5はCRT画面全体を示している。6−1.6−2
はカラム固定部で、注釈行文番号継続性そして識別番号
を示している。7−1および7−2は上、下限リミッタ
である。
FIG. 2 is an example of display information limiter settings in the embodiment of the present invention. In FIG. 2, the area 8 between the upper and lower limits is the correction range, and is the area where columns are moved by inserting or deleting characters. Other parts are outside the correction range, and no column movement is performed. 5 shows the entire CRT screen. 6-1.6-2
is the column fixed part, indicating the annotation line number continuity and identification number. 7-1 and 7-2 are upper and lower limiters.

第3図はりミツターセレクション方式によるキャラクタ
−のインサート・デリート方式の概略フローを示したも
のである。第3図のブロックDからJに於いては、指定
された修正文字数分繰り返し処理することを示している
。ブロックAに於いては指定コマンドを取り込み、修正
がインサート処理なのかデリート処理なのかを決定し、
また修正文字数を取り込み、連続処理の回数を決定する
FIG. 3 is a schematic flowchart of a character insert/delete method based on the mitsutah selection method. Blocks D to J in FIG. 3 indicate that the processing is repeated for the specified number of characters to be corrected. In block A, the specified command is imported, and it is determined whether the modification is an insert process or a delete process,
It also takes in the number of corrected characters and determines the number of consecutive processes.

そして修正範囲(リミッタ−)の指定があれば修正範囲
の更新を行い、最後に指定カーソル座標を取り込む。ブ
ロックBに於いては先に取り込んだ指定情報の合理性チ
ェックを行っている。ここでコマンド、修正文字数、修
正範囲及びカーソル指定に誤りがあればNGのルーチン
を通ることになる。ブロックCに於いては指定された当
該カーソル番目即ちX座標に修正文字数を加味した値が
修正範囲内にあるかどうかを判定し、修正処理の要・否
を決定する。ここで指定X座標に修正文字数を加味した
値が修正範囲から外れる場合は否のルーチンを通ること
になる。ブロックFに於いて指定コマンドがインサート
であれば表示情報の後詰めを行い、指定コマンドがデリ
ートであれば前詰めを行う。ブロックGに於いては後詰
めによる情報の移動先が修正範囲内□にあるかどうかを
判定し、リバース表示の要・否を決定する。ここで情報
の移動先が全て修正範囲内に収捷るならば、リミッタ−
内のルーチンを通ることになる。ブロックHに於いては
モードをリバース表示のモードに切り換えている。ブロ
ック■に於いては前詰め・後詰めに伴い情報の移動元を
スペースクリアして、データのオーバーラツプを解消し
ている。ブロック■(に於いては修正済みの表示情報を
画面出力し、最後にリバースモードを解除している。
If a correction range (limiter) is specified, the correction range is updated, and finally the specified cursor coordinates are imported. In block B, the rationality of the previously fetched specified information is checked. If there is an error in the command, the number of characters to be modified, the range to be modified, or the cursor specification, the process will pass through the NG routine. In block C, it is determined whether the value obtained by adding the number of characters to be corrected to the specified cursor number, that is, the X coordinate, is within the correction range, and whether correction processing is necessary or not is determined. Here, if the value obtained by adding the number of modified characters to the specified X coordinate is outside the modification range, the routine goes through the NO routine. In block F, if the designated command is insert, the display information is rear-justified, and if the designated command is delete, the display information is front-justified. In block G, it is determined whether the destination of the information due to last-filling is within the correction range □, and whether or not reverse display is necessary is determined. If all the information destinations are within the correction range, the limiter
You will go through the routines within. In block H, the mode is switched to reverse display mode. In block (2), space is cleared at the source of the information by front-filling and rear-filling to eliminate data overlap. In block ■(, the corrected display information is output on the screen and the reverse mode is finally released.

本実施゛例によればカラム固定部に影響を及ぼす事無く
、寸だ一行毎にリミッタ−を設定し直す必要も無く、ユ
ーザーの希望する箇所から希望する文字数分の文字の挿
入・削除が可能となるため、カーソル座標さえ換えれば
連続して修正作業を行うことができ、しかも挿入によシ
あふれが生じた場合はその行全体がリバース表示される
ため、処理結果を色彩の変化で確認することができ、誤
操作を防ぐという効果がある。
According to this example, the user can insert or delete the desired number of characters from the desired location without affecting the column fixed part and without having to re-set the limiter for each line. Therefore, you can continue editing by changing the cursor coordinates, and if an overflow occurs during insertion, the entire line is displayed in reverse, so you can check the processing result by changing the color. This has the effect of preventing erroneous operations.

本発明により次のような効果がある。The present invention has the following effects.

(1)  カラム固定部を事前、或いは事後に移動させ
るという二度手間が省ける。
(1) Eliminates the need to move the column fixing section twice before or after the procedure.

(2)  カラム固定部を意識する事無く、文字の挿入
・削除処理が行える。
(2) Characters can be inserted and deleted without being aware of column fixed parts.

(3)同一言語のプログラム又は、同種のデータに関し
ては一度だけIJ ミツターを設定すれば、後は連続し
て文字の挿入・削除処理が行える。
(3) For programs in the same language or data of the same type, you only need to set the IJ meter once, and then characters can be inserted and deleted continuously.

(4)挿入処理により上限IJ ミツターからはみ出し
、画面から消滅した文字があっても、その有無を−早く
確認することができる。
(4) Even if there is a character that protrudes from the upper limit IJ limit and disappears from the screen due to the insertion process, the presence or absence of the character can be quickly confirmed.

(5)上記(1)〜(4)の理由により修正に要する労
力や時間が軽減できる。
(5) Due to the reasons (1) to (4) above, the effort and time required for correction can be reduced.

(6)移動してし1つたカラム固定部を戻し忘れる、又
は戻し先を間違えるといったミスが無くなる。
(6) Mistakes such as forgetting to return the column fixing part that has been moved or returning it to the wrong destination are eliminated.

(力 上記(1)〜(6)の理由により正確かつ迅速に
文字の挿入・削除を行うことができ、プログラムデバッ
グ修正作業の処理性の向上、高信頼性の確保、及び能率
向上等の効果がある。
(Power) Due to the reasons (1) to (6) above, it is possible to insert and delete characters accurately and quickly, which has the effect of improving the processability of program debugging and correction work, ensuring high reliability, and improving efficiency. There is.

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

第1図は本発明を説明するための系統図、第2図は本発
明の実施例に於けるリミッタ−の設置例を示す図、第3
図は本発明の実施り1の政略フローを示す図である。 1・・・ユーザー作成の修正プログラム又はデータの格
納テーブル、2・・・C’RTディスプレイ装置、3・
・・鍵盤、4・・・リミッタ−セレクション方式による
キャラクタ−のインサート・デリートコマンド方式、5
・・・CRT画面、6−1・・カラム固定部、6−2・
・・カラム固定部2(識別番号)、7−1・・・上限り
ミツター、7−2・・・下限りミツター、8・・・カ第
2図
Fig. 1 is a system diagram for explaining the present invention, Fig. 2 is a diagram showing an example of setting a limiter in an embodiment of the present invention, and Fig. 3 is a diagram showing an example of setting a limiter in an embodiment of the present invention.
The figure is a diagram showing the political flow of the first embodiment of the present invention. 1... User-created modification program or data storage table, 2... C'RT display device, 3.
...Keyboard, 4...Character insert/delete command method using limiter selection method, 5
... CRT screen, 6-1... Column fixing part, 6-2.
...Column fixing part 2 (identification number), 7-1... Upper limit limiter, 7-2... Lower limit limiter, 8... Figure 2

Claims (1)

【特許請求の範囲】[Claims] 1゜鍵盤とCR,Tディスプレイ装置を媒体として、表
示情報の修正や追加を行う電子計算機システムに於いて
、表示画面領域中の特定領域を上下限りミツターを設け
て定め、該定められた特定領域についてキャラクタの挿
入・削除を行う事を特徴とするりミツターセレクション
方式によるキャラクタ−のインサート・デリート方法。
1. In a computer system that uses a keyboard and a CR/T display device as media to modify or add display information, a specific area in the display screen area is defined by setting upper and lower limits, and the defined specific area is A method for inserting and deleting characters using the Rimitzah selection method, which is characterized by inserting and deleting characters.
JP56162688A 1981-10-14 1981-10-14 Inserting and deleting method for character by limiter selection system Pending JPS5864547A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56162688A JPS5864547A (en) 1981-10-14 1981-10-14 Inserting and deleting method for character by limiter selection system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56162688A JPS5864547A (en) 1981-10-14 1981-10-14 Inserting and deleting method for character by limiter selection system

Publications (1)

Publication Number Publication Date
JPS5864547A true JPS5864547A (en) 1983-04-16

Family

ID=15759404

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56162688A Pending JPS5864547A (en) 1981-10-14 1981-10-14 Inserting and deleting method for character by limiter selection system

Country Status (1)

Country Link
JP (1) JPS5864547A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07168819A (en) * 1994-08-23 1995-07-04 Brother Ind Ltd Data processor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07168819A (en) * 1994-08-23 1995-07-04 Brother Ind Ltd Data processor

Similar Documents

Publication Publication Date Title
GB2077966A (en) Programming equipment
JPH0727349B2 (en) Multi-window display control method
US4448557A (en) Method and means for inhibiting interleaving or cave-in among table text columns resulting from column insertion
JPS5864547A (en) Inserting and deleting method for character by limiter selection system
JPS58103035A (en) Tab position display
JPH0128974B2 (en)
JPS59116785A (en) Character/graphic information input display system
JPS6385864A (en) Design evaluating device
JPS6341919A (en) Command processing system
JP2518157B2 (en) Method and device for generating revision history of program
JPH0750480B2 (en) Text data editing device
JPH08339413A (en) Data entry device
JP2815364B2 (en) CAD equipment
JPH08161376A (en) Drawing file editing system
JPS6376060A (en) Data input processing system
JPH0534707B2 (en)
JPS6152778A (en) Picture editing device
JPS58105302A (en) Illustrating programming device of programmable controller
JPH04232510A (en) Editing device for robot controller
JPH02275524A (en) Multiwindow edition control system
JPH05165901A (en) Method and device for correcting progressive dimension
JPH06162015A (en) Data display method
JPH04309112A (en) Method and device for processing document
JPS6323576B2 (en)
JPH036658A (en) Character processor