JPS62154168A - Sentence input device - Google Patents

Sentence input device

Info

Publication number
JPS62154168A
JPS62154168A JP60296747A JP29674785A JPS62154168A JP S62154168 A JPS62154168 A JP S62154168A JP 60296747 A JP60296747 A JP 60296747A JP 29674785 A JP29674785 A JP 29674785A JP S62154168 A JPS62154168 A JP S62154168A
Authority
JP
Japan
Prior art keywords
character
line
cursor
digit
display
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
JP60296747A
Other languages
Japanese (ja)
Inventor
Ryoji Sagara
相良 良二
Tetsuya Tobeta
戸部田 哲也
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP60296747A priority Critical patent/JPS62154168A/en
Publication of JPS62154168A publication Critical patent/JPS62154168A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To confirm characters inputted at each relevant time point with no shift of a display area even at a time point immediately after the replacement of the character of the final digit of the 1st line or the insertion of characters, by displaying both the character where a cursor is set and the character of the final digit of the line immediately preceding the line of said character where the cursor is set. CONSTITUTION:When characters are inputted, a sentence editing means 3 performs the replacement or insertion of those input characters and then given an instruction for the forward shift of a cursor. Thus the cursor moves forward up to the 7th digit from the final digit of a LCD display device 9 are then tries to move to the next digit. Here the displayed character is shifted by a digit. Then the cursor is moved to the 7th digit from the final one after the input of characters and therefore the characters within a display driver 5 are shifted by a digit. At the same time, the character data on the head digit of the 2nd line stored in a character buffer 8 is stored in the final digit of the driver 5 and then displayed. then the next characters are inputted.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、入力された文章を表示させ、表示画面に従っ
て入力文章の更新・編集を行なうだめの文章入力装置に
関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a text input device for displaying input text and updating and editing the input text according to the display screen.

従来の技術 近年、パソコン・ワープロの普及に伴い文章を機械に入
力する機会が増しており、文章入力装置の使い易さが増
々要求されている。このような中で、スクリーン・エデ
ィタは、画面を見ながら容易に文章の入力・編集ができ
るため、はとんどの入力装置に採用されている。この様
な文章入力装置から出力される文章には様々な形式・サ
イズがあり、必ずしも表示画面のカラム数と出力文意の
カラム数とが一致しない。このため、通常、記憶されて
いる文章のうちカーソル付近の文章を表示して追加・変
更・削除を行ない、カーソル移動に伴って表示画面を変
更していく方法がとられる。
BACKGROUND OF THE INVENTION In recent years, with the spread of personal computers and word processors, opportunities to input text into machines have increased, and text input devices are increasingly required to be easier to use. Under these circumstances, screen editors are used in most input devices because they allow users to easily input and edit text while looking at the screen. Sentences output from such text input devices come in various formats and sizes, and the number of columns on the display screen does not necessarily match the number of columns in the output sentence. For this reason, a method is usually used in which the text near the cursor is displayed among the stored texts and added, changed, or deleted, and the display screen is changed as the cursor moves.

従来は、例えば第15図に示される一行40文字の文章
を入力した場合、これをLCD表示器等に表示させるた
めには、文章用記憶手段、すなわちテキストメモリから
一桁分(すなわち40桁分)の文字データを行バッファ
に取り込み、この行バ、ソファから必要な領域の文字デ
ータを表示用ドライバに格納させ、LCD表示器等に表
示させていた。そして、次の行の内容を表示する場合に
は、現在表示中の行に代えて次の行の文字データを新た
に行ハ、ソファに取り込み、同様に表示させていた。こ
の場合、LCD表示器およびそれを駆動させる表示用ド
ライバの桁数が一桁分の桁数に等しい場合は行バ・ソフ
ァの内容をそのまま表示ドライバに格納させるが、−桁
分の桁数より少ない場合、例えば26桁程度である場合
は、行バ・フファ内の表示ドライバ側に出力する表示領
域をスクロールさせる事となる。そして、表示させる 
行の行番号、および行バッフ7内の表示領域は、その時
のカーソル位置、すなわちカーソルが置かれる文字のテ
キストメモリ内の番地によって定められ、カーソル位置
の移動に伴ってスクロールさせるようになっている。そ
して、常にカーソルが置かれる文字が表示されるように
なっている。
Conventionally, when a sentence of 40 characters per line as shown in FIG. ) is taken into a line buffer, and the character data of the necessary area from this line bar and sofa is stored in a display driver and displayed on an LCD display or the like. When displaying the contents of the next line, character data of the next line is newly imported into the sofa instead of the currently displayed line and displayed in the same manner. In this case, if the number of digits of the LCD display and the display driver that drives it is equal to the number of digits for one digit, the contents of the row bar sofa are stored as they are in the display driver, but If the number is small, for example, if it is about 26 digits, the display area output to the display driver side in the row buffer will be scrolled. and display
The line number of the line and the display area in the line buffer 7 are determined by the current cursor position, that is, the address in the text memory of the character where the cursor is placed, and are scrolled as the cursor position moves. . The character where the cursor is placed is always displayed.

カーソル位置は、カーソル移動命令の細文字の挿入また
は置き換えによって移動する。すなわち第16図に示さ
れるように、LCD表示器の行末部に表示された”Th
1s  ”を” 5econd”という文字に置き換え
たい場合、まず置き換えモードにして、カーソルを”T
“の位置に移動させ、上記の文字を入力させる。すると
、表示画面はまず第16図(ロ)、(ハ)、に)、(ホ
)のように更新される。第16図(ホ)ではカーソル位
置は第1行目の最終桁の文字(ただし本例ではスペース
となっている)となっており、この状態で5文字目のn
”を入力すると、カーソル位置は第2行目の最先桁の文
字となり、入力直後に行パ・ソファの内容は第2行目の
内容に書き換えられると共に、第16図(へ)に示され
るように第2行目の先頭部の文字列が表示される。
The cursor position is moved by inserting or replacing small characters in the cursor movement command. That is, as shown in FIG. 16, "Th" displayed at the end of the line on the LCD display
If you want to replace ``1s'' with the characters ``5econd'', first set the replace mode and move the cursor to ``T''.
" and input the above characters. Then, the display screen will be updated as shown in Figure 16 (B), (C), (C), (E). Figure 16 (E) In this case, the cursor position is the last character of the first line (however, it is a space in this example), and in this state, the cursor position is the 5th character n.
”, the cursor position becomes the first digit character of the second line, and immediately after the input, the contents of the line Pa Sofa are rewritten to the contents of the second line, and the contents are shown in Figure 16 (F). The character string at the beginning of the second line is displayed.

また、同様の文字を挿入モードにおいて入力した場合で
も、6文字目の“nnを入力した直後に、前記と同様に
表示画面が第2行目の文字列に更新される。
Further, even when similar characters are input in the insert mode, immediately after inputting the sixth character "nn", the display screen is updated to the character string on the second line in the same manner as described above.

発明が解決しようとする問題点 しかし、上記のように構成された文章入力装置では、行
の最終文字の位置で文字の置換・挿入を実行した場合、
表示が次の行の先頭部に移動するため、直前に置換・挿
入した文字(本例の場合ではn)が確認できず、確認の
ためにはカーソルを1度後退させて前行を表示させる必
要があゆ、作業が煩雑になるという問題点を有していた
Problems to be Solved by the Invention However, in the text input device configured as described above, when replacing or inserting a character at the position of the last character in a line,
Because the display moves to the beginning of the next line, you cannot confirm the character that was replaced or inserted just before (n in this example). To confirm, move the cursor back once and display the previous line. There were problems in that it was not necessary and the work was complicated.

本発明は上述の問題点を解消するものであり、行の最終
桁で文字の置換・挿入・カーソル移動等の処理を実行し
ても、処理後のカーソル位置の直前文字の確認のために
カーソルを移動させる必要のない文章入力装置を提供す
ることを目的とする。
The present invention solves the above-mentioned problems, and even if processing such as character replacement, insertion, or cursor movement is performed at the last column of a line, the cursor is not moved to confirm the character immediately before the cursor position after processing. An object of the present invention is to provide a text input device that does not require moving the text.

問題点を解決するための手段 本発明は以上の問題点を解決するため、カーソル位置が
移動して第1の行の端部の所定の桁に達すると、表示ド
ライバの端の桁に、第1の行に隣接する第2の行中の第
1の行側の行端部のデータを格納させると共に、上記表
示ドライバの他の桁に第1の行のデータを格納させ、こ
の状態のままカーソル位置が第2の行の上記行端部に移
動するように構成したものである。
Means for Solving the Problems In order to solve the above-mentioned problems, the present invention has the purpose of solving the above problems.When the cursor position moves and reaches a predetermined digit at the end of the first row, the display driver displays Store the data at the end of the first row in the second row adjacent to row 1, store the data of the first row in the other digits of the display driver, and leave this state. The cursor position is moved to the end of the second line.

作  用 以上のように構成したことにより、カーソル位置が第1
の行の最終桁にある時に文字の挿入または書き換えを行
なった場合に、表示画面上に第1の行の最終桁の文字を
表示させたままカーソルは第2の行に移る事となり、カ
ーソル位置が第2の行にある場合でも、カーソルが置か
れた文字と、第1の行に属するその直前の文字、すなわ
ち第1の行の最終桁の文字を共に表示させておく事が出
来、このため、第1の行の最終桁の文字の置き換え、ま
たはそこに文字を挿入した直後であっても、表示領域を
動かす事なくその時に入力した文字を常に確認する事が
出来る。
Effect With the above configuration, the cursor position is
If you insert or rewrite a character when it is in the last column of the first line, the cursor will move to the second line while the last column of the first line remains displayed on the display screen, and the cursor position will change. Even if is on the second line, you can display both the character where the cursor is placed and the character immediately before it belonging to the first line, that is, the character in the last column of the first line. Therefore, even after replacing the character in the last digit of the first line or immediately after inserting a character there, the character input at that time can always be confirmed without moving the display area.

実施例 以下、本発明の実施例について図面に基づいて説明する
。第1図は本発明の第一の実施例における文章入力装置
のブロツク図である。
Embodiments Hereinafter, embodiments of the present invention will be described based on the drawings. FIG. 1 is a block diagram of a text input device according to a first embodiment of the present invention.

図において、1はキーボードを備え、キーボードによっ
て入力された文字や編集コマンドのコードを出力する文
字入力手段である。2は上記文字入力手段1から出力さ
れるコード列を記憶しておく文章記憶手段、3は上記文
字入力手段1により入力されたコマンドに従って、上記
文章記憶手段へ入力された文字列の追加・すでに記憶さ
れた文字の変更・カーソル位置の移動の指示等を行なう
文章編集手段、4は上記文章記憶手段2に記憶されてい
る文章のうち現在カーソルが指している行を記憶してお
く表示用行バッファ、6は上記行バッファ4に記憶され
ている行文章のうちカーソル付近の文字をとり出して表
示手段を駆動する表示ドライバ、6は上記文章編集手段
に従がってカーソル位置を制御するカーソル制御手段、
7は上記表示ドライバらの駆動を受けて行の一部を表示
するLCD表示器である。
In the figure, 1 is a character input means that includes a keyboard and outputs characters input by the keyboard and codes of editing commands. 2 is a text storage means for storing the code string output from the character input means 1; 3 is for adding/already input character strings to the text storage means according to commands input by the character input means 1; Text editing means for changing the stored characters and instructing movement of the cursor position, 4 is a display line for storing the line to which the cursor is currently pointing among the texts stored in the text storage means 2. buffer; 6 is a display driver that extracts characters near the cursor from the line text stored in the line buffer 4 and drives the display means; 6 is a cursor that controls the cursor position according to the text editing means; control means,
Reference numeral 7 denotes an LCD display that displays part of a row under the drive of the display drivers.

本実施例では、−行文の桁数つ寸す、行パ・ソファ4の
桁数ば132桁とする。また、LCD表示器7には4o
桁表示用のものを用いるため、表示ドライバの桁数も4
0桁とする。そして、本実施例では、新たに、行バッフ
ァ4に格納された行の次の行の最先桁のデータを記憶し
ておく表示用文字バッファ8を設け、LCD表示器9の
最終桁に、文字バッファ8に格納された文字を表示させ
るように構成する。
In this embodiment, the number of digits of the row pad/sofa 4 is 132 digits, which is the number of digits of the row sentence. Also, the LCD display 7 has 4o
Since the digit display is used, the number of digits of the display driver is also 4.
Set to 0 digit. In this embodiment, a display character buffer 8 is newly provided to store the data of the first digit of the next line after the line stored in the line buffer 4, and the last digit of the LCD display 9 is It is configured to display characters stored in a character buffer 8.

文字バッファ8には、第2図(イ)に示されるように、
例えば第1行目の文字が表示されている場合には、枠1
0で囲まれた領域の文字データすなわち第2行目の最先
1桁分の文字データがあらかじめ格納される。ただし、
同図ておいて、破線枠12で囲まれた領域は、行バツフ
ア内の一桁分の領域の中で表示ドライバ5に格納される
データの領域を示す。
In the character buffer 8, as shown in FIG. 2 (a),
For example, if the first line of characters is displayed, frame 1
The character data in the area surrounded by 0, that is, the character data for the first digit of the second line, is stored in advance. however,
In the figure, an area surrounded by a broken line frame 12 indicates an area of data stored in the display driver 5 within an area of one digit in the row buffer.

以下、第3図のフローチャートに従って動作を説明する
。文字が入力されると、文章編集手段3はその文字の挿
入または置換作業を行った後、カーソル位置の前進を指
示する。そして、表示ドラ1イバ6の内容が新たに書き
換えられ、次の文字入力を待つ。文字が次々に入力され
、それに従ってカーソル位置が移動していくと表示ドラ
イパラ内の文字データも1文字ずつシフトしていく。す
なわち表示画面のスクロールが行なわれる。この場合、
本実施例ではカーソルの後にも桁分の表示領域を残した
ままスクロールされる。つまりカーソルは、LCD表示
器9の最終桁から7つ目の桁まで前進し、次の桁へ移動
しようとすると表示文字が一部シフトするのである。
The operation will be explained below according to the flowchart shown in FIG. When a character is input, the text editing means 3 inserts or replaces the character, and then instructs the cursor to move forward. Then, the contents of the display driver 1 and driver 6 are newly rewritten, and the next character input is awaited. As characters are input one after another and the cursor position moves accordingly, the character data in the display driver also shifts one character at a time. In other words, the display screen is scrolled. in this case,
In this embodiment, the cursor is scrolled while leaving a display area for digits after the cursor. In other words, the cursor advances from the last digit to the seventh digit on the LCD display 9, and when it attempts to move to the next digit, the displayed characters are partially shifted.

ところが、ある文字が入力され、カーソル位置の前進か
指示された時、もしすでに1行目の最終桁まで表示され
ているならば、つまり、カーソル位置が一行目の最終桁
から7行目であるならば、表示ドライバS内の文字が一
桁ノフトされると共に、あらかじめ文字バッファ8内に
格納されていた2行目の最先桁の文字データが第2図(
ロ)に示されるように表示ドライバ6の最終桁に格納さ
れ、その文字がLCD表示器9の最終桁に表示される。
However, when a certain character is input and the cursor position is instructed to move forward, if the last digit of the first line is already displayed, that is, the cursor position is the 7th line from the last digit of the first line. If so, the characters in the display driver S are nofted by one digit, and the character data of the first digit of the second line, which was previously stored in the character buffer 8, is
As shown in b), the character is stored in the last digit of the display driver 6, and the character is displayed in the last digit of the LCD display 9.

そして、次の文字入力を待つ。Then, wait for the next character to be input.

その後、カーソル位置の移動の指示があっても表示文字
はスクロールされず、カーソル位置のみが移動する。そ
して、カーソル位置が2行目の最先桁となって、カーソ
ルがLCD表示器9の最終桁に表示されている時に、そ
の文字の置き換え、またはそこへの文字の挿入が行なわ
れてカーソル位置の移動の指示があると、フローチャー
トには示されていないが、行バッフ74に1行目の文字
データに換わって2行目の文字データが格納される。そ
して、表示ドライバ5には新たに先頭4゜桁分のデータ
が格納され、−行目の文字にかわって二行目の最先桁か
ら40桁分の文字が表示される。この場合、むろんカー
ソル位置は二行目の第2番目の桁となる。
Thereafter, even if there is an instruction to move the cursor position, the displayed characters are not scrolled, and only the cursor position is moved. Then, when the cursor position is the first digit of the second line and the cursor is displayed on the last digit of the LCD display 9, the character is replaced or inserted there, and the cursor position is When there is an instruction to move , the character data of the second line is stored in the line buffer 74 instead of the character data of the first line, although this is not shown in the flowchart. Then, data for the first 4° digits is newly stored in the display driver 5, and characters for 40 digits from the first digit of the second line are displayed instead of the characters in the - line. In this case, the cursor position is of course the second digit of the second line.

次にカーソルを後退させる場合について第4図のフロー
チャートに基づいて説明する。まずカーソル後退キーが
押されると文章編集手段3はカーツル位置の移動の指令
を行う。するとカーソル制御手段6によってカーソル位
置後退する。そして、カーソル位置がまだ現在表示中の
行にあるならば行/’1ンファの内容を書き換える事な
く、その時のカーソル位置を含む領域の内容を表示させ
る。しかし、カーソル位置が前の行に移ったならば、行
バ、・Iファの内容はその前の行のデータに書き換えら
れ、それと共に文字バッフ78には元の行の最先術のデ
ータが格納される。そして、表示ドライバ6の最終術に
は元の行の最先術のデータが、またその他の惜にはその
前の行の最終桁部のデータがそれぞれ格納され、LCD
表示器9に表示される。
Next, the case of moving the cursor backward will be explained based on the flowchart of FIG. First, when the cursor back key is pressed, the text editing means 3 issues a command to move the cursor position. Then, the cursor position is moved backward by the cursor control means 6. If the cursor position is still on the currently displayed line, the contents of the area including the current cursor position are displayed without rewriting the contents of the line/'1 buffer. However, when the cursor position moves to the previous line, the contents of the line bar and I file are rewritten to the data of the previous line, and at the same time, the character buffer 78 contains the data of the first line of the original line. Stored. Then, the last column of the display driver 6 stores the data of the first column of the original row, and the other columns store the data of the last column of the previous row.
It is displayed on the display 9.

以上のように構成された文章入力装置について、以下具
体的な動作例を説明する。ただし、図面の都合上、LC
D表示器725桁であるとする。
A specific example of the operation of the text input device configured as described above will be described below. However, due to the drawing, LC
Assume that the D display has 725 digits.

文字入力手段1から入力された文字例“〜。An example of characters input from the character input means 1 “~.

Th1s is first 1ine of sam
ple text。
Th1s is first 1ine of sam
ple text.

Th1s is 5econd 1ine of sa
mple text、−−”は文章記憶手段2に、そし
てその中の一桁分の文字データは行バッフ74に記憶さ
れる。そして、第8図(イ)に示されるようにカーソル
が第1行目″T I+にある場合、カーソル制御手段か
ら与えられた1行目という情報に従って上記文章記憶手
段2に記憶されている文章のうち第1行目が行バッファ
4に格納され、同時にその第2行目の先頭の文字“i 
I+が文字バッフ78に格納される。そして、表示ドラ
イバ5に行バッフ14に記憶されている文字列の一部と
文字バッファ8に記憶されている文字が同時に記憶され
、第6図(イ)に示されるようにLCD表示器9に表示
される。またカーソル制御手段6によりLCD表示器9
のT”の位置にカーソルが表示される。
Th1s is 5 seconds 1ine of sa
mple text, --” is stored in the text storage means 2, and one digit of character data therein is stored in the line buffer 74.Then, as shown in FIG. When the first line is at the cursor control means, the first line of the text stored in the text storage means 2 is stored in the line buffer 4, and at the same time the second The first character of the line “i”
I+ is stored in character buffer 78. Then, part of the character string stored in the line buffer 14 and the characters stored in the character buffer 8 are simultaneously stored in the display driver 5, and displayed on the LCD display 9 as shown in FIG. Is displayed. Also, the cursor control means 6 displays the LCD display 9.
A cursor is displayed at the T” position.

次に、カーソル位置からあとの文字列を5econd”
という文字列に置き換える場合について説明する。まず
文字入力手段1によって置き換えモードであることを文
章編集手段3に知らせ、以下文字入力手段1より順にS
”、”e”、”c″、”o″。
Next, write the string after the cursor position for 5 seconds”
We will explain the case of replacing it with the character string . First, the character input means 1 informs the text editing means 3 that it is in the replacement mode, and then the character input means 1 then S
”, “e”, “c”, “o”.

”n”、”d″と入力すると、文字が入力される毎に文
章記憶手段2に記憶しである文章のうちカーソルが指し
ている文字が入力文字に置き換わり、同時に行バッフ1
4のカーソル位置に入力文字が格納されて表示器の表示
が変更され、第6図(ロ)に示されるようにカーソル制
御手段6によってカーソルが1カラムだけ右に移動する
。以後順番に第5図(ハ)、(ホ)、(ホ)、(へ)の
ように表示が更新され、次の行の最初の文字が置き換え
られた直後に、第6図(ト)に示されるように次の行の
先頭部が表示される。
When you input "n" or "d", each time a character is input, the character pointed to by the cursor among the sentences stored in the sentence storage means 2 is replaced with the input character, and at the same time, the line buffer 1 is
The input character is stored at the cursor position 4, the display on the display is changed, and the cursor is moved one column to the right by the cursor control means 6, as shown in FIG. 6(b). From then on, the display is updated in order as shown in Figure 5 (C), (E), (E), (E), and immediately after the first character of the next line is replaced, it changes to Figure 6 (G). The beginning of the next line is displayed as shown.

この場合、常にカーソルの直前および直後の文字が確認
出来、非常に都合がよい。
In this case, you can always check the characters immediately before and after the cursor, which is very convenient.

次に第5図(イ)の状態で”5econd”という文字
列を挿入する場合について第6図を参照しながら説明す
る。まず、文字入力手段1によって挿入モードであるこ
とを文章編集手段3に指示する。次に文字入力手段1よ
りまず(13++と入力すると、文字が入力される毎に
文章記憶手段2のカーソル位置に入力文字が挿入され、
同時に行バッファ4および文字バッファ8の内容が更新
されて表示が変更される。そして第9図(ロ)に示され
るようにカーソルIII N手段によってカーソルが1
カラムだけ右に移動する。以後、文字を入力していく毎
に順番に第6図(ハ)、に)、(ホ)、(へ)のように
表示が更新され、次の行の先頭に”d″が挿入された直
後に、第6図())K示されるように次の行の先頭部が
表示され、そして、この場合でも常にカーソルの直前・
直後の文字が確認できる。
Next, the case where the character string "5econd" is inserted in the state shown in FIG. 5(a) will be explained with reference to FIG. 6. First, the character input means 1 instructs the text editing means 3 to be in insert mode. Next, when you first input (13++) from the character input means 1, each time a character is input, the input character is inserted at the cursor position of the text storage means 2,
At the same time, the contents of line buffer 4 and character buffer 8 are updated to change the display. Then, as shown in FIG. 9(b), the cursor is moved to 1 by the cursor III N means.
Move only the column to the right. From then on, each time a character was entered, the display was updated as shown in Figure 6 (c), ni), (e), and (v), and "d" was inserted at the beginning of the next line. Immediately after, the beginning of the next line is displayed as shown in Figure 6()), and even in this case, the line immediately before the cursor is always displayed.
You can check the characters immediately after.

次に第5図(イ)の状態からカーソルを右に移動した場
合について第7図を参照しながら説明する。
Next, a case in which the cursor is moved to the right from the state shown in FIG. 5(a) will be described with reference to FIG. 7.

文字入力手段1からカーソル前進コードが入力されると
、カーソル制御手段6によりカーソルが1カラムだけ前
進して第7図(ロ)のような表示に変わり、以下カーソ
ル前進コードが入力される毎に第7図(ハ)、に)、(
ホ)、(へ)のようにカーソルが前進し、更にカーソル
前進コードが入力されると上記文章記憶手段2に記憶さ
れている文章のうち第2行目の文字列が行バリフ74に
格納されて表示が第7図(ト)のように更新され、やは
りこの場合でもカーソルの直前・直後の文字が確認でき
る。
When a cursor advance code is input from the character input means 1, the cursor moves forward by one column by the cursor control means 6, and the display changes to the one shown in FIG. Figure 7 (c), ni), (
When the cursor moves forward as in (e) and (e) and a cursor advance code is further input, the character string in the second line of the sentence stored in the sentence storage means 2 is stored in the line barrif 74. The display is updated as shown in FIG. 7 (g), and even in this case, the characters immediately before and after the cursor can be confirmed.

次にカーソルが第2行目の4文字目にあり、カーソルを
後退させた場合について第8図を参照しながら説明する
。文字入力手段1からカーソル後退コードが入力される
と、カーソル制御手段6によりカーソルが1カラムだけ
後退して表示が第8図(ロ)のように変わり、以下カー
ソル後退コードが入力される毎に第8図(ハ)、に)の
ようにカーソルが後退する。更にカーソル後退コードが
入力されると、上記文章記憶手段2に記憶されている文
章のうち第1行目の文字列が行バッフ74に格納され、
2行目の先頭文字が文字バッファ8に格納されて第8図
(ホ)のような表示に更新され、次の行の先頭文字を確
認することができる。
Next, the case where the cursor is located at the fourth character on the second line and the cursor is moved back will be described with reference to FIG. When a cursor retreat code is input from the character input means 1, the cursor is moved back by one column by the cursor control means 6, and the display changes as shown in FIG. The cursor moves back as shown in Fig. 8 (c) and d). Furthermore, when the cursor retreat code is input, the character string in the first line of the text stored in the text storage means 2 is stored in the line buffer 74,
The first character of the second line is stored in the character buffer 8 and the display is updated as shown in FIG. 8 (e), allowing the user to confirm the first character of the next line.

以上のように本実施例によれば、文字バッファ8とLC
D表示器9とを設けることにより、行の終わりや先頭で
文字の置換・挿入・カーソル移動等の処理を実行しても
、処理後のカーソル位置の直前、すなわちその時に入力
された文字を確認することができる。編集中にカーソル
の前後の文字が常に確認できれば、より正確に早く文章
の編集を行うことができ、使い易さの面で効果は大きい
As described above, according to this embodiment, the character buffer 8 and the LC
By providing the D display 9, even if you perform processing such as character replacement, insertion, or cursor movement at the end or beginning of a line, you can check the character input just before the cursor position after processing, that is, the character input at that time. can do. If you can always check the characters before and after the cursor while editing, you can edit sentences more accurately and quickly, which has a great effect in terms of ease of use.

なお本実施例では、表示用のバッファに行バッファと文
字バッファを用いているが、文字列の先頭アドレスを指
すポインタを設けて文章記憶手段内の文字列を直接表示
ドライバによって表示しても良い。また、次の行の先頭
文字の表示、すなわち文字バッファに格納しておく文字
の数は1文字だけである必要はない。また表示器をLC
D表示器に、また文字入力手段をキーボードに限定する
必要はなく、他の入出力手段を用いても良い。
Note that in this embodiment, a line buffer and a character buffer are used as display buffers, but a pointer pointing to the start address of the character string may be provided and the character string in the text storage means may be directly displayed by the display driver. . Furthermore, the display of the first character of the next line, that is, the number of characters stored in the character buffer, does not need to be just one character. Also, change the display to LC.
It is not necessary to limit the D display and the character input means to the keyboard, and other input/output means may be used.

以下、本発明の第2の実施例を説明する。第9図におい
て、文字入力手段1以下のハードウェアによる構成は第
1の実施例と同様である。ただし、本実施例では文字バ
ッファ8に行バッフ74に格納された行の前の行の最先
術のデータを格納するようにプログラムを構成し、また
LCD表示器9の最先術に、文字バック78に格納され
た文字を表示させるように構成する。
A second embodiment of the present invention will be described below. In FIG. 9, the hardware configuration below the character input means 1 is the same as that of the first embodiment. However, in this embodiment, the program is configured so that the character buffer 8 stores the data of the first line before the line stored in the line buffer 74, and the character buffer 8 stores the first line data of the line stored in the line buffer 74. It is configured to display the characters stored in the bag 78.

文字バッファ8には、第2行目の文字が表示されている
場合には、第1行目の最終1桁分の文字データがあらか
じめ格納される。
When characters on the second line are being displayed, character data for the last digit of the first line is stored in the character buffer 8 in advance.

以下に第1Q図のフローチャートに従って動作を説明す
る。まず行の中央部に文字が入力された場合に、文章編
集手段3は第1の実施例と同様に文字の挿入または置換
作業を行った後、カーソル位置の前進を指示する。そし
て、表示ドライバ6の内容が新たに書き換えられ、カー
ソル位置を含む数桁の領域が表示ドライバに格納される
。そして、文章編集手段3は次の文字の入力を待つ。文
字が次々に入力されると、それに従って第1の実施例と
同様に表示画面がスクロールされていき、もしカーソル
位置が第1行目の最終桁となっている状態で文字が入力
されると、カーソル位置は第2行目の最先術に移動し、
第2行目の文字を表示させる必要性が出て来る。この場
合、まず表示ドライバ5の最先術に文字バッフ78のデ
ータが格納され、そしてその他の桁に、第1行目の文字
データから第2行目の文字データに書き換えられた行バ
ッフ74内の先頭桁のデータが格納される。
The operation will be explained below according to the flowchart in FIG. 1Q. First, when a character is input in the center of a line, the text editing means 3 inserts or replaces the character as in the first embodiment, and then instructs the cursor position to move forward. Then, the contents of the display driver 6 are newly rewritten, and an area of several digits including the cursor position is stored in the display driver. The text editing means 3 then waits for the next character to be input. As characters are input one after another, the display screen is scrolled accordingly in the same way as in the first embodiment. If a character is input while the cursor position is at the last digit of the first line, , the cursor position moves to the first technique on the second line,
It becomes necessary to display the characters on the second line. In this case, the data in the character buffer 78 is first stored in the first row of the display driver 5, and then the data in the row buffer 74, which has been rewritten from the character data in the first row to the character data in the second row, is stored in the other columns. The data of the first digit of is stored.

そしてこれらの文字は次々にLCD表示器9に表示され
る。
These characters are then displayed one after another on the LCD display 9.

以上のように構成された第2の実施例について、以下に
具体的に動作を説明する。捷ず第1の実施例と同様な文
字列がすてに入力され、文章記憶手段2に記憶されてい
るものとする。そして、第11図(イ)に示されるよう
にカーソル位置が第1行目のT#である場合には、カー
ソル制御手段から与えられた1行目という情報に従って
、文章記憶手段2に記憶されている文字列のうち、第1
行目の文字列が行バッファ4に格納される。そして、表
示ドライバ5に、行バッファ4に記憶されている文字列
の上記″T″を含む一部が格納され、LCD表示器9に
表示される。またカーソル制御手段6によりLCD表示
器9の“T”の位置にカーソルが表示される。
The operation of the second embodiment configured as above will be specifically explained below. It is assumed that a character string similar to that in the first embodiment has been inputted and stored in the text storage means 2. When the cursor position is T# on the first line as shown in FIG. The first character string
The character string in the row is stored in the row buffer 4. Then, a part of the character string stored in the line buffer 4 including the above-mentioned "T" is stored in the display driver 5 and displayed on the LCD display 9. Further, the cursor control means 6 displays a cursor at the "T" position on the LCD display 9.

次にカーソルから後の文字を置き換える場合の動作を説
明する。1ず置き換えモードとしておいてS′″、“e
″、”C’″、“0″と入力すると、第1の実施例と同
様に、第11図(ロ)、e→、に)、(ホ)のように表
示が更新され、第1行目の最終桁の文字が置き換えられ
た直後に、第11図(へ)に示されるように次の第2行
目の文字列が表示される。ただし、力一ツル位置は第2
行目の最先桁となり、また前述したように文字バッフ7
8に格納されていた第1行目の行末の文字がLCD表示
器9の最先桁に表示され、第2桁以後に第2行目の文字
列が先頭の桁から表示されるため、カーソルの直後の文
字だけでなく直前の文字も確認する事が出来る。
Next, the operation when replacing the character after the cursor will be explained. 1. Set it to replace mode and select S'", "e
'', ``C''', and ``0'', the display is updated as shown in Figure 11 (b), e→, ni), and (e), as in the first embodiment, and the first line Immediately after the character in the last digit of the eye is replaced, the next character string in the second line is displayed as shown in Fig.
It is the first digit of the line, and as mentioned above, it is the character buffer 7.
The character string at the end of the first line stored in 8 will be displayed on the first digit of the LCD display 9, and the character string on the second line will be displayed from the first digit after the second digit. You can check not only the character immediately after, but also the character immediately before.

次に、第11図(イ)の状態である文字列を挿入する場
合について第12図を参照しながら説明する。
Next, the case of inserting a character string in the state shown in FIG. 11(a) will be described with reference to FIG. 12.

まず挿入モードにしておいて前回と同様な文字列を入力
すると、第12図(ロ)、(ハ)、に)、(ホ)のよう
に表示が更新され、第1行目の最終桁の文字が置き換え
られた直後に、第12図(へ)に示されるように前回と
同様第2行目の文字列が表示される。この場合でも当然
カーソル位置は第2行目の最先桁となり、また前回と同
様にLCD表示器9の最先桁に第1行目の行末の文字が
表示されるため、カーソルの直前の文字を確認する事が
出来る。
First, if you enter insert mode and enter the same string as last time, the display will be updated as shown in Figure 12 (b), (c), ni), and (e), and the last digit of the first line will be Immediately after the characters are replaced, the character string on the second line is displayed as before, as shown in FIG. 12(f). In this case as well, the cursor position is naturally the first digit of the second line, and the last character of the first line is displayed on the first digit of the LCD display 9 as before, so the character immediately before the cursor You can check.

また、文字を入力する事なく、カーソルのみを前進させ
た場合でも、表示画面は第13図(f) 、 (ロ)。
Furthermore, even if only the cursor is moved forward without entering any characters, the display screen will be as shown in Figures 13(f) and (b).

(ハ)、(ロ)、(ホ)と変化し、さらに第13図(へ
)に示されるように第2行目の文字列と共に第1行目の
行末の文字(ただし図ではスペースとなっている)を表
示出来る。
(C), (B), and (E), and as shown in Figure 13 (F), the character string at the end of the first line along with the character string in the second line (however, it becomes a space in the figure). ) can be displayed.

また、カーソルを単に後退させる場合には、表示画面は
第14図(イ)、(ロ)、(ハ)、に)、(ホ)のよう
に変化し、カーソル位置が第1行目の最終桁に至っても
第2行目が表示される。そしてさらにカーソルが後退す
ると第1行目を表示する事となる。
If you simply move the cursor backward, the display screen changes as shown in Figure 14 (A), (B), (C), (C), (E), and the cursor position is at the end of the first line. Even when the digit is reached, the second line is displayed. When the cursor moves further back, the first line will be displayed.

発明の効果 本発明は、カーソル位置が移動して第1の行の端部の所
定の桁に達すると、表示ドライバの端の桁に第1の行に
隣接する第2の行中の第1の行側の行端部の文字のデー
タを格納させると共に上記表示ドライバの他の桁に第1
の行のデータを格納させ、この状態のままカーソル位置
が第2の行の上記行端部に移動するように構成した事に
エリ、カーソル位置カーソルが置かれた文字と、その行
の直前の行の最終桁の文字を共に表示させておく事が出
来、このため、第1の行の最終桁の文字の置き換え、ま
たはそこに文字を挿入した直後であっても、わざわざ表
示領域を動かす事なく、その時に入力した文字を常に確
認する事が出来る。
Effects of the Invention According to the present invention, when the cursor position moves and reaches a predetermined digit at the end of the first row, the end digit of the display driver is set to the first digit in the second row adjacent to the first row. The data of the character at the end of the row on the row side is stored, and the data of the first character is stored in other digits of the display driver.
The data of the line is stored, and the cursor position moves to the end of the second line in this state. The characters in the last column of a line can be displayed together, so even if you have just replaced the character in the last column of the first line or inserted a character there, you do not have to go out of your way to move the display area. You can always check the characters you entered at that time.

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

第1図は本発明の第1の実施例における文章入力装置の
ブロック図、第2図は同文章入力装置の表示ドライバに
格納されるデータの領域を示す図、第3図は同装置の動
作を示すフローチャート、第4図は同装置の動作を示す
フローチャート、第6図、第6図、第7図、第8図は同
装置の表示画面を示す図、第9図は本発明の第2の実施
例における文章入力装置のブロック図、第10図は同装
置の動作を示すフローチャート、第11図、第12図、
第13図、第14図は同装置の表示画面を示す図、第1
5図は従来例の説明において文章入力装置に入力する文
章の例を示す図、第16図は従来例における文章入力装
置の表示画面を示す図である。 1・・・・・文章入力手段、2・・・文章記憶手段、3
・・・・・文章編集手段、S・・・ 表示ドライバ、6
・・・・・・カーソル制御手段、9・・・・LCD表示
器。 @1図 LC,DA*敷 第2図 第5図 乃−ソル 区 Oつ 法 第6図 第7図 第8図 第9図 LCD及ス秦 第1C図 第1!図 第12図 第13図 第14図 第15図 第16図 乃−ソル
Fig. 1 is a block diagram of a text input device according to the first embodiment of the present invention, Fig. 2 is a diagram showing the data area stored in the display driver of the text input device, and Fig. 3 is the operation of the text input device. FIG. 4 is a flowchart showing the operation of the device, FIGS. 6, 6, 7, and 8 are views showing the display screen of the device, and FIG. A block diagram of the text input device in the embodiment, FIG. 10 is a flowchart showing the operation of the device, FIGS. 11, 12,
Figures 13 and 14 are diagrams showing the display screen of the device;
FIG. 5 is a diagram showing an example of a sentence input to a text input device in the explanation of the conventional example, and FIG. 16 is a diagram showing a display screen of the text input device in the conventional example. 1... text input means, 2... text storage means, 3
...Text editing means, S... Display driver, 6
...Cursor control means, 9...LCD display. @Figure 1 LC, DA * Figure 2 Figure 5 乃-SOLKU Otsu method Figure 6 Figure 7 Figure 8 Figure 9 LCD and Suqin Figure 1C Figure 1! Figure 12 Figure 13 Figure 14 Figure 15 Figure 16 - Sol

Claims (1)

【特許請求の範囲】[Claims] 入力された文字や編集コマンドを電気信号に変換する文
字入力手段と、上記文字入力手段により入力された文字
列のデータを記憶しておく文章記憶手段と、上記文字入
力手段により入力された編集コマンドに従って上記文章
記憶手段に記憶されている文字列の追加、削除、更新、
およびカーソル移動等を行なう文章編集手段と、上記文
章記憶手段に記憶されている文字を表示する表示手段と
、上記表示手段に表示させる文字データを格納しておく
表示ドライバと、上記文章記憶手段中の、カーソルが置
かれる文字のアドレス番号に従って上記表示手段にカー
ソルを表示させるカーソル制御手段とを有し、カーソル
位置が移動して第1の行の所定の桁に達すると、上記表
示ドライバの端の桁に、第1の行に隣り合う第2の行の
第1の行側の行端部の文字データを格納させると共に、
上記表示ドライバの他の桁に第1のデータを格納させ、
このように表示ドライバに第1の行のデータと第2の行
の上記行端部のデータが共に格納されている状態のまま
、さらにカーソル位置が第2の行の上記行端部に移動す
るように構成した文章入力装置。
A character input means for converting input characters and editing commands into electrical signals, a text storage means for storing character string data input by the character input means, and an edit command input by the character input means. Adding, deleting, updating character strings stored in the text storage means,
and a text editing means for moving a cursor, a display means for displaying characters stored in the text storage means, a display driver for storing character data to be displayed on the display means, and a display driver for storing character data to be displayed on the text storage means. and cursor control means for displaying a cursor on the display means according to the address number of the character on which the cursor is placed, and when the cursor position moves and reaches a predetermined digit of the first line, the end of the display driver The character data of the line end on the first line side of the second line adjacent to the first line is stored in column , and
Store the first data in other digits of the display driver,
In this way, the cursor position is further moved to the above-mentioned line end of the second line while the data of the first row and the data of the above-mentioned line end of the second line are both stored in the display driver. A text input device configured as follows.
JP60296747A 1985-12-27 1985-12-27 Sentence input device Pending JPS62154168A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60296747A JPS62154168A (en) 1985-12-27 1985-12-27 Sentence input device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60296747A JPS62154168A (en) 1985-12-27 1985-12-27 Sentence input device

Publications (1)

Publication Number Publication Date
JPS62154168A true JPS62154168A (en) 1987-07-09

Family

ID=17837587

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60296747A Pending JPS62154168A (en) 1985-12-27 1985-12-27 Sentence input device

Country Status (1)

Country Link
JP (1) JPS62154168A (en)

Similar Documents

Publication Publication Date Title
US5768607A (en) Method and apparatus for freehand annotation and drawings incorporating sound and for compressing and synchronizing sound
US5982365A (en) System and methods for interactively generating and testing help systems
EP2833363A1 (en) A creation system for producing synchronised soundtracks for electronic media content
US5040113A (en) Data manipulation program
US11093696B2 (en) Playable text editor and editing method therefor
US8826171B2 (en) System and method for entry and display of blueprint data
JPS62154168A (en) Sentence input device
JP2005070939A (en) Character string processor, character string processing method, program, and recording medium
JP2548129B2 (en) Text input device
JPS5826031B2 (en) Edit processing method
JPS58195928A (en) Japanese language input device
JP2003271047A (en) Training system used for language learning on computer screen
US20120131054A1 (en) Perfect rhyme retrieval device, perfect rhyme retrieval method, program realizing the method, and computer readable recording medium recording the program
KR20190135983A (en) Playable text editor and editing method thereof
JP5357066B2 (en) Learning device, learning book registration method, and learning book registration program
JP5460343B2 (en) Learning device, learning book display method, and learning book display program
JPS62138959A (en) Page index system for document processor
JP2659907B2 (en) Document processing device
JPH03294957A (en) Sentence generating device
JPH03294958A (en) Document editing device
JPS6364084A (en) Character string display device
JPS62156767A (en) Word processor with memo@(244e//00) function
JPH0322639B2 (en)
JPH0522268B2 (en)
KR19990074789A (en) How to edit Hangul alphabet by 2 byte combination code