JPS63201766A - Document processor - Google Patents

Document processor

Info

Publication number
JPS63201766A
JPS63201766A JP62034913A JP3491387A JPS63201766A JP S63201766 A JPS63201766 A JP S63201766A JP 62034913 A JP62034913 A JP 62034913A JP 3491387 A JP3491387 A JP 3491387A JP S63201766 A JPS63201766 A JP S63201766A
Authority
JP
Japan
Prior art keywords
search
retrieval
character
cursor
buffer
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
JP62034913A
Other languages
Japanese (ja)
Inventor
Hiroichi Yoshida
広市 吉田
Koichiro Sakamoto
浩一郎 坂本
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP62034913A priority Critical patent/JPS63201766A/en
Publication of JPS63201766A publication Critical patent/JPS63201766A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To shorten the key operation time for retrieval to simplify the retrieval operation by using a character or a character string in the cursor position as the retrieval character or the retrieval character string to start retrieval by the operation of a retrieval key. CONSTITUTION:A cursor is moved to a character string to be corrected in a sentence and a retrieval key 13 is operated. On the basis of this operation of the retrieval key 13, a timer 10 is turned on and the retrieval character string is taken out from a sentence memory 3, where character data inputted by an input device 1 is stored, and is stored in a buffer 7 for retrieval. Characters whose character length is determined by the timer 10 are selected from character strings following the retrieval character string and are successively stored in a buffer 8 for taking-out. Contents of the buffer 7 for retrieval and those of the buffer 8 for taking-out are compared with each other by a comparator 9, and a CPU 2 performs the control in accordance with comparison results, and the retrieval operation is terminated if this comparison results in coincidence. Thus, the key operation time for retrieval is shortened and the retrieval operation is simplified.

Description

【発明の詳細な説明】 〈産業上の利用分野〉 本発明は入力された文章を編集し、この編集された文章
を所定のフォーマットに従って印字して、目的とする形
式の文章作成を行なう文章処理装置に関する。
[Detailed Description of the Invention] <Industrial Application Field> The present invention is a text processing method that edits an input text and prints the edited text according to a predetermined format to create a text in a desired format. Regarding equipment.

〈従来の技術〉 一般に、文章処理装置は第6図に示す様に入力装置1に
よって入力された文字データが中央処理装置(以下CP
Uと称す)2によって文章メモリ3と表示用バッファ4
に格納され、表示用バッファ4の内容が表示装置5に表
示される構成となっている。また、カーソルはCPU2
からの出力に応じてカーソルアドレスカウンタ6を介し
表示用バッファ4に入力され表示装置5に表示される。
<Prior Art> In general, text processing devices, as shown in FIG.
(referred to as U) 2 provides a text memory 3 and a display buffer 4.
The content of the display buffer 4 is displayed on the display device 5. Also, the cursor is CPU2
The data is input to the display buffer 4 via the cursor address counter 6 in accordance with the output from the cursor address counter 6 and displayed on the display device 5.

従来、上述の文章処理装置で検索を行なう場合、検索を
指示するキーを押圧し、検索したい文字を入力した後、
検索を開始するキー操作していた。
Conventionally, when performing a search using the above-mentioned text processing device, after pressing a key instructing the search and inputting the characters to be searched for,
I was pressing the key to start the search.

〈発明が解決しようとする問題点〉 したがって、従来の文章処理装置で検索を行なう場合に
は、検索を指示するキー、検索したい文字を入力するた
めの文字キー及び検索を開始するキーの3つ以上のキー
操作が必要となり、非常に煩雑であった。
<Problem to be solved by the invention> Therefore, when performing a search using a conventional text processing device, there are three keys: a key for instructing the search, a character key for inputting the desired character, and a key for starting the search. The above key operations were required, which was very complicated.

本発明は従来の欠点に鑑みてなされたもので、カーソル
位置の文字或は文字列を検索文字或は検索文字列とし、
検索キーを操作するだけで検索を開始することができる
ようになし、もって検索する場合のキー操作を短縮し、
この検索操作が簡単になる文章処理装置を提供すること
を目的とする。
The present invention has been made in view of the conventional drawbacks, and uses the character or character string at the cursor position as a search character or a search character string,
Now you can start a search just by operating the search key, which reduces key operations when searching.
It is an object of the present invention to provide a text processing device that facilitates this search operation.

〈問題点を解決するための手段〉 本発明は、文字キー、カーソルキー及び各種処理を実行
させるだめのファンクションキーを含ム入力装置と、前
記入力装置によって入力された文字データ及びカーソル
マーク等を表示する表示装置と、カーソル位置の文字列
を検索文字列とし、検索開始を指示する前記入力装置に
備えられた検索キーと、この検索キーが押されている時
間によって文字長を決定するタイマと、前記入力装置に
よって入力された文字データを記憶する文章メモリと、
前記検索キーの操作に基づく検索モード時に文章メモリ
から取り出された検索文字列を格納する検索用バッファ
と、前記検索モード時に文章メモリから取り出された検
索文字列以降の被検索文字列を順次格納する取出用バッ
ファと、前記検索用バッファの内容と前記取出用バッフ
ァの内容を比較する比較装置と、カーソル表示位置を設
定するカーソルアドレスカウンタと、前記比較装置から
の応答結果が一致している場合は検索を終了し、不一致
の時は前記カーソルアドレスカウンタを1カウントup
する中央処理装置とを具備することを特徴とするもので
ある。
<Means for Solving the Problems> The present invention provides an input device that includes character keys, cursor keys, and function keys for executing various processes, and a system that uses character data, cursor marks, etc. input by the input device. a display device for displaying a search string; a search key provided on the input device for instructing to start a search by using a string at a cursor position as a search string; and a timer for determining a character length based on the length of time the search key is pressed. , a text memory that stores character data input by the input device;
A search buffer that stores a search string retrieved from the text memory during a search mode based on the operation of the search key, and sequentially stores searched character strings after the search string retrieved from the text memory during the search mode. If the response results from the retrieval buffer, the comparison device that compares the contents of the search buffer and the contents of the retrieval buffer, the cursor address counter that sets the cursor display position, and the comparison device match, Finish the search, and if there is no match, increase the cursor address counter by 1.
It is characterized by comprising a central processing unit.

〈作用〉 本発明は文章作成中に例えば゛高級″とあるのを゛最高
級″としたい場合、その文章中の訂正したい文字列にカ
ーソルを移動し、検索キーを操作する。この検索キーの
操作に基づいて、タイマがONされ、入力装置によって
入力された文字データを記憶する文章メモリから検索文
字列を取り出し検索用バッファに格納するとともにこの
検索文字列以降の文字列からタイマによって決定された
文字長と同じ文字長を選択して順次取り出し取出用バッ
ファに格納する。前記検索用バッファの内容と取出用バ
ッファの内容を比較装置で比較し、その結果に応じてC
PUが制御を行々い、比較装置の結果が一致子ると検索
操作を終了する。
<Operation> In the present invention, when writing a sentence, for example, if you want to change the phrase ``high class'' to ``highest grade'', move the cursor to the character string you want to correct in the sentence and operate the search key. Based on the operation of this search key, a timer is turned on, and a search character string is retrieved from the text memory that stores character data input by the input device and stored in the search buffer, and the timer is activated from the character string after this search character string. The character lengths that are the same as the character length determined by are selected and sequentially taken out and stored in the retrieval buffer. The content of the search buffer and the content of the retrieval buffer are compared by a comparison device, and the C
The PU performs control, and when the comparison device results in a match, the search operation ends.

したがって、本発明の文章処理装置は所望の位置にカー
ソルを移動し、検索キーを操作するだけで検索操作を行
なうことができるため、検索する場合のキー操作を短縮
でき且つ簡単にすることができる。
Therefore, since the text processing device of the present invention can perform a search operation simply by moving the cursor to a desired position and operating the search key, key operations for searching can be shortened and simplified. .

〈実施例〉 以下、図面にしたがって本発明の文章処理装置を詳細に
説明する。
<Example> Hereinafter, a text processing device of the present invention will be described in detail with reference to the drawings.

第1図は文章処理装置の構成図、第2図は入力装置の平
面図である。
FIG. 1 is a block diagram of the text processing device, and FIG. 2 is a plan view of the input device.

これら図において、lは文字キー11.カーソルキー1
2及び検索キー13等各種処理を実行させるためのファ
ンクションキー14を含む入力装置、2は文章処理装置
全体の制御を行なう中央処理装置(CPU)、8は前記
入力装置lによって入力された文字データを記憶する文
章メモリ、4は表示用バッファ、5は前記表示用バッフ
ァに格納されている内容を表示する表示装置、6は前記
CPUからの出力に応じてカーソルの移動位置を設定す
るカーソルアドレスカウンタ、20は入力装置より入力
されたかな文字を漢字に変換するかな漢字変換装置、2
1は前記かな漢字変換装置20でかな文字を漢字に変換
する場合、かな文字に対応する漢字を記憶しているかな
漢字変換辞書である。
In these figures, l is the character key 11. cursor key 1
2 is an input device including function keys 14 for executing various processes such as a search key 13; 2 is a central processing unit (CPU) that controls the entire text processing device; 8 is character data inputted by the input device 1; 4 is a display buffer; 5 is a display device that displays the contents stored in the display buffer; 6 is a cursor address counter that sets the cursor movement position according to the output from the CPU. , 20 is a kana-kanji conversion device that converts kana characters input from an input device into kanji, 2
Reference numeral 1 denotes a kana-kanji conversion dictionary which stores kanji corresponding to kana characters when the kana-kanji conversion device 20 converts kana characters into kanji.

また、第3図は本発明の要部動作ブロック図、第4図は
動作フローチャートである。
Further, FIG. 3 is an operational block diagram of the main part of the present invention, and FIG. 4 is an operational flowchart.

図において、7は上記検索キーI3が操作された検索モ
ード時に、文章メモリから取り出されたカーソル位置の
文字列、即ち検索文字列を格納する検索用バッファ、8
は検索モード時に前記文章メモリ3から取り出された検
索文字列以降でタイマ10によって決定された文字長と
同じ文字長を選択して被検索文字列とし、順次格納する
取出用バッファ、9は前記検索用バッファ7の内容と取
出用バッファ8の内容とを比較する比較装置であるう 本発明の文章処理装置によって文章を作成中又は編集時
に検索を行なう場合、カーソルが検索したい文字列の冒
頭位置に有るかどう−かを判断しくSl)、ない場合は
カーソルキー12によってカーソルを移動する(S2)
。カーソルが移動するとカーソルアドレスカウンタ6の
カウントがup/downする(S3)。検索したい文
字列の冒頭位置にカーソルが移動すると検索キー13を
操作し、検索開始と検索文字反転表示をCPU2に指示
すると共にタイマ10がスタートされる(S4)。
In the figure, reference numeral 7 denotes a search buffer for storing the character string at the cursor position taken out from the text memory, ie, the search character string, in the search mode when the search key I3 is operated;
9 is a retrieval buffer that selects the same character length as the character length determined by the timer 10 after the search character string retrieved from the text memory 3 in the search mode and stores them sequentially as the character string to be searched; When performing a search while creating or editing a text using the text processing device of the present invention, which is a comparison device that compares the contents of the buffer 7 and the content of the buffer 8, the cursor is placed at the beginning of the character string to be searched. Determine whether it exists or not (Sl); if not, move the cursor using the cursor key 12 (S2)
. When the cursor moves, the count of the cursor address counter 6 increases/downs (S3). When the cursor is moved to the beginning position of the character string desired to be searched, the search key 13 is operated to instruct the CPU 2 to start the search and display the searched characters in reverse video, and at the same time, the timer 10 is started (S4).

検索キー13が操作されている間中、タイマ10は一定
間隔で制御装置に文字反転表示を指示し、カーソル位置
以降の反転文字数を増加する(S5)。
While the search key 13 is being operated, the timer 10 instructs the control device to display inverted characters at regular intervals, and increases the number of inverted characters after the cursor position (S5).

オペレータは検索する文字列が反転表示されると検索キ
ーから指を離す。それにともなってタイマ10はストッ
プし、検索文字列は文章メモリ3から検索用バッファに
格納する(S6)。次に、crtr2u検索を開始すべ
く、カーソルアドレスカウンタ6を1カウントupL(
S7)、タイマ10によって決定された文字長と同じ文
字長を検索対象文字とし、かな漢字変換装置20を参照
することによってサーチされ(S8)、このサーチされ
た文字列が取出用バッファ8に格納される(S9)。し
たがって検索用バッファのデータと取出用バッファのデ
ータを比較装置9によって比較され(S1’O)、その
比較結果が一致しているかどうかを判断しく5ll)、
CPU2は一致していなければ取出用バッファ8のデー
タをリセットした後(S12)、再びカーソルアドレス
カウンタ6を1カウントup (S 7 )する。また
比較結果が一致した場合はこの検索操作は終了する。
The operator releases the search key when the character string to be searched is highlighted. Along with this, the timer 10 is stopped, and the search character string is stored from the text memory 3 into the search buffer (S6). Next, in order to start the crtr2u search, the cursor address counter 6 is counted upL(
S7), the character string having the same length as that determined by the timer 10 is searched by referring to the kana-kanji conversion device 20 (S8), and the searched character string is stored in the extraction buffer 8. (S9). Therefore, the data in the search buffer and the data in the retrieval buffer are compared by the comparison device 9 (S1'O), and it is determined whether the comparison results match (5ll).
If they do not match, the CPU 2 resets the data in the extraction buffer 8 (S12), and then increments the cursor address counter 6 by one again (S7). Further, if the comparison results match, this search operation ends.

尚、上記のカーソルアドレスカウンタ6のカウントup
/down状態は遂次表示装置5に表示してもよい。第
5図に示す如く、カーソルマークは流れる様に表示され
、該当文字列が発見されればカーソルは該当文字列の冒
頭位置で停止する。
Incidentally, the count up of the cursor address counter 6 mentioned above
The /down state may be displayed on the display device 5 sequentially. As shown in FIG. 5, the cursor mark is displayed in a flowing manner, and when the relevant character string is found, the cursor stops at the beginning position of the relevant character string.

したがって、本発明の文章処理装置ではカーソル位置の
文字列を検索文字列とし、検索キーを操作するだけで検
索を開始することから、検索する場合のキー操作を短縮
でき且つ簡単にできる。
Therefore, in the text processing device of the present invention, the character string at the cursor position is used as the search character string, and the search is started simply by operating the search key, so that the key operations required for the search can be shortened and simplified.

〈発明の効果〉 以上説明したように本発明は、文字キー、カーソルキー
及び各種処理を実行させるためのファンクションキーを
含む入力装置と、前記入力装置によって入力された文字
データ及びカーソルマーク等を表示する表示装置と、カ
ーソル位置の文字列を検索文字列とし、検索開始を指示
する前記入力装置に備えられた検索キーと、この検索キ
ーが押されている時間によって文字長を決定するタイマ
と、前記入力装置によって入力された文字データを記憶
する文章メモリと、前記検索キーの操作に基づく検索モ
ード時に文章メモリから取り出された検索文字列を格納
する検索用バッファと、前記検索モード時に文章メモリ
から取り出された検索文字列以降の被検索文字列を順次
格納する取出用バッファと、前記検索用バッファの内容
と前記取出用バッファの内容を比較する比較装置と、カ
ーソル表示位置を設定するカーソルアドレスカウンタと
、前記比較装置からの応答の結果が一致している場合は
検索を終了し、不一致の時は前記カーソルアドレスカウ
ンタを1カウントupする中央処理装置とを具備するこ
とによって、検索したい文字列の冒頭の位置にカーソル
を移動し、検索キ−を操作するだけで検索操作を開始す
ることができ、タイマを設けたことで検索対象文字を選
択し検索するため検索時間を短縮することができ、更に
検索する場合のキー操作を短縮し且つ簡単にした文章処
理装置を提供することができる。
<Effects of the Invention> As explained above, the present invention provides an input device including character keys, cursor keys, and function keys for executing various processes, and an input device that displays character data, cursor marks, etc. input by the input device. a search key provided on the input device that takes a character string at the cursor position as a search character string and instructs to start a search; and a timer that determines a character length based on the time that the search key is pressed; a text memory for storing character data inputted by the input device; a search buffer for storing a search character string retrieved from the text memory during a search mode based on operation of the search key; and a search buffer for storing a search character string retrieved from the text memory during the search mode. A retrieval buffer that sequentially stores searched character strings after the retrieved search string; a comparison device that compares the contents of the search buffer with the contents of the retrieval buffer; and a cursor address counter that sets a cursor display position. and a central processing unit that terminates the search if the results of the responses from the comparison device match, and increments the cursor address counter by 1 if they do not match. You can start the search operation by simply moving the cursor to the beginning position and operating the search key.By setting up a timer, you can shorten the search time by selecting the search target character and searching. Furthermore, it is possible to provide a text processing device that shortens and simplifies key operations when searching.

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

第1図は本発明の一実施例である文章処理装置の構成説
明図、第2図は入力装置の平面図、第3図は同装置の要
部動作ブロック図、第4図は動作フローチャート、第5
図は表示装置の平面図である。第6図は従来の文章処理
装置の構成を示すブロック図である。 1:入力装置、2:中央処理装置、3:文章メモリ、5
:表示装置、7:検索用バッファ、8:取出用バッファ
、9:比較装置、10:タイマ、13:検索キー 代理人 弁理士 杉 山 毅 至(他1名)1N開昭6
3−201766(5) 第5 図
FIG. 1 is a configuration explanatory diagram of a text processing device that is an embodiment of the present invention, FIG. 2 is a plan view of an input device, FIG. 3 is a block diagram of the main part of the device, and FIG. 4 is an operation flowchart. Fifth
The figure is a plan view of the display device. FIG. 6 is a block diagram showing the configuration of a conventional text processing device. 1: Input device, 2: Central processing unit, 3: Text memory, 5
: Display device, 7: Search buffer, 8: Retrieval buffer, 9: Comparison device, 10: Timer, 13: Search key agent Patent attorney Takeshi Sugiyama (1 other person) 1N Kaisho 6
3-201766(5) Figure 5

Claims (1)

【特許請求の範囲】 1、文字キー、カーソルキー及び各種処理を実行させる
ためのファンクションキーを含む入力装置と、 前記入力装置によって入力された文字データ及びカーソ
ルマーク等を表示する表示装置と、カーソル位置の文字
列を検索文字列としての検索開始を指示する前記入力装
置に備えられた検索キーと、 該検索キーが押されている時間によって文字長を決定す
るタイマと、前記入力装置によって入力された文字デー
タを記憶する文章メモリと、前記検索キーの操作に基づ
く検索モード時に文章メモリから取り出された検索文字
列を格納する検索用バッファと、 前記検索モード時に文章メモリから取り出された検索文
字列以降の被検索文字列を順次格納する取出用バッファ
と、 前記検索用バッファの内容と前記取出用バッファの内容
を比較する比較装置と、 カーソル表示位置を設定するカーソルアドレスカウンタ
と、 前記比較装置からの応答結果が一致している場合は検索
を終了し、不一致の時は前記カーソルアドレスカウンタ
を1カウントupする中央処理装置とを具備することを
特徴とする文章処理装置。 2、上記検索キーの操作に基づいて検索される文字列を
反転表示する反転表示手段を設けたことを特徴とする特
許請求の範囲第1項記載の文章処理装置。
[Claims] 1. An input device including character keys, cursor keys, and function keys for executing various processes; a display device for displaying character data inputted by the input device, a cursor mark, etc.; and a cursor. a search key provided on the input device that instructs to start a search using a character string at a position as a search string; a timer that determines a character length based on the time that the search key is pressed; a search buffer that stores a search string retrieved from the text memory during a search mode based on the operation of the search key; and a search buffer that stores the search string retrieved from the text memory during the search mode. a fetching buffer that sequentially stores subsequent searched character strings; a comparison device that compares the contents of the search buffer with the contents of the fetching buffer; a cursor address counter that sets a cursor display position; A text processing device comprising: a central processing unit that terminates the search if the response results match, and increments the cursor address counter by one if the responses do not match. 2. The text processing device according to claim 1, further comprising a reverse display means for displaying the character string searched based on the operation of the search key in reverse video.
JP62034913A 1987-02-17 1987-02-17 Document processor Pending JPS63201766A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62034913A JPS63201766A (en) 1987-02-17 1987-02-17 Document processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62034913A JPS63201766A (en) 1987-02-17 1987-02-17 Document processor

Publications (1)

Publication Number Publication Date
JPS63201766A true JPS63201766A (en) 1988-08-19

Family

ID=12427448

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62034913A Pending JPS63201766A (en) 1987-02-17 1987-02-17 Document processor

Country Status (1)

Country Link
JP (1) JPS63201766A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07261961A (en) * 1994-03-10 1995-10-13 Internatl Business Mach Corp <Ibm> Display method of text

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07261961A (en) * 1994-03-10 1995-10-13 Internatl Business Mach Corp <Ibm> Display method of text

Similar Documents

Publication Publication Date Title
JPS63201766A (en) Document processor
JPS6375872A (en) Sentence processor
JPS62226269A (en) Document preparing device
JPS60129874A (en) Japanese word input device
JPH04148370A (en) Document processor
JPH02255979A (en) Document producing device
JPS62263570A (en) Document forming device
JPH0343659B2 (en)
JP2002041509A (en) Character input device
JPH0922411A (en) Document processing method and its device
JPH03179553A (en) Producing device for japanese document
JPH0322639B2 (en)
JPS62171029A (en) Document preparing device
JPS646498B2 (en)
JPS6379178A (en) Electronic document image file device
JPS6297055A (en) Japanese document processor
JPS61272864A (en) Sentence processor
JPH03271868A (en) Documentation device
JPH07129569A (en) Method and device for document processing
JPS6269358A (en) Character processor
JPS62180459A (en) Document processor
JPH0368061A (en) Learning system for kana-kanji conversion
JPH06131328A (en) Method and device for processing document
JPH07168833A (en) Area specifying device
JPH03142657A (en) Document processor