JPS62180459A - Document processor - Google Patents

Document processor

Info

Publication number
JPS62180459A
JPS62180459A JP61021211A JP2121186A JPS62180459A JP S62180459 A JPS62180459 A JP S62180459A JP 61021211 A JP61021211 A JP 61021211A JP 2121186 A JP2121186 A JP 2121186A JP S62180459 A JPS62180459 A JP S62180459A
Authority
JP
Japan
Prior art keywords
character string
range
search
document
memory
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
JP61021211A
Other languages
Japanese (ja)
Inventor
Tatsuo Ito
達夫 伊藤
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP61021211A priority Critical patent/JPS62180459A/en
Publication of JPS62180459A publication Critical patent/JPS62180459A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To designate a range on a document memory with a simple operation by using a character string designating means, the document memory, a retrieving means and a range designating means respectively. CONSTITUTION:A retrieving means 300 retrieves the position of a document memory 200 corresponding to the cursor display position of a display means 500 through the character string designated by a character string designating means 100. A range designating means 400 designates a range covering the position of the memory 200 corresponding to the cursor display position of the means 500 through the storage position of the retrieved designated character string. This omits such a troublesome operation to shift a cursor on the display screen of a display device like a CRT, etc. Thus a range can be set on the memory 200 just by designating a character string in a simple way.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は文書情報中のある位置より指定された文字列位
置までの範囲指定を行う機能を備えた文3処理装置に関
するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a sentence 3 processing device having a function of specifying a range from a certain position in document information to a specified character string position.

[従来の技術] 従来この種のワードプロセッサ等における範囲指定機能
においては、例えば°“範囲キー”等の押下入力等によ
り範囲指定モードを設定の後、カーソルキーを移動させ
ることで、範囲の指定を行っていた。
[Prior Art] Conventionally, in the range specification function of this type of word processor, etc., after setting the range specification mode by pressing the ° "range key" or the like, the range specification is performed by moving a cursor key. I was going.

[発明が解決しようとする問題点] 従って、操作者がこの種の範囲指定を行う場合、CRT
等を見ながら範囲指定を行いたい範囲カーソルを移動さ
せるという煩雑な操作を行う必要性が生じる欠点があっ
た。
[Problem to be solved by the invention] Therefore, when the operator specifies this type of range, the CRT
There is a drawback that it is necessary to perform a complicated operation of moving the range cursor to specify the range while looking at the screen.

[問題点を解決するための手段] 本発明の目的は、かかる従来の欠点を除去し、簡単な操
作により、文書メモリ上の範囲指定を行うことができる
様にした文書処理装置を提供することにある。
[Means for Solving the Problems] It is an object of the present invention to provide a document processing device that eliminates such conventional drawbacks and allows specifying a range on a document memory with a simple operation. It is in.

かかる目的を達成する一手段として、例えば第1図に示
す本実施例の文書処理装置は、特定の文字列を指定する
文字列指定手段100と、文書情報を格納する文書メモ
リ200と、該文書メモリ200に格納されている文書
情報中の前記文字列指定手段100で指定された文字列
を検索する検索手段300と、該検索手段300による
検索開始位置より検索終了位置までの範囲を指定する範
囲指定手段400と、文書メモリ200に格納されてい
る文書情報を表示する表示手段500と、キー入力手段
600とを備える。
As one means for achieving this purpose, for example, the document processing apparatus of the present embodiment shown in FIG. A search means 300 for searching for a character string specified by the character string specifying means 100 in document information stored in the memory 200, and a range for specifying a range from a search start position to a search end position by the search means 300. It includes a specifying means 400, a display means 500 for displaying document information stored in the document memory 200, and a key input means 600.

[作用] かかる第1図の構成において、検索手段300は、キー
入力手段600の特定キーの入力により、文書メモリ2
00の表示手段500のカーソル表示位置に対応する位
置より文字列指定手段100にて指定された文字列まで
の検索を行い、範囲指定手段400は文書メモリ200
の表示手段500のカーソル表示位置に対応する位置よ
り検索された指定文字列格納位置までの範囲指定を行う
[Operation] In the configuration shown in FIG.
Search is performed from the position corresponding to the cursor display position of the display means 500 of 00 to the character string specified by the character string specifying means 100, and the range specifying means 400 searches the document memory 200.
The range from the position corresponding to the cursor display position of the display means 500 to the searched designated character string storage position is specified.

[実施例コ 以下、図面を参照して本発明に係る一実施例を詳細に説
明する。
[Example 1] Hereinafter, an example according to the present invention will be described in detail with reference to the drawings.

第2図は、本発明に係る一実施例の全体構成を示す。FIG. 2 shows the overall configuration of an embodiment according to the present invention.

即ち、本実施例は文書メモリ5上の文書情報に対し、予
め検索文字列格納手段6を用いて、検索文字列バッファ
4へ文字列を格納し、検索範囲指定手段1を行うことに
より、検索手段2を用いて、カーソル位置から検索文字
列バッファ4に格納された文字列位置までの検索を行い
、その検索された文字列までを範囲指定手段3により、
範囲指定するものである。
That is, in this embodiment, the document information on the document memory 5 is searched by storing the character string in the search character string buffer 4 in advance using the search character string storage means 6, and performing the search range specifying means 1. The means 2 is used to search from the cursor position to the character string position stored in the search string buffer 4, and the range specification means 3 is used to search up to the searched character string.
It specifies a range.

第3図に本実施例の詳細ブロック図を示す。FIG. 3 shows a detailed block diagram of this embodiment.

ここで、11はキーボードであり、本実施例の検索範囲
指定の処理を指示するために用いる検索範囲キー12、
また、この検索範囲指定の対象となる文字列を検索文字
列バッファへ格納するためのメモリキー13及び、電源
キー14、その他の文字に必要な処理を指示するための
その他のキーを有す。
Here, 11 is a keyboard, and search range keys 12, which are used to instruct the process of specifying a search range in this embodiment,
It also has a memory key 13 for storing the character string targeted for this search range specification in the search character string buffer, a power key 14, and other keys for instructing necessary processing for other characters.

20は例えばマイクロプロセッサ形態のCPtJであり
、ROM30に記憶された後述する処理手段に従って、
文字処理に必要な制御を行っている。ROM30は、例
えば第4図及び第5図のフローチャートに示す処理手順
等を記憶しているリード・オンリ・メモリである。
20 is a CPtJ in the form of a microprocessor, for example, and according to processing means stored in the ROM 30 and described later,
Performs the necessary controls for character processing. The ROM 30 is a read-only memory that stores, for example, the processing procedures shown in the flowcharts of FIGS. 4 and 5.

RAM40は書き込み可能なメモリであり、文書メモリ
41、カーソルレジスタ42、先頭表示し・ジスタ43
、及び、文字処理に必要なその他のメモリ領域45を含
む。文書メモリ41にはキーボード11等より入力され
た文字コードによる文字情報及び、この格納される文字
情報に関する情報等が格納される。
The RAM 40 is a writable memory, and includes a document memory 41, a cursor register 42, a top display register 43
, and other memory areas 45 necessary for character processing. The document memory 41 stores character information based on character codes input from the keyboard 11 or the like, information regarding the stored character information, and the like.

カーソルレジスタ42はカーソル位置を記憶し、先頭表
示レジスタ43は表示される文字の先頭文字位置を記憶
する。また、検索文字列バッファ44は指定された検索
文字列を記憶する。
The cursor register 42 stores the cursor position, and the head display register 43 stores the position of the first character to be displayed. Further, the search string buffer 44 stores a specified search string.

50は文書情報及びカーソルが表示される表示器である
50 is a display device on which document information and a cursor are displayed.

60は各部の制御に必要なアドレス信号、データ信号、
及びコントロール信号等より成る制御バスである。
60 are address signals and data signals necessary for controlling each part;
and a control bus consisting of control signals and the like.

次に以上の構成より成る本実施例の動作を第4図、第5
図のフローチャートを参照して以下に説明する。
Next, the operation of this embodiment having the above configuration is shown in FIGS. 4 and 5.
This will be explained below with reference to the flowchart shown in the figure.

第4図はROM301.:記憶され、CPU2C1よっ
て行われる本実施例装置の処理手順の一例を示すフロー
チャートである。
FIG. 4 shows ROM301. : is a flowchart showing an example of a processing procedure of the apparatus of this embodiment that is stored and executed by the CPU 2C1.

キーボード11の電源キー14を入力し、電源を投入す
るとステップS1へ進み、ここで文書メモリ41等のR
AM40の初期化、表示器50の初期化等の本実施例の
初期化処理が行われる。次にステップS2でキーボード
11からのキー入力待ちの状態を保つ。そこで、何らか
のキーが入力されたならば、ステップS3へ進み、CP
U20はキーボード11より入力されたキーの判別を行
う。
When the power key 14 of the keyboard 11 is input and the power is turned on, the process advances to step S1, where R of the document memory 41, etc.
Initialization processing of this embodiment, such as initialization of the AM 40 and initialization of the display device 50, is performed. Next, in step S2, a state of waiting for key input from the keyboard 11 is maintained. Therefore, if any key is input, the process advances to step S3, and the CP
U20 determines the key input from the keyboard 11.

ステップS3で、入力キー判別の結果、メモリキー13
の入力が判別された場合には、ステップS4へ、検索範
囲キー12の入力が判別された場合には、ステップS5
へ、その他文字処理に必要なキーが判別された場合には
ステップS6へ進み、各々対応する処理を進める。
In step S3, as a result of input key determination, memory key 13
If it is determined that the search range key 12 has been input, the process proceeds to step S4; if it is determined that the search range key 12 has been input, the process proceeds to step S5.
If other keys necessary for character processing are determined, the process advances to step S6, and the corresponding processes are performed.

ステップS4では、従来の技術により行われている方法
を用いて、検索の対象となる文字°列を指定し、指定し
た文字列を検索文字列バッファ44へ格納し、キー入力
待ちの状態であるステップS2へ進む。
In step S4, a string of characters to be searched is specified using a conventional method, the specified string is stored in the search string buffer 44, and the process waits for a key input. Proceed to step S2.

ステップS5では、文書メモリ41の文書情報中の表示
器50に表示された情報のうちカーソル表示位置よりス
テップS4で検索文字列バッファ44へ格納された文字
列までを範囲指定する後述の第5図に示す検索範囲指定
処理を行う。
In step S5, a range is specified from the cursor display position to the character string stored in the search character string buffer 44 in step S4 among the information displayed on the display 50 in the document information in the document memory 41, as shown in FIG. Perform the search range specification process shown in .

ステップS6では、その他人カキ−に応じた従来の文字
処理を行った上でキー入力待ちの状態であるステップS
2へ進む。
In step S6, conventional character processing is performed according to the other person's key, and step S6 waits for key input.
Proceed to 2.

次にステップS5の検索範囲指定処理の詳細を第5図の
フローチャートを参照して説明する。
Next, details of the search range designation process in step S5 will be explained with reference to the flowchart of FIG.

まず、ステップ35.1で検索文字列バッファ44に検
索の対象どなる文字列が格納されているかの判断を行う
。ここで、文字列が格納されていなければ、ステップS
5.5へ進み、エラー処理を行い、この処理を終了する
First, in step 35.1, it is determined which character string to be searched for is stored in the search string buffer 44. Here, if the character string is not stored, step S
Proceed to 5.5, perform error handling, and end this process.

一方、文字列が格納されていればステップ35.2へ進
み、文書メモリ41上のカーソル位置から後へ検索文字
列バッファ44に格納された文字列の検索を行う。そし
てステップ35.3でマツチする文字列が存在するか否
かを調べ、マツチする文字列が存在した場合にはステッ
プ35.4へ進み、文書メモリ41状のカーソル位置か
らステップ55.2により検索された文字列位置までの
範囲指定を行い、カーソルをその文字列の終わりに移動
させる。
On the other hand, if the character string is stored, the process advances to step 35.2, and the character string stored in the search character string buffer 44 is searched from the cursor position on the document memory 41 onward. Then, in step 35.3, it is checked whether or not a matching character string exists. If a matching character string exists, the process proceeds to step 35.4, and the search is performed from the cursor position in the document memory 41 in step 55.2. Specify the range up to the specified string position and move the cursor to the end of the string.

一方ステップ35.3でマツチする文字列が存在しなか
った場合にはステップ85.5へ進み、エラー処理を行
う。
On the other hand, if the matching character string does not exist in step 35.3, the process proceeds to step 85.5 and error processing is performed.

なお、ステップ55.5のエラー処理では、表示器50
の表示画面上にエラー表示を行い、カーソルは移動せず
、検索範囲指定処理を行う前と同じ位置にカーソルは位
置している。
Note that in the error processing at step 55.5, the display device 50
An error message is displayed on the display screen, the cursor does not move, and the cursor remains at the same position as before the search range specification process.

そしてステップ35.4又はステップ35.5の処理を
終了すると、キー入力待ちの状態であるステップS2へ
進み、更に次のキー入力に対応した処理を続行する。
When the process of step 35.4 or step 35.5 is completed, the process proceeds to step S2, which is a state of waiting for a key input, and further continues the process corresponding to the next key input.

以上示した処理の流れにより、指定した文字列までの範
囲指定は、検索文字列バッファ44へ指定する文字列を
格納し、検索範囲キー12を押すだけで済むことになる
According to the process flow described above, specifying a range up to a specified character string can be accomplished by simply storing the specified character string in the search string buffer 44 and pressing the search range key 12.

[発明の効果] 以上説明したように本発明によれば、範囲指定を行うの
に、CRT等の表示装置表示画面上のカーソルを移動さ
せるという煩雑な操作を行わず、簡単な文字列の指定の
みで行なうことのできる文書処理装置が提供できる。
[Effects of the Invention] As explained above, according to the present invention, when specifying a range, it is possible to specify a simple character string without having to perform the complicated operation of moving a cursor on the display screen of a display device such as a CRT. It is possible to provide a document processing device that can be used alone.

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

第1図は本発明の機能ブロック図、 第2図は本発明に係る一実施例の概念図、第3図は本発
明に係る一実施例の詳細ブロック図、 第4図、第5図は本実施例の処理の過程を示すフローチ
ャートである。 図中、11・・・キーボード、12・・・検索範囲キー
、12・・・メモリキー、20・・・CPU、30・・
・ROM、40・・・RAM、41・・・文書メモリ、
42・・・カーソルレジスタ、43・・・先頭表示レジ
スタ、44・・・検索文字列バッファ、50・・・表示
器である。 特許出願人  キャノン株式会社 第1図 第2図 第3図 第4図 第5図
Fig. 1 is a functional block diagram of the present invention, Fig. 2 is a conceptual diagram of an embodiment of the invention, Fig. 3 is a detailed block diagram of an embodiment of the invention, and Figs. 4 and 5 are 3 is a flowchart showing the process of the present embodiment. In the figure, 11...Keyboard, 12...Search range key, 12...Memory key, 20...CPU, 30...
・ROM, 40...RAM, 41...document memory,
42...Cursor register, 43...Start display register, 44...Search string buffer, 50...Display device. Patent applicant: Canon Co., Ltd. Figure 1 Figure 2 Figure 3 Figure 4 Figure 5

Claims (2)

【特許請求の範囲】[Claims] (1)特定の文字列を指定する文字列指定手段と、文書
情報を格納する文書メモリと、該文書メモリに格納され
ている文書情報中の前記文字列指定手段で指定された文
字列を検索する検索手段と、該検索手段による検索開始
位置より検索終了位置までの範囲を指定する範囲指定手
段とを備えることを特徴とする文書処理装置。
(1) A character string designation means for designating a specific character string, a document memory for storing document information, and a search for the character string designated by the character string designation means in the document information stored in the document memory. 1. A document processing apparatus comprising: a search means for searching; and a range specifying means for specifying a range from a search start position to a search end position by the search means.
(2)文書メモリに格納されている文書情報を表示する
表示手段と、キー入力手段とを備え、検索手段は前記キ
ー入力手段の特定キーの入力により前記文書メモリの表
示手段のカーソル位置に対応した位置より文字列指定手
段にて指定された文字列の検索を行い、範囲指定手段は
前記カーソル位置より検索された前記文書メモリの指定
文字列格納位置までの範囲指定を行うことを特徴とする
特許請求の範囲第1項記載の文書処理装置。
(2) A display means for displaying document information stored in a document memory, and a key input means, and the search means corresponds to a cursor position of the display means of the document memory by inputting a specific key of the key input means. The character string specified by the character string specifying means is searched from the specified position, and the range specifying means specifies a range from the cursor position to the specified character string storage position in the document memory. A document processing device according to claim 1.
JP61021211A 1986-02-04 1986-02-04 Document processor Pending JPS62180459A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61021211A JPS62180459A (en) 1986-02-04 1986-02-04 Document processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61021211A JPS62180459A (en) 1986-02-04 1986-02-04 Document processor

Publications (1)

Publication Number Publication Date
JPS62180459A true JPS62180459A (en) 1987-08-07

Family

ID=12048658

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61021211A Pending JPS62180459A (en) 1986-02-04 1986-02-04 Document processor

Country Status (1)

Country Link
JP (1) JPS62180459A (en)

Similar Documents

Publication Publication Date Title
JPS62180459A (en) Document processor
US5262948A (en) Word processor
JP3176080B2 (en) Document processing method and apparatus
JP2685434B2 (en) Document processing device
JP2671978B2 (en) Document processing device
JP2983995B2 (en) Character processor
JPS63201766A (en) Document processor
JPH07121285A (en) Character string input system
JPH0414169A (en) Document processor
JPS62203228A (en) Document processor
JPH04148370A (en) Document processor
JPH0589106A (en) Device and method for editing document
JPH01211169A (en) Japanese information processor
JPH06318197A (en) Data processor
JPH01263711A (en) Character string setting system for function key in multiwindow system
JPH07114646A (en) Word processor and object specifying method
JPH0520019A (en) Document data processor
JPH04290160A (en) Character processor
JPH08221392A (en) Device and method for document preparation
JPS6375872A (en) Sentence processor
JPH02165260A (en) Document processor
JPH0444160A (en) Document processor
JPS62297967A (en) Character processor
JPH0793303A (en) Document creation device and character modification control method
JPH054273U (en) Data retrieval device