JP3310120B2 - Character processing device and copy / pasting method in character processing device - Google Patents
Character processing device and copy / pasting method in character processing deviceInfo
- Publication number
- JP3310120B2 JP3310120B2 JP28547694A JP28547694A JP3310120B2 JP 3310120 B2 JP3310120 B2 JP 3310120B2 JP 28547694 A JP28547694 A JP 28547694A JP 28547694 A JP28547694 A JP 28547694A JP 3310120 B2 JP3310120 B2 JP 3310120B2
- Authority
- JP
- Japan
- Prior art keywords
- address
- stored
- data
- character string
- storage means
- 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.)
- Expired - Fee Related
Links
Landscapes
- Document Processing Apparatus (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明は、文字処理装置及び文字
処理装置における複写貼付け方法に関し、より詳細に
は、文字列を記憶するのではなく、文字列の存在するア
ドレスを記憶し、文書作成時の複写・貼り付けを行う文
字処理装置及び文字処理装置における複写貼付け方法に
関する。例えば、ワープロ等の文書作成装置に適用され
るものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character processing apparatus and a character processing apparatus.
More specifically, regarding a copy / paste method in a processing device , a sentence for storing an address where a character string exists and for performing copy / paste at the time of document creation, instead of storing a character string.
The present invention relates to a character processing device and a copy / pasting method in the character processing device . For example, the present invention is applied to a document creation device such as a word processor.
【0002】[0002]
【従来の技術】図9は、従来の複写・貼り付け方式のフ
ローチャートである。以下、各ステップ(S)に従って
順に説明する。まず、複写を開始すると、複写元の範囲
を指定し(所望の文字列の選択)、範囲の指定された所
望の文字列をメモリ(バッファ)に記憶する(S51)。
次に、複写先を指定して複写を実行する。指定された複
写先に、メモリ(バッファ)に記憶されている文字列を
複写する(S52)。次に、貼り付けを行うかどうかを判
断し(S53)、貼り付けを行わなければ処理を終了す
る。貼り付けを行うならば、貼り付け先を指定して貼り
付けを実行する。指定された貼り付け先に、メモリ(バ
ッファ)に記憶されている文字列を貼り付ける(S54)。
次に、文字列の一部を変更するかどうかを判断し(S5
5)、変更しなければ前記S53へ戻り、変更するのであ
れば文字列の一部を変更し(S56)、複写開始に戻る。2. Description of the Related Art FIG. 9 is a flowchart of a conventional copy / paste method. Hereinafter, description will be made in order according to each step (S). First, when copying is started, a range of a copy source is designated (selection of a desired character string), and a desired character string having the designated range is stored in a memory (buffer) (S51).
Next, copying is performed by designating a copy destination. The character string stored in the memory (buffer) is copied to the designated copy destination (S52). Next, it is determined whether or not to paste (S53), and if not, the process is terminated. To paste, specify the paste destination and execute the paste. The character string stored in the memory (buffer) is pasted to the designated paste destination (S54).
Next, it is determined whether to change a part of the character string (S5
5) If not changed, the process returns to S53. If changed, a part of the character string is changed (S56), and the process returns to the start of copying.
【0003】このように、複写及び貼り付けされるべき
文字列そのものを記憶装置(バッファ)に記憶してお
り、複写及び貼り付け先が指定されると、その位置に記
憶している文字列を展開することにより、所望の目的を
果たせるようになっている。なお、その文字列の一部を
変更して貼り付けを行いたい場合は、再度、変更された
文字列の範囲指定をやり直し、文字列の記憶装置(バッ
ファ)の内容を書き換えて複写を行わなければならな
い。また、記憶装置(バッファ)には、文字数分の容量
が必要であり、文字数に制限がある。As described above, a character string itself to be copied and pasted is stored in a storage device (buffer), and when a copy and paste destination is designated, the character string stored at that position is converted. By expanding, a desired purpose can be achieved. If a part of the character string is to be changed and pasted, the range of the changed character string must be specified again, and the contents of the character string storage device (buffer) must be rewritten and copied. Must. Further, the storage device (buffer) requires a capacity for the number of characters, and the number of characters is limited.
【0004】従来の文書編集装置について記載した公知
文献としては、例えば、特開平2−257267号公報
がある。この公報のものは、箇条書き形式の文書や表形
式の文書のように、短い文字列を同じ桁位置に複写する
ことを目的としており、所定の文字複写記号(点列に複
写記号列としての役割を持たせている)を入力すると、
表示画面上に表示されている文字列のうち、文字複写記
号と所定の位置関係にある先行する行の文字列が、文字
複写記号の位置に代入されるものである。[0004] As a known document describing a conventional document editing apparatus, there is, for example, Japanese Patent Application Laid-Open No. 2-257267. The purpose of this publication is to copy a short character string to the same digit position as in a bulleted document or a table document, and to use a predetermined character copy symbol (dotted character string as a copy symbol string). Enter a role).
Among the character strings displayed on the display screen, the character string of the preceding line having a predetermined positional relationship with the character copy symbol is substituted for the position of the character copy symbol.
【0005】また、特開平4−107620号公報のも
のは、同じ表現を繰り返し入力する場合の繰り返し生成
手段に関するものであり、キーボードには“繰り返しキ
ー”を備えている。1回目の繰り返しキーで繰り返し生
成手段が起動され、続けて入力表示される単語の先頭ア
ドレスが記憶される。2回目であれば、最初の繰り返し
キーの押下時に記憶した単語の先頭アドレスから2回目
の繰り返しキーの押下時までに入力された単語を表示手
段から読み取り、読み取った単語を表示手段の読み取ら
れた単語の続きにコピー表示するものである。Japanese Patent Application Laid-Open No. 4-107620 relates to a repetition generating means for repeatedly inputting the same expression, and the keyboard is provided with a "repetition key". The repetition generating means is activated by the first repetition key, and the head address of a word to be continuously input and displayed is stored. If it is the second time, the word input from the head address of the word stored when the first repetition key is pressed until the time when the second repetition key is pressed is read from the display means, and the read word is read by the display means. This is a copy display following the word.
【0006】さらに、特開平4−162174号公報の
ものは、罫線や書式マークで表枠が形成された領域に、
特定の文字列を各行毎に複数行繰り返し複写することを
目的としており、指定された文字の前後を解析し、連続
した文字列の範囲を特定する文字列解析手段と、連続し
た文字列の複写及びその複写方向を指示する複写指示手
段と、複写指示方向の領域が文字列の書き込み可能な領
域であるか否かを判定する判定手段を有する。なお、複
写文字列は文字コードで文字コードバッファに格納され
るようになっている。Further, Japanese Patent Application Laid-Open No. 4-162174 discloses a technique in which an area in which a table frame is formed by ruled lines and format marks is provided.
The purpose of this method is to repeat a specific character string multiple times for each line, analyze the character before and after the specified character, specify the range of the continuous character string, and copy the continuous character string And a copy instructing means for instructing the copying direction, and a determining means for determining whether or not the area in the copying instructing direction is an area where a character string can be written. The copy character string is stored in a character code buffer in a character code.
【0007】[0007]
【発明が解決しようとする課題】前述のように、従来の
文書複写・貼り付け方式においては、複写及び貼り付け
を行う際、その文字列の一部を変更して貼り付けを行い
たい場合は、再度、変更された文字列の範囲指定をやり
直し、文字列の記憶装置(バッファ)の内容を書き換え
なければならなかった。また、記憶装置(バッファ)に
は文字列の文字数分の容量が必要であり、文字数に制限
があった。As described above, in the conventional document copy / paste method, when copying and pasting, if it is desired to change a part of the character string and paste it. The range of the changed character string must be specified again, and the contents of the character string storage device (buffer) must be rewritten. Further, the storage device (buffer) needs a capacity for the number of characters of the character string, and the number of characters is limited.
【0008】本発明は、このような実情に鑑みてなされ
たもので、(1)所望の文字列を指示するアドレスを記
憶することにより、範囲指定後、複写及び貼り付けを1
回若しくは複数回行う過程において、容易に文字列の一
部を変更すること、複写及び貼り付けの文字列の文字数
の制限を無くすこと及び記憶装置(バッファ)の容量を
軽減すること、(2)複写及び貼り付けの後の文字列を
指示するアドレスを記憶することにより、複写文字列の
変更の際、カーソルの移動量を少なくすること、(3)
編集によって所望の文字列と、記憶しているアドレスと
の対応がずれてしまうのを防ぐようにした文字処理装置
及び文字処理装置における複写貼付け方法を提供するこ
とを目的としている。The present invention has been made in view of such circumstances. (1) By storing an address designating a desired character string, copying and pasting can be performed after a range is specified.
(2) to easily change a part of a character string in the process of performing it once or a plurality of times, to eliminate the limitation on the number of characters of a character string for copying and pasting, and to reduce the capacity of a storage device (buffer); (3) by storing an address indicating a character string after copying and pasting, to reduce the amount of movement of the cursor when changing the copied character string;
A character processing device that prevents a correspondence between a desired character string and a stored address from being shifted by editing.
And a copying and pasting method in a character processing device .
【0009】[0009]
【課題を解決するための手段】本発明は、上記課題を解
決するために、(1)表示手段に表示される文字列を含
むデータを記憶するデータ記憶手段と、前記表示手段に
表示されたデータ上で複写対象のデータ列を指示する複
写指示手段と、前記複写指示手段で指示されたデータ列
が記憶された前記データ記憶手段上での第1アドレスを
記憶するアドレス記憶手段と、前記表示手段に表示され
たデータ上で貼付け位置を指示する貼付け指示手段と、
前記貼付け指示手段による指示毎に、当該指示された位
置に相当する前記データ記憶手段の第2アドレスに、前
記アドレス記憶手段に記憶されたアドレスで指示される
データ列を記憶させると共に、前記アドレス記憶手段に
記憶されたアドレスを前記第2アドレスに置き換える編
集手段とを備えたこと、更には、(2)前記アドレス記
憶手段に記憶されるアドレスは、文字列の先頭アドレス
と文字数から構成されること、更には、(3)データ記
憶手段に記憶された文字列を含むデータを表示手段に表
示し、複写指示手段で指示されたデータ列の第1アドレ
スをアドレス記憶手段に記憶し、貼付け指示手段で指示
されたデータ記憶手段の第2アドレスに、アドレス記憶
手段に記憶されたアドレスが指示するデータ列を記憶す
るデータ処理装置における複写貼付け方法であって、前
記アドレス記憶手段には、前記複写貼付けの直前までは
前記第1アドレスを記憶し、前記複写貼付けの直後は前
記第2アドレスを記憶し、前記貼付け指示手段の指示ご
とに前記データ記憶手段の第2アドレスに、前記アドレ
ス記憶手段に記憶されたアドレスで指示されるデータ列
を記憶させるようにしたこと、更には、(4)前記アド
レス記憶手段に記憶されるアドレスは、文字列の先頭ア
ドレスと文字数から構成されることを特徴としたもので
ある。According to the present invention, in order to solve the above-mentioned problems, (1) a character string displayed on a display means is included.
Data storage means for storing data stored in the storage means;
Specify the data string to be copied on the displayed data.
Copy instruction means, and a data string instructed by the copy instruction means
Is the first address on the data storage means where
Address storage means for storing, and display on the display means
Paste instruction means for indicating a paste position on the data
For each instruction by the pasting instruction means,
The second address of the data storage means corresponding to the
Specified by the address stored in the address storage means.
While storing the data string, the address storage means
A section for replacing a stored address with the second address
And (2) the address recording means.
The address stored in the storage means is the start address of the character string.
And the number of characters , and (3) data description
The data including the character string stored in the storage means is displayed on the display means.
Address of the data string specified by the copy instructing means.
Stored in the address storage means, and instructed by the pasting instruction means
The address is stored in the second address of the stored data storage means.
Storing a data string indicated by the address stored in the means;
Copy and paste method in a data processing device,
In the address storage means, until immediately before the copying and pasting,
The first address is stored, and immediately after the copying and pasting,
The second address is stored, and the instruction of the pasting instruction means is stored.
At the second address of the data storage means.
Data string indicated by the address stored in the storage means
And (4) the ad
The address stored in the address storage means is
It is characterized by being composed of a dress and the number of characters.
【0010】[0010]
【作用】前記構成を有する本発明の文字処理装置及び文
字処理装置における複写貼付け方法は、(1)メモリ
(バッファ)のアドレス記憶部は、複写(貼り付け)し
たい所望の文字列を指示するアドレスを記憶することが
できる。そして、文字数記憶部は、その所望の文字列の
文字数を記憶することができる。(2)メモリ(バッフ
ァ)のアドレス記憶部は、複写(貼り付け)直前までは
複写(貼り付け)の元の文字列を指示する先頭アドレス
を記憶し、複写(貼り付け)直後は複写(貼り付け)さ
れた文字列を指示する先頭アドレスを記憶することがで
きる。(3)メモリ(バッファ)の文字数記憶部は、編
集によって複写(貼り付け)の元の文字列を構成する文
字数が変化した場合は、変化した文字数を記憶すること
ができる。(4)メモリ(バッファ)のアドレス記憶部
は編集によって複写(貼り付け)の元の文字列が移動さ
れた場合、移動後の文字列を指示する先頭アドレスを記
憶することができる。The character processing apparatus and the sentence according to the present invention having the above-mentioned structure.
In the copy pasting method in the character processing apparatus , (1) the address storage unit of the memory (buffer) can store an address indicating a desired character string to be copied (pasted). Then, the character number storage unit can store the number of characters of the desired character string. (2) The address storage unit of the memory (buffer) stores the leading address indicating the original character string of the copy (paste) until immediately before the copy (paste), and copies (paste) immediately after the copy (paste). The head address indicating the attached character string can be stored. (3) The character number storage unit of the memory (buffer) can store the changed number of characters when the number of characters constituting the original character string to be copied (pasted) changes by editing. (4) The address storage unit of the memory (buffer) can store the leading address indicating the character string after the movement when the original character string of the copy (paste) is moved by editing.
【0011】[0011]
【実施例】実施例について、図面を参照して以下に説明
する。図1は、本発明による文字処理装置及び文字処理
装置における複写貼付け方法を説明するためのシステム
構成図で、図中、1は表示・出力装置、2は補助記憶装
置、3は中央処理装置(CPU)、4はメモリ、5はメ
モリ(バッファ)、6はアドレス記憶部、7は文字数記
憶部、8は入力装置である。Embodiments will be described below with reference to the drawings. FIG. 1 shows a character processing apparatus and character processing according to the present invention.
FIG. 1 is a system configuration diagram for explaining a copying and pasting method in an apparatus, wherein 1 is a display / output device, 2 is an auxiliary storage device, 3 is a central processing unit (CPU), 4 is a memory, and 5 is a memory (buffer). , 6 is an address storage unit, 7 is a character number storage unit, and 8 is an input device.
【0012】メモリ(バッファ)5には、複写(貼り付
け)したい所望の文字列を指示する先頭アドレスを記憶
することができるアドレス記憶部6及びその文字列の文
字数を記憶することができる文字数記憶部7を具備して
いる。なお、本発明は、これに限らず、例えば、文字列
の先頭アドレスおよび後尾アドレスを記憶する方法でも
よい。In a memory (buffer) 5, an address storage unit 6 capable of storing a head address indicating a desired character string to be copied (pasted) and a character number storage capable of storing the number of characters of the character string A part 7 is provided. The present invention is not limited to this. For example, a method of storing a head address and a tail address of a character string may be used.
【0013】図2は、本発明による文字処理装置及び文
字処理装置における複写貼付け方法を説明するためのフ
ローチャートである。以下、各ステップ(S)に従って
順に説明する。ステップS21の如く、複写を行う際、
範囲指定された所望の文字列をメモリに記憶するのでは
なく、その文字列を指示する先頭アドレスをアドレス記
憶部6に記憶し、その文字列の文字数を文字数記憶部7
に各々記憶する。次に、複写先を指定されるとステップ
S22の如く、指定された複写先にアドレス記憶部6に
記憶されているアドレスから始まる文字数記憶部7に記
憶されている文字数分の文字列を複写する。FIG. 2 shows a character processing apparatus and a sentence according to the present invention.
5 is a flowchart for explaining a copy and paste method in the character processing apparatus . Hereinafter, description will be made in order according to each step (S). When performing copying as in step S21,
Instead of storing the desired character string whose range is specified in the memory, the head address designating the character string is stored in the address storage unit 6, and the number of characters of the character string is stored in the character number storage unit 7.
Respectively. Next, when the copy destination is specified, as in step S22, the character strings of the number of characters stored in the number-of-characters storage unit 7 starting from the address stored in the address storage unit 6 are copied to the specified copy destination. .
【0014】そして、アドレス記憶部6の内容を消去
し、今回指定された複写先文字列を指示する先頭アドレ
スに書き換える。引き続き、貼り付けを行いたい場合
は、同様にステップS24の如く、指定された貼り付け先
にアドレス記憶部6に記憶されているアドレスから始ま
る文字数記憶部7に記憶されている文字数分の文字列を
貼り付ける。そして、アドレス記憶部6の内容を消去
し、今回指定された貼り付け先文字列を指示するアドレ
スに書き換える。なお、ステップS25,26は、図3に示
す文字列の変更フローに、ステップS27,28は、図4に
示す文字列の移動フローに詳述している。Then, the contents of the address storage section 6 are erased and rewritten to the head address designating the currently designated copy destination character string. If the user wants to continue pasting, similarly, as in step S24, a character string corresponding to the number of characters stored in the number-of-characters storage unit 7 starting from the address stored in the address storage unit 6 at the designated paste destination Paste. Then, the contents of the address storage unit 6 are erased and rewritten with the address indicating the pasted destination character string designated this time. Steps S25 and S26 are described in detail in the character string change flow shown in FIG. 3, and steps S27 and S28 are described in detail in the character string movement flow shown in FIG.
【0015】図5及び図6は、本発明による文字処理装
置及び文字処理装置における複写貼付け方法を行う実施
例の説明図である。まず、最初、表示画面が図5(a)
の状態であるとする。まず、図5(a)の1行目の「特
開昭61−1234」の「特開昭」(3文字)を範囲指
定することにより、アドレス記憶部6には「特」という
文字列を指示するアドレス〔A1〕が記憶され、文字数
記憶部7にはその文字数「3」がそれぞれ記憶される。
次に、2行目の先頭にカーソルを移動させ、複写を実行
するとアドレス記憶部6に記憶されているアドレス〔A
1〕から始まる文字数記憶部7に記憶されている文字数
「3」、すなわち、3文字分の文字数がカーソル位置か
ら展開(複写)され、「特開昭」の文字列が挿入され
る。FIGS. 5 and 6 show a character processing device according to the present invention.
FIG. 4 is an explanatory diagram of an embodiment in which a copy and pasting method is performed in the placement and character processing apparatus . First, first, the display screen is as shown in FIG.
It is assumed that First, by specifying the range of “JP-A Sho” (3 characters) of “JP-A-61-1234” on the first line of FIG. 5A, the character string “Toku” is stored in the address storage unit 6. The designated address [A1] is stored, and the number-of-characters storage unit 7 stores the number of characters "3".
Next, when the cursor is moved to the head of the second line and copying is performed, the address [A stored in the address storage unit 6 is read.
The number of characters "3" stored in the number-of-characters storage section 7 starting from [1], that is, the number of characters for three characters is developed (copied) from the cursor position, and a character string of "JP-A" is inserted.
【0016】そして、そのカーソル位置のアドレス〔A
2〕(今複写した文字列の先頭アドレス)がアドレス記
憶部に記憶されることになる(文字数記憶部は変化せ
ず)表示画面は、図5(b)「特開昭62−2345」
のようになる。次に、3行目の先頭にカーソルを移動さ
せ、貼り付けを行うと、同様に図5(c)「特開昭63
−3456」のようになる。この時、アドレス記憶部6
には、そのカーソル位置のアドレス〔A3〕(今貼り付
けをした文字列の先頭アドレス)が記憶されるが、文字
数記憶部7は相変わらず文字数「3」が記憶されたまま
である。続いて、同様に4行目の先頭にカーソルを移動
させ、貼り付けを行うと、図5(d)「特開昭1−45
67」のようになり、アドレス記憶部6にはそのカーソ
ル位置のアドレス〔A4〕(今貼り付けをした文字列の
先頭アドレス)が記憶される。Then, the address of the cursor position [A
2] (Start address of the character string copied just now) is stored in the address storage unit (the number of character storage unit remains unchanged). The display screen is shown in FIG.
become that way. Next, when the cursor is moved to the head of the third line and pasting is performed, similarly, FIG.
−3456 ”. At this time, the address storage unit 6
Stores the address [A3] of the cursor position (the head address of the character string just pasted), but the character number storage unit 7 still stores the character number "3". Subsequently, similarly, when the cursor is moved to the head of the fourth line and pasting is performed, FIG.
67, and the address storage unit 6 stores the address [A4] of the cursor position (the head address of the character string just pasted).
【0017】ここで、図5(d)「特開昭1−456
7」の「特開昭」の文字列を「特開平_」(ただし、_
はスペースを表わすものとする。以下同じ。)と変更す
ると、アドレス記憶部6の内容はそのままで、文字数記
憶部7は文字数「4」に変更される。図5(e)「特開
平_1−4567」のようになる。次に、5行目の先頭
にカーソルを移動させ、貼り付けを行うと、図5(f)
「特開平_2−5678」のようになる。この時、アド
レス記憶部6にはそのカーソル位置のアドレス〔A5〕
(今貼り付けをした文字列の先頭アドレス)が記憶さ
れ、文字数記憶部7には先程の文字数「4」が記憶され
たままである。Here, FIG.
7 is replaced with the character string of "JP-A Sho"
Represents a space. same as below. ), The contents of the address storage unit 6 are kept as they are, and the number of characters storage unit 7 is changed to the number of characters “4”. FIG. 5 (e) shows "Japanese Patent Laid-Open No. 1-4567". Next, when the cursor is moved to the head of the fifth line and pasting is performed, FIG.
It is as shown in "JP-A-2-5678". At this time, the address [A5] of the cursor position is stored in the address storage unit 6.
(The head address of the character string just pasted) is stored, and the number of characters “4” is still stored in the number-of-characters storage unit 7.
【0018】続いて、同様に、6行目の先頭にカーソル
を移動させ、貼り付けを行うと、図5(g)「特開平_
3−7890」のようになり、アドレス記憶部6には、
そのカーソル位置のアドレス〔A6〕(今貼り付けをし
た文字列の先頭アドレス)が記憶される。このように、
図6の項目のように、本発明では、文字列の一部を変
更しても、貼り付けを行うのみで済むのに対し、従来技
術では再度範囲指定をして複写を行わなければならなか
った。Subsequently, similarly, when the cursor is moved to the head of the sixth line and pasting is performed, FIG.
3-7890 ”, and the address storage unit 6 stores
The address [A6] of the cursor position (the head address of the character string just pasted) is stored. in this way,
As shown in the item of FIG. 6, in the present invention, even if a part of the character string is changed, only pasting is required, whereas in the prior art, the range must be specified again and copied. Was.
【0019】次に、図3の本発明の文字列の変更フロー
図を用いて、貼り付けを行う文字列の変更の詳細を説明
する。アドレス記憶部6に格納されているアドレスをA
n、カーソル位置をCu、文字数記憶部7に格納されて
いる文字数をS、追加・削除された文字数をmとする。
文字列の変更を行う条件は、当然、An≦Cu≦An+
Sでなければならない。文字が追加された場合、S←S
+mと文字数記憶部7に格納されている文字数Sに追加
された文字数mをプラスした値に変更する。文字が削除
された場合、S←S−mと文字数記憶部7に格納されて
いる文字数Sに削除された文字数mをマイナスした値に
変更する。Next, the change of the character string to be pasted will be described in detail with reference to the character string change flowchart of the present invention shown in FIG. The address stored in the address storage unit 6 is A
n, the cursor position is Cu, the number of characters stored in the character number storage unit 7 is S, and the number of added / deleted characters is m.
The condition for changing the character string is, of course, An ≦ Cu ≦ An +
Must be S. If a character is added, S ← S
+ M and the value obtained by adding the number m of characters added to the number S of characters stored in the number-of-characters storage unit 7 to a value. When the character is deleted, the value is changed to a value obtained by subtracting the number m of characters deleted from the number S of characters stored in the number-of-characters storage unit 7 from S ← Sm.
【0020】図7に示す例文:71「奈良県奈良市美濃
庄町」の「奈良市」(3文字)の部分を対象の文字列と
すると、「奈」の文字が存在するアドレス〔An〕がア
ドレス記憶部6に格納されており、文字数記憶部7には
S(文字数)「3」が格納されている。ここで、図7に
示す「例文:72」のように、「奈良市」を「大和郡山
市」に変更すると、アドレス記憶部6に格納されている
値はそのままで、文字数記憶部7に格納されているS
(文字数)「3」は、S(文字数)「5」に変化する。[0020] sentence shown in Fig seven seventy-one "Nara" of "Nara, Nara Prefecture Minosho town" and a string portion of the target (3 characters), address the presence of the character of "Nana" [An] Are stored in the address storage unit 6, and S (the number of characters) “3” is stored in the character number storage unit 7. Here, when “Nara city” is changed to “Yamato Koriyama city” as in “example sentence: 72” shown in FIG. 7, the value stored in the address storage unit 6 is stored in the character number storage unit 7 as it is. S
(Number of characters) “3” changes to S (number of characters) “5”.
【0021】この状態で貼り付けを1回若しくは複数回
実行すると、次々と「大和郡山市」の文字列が貼り付ら
れて行くことになる。一方、図7に示す「例文:71」
の「奈良市」を「例文:73」の「内」に変更すると、
アドレス記憶部6に格納されている値はそのままで、文
字数記憶部7に格納されているS(文字数)「3」は、
S(文字数)「1」に変化する。この状態で貼り付けを
1回若しくは複数回実行すると、次々と「内」の文字列
が貼り付られて行くことになる。If the pasting is performed once or more times in this state, the character string "Yamato Koriyama City" will be pasted one after another. On the other hand, "example sentence: 71" shown in FIG.
Of "Nara-shi" in "Example": "73"
While the value stored in the address storage unit 6 is unchanged, S (the number of characters) “3” stored in the number-of-characters storage unit 7 is
S (number of characters) changes to "1". If the pasting is performed once or a plurality of times in this state, the character strings of “inside” will be pasted one after another.
【0022】次に、図4の本発明の文字列の移動フロー
図を用いて、編集(追加・削除)がなされた場合のアド
レス記憶部に格納されている値の変更の詳細を説明す
る。編集(追加・削除)がなされた後のカーソル位置の
値が、アドレス記憶部6に格納されている値と文字数記
憶部7に格納されている値との和よりも大きい場合(追
加・削除される文字が貼り付け対象文字列の後部にある
場合)、すなわち、図8に示す「例文:81」で「夏は
7時」が貼り付け対象文字列になっており、「夏」の存
在するアドレス〔An〕がアドレス記憶部6に格納さ
れ、「文字数記憶部」にS(文字数)「4」が格納され
ている場合、「納涼船へと早変わりし」(11文字)が
削除されても、図8に示す「例文:82」のようにアド
レス記憶部6の内容は変化せずそのままである。Next, the details of the change of the value stored in the address storage unit when editing (addition / deletion) is performed will be described with reference to the character string movement flowchart of the present invention in FIG. When the value at the cursor position after editing (addition / deletion) is larger than the sum of the value stored in the address storage unit 6 and the value stored in the number-of-characters storage unit 7 (addition / deletion) Character is at the end of the character string to be pasted), that is, “summer is 7 o'clock” in “example sentence: 81” shown in FIG. 8 and the character string to be pasted is “summer”. When the address [An] is stored in the address storage unit 6 and S (the number of characters) “4” is stored in the “character number storage unit”, even if “change quickly to a boat” (11 characters) is deleted. 8, the contents of the address storage unit 6 remain unchanged as in "example sentence: 82" shown in FIG.
【0023】次に、編集(追加・削除)がなされた後の
カーソル位置の値がアドレス記憶部6に格納されている
値よりも小さい場合(追加・削除される文字が貼り付け
対象文字列の先頭アドレスの前部にある場合)、例え
ば、図8に示す「例文:81」の「午後の便で」(5文
字)が削除された場合(「例文:83」の如く)は、ア
ドレス記憶部6の内容を削除された文字数分引いた値に
変更する。An←An−5とする。図8に示す「例文:
84」の「美しい」(3文字)が追加された場合は、ア
ドレス記憶部6の内容を追加された文字数分足した値に
変更する。すなわち、An←An+3とする。Next, when the value at the cursor position after editing (addition / deletion) is smaller than the value stored in the address storage unit 6 (the character to be added / deleted is the character string to be pasted). For example, when "in the afternoon flight" (5 characters) of "example sentence: 81" shown in FIG. 8 is deleted (as in "example sentence: 83"), the address is stored. The content of the part 6 is changed to a value obtained by subtracting the number of deleted characters. It is assumed that An ← An−5. “Example sentence:
"Beautiful" 84 "(3 characters) if it is added, changing the added number of characters value obtained by adding the contents of the address storage unit 6. That is, An ← An + 3.
【0024】[0024]
【発明の効果】以上の説明から明らかなように、本発明
によると、以下のような効果がある。複写後、貼り付け
を1回若しくは複数回行う過程において、容易に貼り付
け対象文字列の一部を変更することが可能となる。ま
た、複写(貼り付け)文字列を変更する際、複写(貼り
付け)後の文字列を変更すれば良いため、カーソルの移
動量が少なくて済む(複写(貼り付け)実行直後、カー
ソルは複写(貼り付け)後文字列の近くにあるため)。
さらに、複写(貼り付け)すべき所望の文字列そのもの
の記憶装置が不要となる。それに従い、複写及び貼り付
け文字列の文字数の制限がなくなる。所望の文字列(貼
り付け対象文字列)の一部を変更して貼り付けを行いた
い場合、範囲指定をやり直すことなく、次々と貼り付け
を行うことができる。編集によって所望の文字列(貼り
付け対象文字列)が変更され、文字数が変化しても、所
望の文字列の貼り付けを、範囲指定をやり直すことな
く、次々と行うことができる。編集によって所望の文字
列(貼り付け対象文字列)が移動された後も、所望の文
字列の貼り付けを、範囲指定をやり直すことなく、次々
と行うことができる。As is apparent from the above description, the present invention has the following effects. Double Utsushigo, in the course of performing Paste one or more times, it is possible to change some of the easily adhesion target string. Also, when changing the copy (paste) character string, the character string after copying (pasting) may be changed, so that the cursor movement amount is small (the cursor is copied immediately after execution of the copy (paste)). (Because it is near the character string after (pasting)).
Further, a storage device for a desired character string itself to be copied (pasted) becomes unnecessary. Accordingly, there is no limit on the number of characters in the copy and paste character strings. If you want to paste to change the part of the Nozomu Tokoro string (Paste subject string), without redoing the range specified, it is possible to perform the paste one after another. Desired character string (Paste target string) is changed by editing, even if the number of characters is changed, the paste of the desired character string, without redoing the range specification, can be carried out one after another. After the desired character string (adhesion target string) is moved by the editing, pasting desired character string, without redoing the range specification can be performed one after another.
【図1】本発明による文字処理装置及び文字処理装置に
おける複写貼付け方法を説明するためのシステム構成図
である。FIG. 1 shows a character processing device and a character processing device according to the present invention.
FIG. 1 is a system configuration diagram for describing a copy and paste method in the present invention.
【図2】本発明による文字処理装置及び文字処理装置に
おける複写貼付け方法を説明するためのフローチャート
である。FIG. 2 shows a character processing device and a character processing device according to the present invention.
4 is a flowchart for explaining a copy and paste method in the present embodiment.
【図3】本発明における文字列の変更を説明するための
フローチャートである。FIG. 3 is a flowchart illustrating a change of a character string according to the present invention.
【図4】本発明における文字列の移動を説明するための
フローチャートである。FIG. 4 is a flowchart for explaining movement of a character string in the present invention.
【図5】本発明による文字処理装置及び文字処理装置に
おける複写貼付け方法の具体的な実施例を説明するため
の図である。FIG. 5 shows a character processing device and a character processing device according to the present invention.
FIG. 4 is a diagram for explaining a specific example of a copy and paste method in the embodiment.
【図6】本発明による文字処理装置及び文字処理装置に
おける複写貼付け方法の具体的な実施例を説明するため
の図である。FIG. 6 shows a character processing device and a character processing device according to the present invention.
FIG. 4 is a diagram for explaining a specific example of a copy and paste method in the embodiment.
【図7】本発明における文字列の変更を説明するための
例文を示す図である。FIG. 7 is a diagram showing an example sentence for explaining a change of a character string in the present invention.
【図8】本発明における文字列の移動を説明するための
例文を示す図である。FIG. 8 is a diagram showing an example sentence for explaining movement of a character string in the present invention.
【図9】従来の文書複写・貼り付け方式のフローチャー
トである。FIG. 9 is a flowchart of a conventional document copy / paste method.
1…表示出力装置、2…補助記憶装置、3…中央処理装
置(CPU)、4…メモリ、5…メモリ(バッファ)、
6…アドレス記憶部、7…文字数記憶部、8…入力装
置。REFERENCE SIGNS LIST 1 display output device 2 auxiliary storage device 3 central processing unit (CPU) 4 memory 5 memory (buffer)
6 ... Address storage unit, 7 ... Character number storage unit, 8 ... Input device.
Claims (4)
タを記憶するデータ記憶手段と、 前記表示手段に表示されたデータ上で複写対象のデータ
列を指示する複写指示手段と、 前記複写指示手段で指示されたデータ列が記憶された前
記データ記憶手段上での第1アドレスを記憶するアドレ
ス記憶手段と、 前記表示手段に表示されたデータ上で貼付け位置を指示
する貼付け指示手段と、 前記貼付け指示手段による指示毎に、当該指示された位
置に相当する前記データ記憶手段の第2アドレスに、前
記アドレス記憶手段に記憶されたアドレスで指示される
データ列を記憶させると共に、前記アドレス記憶手段に
記憶されたアドレスを前記第2アドレスに置き換える編
集手段と、 を備えたことを特徴とする文字処理装置。 1. A data containing a character string displayed on a display means.
Data storage means for storing data, and data to be copied on the data displayed on the display means.
Before the copying instruction means for instructing the column, the copying instruction data sequence in instruction means is stored
Address for storing the first address on the data storage means.
Storage means, and indicates a pasting position on data displayed on the display means.
Means for attaching, and for each instruction given by the means for attaching ,
The second address of the data storage means corresponding to the
Specified by the address stored in the address storage means.
While storing the data string, the address storage means
A section for replacing a stored address with the second address
And a collection means .
レスは、文字列の先頭アドレスと文字数から構成される
ことを特徴とする請求項1記載の文字処理装置。 2. An address stored in the address storage means.
Address consists of the start address of the character string and the number of characters
The character processing device according to claim 1, wherein:
むデータを表示手段に表示し、複写指示手段で指示され
たデータ列の第1アドレスをアドレス記憶手段に記憶
し、貼付け指示手段で指示されたデータ記憶手段の第2
アドレスに、アドレス記憶手段に記憶されたアドレスが
指示するデータ列を記憶するデータ処理装置における複
写貼付け方法であって、 前記アドレス記憶手段には、前記複写貼付けの直前まで
は前記第1アドレスを記憶し、前記複写貼付けの直後は
前記第2アドレスを記憶し、前記貼付け指示手段の指示
ごとに前記データ記憶手段の第2アドレスに、前記アド
レス記憶手段に記憶されたアドレスで指示されるデータ
列を記憶させるようにしたことを特徴とする文字処理装
置における複写貼付け方法。 3. A character string including a character string stored in a data storage means.
Data is displayed on the display means, and is instructed by the copy instructing means.
The first address of the data string stored is stored in the address storage means.
And the second of the data storage means instructed by the pasting instructing means.
The address stored in the address storage means is
In a data processing device that stores a data string to be instructed,
A copying and pasting method, wherein the address storage means stores
Stores the first address, and immediately after the copying and pasting,
The second address is stored, and the instruction of the pasting instruction unit is issued.
The address is added to the second address of the data storage means every time.
Data indicated by the address stored in the address storage means
A character processing device characterized by storing columns.
Copy and pasting method in the installation.
レスは、文字列の先頭アドレスと文字数から構成される
ことを特徴とする請求項3記載のデータ処理 装置におけ
る複写貼付け方法。 4. An address stored in said address storage means.
Address consists of the start address of the character string and the number of characters
4. The data processing device according to claim 3 , wherein
Copy and paste method.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP28547694A JP3310120B2 (en) | 1994-11-18 | 1994-11-18 | Character processing device and copy / pasting method in character processing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP28547694A JP3310120B2 (en) | 1994-11-18 | 1994-11-18 | Character processing device and copy / pasting method in character processing device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH08147293A JPH08147293A (en) | 1996-06-07 |
| JP3310120B2 true JP3310120B2 (en) | 2002-07-29 |
Family
ID=17692017
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP28547694A Expired - Fee Related JP3310120B2 (en) | 1994-11-18 | 1994-11-18 | Character processing device and copy / pasting method in character processing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3310120B2 (en) |
-
1994
- 1994-11-18 JP JP28547694A patent/JP3310120B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH08147293A (en) | 1996-06-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS6049425A (en) | Display system for sentence processor | |
| JP3310120B2 (en) | Character processing device and copy / pasting method in character processing device | |
| JPS6365988B2 (en) | ||
| JP3334221B2 (en) | Document processing device | |
| JP2866287B2 (en) | Music score creation device | |
| JPH0128974B2 (en) | ||
| JP2713924B2 (en) | Document editing device | |
| JPH09146752A (en) | Information processing device with display device | |
| KR20000056642A (en) | Script system | |
| JP2974638B2 (en) | Document processing apparatus and method | |
| JPH07140971A (en) | Music notation device | |
| JP2798777B2 (en) | Word processor | |
| JP3700743B2 (en) | Recording medium and character input device | |
| JPS62156767A (en) | Word processor with memo function | |
| JP2003058545A (en) | Information processing apparatus and information processing method, information processing system, recording medium, and program | |
| JPH08329053A (en) | Automatic document creation device | |
| JPH0744541A (en) | Word processor and display method in the word processor | |
| JPH04195459A (en) | Document editor | |
| JPH03255577A (en) | Word processor | |
| JPH05342206A (en) | Document processing device with long text editing function | |
| JPS58215692A (en) | Copy indication system | |
| JPS60221865A (en) | Document processor | |
| JPH0793316A (en) | Text processor | |
| JPS62251962A (en) | Word processor | |
| JPH0419791A (en) | Information processor equipped with character pattern generating function using outline font |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080524 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090524 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100524 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110524 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110524 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120524 Year of fee payment: 10 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120524 Year of fee payment: 10 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130524 Year of fee payment: 11 |
|
| LAPS | Cancellation because of no payment of annual fees |