JP6398566B2 - Copy control method, copy control program, and copy control apparatus - Google Patents

Copy control method, copy control program, and copy control apparatus Download PDF

Info

Publication number
JP6398566B2
JP6398566B2 JP2014206100A JP2014206100A JP6398566B2 JP 6398566 B2 JP6398566 B2 JP 6398566B2 JP 2014206100 A JP2014206100 A JP 2014206100A JP 2014206100 A JP2014206100 A JP 2014206100A JP 6398566 B2 JP6398566 B2 JP 6398566B2
Authority
JP
Japan
Prior art keywords
unit
copy
character string
mode
editing
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
Application number
JP2014206100A
Other languages
Japanese (ja)
Other versions
JP2016076088A (en
Inventor
徹治 吉田
徹治 吉田
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2014206100A priority Critical patent/JP6398566B2/en
Publication of JP2016076088A publication Critical patent/JP2016076088A/en
Application granted granted Critical
Publication of JP6398566B2 publication Critical patent/JP6398566B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、データの編集におけるコピー制御技術に関する。   The present invention relates to a copy control technique in data editing.

例えば文字列を編集する装置において、文字の入力操作を軽減するために、既存の文字列から一部を選択してコピーし、編集エリアに貼り付ける処理を行なうものがある。   For example, in an apparatus that edits a character string, there is a device that performs a process of selecting a part of an existing character string, copying it, and pasting it in an editing area in order to reduce a character input operation.

しかし、余計な文字まで貼り付けてしまった場合には、その後ユーザは、その文字を削除する修正操作を行なうことになる。一方、貼り付けるべき文字を選択範囲に含めることを失念した場合には、その後ユーザは、その文字を追加する修正操作を行なうことになる。   However, if an extra character is pasted, the user then performs a correction operation to delete that character. On the other hand, if the user forgets to include the character to be pasted in the selection range, the user then performs a correction operation to add the character.

本来貼り付けるべき文字列の範囲を適切に選択していれば、このような修正操作を行なわなくても済む場合がある。   If the range of the character string that should be pasted is appropriately selected, there is a case where such a correction operation is not necessary.

特開平06−243128号公報Japanese Patent Laid-Open No. 06-243128

本発明の目的は、一側面では、ユーザが元となるデータからコピー範囲を選択する際に、コピー結果を予め確認できるようにすることである。   In one aspect, an object of the present invention is to enable a user to check a copy result in advance when selecting a copy range from original data.

一態様に係るコピー制御方法は、データのコピー先の指定を受け付け、指定後、コピー元のデータの選択モードに移行し、選択モード中になされた選択範囲の変更処理に応じて、コピー先に表示するデータの内容を変更処理前のデータから変更処理後のデータに動的に変化させる処理を含む。   The copy control method according to one aspect accepts designation of a data copy destination, and after the designation, shifts to a copy source data selection mode, and changes to a copy destination according to a selection range change process performed during the selection mode. This includes a process of dynamically changing the content of the data to be displayed from the data before the change process to the data after the change process.

一側面としては、ユーザが元となるデータからコピー範囲を選択する際に、コピー結果を予め確認できる。   As one aspect, when the user selects a copy range from the original data, the copy result can be confirmed in advance.

図1は、文字列のコピーを指示する操作例を示す図である。FIG. 1 is a diagram illustrating an operation example for instructing copying of a character string. 図2は、一括貼り付けを指示する操作例を示す図である。FIG. 2 is a diagram illustrating an operation example for instructing batch pasting. 図3は、一括貼り付け操作の別の例を示す図である。FIG. 3 is a diagram illustrating another example of the batch pasting operation. 図4は、動的貼り付けを指示する操作例を示す図である。FIG. 4 is a diagram illustrating an operation example for instructing dynamic pasting. 図5は、動的貼り付けを指示する操作例を示す図である。FIG. 5 is a diagram illustrating an operation example for instructing dynamic pasting. 図6は、動的貼り付けを指示する操作例を示す図である。FIG. 6 is a diagram illustrating an operation example instructing dynamic pasting. 図7は、動的貼り付けを指示する操作例を示す図である。FIG. 7 is a diagram illustrating an operation example for instructing dynamic pasting. 図8は、動的貼り付けを指示する操作例を示す図である。FIG. 8 is a diagram illustrating an operation example instructing dynamic pasting. 図9は、動的貼り付け操作の別の例を示す図である。FIG. 9 is a diagram illustrating another example of the dynamic pasting operation. 図10は、編集装置のモジュール構成例を示す図である。FIG. 10 is a diagram illustrating a module configuration example of the editing apparatus. 図11は、共用記憶部の構成例を示す図である。FIG. 11 is a diagram illustrating a configuration example of the shared storage unit. 図12は、編集部の構成例を示す図である。FIG. 12 is a diagram illustrating a configuration example of the editing unit. 図13は、内部記憶部の構成例を示す図である。FIG. 13 is a diagram illustrating a configuration example of the internal storage unit. 図14は、編集部のメイン処理フローを示す図である。FIG. 14 is a diagram illustrating a main processing flow of the editing unit. 図15は、挿入モード処理フローを示す図である。FIG. 15 is a diagram showing an insertion mode processing flow. 図16は、受付処理フローを示す図である。FIG. 16 is a diagram showing a reception process flow. 図17は、受付処理後の状態例を示す図である。FIG. 17 is a diagram illustrating a state example after the reception process. 図18は、メニュー処理フローを示す図である。FIG. 18 is a diagram showing a menu processing flow. 図19は、移行処理フローを示す図である。FIG. 19 is a diagram showing a migration processing flow. 図20は、移行処理後の状態例を示す図である。FIG. 20 is a diagram illustrating a state example after the migration process. 図21は、選択処理フローを示す図である。FIG. 21 is a diagram showing a selection processing flow. 図22は、開始処理フローを示す図である。FIG. 22 is a diagram showing a start processing flow. 図23は、開始処理後の状態例を示す図である。FIG. 23 is a diagram illustrating a state example after the start processing. 図24は、変更処理フローを示す図である。FIG. 24 is a diagram showing a change processing flow. 図25は、変更処理後の状態例を示す図である。FIG. 25 is a diagram illustrating an example of a state after the change process. 図26は、変更処理後の状態例を示す図である。FIG. 26 is a diagram illustrating a state example after the change process. 図27は、終了処理フローを示す図である。FIG. 27 is a diagram showing a termination process flow. 図28は、終了処理後の状態例を示す図である。FIG. 28 is a diagram illustrating an example of a state after termination processing. 図29は、動的貼り付けモード処理フローを示す図である。FIG. 29 is a diagram showing a dynamic paste mode process flow. 図30は、更新処理フローを示す図である。FIG. 30 is a diagram showing an update processing flow. 図31は、更新処理後の状態例を示す図である。FIG. 31 is a diagram illustrating a state example after the update process. 図32は、更新処理後の状態例を示す図である。FIG. 32 is a diagram illustrating a state example after the update process. 図33は、確定処理フローを示す図である。FIG. 33 is a diagram showing a confirmation processing flow. 図34は、確定処理後の状態例を示す図である。FIG. 34 is a diagram illustrating a state example after the confirmation processing. 図35は、上書きモード処理フローを示す図である。FIG. 35 is a diagram showing an overwrite mode processing flow. 図36は、コンピュータの機能ブロック図である。FIG. 36 is a functional block diagram of a computer.

本実施の形態における文字列編集では、一括貼り付けと動的貼り付けとを行なう。一括貼り付けは、一般に「貼り付け」として知られている従来技術に相当する。一括貼り付けでは、既存の文字列データから一部の文字列データが共用のメモリ領域にコピーされ、その後、共用のメモリ領域に保持されている文字列データが、作成側の文字列データへ挿入される。共用のメモリ領域は、例えばクリップボードと呼ばれることがある。尚、この例では、マウスとキーボードとを用いた操作の例を示す。但し、タッチパネルを用いて操作するようにしてもよい。   In the character string editing in this embodiment, batch pasting and dynamic pasting are performed. Batch pasting corresponds to a conventional technique generally known as “pasting”. In batch paste, a part of character string data is copied from the existing character string data to the shared memory area, and then the character string data held in the shared memory area is inserted into the character string data on the creating side. Is done. The shared memory area is sometimes called a clipboard, for example. In this example, an example of operation using a mouse and a keyboard is shown. However, you may make it operate using a touchscreen.

まず、一括貼り付けの操作例について説明する。一括貼り付けの操作は、既存の文字列に対する操作から始まる。図1に、文字列のコピーを指示する操作例を示す。この例では、既存の文字列データが展開されている編集エリアを、コピー元の編集エリアと呼ぶ。   First, an example of batch pasting operation will be described. The batch paste operation starts from an operation on an existing character string. FIG. 1 shows an operation example for instructing copying of a character string. In this example, an editing area in which existing character string data is expanded is called a copy source editing area.

図1の上段に示されているコピー元の編集エリア101には、「さて、10月10日に、東地区小学校合同大運動会が予定されております。」の文字列が表示されている。「、」と「東」との間にマウスカーソルが表示されているときに、左ボタンが一定時間を超えて押下され続けるとドラッグ操作が開始された状態に移行する。   In the editing area 101 of the copy source shown in the upper part of FIG. 1, a character string “Now, October 10th, the East Elementary School Joint University Sports Day is scheduled” is displayed. When the mouse cursor is displayed between “,” and “East”, if the left button is kept pressed for a certain period of time, the drag operation is started.

図1の中段に示すように、ユーザがコピー元の編集エリア103内のドラッグによって「東地区小学校合同大運動会が」まで範囲を拡げて、左ボタンを放す操作を行なうと、選択範囲が確定する。このとき、選択範囲に含まれる文字列は、反転状態で表示されている。   As shown in the middle of FIG. 1, when the user expands the range to “East district elementary school joint athletic meet” by dragging in the copy source editing area 103 and releases the left button, the selection range is confirmed. . At this time, the character string included in the selection range is displayed in an inverted state.

そして、図1の下段に示すように、ユーザがコピー元の編集エリア105内で右ボタンをクリックする操作を行なうと、メニューが開く。そして、ユーザが、メニュー上で左ボタンをクリックし、又は右ボタンをクリックして「コピー」の項目を選択する操作を行なうと、選択範囲に含まれる文字列データの「東地区小学校合同大運動会が」が、共用のメモリ領域に格納される。   Then, as shown in the lower part of FIG. 1, when the user performs an operation of clicking the right button in the copy source editing area 105, a menu is opened. Then, when the user clicks the left button on the menu or clicks the right button and selects the “Copy” item, the character string data included in the selected range is “East Elementary School Joint University Sports Day”. Is stored in the shared memory area.

次に、作成側の文字列に対する操作に移る。図2に、一括貼り付けを指示する操作例を示す。この例では、作成側の文字列データが展開されている編集エリアを、コピー先の編集エリアと呼ぶ。   Next, the operation moves to the creating side character string. FIG. 2 shows an operation example for instructing batch pasting. In this example, the editing area in which the character string data on the creation side is expanded is called a copy destination editing area.

図2の上段に示されているコピー先の編集エリア201には、「今月は、が行なわれます。」の文字列が表示されている。「、」と「が」との間にマウスカーソルが表示されているときに、ユーザが左ボタンをクリックする操作を行なうと、その位置に挿入カーソルが表示される。この例では、挿入モードで挿入カーソルが表示されるが、上書きモードの場合には、上書きカーソルが表示される。   In the editing area 201 of the copy destination shown in the upper part of FIG. 2, a character string “This month will be done.” Is displayed. When the mouse cursor is displayed between “,” and “ga” and the user performs an operation of clicking the left button, the insertion cursor is displayed at that position. In this example, the insertion cursor is displayed in the insertion mode, but in the overwrite mode, the overwrite cursor is displayed.

図2の中段に示すように、ユーザがコピー先の編集エリア203内で右ボタンをクリックする操作を行なうと、メニューが開く。そして、ユーザがメニュー上で左ボタンをクリックし、又は右ボタンをクリックして「一括貼り付け」の項目を選択する操作を行なうと、図2の下段に示すように、挿入カーソルが表示されていた位置に、共用のメモリ領域に格納されている「東地区小学校合同大運動会が」の文字列が挿入される。   As shown in the middle part of FIG. 2, when the user performs an operation of clicking the right button in the copy destination editing area 203, a menu is opened. Then, when the user clicks the left button on the menu or clicks the right button and selects the “paste together” item, an insertion cursor is displayed as shown in the lower part of FIG. The character string “East district elementary school joint large athletic meet” stored in the shared memory area is inserted at the position.

但し、この例では、作成側の文字列に助詞の「が」が含まれ、共用のメモリ領域に格納されていた文字列にも助詞の「が」が含まれているため、貼り付けた結果の文字列データにおいて助詞の「が」が、重複する。このような場合には、一括貼り付けの操作を行なった後で、ユーザが、助詞の「が」の一方を削除させる操作を行なう。   However, in this example, the created character string contains the particle "ga", and the character string stored in the shared memory area also contains the particle "ga". In the character string data, the particle “ga” is duplicated. In such a case, after performing the batch pasting operation, the user performs an operation of deleting one of the particles “ga”.

また、貼り付けた結果において文字が足りないこともある。図3に、一括貼り付けの別の例を示す。既存の文字列(「さて、10月10日に、東地区小学校合同大運動会が予定されております。」)は、図1の場合と同様である。操作の手順も図1の場合と同様である。但し、図3の上段に示したコピー元の編集エリア301では、助詞の「が」を含まない「東地区小学校合同大運動会」の文字列の範囲が選択されている。   In addition, there may be insufficient characters in the pasted result. FIG. 3 shows another example of batch pasting. The existing character string (“October 10th, the East District Elementary School Joint Athletic Field is scheduled”) is the same as in FIG. The operation procedure is the same as that in FIG. However, in the editing area 301 of the copy source shown in the upper part of FIG. 3, the range of the character string “East district elementary school joint athletic meet” that does not include the particle “ga” is selected.

一方、図3の中段に示したように、作成側の文字列である「今月は、行なわれます。」には、助詞の「が」が含まれていない。そして、図3の中段に示したように、コピー先の編集エリア303で挿入カーソルを「、」と「が」との間に表示させた状態で、ユーザは図2の場合と同様にメニューから「一括貼り付け」の項目を選択する操作を行なう。   On the other hand, as shown in the middle part of FIG. 3, the character string “GA” is not included in the character string “This month will be done.” Then, as shown in the middle of FIG. 3, the insertion cursor is displayed between “,” and “ga” in the copy destination editing area 303, and the user can select from the menu in the same manner as in FIG. Select the “Batch Paste” item.

一括貼り付けの結果は、図3の下段に示したコピー先の編集エリア305のように「今月は、東地区小学校合同大運動会行なわれます。」となる。この例では、作成側の文字列に助詞の「が」が無く、共用のメモリ領域に格納されていた文字列にも助詞の「が」が無いため、貼り付けた結果の文字列データにおいて助詞の「が」が、欠落している。このような場合には、一括貼り付けの操作を行なった後で、ユーザが、助詞の「が」を挿入する操作を行なう。   The result of the batch pasting is “East district elementary school joint athletic meet is held this month” as in the copy destination editing area 305 shown in the lower part of FIG. In this example, there is no particle "GA" in the creating character string, and there is no particle "GA" in the character string stored in the shared memory area. "Ga" is missing. In such a case, after performing the batch pasting operation, the user performs an operation of inserting the particle “ga”.

以上のように、一括貼り付けの場合には、貼り付ける文字列をコピー元でドラッグするときに、適切な範囲を選択しなければ誤りが生じる。しかし、ドラッグする段階で一括貼り付けの結果を想像して適切な範囲を選択するように注意することは、面倒である。   As described above, in the case of batch pasting, an error occurs if an appropriate range is not selected when dragging a character string to be pasted at the copy source. However, it is troublesome to imagine that the result of batch pasting is selected at the stage of dragging and to select an appropriate range.

続いて、動的貼り付けについて説明する。動的貼り付けでは、作成側の文字列における挿入位置を先に指定して、既存の文字列において選択される範囲の変化に応じて、選択された範囲に含まれる文字列を作成側の文字列に挿入した態様で表示する。   Next, dynamic pasting will be described. In dynamic pasting, the insertion position in the creating character string is specified first, and the character string included in the selected range is changed according to the change in the selected range in the existing character string. Display in the form inserted in the column.

図4乃至図8に、動的貼り付けを指示する操作例を示す。まず、図4を用いて、作成側の文字列に対する操作について説明する。図4の上段に示したコピー先の編集エリア401に表示されている文字列は、図2の上段に示したコピー先の編集エリア201の場合と同様に「今月は、が行なわれます。」である。「、」と「が」との間にマウスカーソルが表示されているときに、ユーザが左ボタンをクリックする操作を行なうと、その位置に挿入カーソルが表示される。この例では、挿入モードで挿入カーソルが表示されるが、上書きモードの場合には、上書きカーソルが表示される。   4 to 8 show examples of operations for instructing dynamic pasting. First, an operation for a character string on the creation side will be described with reference to FIG. The character string displayed in the copy destination edit area 401 shown in the upper part of FIG. 4 is “This month will be executed” as in the case of the copy destination edit area 201 shown in the upper part of FIG. It is. When the mouse cursor is displayed between “,” and “ga” and the user performs an operation of clicking the left button, the insertion cursor is displayed at that position. In this example, the insertion cursor is displayed in the insertion mode, but in the overwrite mode, the overwrite cursor is displayed.

図4の中段に示すように、ユーザがコピー先の編集エリア403内で右ボタンをクリックする操作を行なうと、メニューが開く。そして、ユーザがメニュー上で左ボタンをクリックし、又は右ボタンをクリックして「動的貼り付け」の項目を選択する操作を行なうと、図4の下段に示すように、メニューが閉じる。   As shown in the middle part of FIG. 4, when the user performs an operation of clicking the right button in the copy destination editing area 403, a menu is opened. Then, when the user clicks the left button on the menu or clicks the right button to select the item “dynamic pasting”, the menu is closed as shown in the lower part of FIG.

続いて、図5乃至図8を用いて、既存の文字列に対する操作と、作成側の文字列が表示される態様について説明する。図5の上段に示したコピー元の編集エリア501に表示されている文字列は、図1の上段に示したコピー元の編集エリア101の場合と同様に「さて、10月10日に、東地区小学校合同大運動会が予定されております。」である。「、」と「東」との間にマウスカーソルが表示されているときに、左ボタンが一定時間を超えて押下され続けるとドラッグ操作が開始された状態に移行する。   Next, an operation for an existing character string and a mode in which a creation character string is displayed will be described with reference to FIGS. 5 to 8. The character string displayed in the copy source edit area 501 shown in the upper part of FIG. 5 is “October 10th, east, as in the copy source edit area 101 shown in the upper part of FIG. A district elementary school joint athletic meet is planned. " When the mouse cursor is displayed between “,” and “East”, if the left button is kept pressed for a certain period of time, the drag operation is started.

一方、コピー先の編集エリア503は、図4の下段に示したコピー先の編集エリア405と同じ状態である。   On the other hand, the copy destination edit area 503 is in the same state as the copy destination edit area 405 shown in the lower part of FIG.

図6の説明に移る。図6は、コピー元の編集エリア601におけるドラッグによって選択範囲を拡げる過程で、「東」の文字が選択された状態を示している。このとき、選択範囲に含まれる「東」の文字は、反転状態で表示されている。   Turning to the description of FIG. FIG. 6 shows a state where the character “east” is selected in the process of expanding the selection range by dragging in the copy source editing area 601. At this time, the character “east” included in the selection range is displayed in an inverted state.

一方、コピー先の編集エリア603では、図4の上段に示したコピー先の編集エリア401でクリックされたカーソル位置に「東」の文字が挿入された態様で、作成側の文字列が表示されている。このとき、挿入された「東」の文字には、下線が付されている。下線は、まだ挿入が確定していない文字であることを示している。   On the other hand, in the editing area 603 of the copy destination, the character string on the creating side is displayed in such a manner that the character “east” is inserted at the cursor position clicked in the editing area 401 of the copy destination shown in the upper part of FIG. ing. At this time, the inserted “east” character is underlined. The underline indicates that the character has not yet been confirmed for insertion.

図7の説明に移る。図7は、コピー元の編集エリア701におけるドラッグによって選択範囲が「会」の文字まで拡げられた状態を示している。このとき、選択範囲に含まれる「東地区小学校合同大運動会」の文字列は、反転状態で表示されている。   Turning to the description of FIG. FIG. 7 shows a state in which the selection range has been expanded to the characters “kai” by dragging in the copy source editing area 701. At this time, the character string “East Elementary School Joint University Sports Day” included in the selected range is displayed in an inverted state.

一方、コピー先の編集エリア703では、図4の上段に示したコピー先の編集エリア401でクリックされたカーソル位置に「東地区小学校合同大運動会」の文字列が挿入された態様で、作成側の文字列が表示されている。このとき、挿入された「東地区小学校合同大運動会」の文字列には、下線が付されている。   On the other hand, in the copy destination edit area 703, the character string “East district elementary school joint athletic meet” is inserted at the cursor position clicked in the copy destination edit area 401 shown in the upper part of FIG. Is displayed. At this time, the inserted character string “East district elementary school joint athletic meet” is underlined.

ここで、ドラッグによって選択範囲を狭めれば、コピー元の編集エリア701において反転状態で表示される文字列も短くなる。また、その動きに同期して、コピー先の編集エリア703において下線付きで表示されている挿入部分の文字列も短くなる。   If the selection range is narrowed by dragging, the character string displayed in an inverted state in the copy source editing area 701 is also shortened. In synchronization with the movement, the character string of the insertion portion displayed with an underline in the copy destination editing area 703 is also shortened.

図8の説明に移る。図7に示したコピー元の編集エリア701の状態で、ユーザが左ボタンを放す操作を行なうと、選択範囲が確定する。そして、選択範囲が確定するとドラッグ操作が終わるので、コピー元の編集エリア801に示すように反転状態は解消する。つまり、図5のコピー元の編集エリア501に示した当初の状態と同様になる。但し、カーソルの位置は移動している。   Turning to the description of FIG. When the user performs an operation of releasing the left button in the copy source editing area 701 shown in FIG. 7, the selection range is fixed. When the selection range is confirmed, the drag operation ends, so that the inversion state is canceled as shown in the copy source edit area 801. That is, it is the same as the initial state shown in the editing area 501 of the copy source in FIG. However, the position of the cursor has moved.

一方、作成側の文字列では、確定した選択範囲に含まれていた文字列「東地区小学校合同大運動会」の挿入が確定する。従って、コピー先の編集エリア803には、「今月は、東地区小学校合同大運動会が行なわれます。」の文字列が表示される。このとき、挿入された文字列に付されていた下線は消える。下線が消えることによって、ユーザは動的貼り付けが確定したことを認識する。   On the other hand, in the character string on the creation side, the insertion of the character string “East Elementary School Joint University Sports Day” included in the determined selection range is confirmed. Therefore, the text string “East district elementary school joint large athletic meet is held this month” is displayed in the copy destination editing area 803. At this time, the underline attached to the inserted character string disappears. When the underline disappears, the user recognizes that the dynamic pasting has been confirmed.

上述したように、図7のコピー元の編集エリア701においてドラッグ操作で範囲を選択しているときに、ユーザはコピー先の編集エリア703において動的貼り付け後の文字列の態様を確認することができる。そして、適切な範囲が選択されていることを確認した上で、図8のコピー元の編集エリア801に示したように選択範囲を確定させ、図8のコピー先の編集エリア803に示したように意図した通りの結果を得ることができる。従って、図2のコピー先の編集エリア205に示したように助詞の「が」が重複するような事態は避けられる。   As described above, when a range is selected by a drag operation in the copy source edit area 701 in FIG. 7, the user confirms the mode of the character string after dynamic pasting in the copy destination edit area 703. Can do. Then, after confirming that an appropriate range is selected, the selection range is confirmed as shown in the copy source edit area 801 in FIG. 8, and as shown in the copy destination edit area 803 in FIG. To achieve the intended result. Therefore, the situation where the particle “ga” overlaps as shown in the editing area 205 of the copy destination in FIG. 2 can be avoided.

図9に、動的貼り付けを行なう別の例を示す。図3のコピー先の編集エリア303に示した作成側の文字列と同じ「今月は、行なわれます。」の文字列に対して動的貼り付けを行なう様子を示している。   FIG. 9 shows another example in which dynamic pasting is performed. A state is shown in which dynamic pasting is performed on the character string “This month will be done.”, Which is the same as the character string on the creation side shown in the editing area 303 of the copy destination in FIG. 3.

コピー元の編集エリア901に表示されている文字列は、上述した例と同様に「さて、10月10日に、東地区小学校合同大運動会が予定されております。」である。   The character string displayed in the editing area 901 of the copy source is “Now, the East District Elementary School Joint Athletic Field is scheduled for October 10th” as in the above example.

この例においても、コピー先の編集エリア903における表示によって、貼り付け後の文字列の態様を確認することができる。そして、適切な範囲が選択されていることを確認した上で、図9のコピー元の編集エリア901に示したように選択範囲を確定させれば、意図した通りの結果を得ることができる。従って、図3のコピー先の編集エリア305に示したように助詞の「が」が欠落するような事態は避けられる。以上で、本実施の形態に係る操作例についての説明を終える。   Also in this example, the mode of the character string after pasting can be confirmed by the display in the editing area 903 of the copy destination. Then, after confirming that an appropriate range has been selected, if the selected range is confirmed as shown in the editing area 901 of the copy source in FIG. 9, the intended result can be obtained. Therefore, the situation where the particle “ga” is missing as shown in the copy destination editing area 305 in FIG. 3 can be avoided. This is the end of the description of the operation example according to the present embodiment.

続いて、編集装置1001の構成について説明する。図10に、編集装置1001のモジュール構成例を示す。編集装置1001は、編集部1003a、編集部1003b、共用記憶部1005及びオペレーティングシステム部1007を有している。編集部1003aと編集部1003bとは、いずれも編集部1003の例である。編集部1003aと編集部1003bとは、異なるプロセスとして動作してもよいし、同一のプロセスとして動作するようにしてもよい。   Next, the configuration of the editing apparatus 1001 will be described. FIG. 10 shows a module configuration example of the editing apparatus 1001. The editing apparatus 1001 includes an editing unit 1003a, an editing unit 1003b, a shared storage unit 1005, and an operating system unit 1007. The editing unit 1003a and the editing unit 1003b are both examples of the editing unit 1003. The editing unit 1003a and the editing unit 1003b may operate as different processes or may operate as the same process.

編集部1003は、例えば、文書エディタやワープロソフトなどの文字列の編集を目的とするモジュールである。但し、編集部1003は、補助的に文字列の編集を行なうものであってもよい。つまり、文書に限らず、例えば名前、メール本文、チャットのメッセージ或いはメモなどに、ユーザの操作によって文字列を入力するモジュールは、編集部1003の例に相当する。   The editing unit 1003 is a module for editing a character string such as a document editor or word processor software. However, the editing unit 1003 may edit the character string supplementarily. That is, a module that inputs a character string by a user operation, for example, in a name, a mail text, a chat message, or a memo is not limited to a document, and corresponds to an example of the editing unit 1003.

また、既存の文字列データを表示する方のモジュールは、文字列を編集しないもの(例えば、ブラウザ)であってもよい。つまり、文字列データを文字列として表示し、表示された文字列の一部を選択させ、選択された文字列のデータを共用記憶部1005に格納させる処理を行なうものであれば、文字の入力や貼り付けの処理を行わないモジュールであっても、動的貼り付けのための文字列をコピーするモジュールとして用いられる。   Further, the module that displays the existing character string data may be a module that does not edit the character string (for example, a browser). In other words, if character string data is displayed as a character string, a part of the displayed character string is selected, and data of the selected character string is stored in the shared storage unit 1005, character input is performed. Even a module that does not perform pasting processing is used as a module for copying a character string for dynamic pasting.

共用記憶部1005は、編集部1003aと編集部1003bとからアクセスされ、編集部1003aと編集部1003bとにおいて共用されるデータを記憶する。共用記憶部1005は、上述した共用のメモリ領域に相当する。共用記憶部1005は、例えばメインメモリに設けられる。但し、他のメモリ領域に設けるようにしてもよい。   The shared storage unit 1005 is accessed from the editing unit 1003a and the editing unit 1003b, and stores data shared by the editing unit 1003a and the editing unit 1003b. The shared storage unit 1005 corresponds to the shared memory area described above. The shared storage unit 1005 is provided in the main memory, for example. However, it may be provided in another memory area.

編集部1003aと編集部1003bとは、共用記憶部1005からデータを直接読んでもよいし、オペレーティングシステム部1007を介して読むようにしてもよい。また、編集部1003aと編集部1003bとは、共用記憶部1005にデータを直接書いてもよいし、オペレーティングシステム部1007を介して書くようにしてもよい。   The editing unit 1003a and the editing unit 1003b may read data directly from the shared storage unit 1005 or may read through the operating system unit 1007. Further, the editing unit 1003a and the editing unit 1003b may write data directly in the shared storage unit 1005 or may write through the operating system unit 1007.

コピー元の編集部1003とコピー先の編集部1003とが、同一のプロセスとして動作する場合には、共用記憶部1005を当該プロセスの記憶領域に設けるようにしてもよい。   When the copy source editing unit 1003 and the copy destination editing unit 1003 operate as the same process, the shared storage unit 1005 may be provided in the storage area of the process.

共用記憶部1005の構成について説明する。図11に、共用記憶部1005の構成例を示す。共用記憶部1005には、転送モードを記憶するための領域と、転送バッファとして用いられる領域とが設けられている。   The configuration of the shared storage unit 1005 will be described. FIG. 11 shows a configuration example of the shared storage unit 1005. The shared storage unit 1005 is provided with an area for storing the transfer mode and an area used as a transfer buffer.

転送モードには、「一括モード」或いは「動的モード」が設定される。「一括モード」は、選択範囲に含まれる文字列のデータが一括して転送バッファに転送されるモードである。「動的モード」は、選択範囲に含まれる文字列のデータが随時転送バッファに転送されるモードである。また、「動的モード」から「一括モード」への切り替えは、動的モードにおいて転送される文字列が確定したことを意味する。つまり、コピー元の編集部1003が転送モードを「動的モード」から「一括モード」へ切り替える処理は、コピー元の編集部1003がコピー先の編集部1003へ動的モードにおいて転送される文字列が確定したことを通知することに相当する。   As the transfer mode, “batch mode” or “dynamic mode” is set. The “batch mode” is a mode in which character string data included in the selected range is transferred to the transfer buffer in a batch. The “dynamic mode” is a mode in which character string data included in the selection range is transferred to the transfer buffer as needed. Further, switching from the “dynamic mode” to the “batch mode” means that the character string transferred in the dynamic mode is fixed. That is, the process of the copy source editing unit 1003 switching the transfer mode from “dynamic mode” to “batch mode” is a character string transferred from the copy source editing unit 1003 to the copy destination editing unit 1003 in the dynamic mode. Is equivalent to notifying that has been confirmed.

転送バッファは、編集部1003aから編集部1003bへ転送される文字列データ、或いは編集部1003bから編集部1003aへ転送される文字列データを格納するために用いられる。   The transfer buffer is used to store character string data transferred from the editing unit 1003a to the editing unit 1003b or character string data transferred from the editing unit 1003b to the editing unit 1003a.

転送モードが「一括モード」である場合には、コピー元の編集部1003は、一括して文字列データを転送バッファに格納する。そして、コピー先の編集部1003は、転送バッファから一括して文字列データを取得する。   When the transfer mode is “batch mode”, the copy source editing unit 1003 collectively stores the character string data in the transfer buffer. Then, the copy destination editing unit 1003 obtains character string data in a batch from the transfer buffer.

転送モードが「動的モード」である場合には、コピー元の編集部1003は、変化する範囲の文字列のデータを随時転送バッファに格納する。そして、コピー先の編集部1003は、転送バッファから変化する文字列データを随時取得する。   When the transfer mode is “dynamic mode”, the copy source editing unit 1003 stores the character string data in the changing range in the transfer buffer as needed. Then, the copy-destination editing unit 1003 acquires character string data that changes from the transfer buffer as needed.

図10の説明に戻る。オペレーティングシステム部1007は、例えばマウス或いはキーボードなどのデバイスにおいて検出した信号に応じて、イベントを発生させる。マウス操作に関して、ボタンが押されてから放されるまでの時間が所定閾値よりも短い場合には、オペレーティングシステム部1007は、ボタンのクリックであると判定する。一方、ボタンが押されてから放されるまでの時間が所定閾値以上の場合には、オペレーティングシステム部1007は、ボタンの押下であると判定する。   Returning to the description of FIG. The operating system unit 1007 generates an event according to a signal detected by a device such as a mouse or a keyboard. Regarding the mouse operation, when the time from when the button is pressed to when it is released is shorter than a predetermined threshold, the operating system unit 1007 determines that the button is clicked. On the other hand, if the time from when the button is pressed until it is released is equal to or greater than a predetermined threshold, the operating system unit 1007 determines that the button is pressed.

上述した編集部1003a、編集部1003b及びオペレーティングシステム部1007は、ハードウエア資源(例えば、図36)と、以下で述べる処理をプロセッサに実行させるプログラムとを用いて実現される。また、上述した共用記憶部1005は、ハードウエア資源(例えば、図36)を用いて実現される。   The editing unit 1003a, the editing unit 1003b, and the operating system unit 1007 described above are realized using hardware resources (for example, FIG. 36) and a program that causes a processor to execute processing described below. The shared storage unit 1005 described above is realized using hardware resources (for example, FIG. 36).

図12に、編集部1003の構成例を示す。編集部1003は、受付部1201、表示処理部1203、第1挿入部1205、置換部1207、移行部1209、保存部1211、第2挿入部1213、選択部1215、第3挿入部1223及び内部記憶部1229を有している。   FIG. 12 shows a configuration example of the editing unit 1003. The editing unit 1003 includes a reception unit 1201, a display processing unit 1203, a first insertion unit 1205, a replacement unit 1207, a migration unit 1209, a storage unit 1211, a second insertion unit 1213, a selection unit 1215, a third insertion unit 1223, and an internal storage. Part 1229.

受付部1201は、例えば、オペレーティングシステム部1007からイベントを取得し、ユーザからの各種の指示を受け付ける処理を行なう。この例では、受付部1201は、メニューの制御に関する処理も行なう。表示処理部1203は、例えば編集エリアに文字列やカーソルを表示させる処理を行なう。   For example, the reception unit 1201 performs processing for acquiring an event from the operating system unit 1007 and receiving various instructions from the user. In this example, the reception unit 1201 also performs processing related to menu control. The display processing unit 1203 performs a process of displaying a character string or a cursor in the editing area, for example.

第1挿入部1205は、挿入モードにおいて、文字キーの押下に応じて、編集中の文字列に文字を挿入する処理を行なう。置換部1207は、上書きモードにおいて、文字キーの押下に応じて、編集中の文字列の文字を置換する処理を行なう。移行部1209は、例えば編集モードを変更する処理を行なう。編集モードについては、後述する。保存部1211は、選択された文字列のデータを共用記憶部1005の転送バッファに保存させる処理を行なう。第2挿入部1213は、動的張り付けモードにおいて、共用記憶部1005の転送バッファから文字列データを読み取り、読み取った文字列データを貼り付け先の文字列データのカーソル位置に挿入する処理を行なう。   In the insertion mode, the first insertion unit 1205 performs processing for inserting a character into the character string being edited in response to pressing of the character key. The replacement unit 1207 performs processing for replacing characters in the character string being edited in response to pressing of the character key in the overwrite mode. The transition unit 1209 performs processing for changing the editing mode, for example. The edit mode will be described later. The storage unit 1211 performs processing for storing data of the selected character string in the transfer buffer of the shared storage unit 1005. In the dynamic pasting mode, the second insertion unit 1213 reads character string data from the transfer buffer of the shared storage unit 1005 and performs processing for inserting the read character string data at the cursor position of the pasted character string data.

選択部1215は、例えばドラッグ操作によって文字列における一部の範囲を選択させる処理を行なう。選択部1215は、開始部1217、変更部1219及び終了部1221を有している。開始部1217は、範囲の選択を開始する処理を行なう。変更部1219は、選択範囲を変更させる処理を行なう。終了部1221は、範囲の選択を終える処理を行なう。   The selection unit 1215 performs a process of selecting a partial range in the character string by, for example, a drag operation. The selection unit 1215 includes a start unit 1217, a change unit 1219, and an end unit 1221. The start unit 1217 performs processing for starting selection of a range. The changing unit 1219 performs processing for changing the selection range. The end unit 1221 performs a process of finishing selection of the range.

第3挿入部1223は、動的貼り付けによって文字列を挿入する処理を実行する。第3挿入部1223は、更新部1225と確定部1227とを有している。更新部1225は、貼り付けられる文字列の表示を動的に変化させる処理を行なう。確定部1227は、貼り付けられる文字列を確定させる処理を行なう。   The third insertion unit 1223 executes processing for inserting a character string by dynamic pasting. The third insertion unit 1223 includes an update unit 1225 and a determination unit 1227. The update unit 1225 performs a process of dynamically changing the display of the character string to be pasted. The confirmation unit 1227 performs processing for confirming the character string to be pasted.

内部記憶部1229は、編集部1003の内部で用いられるデータを記憶する。図13に、内部記憶部1229の構成例を示す。   The internal storage unit 1229 stores data used inside the editing unit 1003. FIG. 13 shows a configuration example of the internal storage unit 1229.

内部記憶部1229は、編集モードを記憶するための領域を有している。編集モードには、「挿入モード」、「上書きモード」或いは「動的貼り付けモード」が設定される。「挿入モード」は、編集エリアにおける文字列中に挿入カーソルを表示し、文字キーが押下されると、挿入カーソルの位置に新たな文字を挿入するモードである。「上書きモード」は、編集エリアにおける文字列中に上書きカーソルを表示し、文字キーが押下されると、上書きカーソルの文字を新たな文字に置換するモードである。「動的貼り付けモード」は、挿入カーソルの位置又は上書きカーソルの位置に、貼り付け対象の文字列を動的に表示させ、貼り付け対象が確定するとその文字列を挿入カーソルの位置又は上書きカーソルの位置に挿入するモードである。   The internal storage unit 1229 has an area for storing the edit mode. In the editing mode, “insert mode”, “overwrite mode”, or “dynamic paste mode” is set. The “insert mode” is a mode in which an insertion cursor is displayed in a character string in the editing area, and a new character is inserted at the position of the insertion cursor when a character key is pressed. The “overwrite mode” is a mode in which an overwrite cursor is displayed in a character string in the editing area, and the character of the overwrite cursor is replaced with a new character when a character key is pressed. “Dynamic Paste Mode” displays the character string to be pasted dynamically at the insertion cursor position or overwrite cursor position, and when the paste target is confirmed, the character string is inserted into the insertion cursor position or overwrite cursor position. It is a mode to insert at the position.

内部記憶部1229は、カーソル位置を記憶するための領域を有している。カーソル位置には、編集されている文字列における挿入カーソル或いは上書きカーソルの位置が設定される。   The internal storage unit 1229 has an area for storing the cursor position. As the cursor position, the position of the insertion cursor or the overwrite cursor in the character string being edited is set.

内部記憶部1229は、選択モードを記憶するための領域、選択範囲の始点を記憶するための領域及び選択範囲の終点を記憶するための領域を有している。選択モードは、例えばフラグ形式のデータである。つまり、選択モードには、「ON」あるいは「OFF」が設定される。選択モードが「ON」であれば、範囲の選択が行なわれている状態であることを示す。選択範囲の始点に整数Nが設定されれば、N+1文字目から範囲が始まることを示す。選択範囲の終点に整数Mが設定されれば、M文字目までで範囲が終わることを示す。選択範囲の始点と選択範囲の終点とが一致する場合には、範囲が選択されていないことを意味する。   The internal storage unit 1229 has an area for storing the selection mode, an area for storing the start point of the selection range, and an area for storing the end point of the selection range. The selection mode is, for example, flag format data. That is, “ON” or “OFF” is set in the selection mode. If the selection mode is “ON”, it indicates that the range is being selected. If an integer N is set as the starting point of the selection range, it indicates that the range starts from the (N + 1) th character. If an integer M is set as the end point of the selection range, it indicates that the range ends up to the Mth character. If the start point of the selection range matches the end point of the selection range, it means that the range has not been selected.

内部記憶部1229は、編集バッファとして用いられる領域を有している。編集バッファには、編集中の文字列を示すデータが格納される。表示バッファには、編集エリアに表示される文字列を示すデータが格納される。尚、表示バッファに格納される文字列には、反転や下線などのような文字の表示態様を指定するコードが含まれる場合がある。   The internal storage unit 1229 has an area used as an editing buffer. The edit buffer stores data indicating the character string being edited. In the display buffer, data indicating a character string displayed in the editing area is stored. The character string stored in the display buffer may include a code for designating a character display mode such as inversion or underline.

図12に示した受付部1201、表示処理部1203、第1挿入部1205、置換部1207、移行部1209、保存部1211、第2挿入部1213、選択部1215、開始部1217、変更部1219、終了部1221、第3挿入部1223、更新部1225及び確定部1227は、ハードウエア資源(例えば、図36)と、以下で述べる処理をプロセッサに実行させるプログラムとを用いて実現される。また、上述した内部記憶部1229は、ハードウエア資源(例えば、図36)を用いて実現される。   12, the receiving unit 1201, the display processing unit 1203, the first insertion unit 1205, the replacement unit 1207, the migration unit 1209, the storage unit 1211, the second insertion unit 1213, the selection unit 1215, the start unit 1217, the change unit 1219, The end unit 1221, the third insertion unit 1223, the update unit 1225, and the determination unit 1227 are realized using hardware resources (for example, FIG. 36) and a program that causes the processor to execute the processing described below. The internal storage unit 1229 described above is realized using hardware resources (for example, FIG. 36).

次に、編集部1003の処理について説明する。図14に、編集部1003のメイン処理フローを示す。編集部1003は、内部記憶部1229に設けられた編集モードに「挿入モード」が設定されているか否かを判定する(S1401)。内部記憶部1229に設けられた編集モードに「挿入モード」が設定されていると判定した場合には、編集部1003は、挿入モード処理を実行する(S1403)。   Next, processing of the editing unit 1003 will be described. FIG. 14 shows a main processing flow of the editing unit 1003. The editing unit 1003 determines whether or not “insert mode” is set in the editing mode provided in the internal storage unit 1229 (S1401). If it is determined that the “insert mode” is set in the edit mode provided in the internal storage unit 1229, the edit unit 1003 executes an insert mode process (S1403).

図15に、挿入モード処理フローを示す。受付部1201は、オペレーティングシステム部1007からイベントを取得する(S1501)。受付部1201は、取得したイベントが文字キーの押下であるか否かを判定する(S1503)。取得したイベントが文字キーの押下であると判定した場合には、第1挿入部1205は、文字を挿入する(S1505)。S1505における文字の挿入は、従来技術による。例えば、第1挿入部1205は、内部記憶部1229からカーソル位置を読み、編集バッファに格納されている文字列データのカーソル位置に、押下された文字キーに対応する文字を挿入する。更に、第1挿入部1205は、編集バッファに格納されている文字列データを表示バッファにコピーする。そして、表示処理部1203は、表示バッファに格納されている文字列データを編集エリアに表示させる。文字を挿入すると挿入モード処理を終え、図14に示したS1401の処理に戻る。   FIG. 15 shows an insertion mode processing flow. The accepting unit 1201 acquires an event from the operating system unit 1007 (S1501). The accepting unit 1201 determines whether the acquired event is a press of a character key (S1503). If it is determined that the acquired event is a press of a character key, the first insertion unit 1205 inserts a character (S1505). The insertion of characters in S1505 is according to the prior art. For example, the first insertion unit 1205 reads the cursor position from the internal storage unit 1229 and inserts the character corresponding to the pressed character key at the cursor position of the character string data stored in the editing buffer. Further, the first insertion unit 1205 copies the character string data stored in the editing buffer to the display buffer. Then, the display processing unit 1203 displays the character string data stored in the display buffer in the editing area. When the character is inserted, the insertion mode process is terminated, and the process returns to S1401 shown in FIG.

S1503において、S1501で取得したイベントが文字キーの押下ではないと判定した場合には、受付部1201は、S1501で取得したイベントが左ボタンクリックであるか否かを判定する(S1507)。S1501で取得したイベントが左ボタンクリックであると判定した場合には、受付部1201は、受付処理を実行する(S1509)。   If it is determined in S1503 that the event acquired in S1501 is not a character key press, the reception unit 1201 determines whether the event acquired in S1501 is a left button click (S1507). If it is determined that the event acquired in S1501 is a left button click, the reception unit 1201 executes reception processing (S1509).

図16に、受付処理フローを示す。受付部1201は、オペレーティングシステム部1007からクリック位置を取得する(S1601)。クリック位置は、例えば表示デバイスの表示エリアにおけるドット単位の位置を示す。受付部1201は、クリック位置に基づいてカーソル位置を算出する(S1603)。カーソル位置は、例えば編集中の文字列データにおける文字間の位置を示す。この例では、カーソル位置がNであれば、N番目の文字とN+1番目の文字の間の位置を示す。   FIG. 16 shows a reception process flow. The receiving unit 1201 acquires the click position from the operating system unit 1007 (S1601). The click position indicates, for example, a dot unit position in the display area of the display device. The accepting unit 1201 calculates the cursor position based on the click position (S1603). The cursor position indicates, for example, the position between characters in the character string data being edited. In this example, if the cursor position is N, the position between the Nth character and the (N + 1) th character is indicated.

受付部1201は、内部記憶部1229に設けられたカーソル位置の領域に、算出したカーソル位置を設定する(S1605)。表示処理部1203は、カーソル位置に相当する編集エリアの位置に、カーソルを表示させる(S1607)。表示処理部1203は、挿入モードであることを示す挿入カーソルを表示させる。尚、上書きモードでは、表示処理部1203は、上書きモードであることを示す上書きカーソルを表示させる。   The accepting unit 1201 sets the calculated cursor position in the cursor position area provided in the internal storage unit 1229 (S1605). The display processing unit 1203 displays the cursor at the position of the editing area corresponding to the cursor position (S1607). The display processing unit 1203 displays an insertion cursor indicating the insertion mode. In the overwrite mode, the display processing unit 1203 displays an overwrite cursor indicating the overwrite mode.

図17に、受付処理後の状態例を示す。この例は、図4の上段に示したように、コピー先の編集エリア401において左ボタンがクリックされた後の状態を示している。   FIG. 17 shows an example of the state after the reception process. This example shows a state after the left button is clicked in the copy destination editing area 401, as shown in the upper part of FIG.

まず、コピー先の編集部1003における内部記憶部1229の状態について説明する。編集モードには、「挿入モード」が設定されている。また、4文字目と5文字目との間のクリック位置に基づいて、カーソル位置に「4」が設定されている。従って、コピー先の編集エリア401の4文字目と5文字目との間に、挿入カーソルが表示されている。   First, the state of the internal storage unit 1229 in the copy destination editing unit 1003 will be described. In the edit mode, “insert mode” is set. Further, “4” is set at the cursor position based on the click position between the fourth character and the fifth character. Therefore, an insertion cursor is displayed between the fourth character and the fifth character in the copy destination editing area 401.

このとき、ドラッグによる範囲の選択は行なわれていないので、選択モードは「OFF」であり、選択範囲の始点と選択範囲の終点とには無効を示すコードが設定されている。   At this time, since selection of the range by dragging is not performed, the selection mode is “OFF”, and a code indicating invalidity is set at the start point of the selection range and the end point of the selection range.

編集バッファには、「今月は、が行なわれます。」の文字列データが格納されている。表示バッファにも、「今月は、が行なわれます。」の文字列データが格納されている。従って、表示バッファの文字列データに基づいて、コピー先の編集エリア401に「今月は、が行なわれます。」の文字列が表示されている。   The edit buffer stores character string data “This month will be done”. The display buffer also stores character string data “This month will be done”. Therefore, based on the character string data in the display buffer, a character string “This month will be executed” is displayed in the copy destination editing area 401.

続いて、共用記憶部1005の状態について説明する。まだ動的モードに移行していないので、転送モードには「一括モード」が設定されている。また、転送バッファには何も設定されていないので、空の状態になっている。以上で、受付処理後の状態例についての説明を終える。   Next, the state of the shared storage unit 1005 will be described. Since the mode has not yet been shifted to the dynamic mode, “batch mode” is set as the transfer mode. Since nothing is set in the transfer buffer, the transfer buffer is empty. This is the end of the description of the state example after the reception process.

図16に示した受付処理を終えると、図15に示した挿入モード処理も終え、図14に示したS1401の処理に戻る。   When the acceptance process shown in FIG. 16 is finished, the insertion mode process shown in FIG. 15 is also finished, and the process returns to the process of S1401 shown in FIG.

図15に示したS1507において、S1501で取得したイベントが左ボタンクリックではないと判定した場合には、受付部1201は、S1501で取得したイベントが右ボタンクリックであるか否かを判定する(S1511)。S1501で取得したイベントが右ボタンクリックであると判定した場合には、受付部1201は、メニュー処理を実行する(S1513)。   If it is determined in S1507 shown in FIG. 15 that the event acquired in S1501 is not a left button click, the reception unit 1201 determines whether the event acquired in S1501 is a right button click (S1511). ). If it is determined that the event acquired in S1501 is a right button click, the reception unit 1201 executes menu processing (S1513).

図18に、メニュー処理フローを示す。受付部1201は、「コピー」、「一括貼り付け」及び「動的貼り付け」などの項目の選択を促すメニューを表示する(S1801)。そして、受付部1201は、オペレーティングシステム部1007からイベントを取得する(S1803)。   FIG. 18 shows a menu processing flow. The accepting unit 1201 displays a menu for prompting selection of items such as “copy”, “batch paste”, and “dynamic paste” (S1801). Then, the reception unit 1201 acquires an event from the operating system unit 1007 (S1803).

受付部1201は、取得したイベントが「動的貼り付け」の選択に相当するクリックであるか否かを判定する(S1805)。取得したイベントが「動的貼り付け」の選択に相当するクリックであると判定した場合には、移行部1209は、移行処理を実行する(S1807)。   The accepting unit 1201 determines whether or not the acquired event is a click corresponding to the selection of “dynamic paste” (S1805). When it is determined that the acquired event is a click corresponding to the selection of “dynamic pasting”, the migration unit 1209 executes migration processing (S1807).

図19に、移行処理フローを示す。移行部1209は、内部記憶部1229に設けられた編集モードを「動的貼り付けモード」に変更する(S1901)。移行部1209は、共用記憶部1005に設けられた転送モードを「動的モード」に変更する(S1903)。移行部1209は、内部記憶部1229に設けられた転送バッファをクリアする(S1905)。   FIG. 19 shows a migration process flow. The migration unit 1209 changes the editing mode provided in the internal storage unit 1229 to “dynamic paste mode” (S1901). The migration unit 1209 changes the transfer mode provided in the shared storage unit 1005 to “dynamic mode” (S1903). The migration unit 1209 clears the transfer buffer provided in the internal storage unit 1229 (S1905).

図20に、移行処理後の状態例を示す。この例は、図4の下段に示したように、コピー先の編集エリア405のメニューから「動的貼り付け」が選択された後の状態を示している。   FIG. 20 shows a state example after the migration process. This example shows a state after “Dynamic Paste” is selected from the menu in the copy destination editing area 405, as shown in the lower part of FIG.

まず、コピー先の編集部1003における内部記憶部1229の状態について説明する。メニューにおいて「動的貼り付け」が選択されたので、編集モードが「挿入モード」から「動的貼り付けモード」に切り替わっている。挿入カーソルは移動していないので、カーソル位置の「4」は変更されない。この例では、動的貼り付けモードにおいて挿入カーソルを表示させていない。但し、動的貼り付けモードにおいて挿入カーソルを表示させるようにしてもよい。また、動的貼り付けモードにおいて動的貼り付けモードであることを示すカーソルを表示させるようにしてもよい。   First, the state of the internal storage unit 1229 in the copy destination editing unit 1003 will be described. Since “dynamic paste” is selected in the menu, the editing mode is switched from “insert mode” to “dynamic paste mode”. Since the insertion cursor is not moved, “4” at the cursor position is not changed. In this example, the insertion cursor is not displayed in the dynamic paste mode. However, the insertion cursor may be displayed in the dynamic paste mode. Further, in the dynamic paste mode, a cursor indicating the dynamic paste mode may be displayed.

また、ドラッグによる範囲の選択は行なわれていないので、選択モードの「OFF」と、選択範囲の始点の無効を示すコードと、選択範囲の終点の無効を示すコードとは、変更されない。   Since the selection of the range by dragging is not performed, the selection mode “OFF”, the code indicating invalidity of the start point of the selection range, and the code indicating invalidity of the end point of the selection range are not changed.

編集バッファに格納されている文字列データも変更されない。また、表示バッファに格納されている文字列データも変更されない。従って、コピー先の編集エリア401に表示されている文字列「今月は、が行なわれます。」は、変わっていない。   The character string data stored in the edit buffer is not changed. Further, the character string data stored in the display buffer is not changed. Therefore, the character string “This month will be done” displayed in the copy destination editing area 401 has not changed.

続いて、共用記憶部1005の状態について説明する。転送モードが、「一括モード」から「動的モード」に切り替わっている。また、転送バッファはクリアされ、空の状態になっている。以上で、移行処理後の状態例についての説明を終える。   Next, the state of the shared storage unit 1005 will be described. The transfer mode has been switched from “batch mode” to “dynamic mode”. The transfer buffer is cleared and is empty. This is the end of the description of the state example after the migration process.

図18の説明に戻る。S1807における移行処理を終えると、受付部1201は、メニューを消す(S1817)。   Returning to the description of FIG. When the transition process in S1807 is completed, the reception unit 1201 deletes the menu (S1817).

S1805において、S1803で取得したイベントが「動的貼り付け」の選択に相当するクリックではないと判定した場合には、受付部1201は、S1803で取得したイベントが「コピー」の選択に相当するクリックであるか否かを判定する(S1809)。S1803で取得したイベントが「コピー」の選択に相当するクリックであると判定した場合には、保存部1211は、内部記憶部1229に設けられた編集バッファに格納されている文字列データのうち、選択範囲に含まれる文字列データを共用記憶部1005の転送バッファに格納する(S1811)。メニューにおいて「コピー」が選択された場合の処理は、従来技術によるので、これ以上説明しない。そして、受付部1201は、メニューを消す(S1817)。   If it is determined in step S1805 that the event acquired in step S1803 is not a click corresponding to the selection of “dynamic paste”, the reception unit 1201 clicks the event acquired in step S1803 corresponding to the selection of “copy”. It is determined whether or not (S1809). If it is determined that the event acquired in S1803 is a click corresponding to the selection of “copy”, the storage unit 1211 includes character string data stored in the editing buffer provided in the internal storage unit 1229. Character string data included in the selected range is stored in the transfer buffer of the shared storage unit 1005 (S1811). The processing when “Copy” is selected in the menu is based on the prior art and will not be described further. Then, the reception unit 1201 deletes the menu (S1817).

S1809において、S1803で取得したイベントが「コピー」の選択に相当するクリックではないと判定した場合には、受付部1201は、S1803で取得したイベントが「一括貼り付け」の選択に相当するクリックであるか否かを判定する(S1813)。S1803で取得したイベントが「一括貼り付け」の選択に相当するクリックであると判定した場合には、第2挿入部1213は、共用記憶部1005の転送バッファから文字列データを読み取り、読み取った文字列データを内部記憶部1229に設けられた編集バッファに格納されている文字列データに挿入する(S1815)。メニューにおいて「一括貼り付け」が選択された場合の処理は、従来技術において「貼り付け」が選択された場合と同様であるので、これ以上説明しない。そして、受付部1201は、メニューを消す(S1817)。   If it is determined in S1809 that the event acquired in S1803 is not a click corresponding to the selection of “copy”, the reception unit 1201 receives a click corresponding to the selection of “collective paste” in S1803. It is determined whether or not there is (S1813). If it is determined that the event acquired in S1803 is a click corresponding to the selection of “collective paste”, the second insertion unit 1213 reads the character string data from the transfer buffer of the shared storage unit 1005 and reads the read character The column data is inserted into the character string data stored in the editing buffer provided in the internal storage unit 1229 (S1815). The processing when “Batch Paste” is selected in the menu is the same as when “Paste” is selected in the prior art, and will not be described further. Then, the reception unit 1201 deletes the menu (S1817).

S1813において、S1803で取得したイベントが「一括貼り付け」の選択に相当するクリックではないと判定した場合には、受付部1201は、メニューを消す(S1817)。   If it is determined in S1813 that the event acquired in S1803 is not a click corresponding to the selection of “collective paste”, the reception unit 1201 deletes the menu (S1817).

メニューを消すと、受付部1201はメニュー処理を終える。メニュー処理を終えると図15に示した挿入モード処理も終え、図14に示したS1401の処理に戻る。   When the menu is deleted, the reception unit 1201 finishes the menu process. When the menu process is finished, the insertion mode process shown in FIG. 15 is also finished, and the process returns to S1401 shown in FIG.

図15の説明に戻る。S1511において、S1501で取得したイベントが右ボタンクリックではないと判定した場合には、受付部1201は、取得したイベントが左ボタンの押下であるか否かを判定する(S1515)。取得したイベントが左ボタンの押下であると判定した場合には、選択部1215は、選択処理を実行する(S1517)。   Returning to the description of FIG. If it is determined in S1511 that the event acquired in S1501 is not a right button click, the reception unit 1201 determines whether the acquired event is a left button press (S1515). If it is determined that the acquired event is a left button press, the selection unit 1215 executes a selection process (S1517).

図21に、選択処理フローを示す。開始部1217は、開始処理を実行する(S2101)。   FIG. 21 shows a selection process flow. The start unit 1217 executes a start process (S2101).

図22に、開始処理フローを示す。開始部1217は、左ボタンの押下のイベントに含まれる左ボタンの押下位置を特定する(S2201)。左ボタンの押下位置は、左ボタンが押下されたときの表示エリアにおけるマウスの位置である。開始部1217は、押下位置に基づいてカーソル位置を算出する(S2203)。開始部1217は、内部記憶部1229に設けられたカーソル位置の領域に、算出したカーソル位置を設定する(S2205)。表示処理部1203は、編集エリアにおけるカーソル位置に挿入カーソルを表示させる(S2207)。   FIG. 22 shows a start processing flow. The start unit 1217 identifies the left button pressing position included in the left button pressing event (S2201). The pressed position of the left button is the position of the mouse in the display area when the left button is pressed. The start unit 1217 calculates the cursor position based on the pressed position (S2203). The start unit 1217 sets the calculated cursor position in the cursor position area provided in the internal storage unit 1229 (S2205). The display processing unit 1203 displays the insertion cursor at the cursor position in the editing area (S2207).

開始部1217は、内部記憶部1229に設けられた選択モードをONに変更する(S2209)。開始部1217は、内部記憶部1229に設けられた選択範囲の始点を設定する(S2211)。このとき、選択範囲の始点は、カーソル位置と同じである。開始部1217は、内部記憶部1229に設けられた選択範囲の終点を設定する(S2213)。このとき、選択範囲の終点は、カーソル位置と同じである。   The start unit 1217 changes the selection mode provided in the internal storage unit 1229 to ON (S2209). The start unit 1217 sets the start point of the selection range provided in the internal storage unit 1229 (S2211). At this time, the starting point of the selection range is the same as the cursor position. The start unit 1217 sets the end point of the selection range provided in the internal storage unit 1229 (S2213). At this time, the end point of the selection range is the same as the cursor position.

図23に、開始処理後の状態例を示す。この例は、図5の上段に示したように、コピー元の編集エリア501の文字列における文字間にマウスカーソルが表示されているときに、左ボタンが押下された後の状態を示している。   FIG. 23 shows a state example after the start processing. This example shows a state after the left button is pressed when the mouse cursor is displayed between characters in the character string of the copy source editing area 501 as shown in the upper part of FIG. .

まず、コピー元の編集部1003における内部記憶部1229の状態について説明する。編集モードには、「挿入モード」が設定されている。また、11文字目と12文字目との間の押下位置に基づいて、カーソル位置に「11」が設定されている。従って、コピー先の編集エリア401の4文字目と5文字目との間に、挿入カーソルが表示されている。   First, the state of the internal storage unit 1229 in the copy source editing unit 1003 will be described. In the edit mode, “insert mode” is set. Also, “11” is set at the cursor position based on the pressed position between the 11th and 12th characters. Therefore, an insertion cursor is displayed between the fourth character and the fifth character in the copy destination editing area 401.

ドラッグによる範囲の選択が開始されたので、選択モードは、「OFF」から「ON」に切り替わっている。また、選択範囲の始点にはカーソル位置と同様に「11」が設定されている。このとき、まだ範囲が拡がっていないので、選択範囲の終点にはカーソル位置と同様に「11」が設定されている。   Since selection of the range by dragging is started, the selection mode is switched from “OFF” to “ON”. In addition, “11” is set at the start point of the selection range, similarly to the cursor position. At this time, since the range has not yet expanded, “11” is set at the end point of the selection range in the same manner as the cursor position.

編集バッファには、「さて、10月10日に、東地区小学校合同大運動会が予定されております。」の文字列データが格納されている。表示バッファにも、「さて、10月10日に、東地区小学校合同大運動会が予定されております。」の文字列データが格納されている。従って、表示バッファの文字列データに基づいて、コピー元の編集エリア501に「さて、10月10日に、東地区小学校合同大運動会が予定されております。」の文字列が表示されている。   The edit buffer stores character string data “October 10th, the East District Elementary School Joint University Sports Day is scheduled”. The display buffer also stores character string data “October 10th, the East District Elementary School Joint University Sports Day is scheduled.” Therefore, based on the character string data in the display buffer, the character string “Now, October 10th, the East Elementary School Joint University Sports Day is scheduled” is displayed in the copy source editing area 501. .

続いて、共用記憶部1005の状態について説明する。転送モードに設定されている「動的モード」は、変更されない。また、転送バッファには、まだ文字列データが格納されていない。以上で、開始処理後の状態例についての説明を終える。   Next, the state of the shared storage unit 1005 will be described. The “dynamic mode” set in the transfer mode is not changed. The transfer buffer does not yet store character string data. This is the end of the description of the state example after the start process.

図21の説明に戻る。S2101における開始処理を終えると、選択部1215は、オペレーティングシステム部1007からイベントを取得する(S2103)。選択部1215は、取得したイベントがドラッグであるか否かを判定する(S2105)。取得したイベントがドラッグであると判定した場合には、変更部1219は、変更処理を実行する(S2107)。   Returning to the description of FIG. When the start process in S2101 is completed, the selection unit 1215 acquires an event from the operating system unit 1007 (S2103). The selection unit 1215 determines whether or not the acquired event is a drag (S2105). If it is determined that the acquired event is a drag, the changing unit 1219 executes a changing process (S2107).

図24に、変更処理フローを示す。変更部1219は、ドラッグのイベントに含まれるドラッグ位置を特定する(S2401)。ドラッグ位置は、ドラッグを検出したときの表示エリアにおけるマウスカーソルの位置である。変更部1219は、ドラッグ位置に基づいてカーソル位置を算出する(S2403)。変更部1219は、算出したカーソル位置が内部記憶部1229に記憶されているカーソル位置と一致するか否かを判定する(S2405)。算出したカーソル位置が内部記憶部1229に記憶されているカーソル位置と一致すると判定した場合には、変更処理を終え、図21に示したS2103に戻る。算出したカーソル位置が内部記憶部1229に記憶されているカーソル位置と一致すると判定した場合には、内部記憶部1229のデータ及び共用記憶部1005のデータを更新しないからである。   FIG. 24 shows a change processing flow. The changing unit 1219 identifies the drag position included in the drag event (S2401). The drag position is the position of the mouse cursor in the display area when a drag is detected. The changing unit 1219 calculates the cursor position based on the drag position (S2403). The changing unit 1219 determines whether or not the calculated cursor position matches the cursor position stored in the internal storage unit 1229 (S2405). If it is determined that the calculated cursor position matches the cursor position stored in the internal storage unit 1229, the changing process is terminated, and the process returns to S2103 shown in FIG. This is because if it is determined that the calculated cursor position matches the cursor position stored in the internal storage unit 1229, the data in the internal storage unit 1229 and the data in the shared storage unit 1005 are not updated.

一方、算出したカーソル位置が内部記憶部1229に記憶されているカーソル位置と一致しないと判定した場合には、変更部1219は、内部記憶部1229に記憶されているカーソル位置を変更する(S2407)。つまり、変更部1219は、内部記憶部1229に設けられたカーソル位置の領域に、算出したカーソル位置を記憶させる。表示処理部1203は、挿入カーソルの表示を停止させる(S2409)。但し、既に挿入カーソルの表示が停止している場合には、S2409の処理は省かれる。   On the other hand, when it is determined that the calculated cursor position does not match the cursor position stored in the internal storage unit 1229, the changing unit 1219 changes the cursor position stored in the internal storage unit 1229 (S2407). . That is, the changing unit 1219 stores the calculated cursor position in the cursor position area provided in the internal storage unit 1229. The display processing unit 1203 stops displaying the insertion cursor (S2409). However, if the display of the insertion cursor has already stopped, the processing of S2409 is omitted.

変更部1219は、内部記憶部1229に設けられた選択範囲の終点を変更する(S2411)。このとき、変更部1219は、内部記憶部1229に設けられた選択範囲の終点にカーソル位置と同じ値を設定する。変更部1219は、内部記憶部1229に設けられた表示バッファに格納されている文字列データに、選択範囲を特定する反転コードを挿入する(S2413)。具体的には、変更部1219は、選択範囲の始点である文字の前に反転の始点を示すコードを挿入し、選択範囲の終点である文字の後に反転の終点を示すコードを挿入する。但し、既に反転の始点を示すコードが挿入されている場合には、S2413での挿入は省く。また、既に反転の終点を示すコードが挿入されている場合には、反転の終点を示すコードの位置を移動させる。   The changing unit 1219 changes the end point of the selection range provided in the internal storage unit 1229 (S2411). At this time, the changing unit 1219 sets the same value as the cursor position at the end point of the selection range provided in the internal storage unit 1229. The changing unit 1219 inserts an inversion code for specifying the selection range into the character string data stored in the display buffer provided in the internal storage unit 1229 (S2413). Specifically, the changing unit 1219 inserts a code indicating the inversion start point before the character that is the start point of the selection range, and inserts a code that indicates the end point of inversion after the character that is the end point of the selection range. However, if a code indicating the start point of inversion has already been inserted, the insertion in S2413 is omitted. If a code indicating the end point of inversion has already been inserted, the position of the code indicating the end point of inversion is moved.

表示処理部1203は、内部記憶部1229に設けられた表示バッファに格納されている文字列データを、編集エリアに表示させる(S2415)。変更部1219は、共用記憶部1005に設けられた転送モードが「動的モード」であるか否かを判定する(S2417)。共用記憶部1005に設けられた転送モードが「動的モード」であると判定した場合には、変更部1219は、内部記憶部1229に設けられた編集バッファに格納されている文字列データのうち、選択範囲に含まれる文字列データを共用記憶部1005の転送バッファに格納する(S2419)。この処理によって、転送バッファに格納されている文字列データが書き換えられる。そして、変更部1219は、変更処理を終了する。   The display processing unit 1203 displays the character string data stored in the display buffer provided in the internal storage unit 1229 in the editing area (S2415). The changing unit 1219 determines whether or not the transfer mode provided in the shared storage unit 1005 is the “dynamic mode” (S2417). If it is determined that the transfer mode provided in the shared storage unit 1005 is “dynamic mode”, the changing unit 1219 includes the character string data stored in the editing buffer provided in the internal storage unit 1229. The character string data included in the selected range is stored in the transfer buffer of the shared storage unit 1005 (S2419). By this processing, the character string data stored in the transfer buffer is rewritten. Then, the changing unit 1219 ends the changing process.

一方、S2417において、共用記憶部1005に設けられた転送モードが「動的モード」ではないと判定した場合には、変更部1219は、変更処理を終了する。つまり、一括モードでは、この段階で文字列データの転送を行わない。   On the other hand, when it is determined in S2417 that the transfer mode provided in the shared storage unit 1005 is not the “dynamic mode”, the changing unit 1219 ends the changing process. That is, in the collective mode, character string data is not transferred at this stage.

図25に、変更処理後の状態例を示す。この例は、図6の上段に示したように、コピー元の編集エリア601に表示されている文字をドラッグで選択している状態を示している。そして、選択範囲に「東」の文字が含まれている。   FIG. 25 shows an example of the state after the change process. In this example, as shown in the upper part of FIG. 6, a character displayed in the copy source edit area 601 is selected by dragging. And the character “east” is included in the selection range.

まず、コピー元の編集部1003における内部記憶部1229の状態について説明する。編集モードに設定されている「挿入モード」は、変更されない。また、12文字目と13文字目との間のドラッグ位置に基づいて、カーソル位置に「12」が設定されている。この例では、ドラッグしているときに挿入カーソルを表示させていない。但し、ドラッグしているときも挿入カーソルを表示させるようにしてもよい。   First, the state of the internal storage unit 1229 in the copy source editing unit 1003 will be described. The “insert mode” set in the edit mode is not changed. Also, “12” is set at the cursor position based on the drag position between the 12th and 13th characters. In this example, the insertion cursor is not displayed when dragging. However, the insertion cursor may be displayed even when dragging.

選択モードの「ON」と、選択範囲の始点の「11」とは、変更されていない。選択範囲の終点に、カーソル位置と同様に「12」が設定されている。つまり、選択範囲の終点は、「11」から「12」に変更されている。   The selection mode “ON” and the selection range start point “11” are not changed. “12” is set at the end point of the selection range in the same manner as the cursor position. That is, the end point of the selection range is changed from “11” to “12”.

編集バッファに格納されている文字列データ「さて、10月10日に、東地区小学校合同大運動会が予定されております。」は、変更されていない。表示バッファでは、編集バッファに格納されている文字列データと同じ文字列データにおける選択範囲の始点である文字の前(12文字目の前)に反転の始点を示すコード(図25では、[RS]と示している。)が挿入されている。表示バッファでは、更に選択範囲の終点である文字の後(12文字目の後)に反転の終点を示すコード(図25では、[RE]と示している。)が挿入されている。従って、表示バッファの文字列データに基づいて、コピー元の編集エリア601に「さて、10月10日に、東地区小学校合同大運動会が予定されております。」の文字列が表示されている。そして、「東」の文字は、反転状態で表示されている。   The character string data stored in the editing buffer, “October 10th, the East District Elementary School Joint Sports Day is scheduled.” Has not been changed. In the display buffer, a code indicating the inversion start point before the character (before the 12th character) as the start point of the selection range in the same character string data as the character string data stored in the editing buffer (in FIG. ]) Is inserted. In the display buffer, a code (indicated as [RE] in FIG. 25) indicating the end point of inversion is further inserted after the character that is the end point of the selection range (after the 12th character). Therefore, based on the character string data in the display buffer, the character string “Now, October 10th, the East Elementary School Joint Athletic Field is scheduled” is displayed in the editing area 601 of the copy source. . The character “east” is displayed in an inverted state.

続いて、共用記憶部1005の状態について説明する。転送モードに設定されている「動的モード」は、変更されない。転送バッファには、選択範囲に含まれる「東」の文字が格納されている。   Next, the state of the shared storage unit 1005 will be described. The “dynamic mode” set in the transfer mode is not changed. In the transfer buffer, the character “east” included in the selection range is stored.

更に、図26を用いて、変更処理によって選択範囲を拡げた場合の状態例について説明する。この例は、図7の上段に示したように、コピー元の編集エリア701に表示されている文字列をドラッグで選択している状態を示している。選択範囲に「東地区小学校合同大運動会」の文字列が含まれている。   Furthermore, an example of a state when the selection range is expanded by the change process will be described with reference to FIG. In this example, as shown in the upper part of FIG. 7, a character string displayed in the copy source editing area 701 is selected by dragging. The character string of “East Elementary School Joint University Sports Day” is included in the selection range.

まず、コピー元の編集部1003における内部記憶部1229の状態について説明する。編集モードに設定されている「挿入モード」は、変更されない。また、23文字目と24文字目との間のドラッグ位置に基づいて、カーソル位置に「23」が設定されている。   First, the state of the internal storage unit 1229 in the copy source editing unit 1003 will be described. The “insert mode” set in the edit mode is not changed. Also, “23” is set at the cursor position based on the drag position between the 23rd and 24th characters.

選択モードの「ON」と、選択範囲の始点の「11」とは、変更されていない。選択範囲の終点は、ドラッグ操作に伴い図25に示した「12」から増加し、この時点で「23」となっている。   The selection mode “ON” and the selection range start point “11” are not changed. The end point of the selection range increases from “12” shown in FIG. 25 along with the drag operation, and is “23” at this point.

編集バッファに格納されている文字列データ「さて、10月10日に、東地区小学校合同大運動会が予定されております。」は、変更されていない。表示バッファでは、編集バッファに格納されている文字列データと同じ文字列データにおける選択範囲の始点である文字の前(12文字目の前)に反転の始点を示すコードが挿入されている。表示バッファでは、更に選択範囲の終点である文字の後(23文字目の後)に反転の終点を示すコードが挿入されている。従って、表示バッファの文字列データに基づいて、コピー元の編集エリア701に「さて、10月10日に、東地区小学校合同大運動会が予定されております。」の文字列が表示されている。そして、「東地区小学校合同大運動会」の文字は、反転状態で表示されている。   The character string data stored in the editing buffer, “October 10th, the East District Elementary School Joint Sports Day is scheduled.” Has not been changed. In the display buffer, a code indicating the start point of inversion is inserted before the character that is the start point of the selection range in the same character string data as the character string data stored in the edit buffer (before the 12th character). In the display buffer, a code indicating the end point of inversion is inserted after the character that is the end point of the selection range (after the 23rd character). Therefore, based on the character string data in the display buffer, the character string “Now, October 10th, the East Elementary School Joint Athletic Field is scheduled” is displayed in the editing area 701 of the copy source. . The characters of “East Elementary School Joint University Sports Day” are displayed in an inverted state.

続いて、共用記憶部1005の状態について説明する。転送モードに設定されている「動的モード」は、変更されない。転送バッファには、選択範囲に含まれる「東地区小学校合同大運動会」の文字が格納されている。以上で、変更処理後の状態例についての説明を終える。   Next, the state of the shared storage unit 1005 will be described. The “dynamic mode” set in the transfer mode is not changed. In the transfer buffer, characters of “East Elementary School Joint University Sports Day” included in the selection range are stored. This is the end of the description of the state example after the change process.

図24に示した変更処理を終えると、図21に示したS2103に戻る。S2105において、S2103で取得したイベントがドラッグではないと判定した場合には、選択部1215は、S2103で取得したイベントが左ボタンの解放であるか否かを判定する(S2109)。S2103で取得したイベントが左ボタンの解放ではないと判定した場合には、S2103に戻る。一方、S2103で取得したイベントが左ボタンの解放であると判定した場合には、終了部1221は、終了処理を実行する(S2111)。   When the change process shown in FIG. 24 is completed, the process returns to S2103 shown in FIG. If it is determined in S2105 that the event acquired in S2103 is not a drag, the selection unit 1215 determines whether the event acquired in S2103 is the release of the left button (S2109). If it is determined that the event acquired in S2103 is not the release of the left button, the process returns to S2103. On the other hand, if it is determined that the event acquired in S2103 is the release of the left button, the end unit 1221 executes end processing (S2111).

図27に、終了処理フローを示す。終了部1221は、内部記憶部1229に設けられた選択モードを「OFF」に変更する(S2701)。終了部1221は、内部記憶部1229に設けられた選択範囲の始点に無効を示すコードを設定し(S2703)、内部記憶部1229に設けられた選択範囲の終点にも無効を示すコードを設定する(S2705)。終了部1221は、内部記憶部1229に設けられた表示バッファに格納されている文字列データに挿入されている反転コードを削除する(S2707)。具体的には、変更部1219は、選択範囲の始点に挿入されている反転の始点を示すコードと、選択範囲の終点に挿入されている反転の終点を示すコードとを削除する。   FIG. 27 shows the end processing flow. The end unit 1221 changes the selection mode provided in the internal storage unit 1229 to “OFF” (S2701). The ending unit 1221 sets a code indicating invalidity at the start point of the selection range provided in the internal storage unit 1229 (S2703), and sets a code indicating invalidity also at the end point of the selection range provided in the internal storage unit 1229. (S2705). The end unit 1221 deletes the inversion code inserted in the character string data stored in the display buffer provided in the internal storage unit 1229 (S2707). Specifically, the changing unit 1219 deletes the code indicating the start point of inversion inserted at the start point of the selection range and the code indicating the end point of inversion inserted at the end point of the selection range.

表示処理部1203は、内部記憶部1229に設けられた表示バッファに格納されている文字列データを、編集エリアに表示させる(S2709)。更に、表示処理部1203は、カーソルの表示が停止されていれば、カーソルの表示を再開させる(S2710)。   The display processing unit 1203 displays the character string data stored in the display buffer provided in the internal storage unit 1229 in the editing area (S2709). Furthermore, if the display of the cursor is stopped, the display processing unit 1203 restarts the display of the cursor (S2710).

終了部1221は、共用記憶部1005に設けられた転送モードが「動的モード」であるか否かを判定する(S2711)。共用記憶部1005に設けられた転送モードが「動的モード」であると判定した場合には、終了部1221は、共用記憶部1005に設けられた転送モードを「一括モード」に変更する(S2713)。そして、終了部1221は、終了処理を終える。   The end unit 1221 determines whether or not the transfer mode provided in the shared storage unit 1005 is the “dynamic mode” (S2711). When it is determined that the transfer mode provided in the shared storage unit 1005 is “dynamic mode”, the end unit 1221 changes the transfer mode provided in the shared storage unit 1005 to “batch mode” (S2713). ). Then, the end unit 1221 ends the end process.

一方、S2711において、共用記憶部1005に設けられた転送モードが「動的モード」ではないと判定した場合、つまり一括モードである場合には、終了部1221は、内部記憶部1229に設けられた編集バッファに格納されている文字列データのうち、選択範囲に含まれる文字列データを共用記憶部1005の転送バッファに格納する(S2715)。そして、終了部1221は、終了処理を終える。   On the other hand, when it is determined in S2711 that the transfer mode provided in the shared storage unit 1005 is not the “dynamic mode”, that is, in the batch mode, the end unit 1221 is provided in the internal storage unit 1229. Of the character string data stored in the editing buffer, the character string data included in the selected range is stored in the transfer buffer of the shared storage unit 1005 (S2715). Then, the end unit 1221 ends the end process.

図28に、終了処理後の状態例を示す。この例は、図8の上段に示したように、コピー元の編集エリア801におけるドラッグ操作を終えた状態を示している。   FIG. 28 shows an example of the state after termination processing. In this example, as shown in the upper part of FIG. 8, the drag operation in the copy source editing area 801 is completed.

まず、コピー元の編集部1003における内部記憶部1229の状態について説明する。編集モードに設定されている「挿入モード」は、変更されない。また、カーソル位置の「23」も、変更されていない。   First, the state of the internal storage unit 1229 in the copy source editing unit 1003 will be described. The “insert mode” set in the edit mode is not changed. Also, “23” at the cursor position is not changed.

ドラッグによる範囲の選択が開始されたので、選択モードは、「ON」から「OFF」に切り替わっている。更に、選択範囲の始点と選択範囲の終点とには、無効を示すコードが設定されている。   Since selection of the range by dragging is started, the selection mode is switched from “ON” to “OFF”. Furthermore, codes indicating invalidity are set at the start point of the selection range and the end point of the selection range.

編集バッファに格納されている文字列データは、変更されていない。表示バッファに格納されている文字列データのうち、反転の始点を示すコードと反転の終点を示すコードとが削除されている。従って、表示バッファの文字列データに基づいて、コピー元の編集エリア801に「さて、10月10日に、東地区小学校合同大運動会が予定されております。」の文字列が表示されている。範囲を選択しているときの反転状態は、解消している。   The character string data stored in the edit buffer has not been changed. Of the character string data stored in the display buffer, the code indicating the start point of inversion and the code indicating the end point of inversion are deleted. Therefore, based on the character string data in the display buffer, the character string “Now, October 10th, the East Elementary School Joint Athletic Field is scheduled” is displayed in the editing area 801 of the copy source. . The inversion state when selecting the range has been eliminated.

続いて、共用記憶部1005の状態について説明する。転送モードは、「動的モード」から「一括モード」に切り替わっている。転送バッファに格納されている「東地区小学校合同大運動会」の文字列データは、まだ削除されていない。以上で、終了処理後の状態例についての説明を終える。   Next, the state of the shared storage unit 1005 will be described. The transfer mode is switched from “dynamic mode” to “batch mode”. The character string data of “East Elementary School Joint Athletic Field” stored in the transfer buffer has not been deleted yet. This is the end of the description of the state example after the termination process.

図27に示した終了処理を終えると、図21に示した選択処理も終える。更に、図15に示した挿入モード処理も終え、図14に示したS1401に戻る。   When the end process shown in FIG. 27 is finished, the selection process shown in FIG. 21 is also finished. Furthermore, the insertion mode process shown in FIG. 15 is also completed, and the process returns to S1401 shown in FIG.

図15の説明に戻る。S1515において、S1501で取得したイベントが左ボタンの押下ではないと判定した場合には、受付部1201は、S1501で取得したイベントがINSERTキーの押下であるか否かを判定する(S1519)。S1501で取得したイベントがINSERTキーの押下であると判定した場合には、移行部1209は、内部記憶部1229に設けられた編集モードを「上書きモード」に変更する(S1521)。編集モードを「上書きモード」に変更すると、挿入モード処理を終え、図14に示したS1401の処理に戻る。   Returning to the description of FIG. If it is determined in S1515 that the event acquired in S1501 is not a left button press, the reception unit 1201 determines whether the event acquired in S1501 is a press of the INSERT key (S1519). If it is determined that the event acquired in S1501 is a press of the INSERT key, the transition unit 1209 changes the editing mode provided in the internal storage unit 1229 to “overwrite mode” (S1521). When the edit mode is changed to “overwrite mode”, the insertion mode process is terminated, and the process returns to the process of S1401 shown in FIG.

S1519において、S1501で取得したイベントがINSERTキーの押下ではないと判定した場合には、挿入モード処理を終え、図14に示したS1401の処理に戻る。   If it is determined in S1519 that the event acquired in S1501 is not a press of the INSERT key, the insertion mode process is terminated, and the process returns to S1401 shown in FIG.

図14の説明に戻る。S1401において、内部記憶部1229に設けられた編集モードに「挿入モード」が設定されていないと判定した場合には、編集部1003は、内部記憶部1229に設けられた編集モードに「動的貼り付けモード」が設定されているか否かを判定する(S1405)。内部記憶部1229に設けられた編集モードに「動的貼り付けモード」が設定されていると判定した場合には、第3挿入部1223は、動的貼り付けモード処理を実行する(S1407)。   Returning to the description of FIG. If it is determined in S1401 that the “insert mode” is not set in the edit mode provided in the internal storage unit 1229, the edit unit 1003 displays “dynamic paste” in the edit mode provided in the internal storage unit 1229. It is determined whether or not “attachment mode” is set (S1405). If it is determined that the “dynamic paste mode” is set in the editing mode provided in the internal storage unit 1229, the third insertion unit 1223 executes a dynamic paste mode process (S1407).

図29に、動的貼り付けモード処理フローを示す。更新部1225は、更新処理を実行する(S2901)。更新部1225は、更新処理において、挿入カーソルの位置又は上書きカーソルの位置に、貼り付け対象の文字列を動的に表示させる。   FIG. 29 shows a dynamic paste mode process flow. The update unit 1225 executes update processing (S2901). In the update process, the update unit 1225 dynamically displays the character string to be pasted at the position of the insertion cursor or the position of the overwrite cursor.

図30に、更新処理フローを示す。更新部1225は、内部記憶部1229に設けられた編集バッファに格納されている文字列データを、内部記憶部1229に設けられた表示バッファにコピーする(S3001)。更新部1225は、共用記憶部1005の転送バッファに格納されている文字列データを取得する(S3003)。更新部1225は、内部記憶部1229に設けられた表示バッファに格納されている文字列データにおいてカーソル位置を特定し、特定されたカーソル位置にS3003で取得した文字列データを挿入する(S3005)。更新部1225は、挿入された文字列データの前に下線の始点を示すコードを挿入し、挿入された文字列データの後に下線の終点を示すコードを挿入する(S3007)。表示処理部1203は、内部記憶部1229に設けられた表示バッファに格納されている文字列データを、編集エリアに表示させる(S3009)。   FIG. 30 shows an update process flow. The update unit 1225 copies the character string data stored in the editing buffer provided in the internal storage unit 1229 to the display buffer provided in the internal storage unit 1229 (S3001). The update unit 1225 acquires character string data stored in the transfer buffer of the shared storage unit 1005 (S3003). The update unit 1225 specifies the cursor position in the character string data stored in the display buffer provided in the internal storage unit 1229, and inserts the character string data acquired in S3003 at the specified cursor position (S3005). The update unit 1225 inserts a code indicating the start point of the underline before the inserted character string data, and inserts a code indicating the end point of the underline after the inserted character string data (S3007). The display processing unit 1203 displays the character string data stored in the display buffer provided in the internal storage unit 1229 in the editing area (S3009).

図31に、更新処理後の状態例を示す。この例は、図6の下段に示したように、コピー先の編集エリア603において挿入される文字「東」が表示されている状態を示している。図31に示した状態は、図20に示した状態の続きである。   FIG. 31 shows an example of the state after the update process. In this example, as shown in the lower part of FIG. 6, the character “east” to be inserted in the copy destination editing area 603 is displayed. The state shown in FIG. 31 is a continuation of the state shown in FIG.

まず、コピー先の編集部1003における内部記憶部1229の状態について説明する。編集モードに設定されている「動的貼り付けモード」は、変更されない。カーソル位置の「4」も、変更されない。   First, the state of the internal storage unit 1229 in the copy destination editing unit 1003 will be described. The “dynamic paste mode” set in the edit mode is not changed. The cursor position “4” is also not changed.

また、選択モードの「OFF」と、選択範囲の始点の無効を示すコードと、選択範囲の終点の無効を示すコードとは、変更されない。   Also, the selection mode “OFF”, the code indicating the invalidity of the start point of the selection range, and the code indicating the invalidity of the end point of the selection range are not changed.

編集バッファに格納されている「今月は、が行なわれます。」の文字列データも変更されていない。表示バッファでは、挿入される文字「東」の前に下線の始点を示すコード(図31では、[US]と示している。)が挿入されている。表示バッファでは、更に挿入される文字「東」の後に下線の終点を示すコード(図31では、[UE]と示している。)が挿入されている。従って、表示バッファの文字列データに基づいて、コピー先の編集エリア603に「今月は、東が行なわれます。」の文字列が表示されている。そして、「東」の文字には、下線が付されている。   The character string data of “This month will be done” stored in the editing buffer is not changed. In the display buffer, a code indicating the start point of the underline (indicated as [US] in FIG. 31) is inserted before the character “East” to be inserted. In the display buffer, a code (indicated as [UE] in FIG. 31) indicating the end point of the underline is inserted after the inserted character “East”. Therefore, based on the character string data in the display buffer, the character string “East is performed this month” is displayed in the copy destination editing area 603. The letters “east” are underlined.

続いて、共用記憶部1005の状態について説明する。転送モードに設定されている「動的モード」は、変更されない。転送バッファには、転送された「東」の文字が格納されている。このときの共用記憶部1005の状態は、図25に示した状態と同様である。   Next, the state of the shared storage unit 1005 will be described. The “dynamic mode” set in the transfer mode is not changed. In the transfer buffer, the transferred “east” character is stored. The state of the shared storage unit 1005 at this time is the same as the state shown in FIG.

更に、図32を用いて、選択範囲が拡げられた場合の状態例について説明する。この例は、図7の下段に示したように、コピー先の編集エリア703において挿入される文字列「東地区小学校合同大運動会」が表示されている状態を示している。   Furthermore, a state example when the selection range is expanded will be described with reference to FIG. In this example, as shown in the lower part of FIG. 7, the character string “East district elementary school joint athletic meet” inserted in the copy destination editing area 703 is displayed.

まず、コピー先の編集部1003における内部記憶部1229の状態について説明する。編集モードに設定されている「動的貼り付けモード」は、変更されない。カーソル位置の「4」も、変更されていない。   First, the state of the internal storage unit 1229 in the copy destination editing unit 1003 will be described. The “dynamic paste mode” set in the edit mode is not changed. “4” at the cursor position is not changed.

また、選択モードの「OFF」と、選択範囲の始点の無効を示すコードと、選択範囲の終点の無効を示すコードとは、変更されない。   Also, the selection mode “OFF”, the code indicating the invalidity of the start point of the selection range, and the code indicating the invalidity of the end point of the selection range are not changed.

編集バッファに格納されている「今月は、が行なわれます。」の文字列データも変更されていない。表示バッファにおいて、挿入される文字列「東地区小学校合同大運動会」の前に下線の始点を示すコードが挿入されている。表示バッファにおいて、更に挿入される文字列「東地区小学校合同大運動会」の後に下線の終点を示すコードが挿入されている。従って、表示バッファの文字列データに基づいて、コピー先の編集エリア703に「今月は、東地区小学校合同大運動会が行なわれます。」の文字列が表示されている。そして、「東地区小学校合同大運動会」の文字列には、下線が付されている。   The character string data of “This month will be done” stored in the editing buffer is not changed. In the display buffer, a code indicating the start point of the underline is inserted before the character string “East district elementary school joint athletic meet” to be inserted. In the display buffer, a code indicating the end point of the underline is inserted after the character string “East district elementary school joint athletic meet” further inserted. Accordingly, based on the character string data in the display buffer, the character string “East district elementary school joint athletic meet is held this month” is displayed in the editing area 703 of the copy destination. The character string of “East Elementary School Joint University Sports Day” is underlined.

続いて、共用記憶部1005の状態について説明する。転送モードに設定されている「動的モード」は、変更されない。転送バッファには、転送された「東地区小学校合同大運動会」の文字列が格納されている。以上で、更新処理後の状態例についての説明を終える。   Next, the state of the shared storage unit 1005 will be described. The “dynamic mode” set in the transfer mode is not changed. In the transfer buffer, the transferred character string of “East district elementary school joint large athletic meet” is stored. This is the end of the description of the state example after the update process.

図29の説明に戻る。S2901における更新処理を終えると、第3挿入部1223は、共用記憶部1005に設けられた転送モードが「一括モード」であるか否かを判定する(S2903)。共用記憶部1005に設けられた転送モードが「一括モード」でないと判定した場合、つまり動的モードである場合には、S2901に戻る。   Returning to the description of FIG. When the update process in S2901 is completed, the third insertion unit 1223 determines whether or not the transfer mode provided in the shared storage unit 1005 is the “batch mode” (S2903). If it is determined that the transfer mode provided in the shared storage unit 1005 is not the “batch mode”, that is, if it is the dynamic mode, the process returns to S2901.

一方、共用記憶部1005に設けられた転送モードが「一括モード」であると判定した場合には、確定部1227は、確定処理を実行する(S2905)。つまり、コピー元の編集部1003における終了部1221が、転送モードを「動的モード」から「一括モード」へ切り替えるタイミング(図27のS2713)を待って、コピー先の編集部1003における確定部1227は、貼り付け対象の文字列を挿入カーソルの位置又は上書きカーソルの位置に挿入する。   On the other hand, when it is determined that the transfer mode provided in the shared storage unit 1005 is “batch mode”, the determination unit 1227 executes a determination process (S2905). That is, the end unit 1221 in the copy source editing unit 1003 waits for the timing (S2713 in FIG. 27) to switch the transfer mode from the “dynamic mode” to the “batch mode”, and then the confirmation unit 1227 in the copy destination editing unit 1003. Inserts the character string to be pasted at the position of the insertion cursor or the position of the overwrite cursor.

図33に、確定処理フローを示す。確定部1227は、共用記憶部1005の転送バッファに格納されている文字列データを取得する(S3301)。確定部1227は、内部記憶部1229に設けられた編集バッファに格納されている文字列データにおいてカーソル位置を特定し、特定されたカーソル位置にS3301で取得した文字列データを挿入する(S3303)。確定部1227は、内部記憶部1229に設けられた編集バッファに格納されている文字列データを、内部記憶部1229に設けられた表示バッファにコピーする(S3305)。表示処理部1203は、内部記憶部1229に設けられた表示バッファに格納されている文字列データを、編集エリアに表示させる(S3307)。確定部1227は、共用記憶部1005の転送バッファに格納されている文字列データを削除する(S3309)。   FIG. 33 shows a confirmation process flow. The determination unit 1227 acquires character string data stored in the transfer buffer of the shared storage unit 1005 (S3301). The determination unit 1227 specifies the cursor position in the character string data stored in the editing buffer provided in the internal storage unit 1229, and inserts the character string data acquired in S3301 at the specified cursor position (S3303). The confirmation unit 1227 copies the character string data stored in the editing buffer provided in the internal storage unit 1229 to the display buffer provided in the internal storage unit 1229 (S3305). The display processing unit 1203 displays the character string data stored in the display buffer provided in the internal storage unit 1229 in the editing area (S3307). The confirmation unit 1227 deletes the character string data stored in the transfer buffer of the shared storage unit 1005 (S3309).

図34に、確定処理後の状態例を示す。この例は、図8の下段に示したように、コピー先の編集エリア803において文字列が挿入された状態を示している。   FIG. 34 shows a state example after the confirmation process. In this example, as shown in the lower part of FIG. 8, a character string is inserted in the copy destination editing area 803.

まず、コピー先の編集部1003における内部記憶部1229の状態について説明する。編集モードに設定されている「挿入」は、変更されない。カーソル位置の「4」も、変更されていない。   First, the state of the internal storage unit 1229 in the copy destination editing unit 1003 will be described. “Insert” set in the edit mode is not changed. “4” at the cursor position is not changed.

また、選択モードの「OFF」と、選択範囲の始点の無効を示すコードと、選択範囲の終点の無効を示すコードとは、変更されない。   Also, the selection mode “OFF”, the code indicating the invalidity of the start point of the selection range, and the code indicating the invalidity of the end point of the selection range are not changed.

編集バッファには、「東地区小学校合同大運動会」の文字列データが挿入された「今月は、東地区小学校合同大運動会が行なわれます。」の文字列データが格納されている。表示バッファにも、編集バッファと同様に「今月は、東地区小学校合同大運動会が行なわれます。」の文字列データが格納されている。   In the editing buffer, character string data of “East district elementary school joint athletic meet will be held this month” is inserted. Similarly to the editing buffer, the display buffer also stores character string data “This month, the East District Elementary School Joint University Sports Day is held.”

続いて、共用記憶部1005の状態について説明する。転送モードが「動的モード」から「一括モード」に切り替わったときに、確定処理が実行される。転送バッファはクリアされ、空の状態になっている。以上で、確定処理後の状態例についての説明を終える。   Next, the state of the shared storage unit 1005 will be described. When the transfer mode is switched from “dynamic mode” to “batch mode”, the confirmation process is executed. The transfer buffer is cleared and is empty. This is the end of the description of the state example after the confirmation process.

図33に示した確定処理を終えると、図29に示した動的貼り付けモード処理も終了し、図14に示したS1401に戻る。   When the confirmation process shown in FIG. 33 is finished, the dynamic pasting mode process shown in FIG. 29 is also finished, and the process returns to S1401 shown in FIG.

図14の説明に戻る。S1405において、内部記憶部1229に設けられた編集モードに「動的貼り付けモード」が設定されていないと判定した場合には、編集部1003は、上書きモード処理を実行する(S1409)。   Returning to the description of FIG. If it is determined in S1405 that the “dynamic paste mode” is not set in the editing mode provided in the internal storage unit 1229, the editing unit 1003 executes overwrite mode processing (S1409).

図35に、上書きモード処理フローを示す。S1501及びS1503の処理は、挿入モードの場合と同様である。   FIG. 35 shows an overwrite mode process flow. The processing in S1501 and S1503 is the same as in the insertion mode.

S1503において、S1501で取得したイベントが文字キーの押下であると判定した場合には、置換部1207は、文字を上書きする(S3501)。S3501における文字の上書きは、従来技術による。例えば、置換部1207は、内部記憶部1229からカーソル位置を読み、編集バッファに格納されている文字列データにおいてカーソル位置を特定し、特定されたカーソル位置の次の文字を、押下された文字キーに対応する文字に置き換える。更に、置換部1207は、編集バッファに格納されている文字列データを表示バッファにコピーする。そして、表示処理部1203は、表示バッファに格納されている文字列データを編集エリアに表示させる。   If it is determined in S1503 that the event acquired in S1501 is a character key press, the replacement unit 1207 overwrites the character (S3501). The overwriting of characters in S3501 is based on the conventional technology. For example, the replacement unit 1207 reads the cursor position from the internal storage unit 1229, specifies the cursor position in the character string data stored in the editing buffer, and sets the character next to the specified cursor position to the pressed character key. Replace with the character corresponding to. Further, the replacement unit 1207 copies the character string data stored in the editing buffer to the display buffer. Then, the display processing unit 1203 displays the character string data stored in the display buffer in the editing area.

S1507乃至S1519の処理は、挿入モード処理において説明した通りである。但し、表示処理部1203がカーソルを表示させる処理では、挿入カーソルに代えて上書きカーソルを表示させる。   The processing from S1507 to S1519 is as described in the insertion mode processing. However, in the process in which the display processing unit 1203 displays the cursor, an overwrite cursor is displayed instead of the insertion cursor.

S1519において、S1501で取得したイベントがINSERTキーの押下であると判定した場合には、移行部1209は、内部記憶部1229に設けられた編集モードを「挿入モード」に変更する(S3503)。編集モードを「挿入モード」に変更すると、上書きモード処理を終え、図14に示したS1401の処理に戻る。   If it is determined in S1519 that the event acquired in S1501 is a press of the INSERT key, the transition unit 1209 changes the editing mode provided in the internal storage unit 1229 to “insert mode” (S3503). When the edit mode is changed to “insert mode”, the overwrite mode process is terminated, and the process returns to the process of S1401 shown in FIG.

S1519において、S1501で取得したイベントがINSERTキーの押下ではないと判定した場合には、上書きモード処理を終え、図14に示したS1401の処理に戻る。   If it is determined in S1519 that the event acquired in S1501 is not a press of the INSERT key, the overwrite mode process is terminated, and the process returns to S1401 shown in FIG.

上述した例では、文字列の全部又は一部をコピーする態様について説明したが、数字列の全部又は一部をコピーするようにしてもよい。楽譜の編集において、音符列の全部又は一部をコピーするようにしてもよい。また、例えばマークのような図形の全部又は一部をコピーするようにしてもよい。更に、その他の形式に係るデータの全部又は一部をコピーするようにしてもよい。   In the above-described example, the aspect of copying all or part of the character string has been described. However, all or part of the number string may be copied. In editing the score, all or part of the note sequence may be copied. Further, for example, all or a part of a figure such as a mark may be copied. Furthermore, all or a part of data according to other formats may be copied.

上述した例では、コピーされる文字列に下線を付す例を示したが、文字の太さ、文字の色、文字の輝度や文字の大きさなどの他の態様によって、他の文字列と区別されるようにしてもよい。また、数字列をコピーする場合には、コピーされる数字列を下線、数字の太さ、数字の色、数字の輝度や数字の大きさなどの態様によって、他と区別されるようにしてもよい。音符列をコピーする場合には、音符列を下線、音符の線の太さ、音符の色、音符の輝度や音符の大きさなどの態様によって、他と区別されるようにしてもよい。マークのような図形をコピーする場合には、図形の線の太さ、図形の色や図形の輝度などの態様によって、他と区別されるようにしてもよい。表形式に係るデータをコピーする場合には、カラムの背景色などの態様によって、他と区別されるようにしてもよい。   In the above example, an example is shown in which the character string to be copied is underlined. However, the character string is distinguished from other character strings by other modes such as character thickness, character color, character brightness, and character size. You may be made to do. In addition, when copying a numeric string, the copied numeric string may be distinguished from others by aspects such as underline, numeric thickness, numeric color, numeric brightness, and numeric size. Good. When copying a note string, the note string may be distinguished from others depending on the underline, the thickness of the note line, the note color, the note brightness, the note size, and the like. When copying a figure such as a mark, it may be distinguished from others depending on aspects such as the thickness of the line of the figure, the color of the figure, and the luminance of the figure. When copying data in a tabular format, it may be distinguished from others depending on aspects such as the column background color.

本実施の形態によれば、ユーザが元となるデータからコピー範囲を選択する際に、コピー結果を予め確認できる。例えば、文字列を貼り付ける場合には、ユーザが元となる文字列データからコピー範囲を選択する際に、コピー結果となる文字列を予め確認できる。   According to the present embodiment, when the user selects a copy range from the original data, the copy result can be confirmed in advance. For example, when a character string is pasted, when the user selects a copy range from the original character string data, the character string that is the copy result can be confirmed in advance.

また、張り付けられる文字列に下線を付すので、範囲の選択によって変更される部分を視覚的に把握しやすくなる。   In addition, since the character string to be pasted is underlined, it becomes easy to visually grasp a portion that is changed by selecting a range.

以上本発明の一実施の形態を説明したが、本発明はこれに限定されるものではない。例えば、上述の機能ブロック構成はプログラムモジュール構成に一致しない場合もある。   Although one embodiment of the present invention has been described above, the present invention is not limited to this. For example, the functional block configuration described above may not match the program module configuration.

また、上で説明した各記憶領域の構成は一例であって、上記のような構成でなければならないわけではない。さらに、処理フローにおいても、処理結果が変わらなければ処理の順番を入れ替えることも可能である。さらに、処理を並列に実行させるようにしても良い。   Further, the configuration of each storage area described above is an example, and the above configuration is not necessarily required. Further, in the processing flow, the processing order can be changed if the processing result does not change. Further, the processes may be executed in parallel.

なお、上で述べた編集装置1001は、コンピュータ装置であって、図36に示すように、メモリ2501とCPU(Central Processing Unit)2503とハードディスク・ドライブ(HDD:Hard Disk Drive)2505と表示装置2509に接続される表示制御部2507とリムーバブル・ディスク2511用のドライブ装置2513と入力装置2515とネットワークに接続するための通信制御部2517とがバス2519で接続されている。オペレーティング・システム(OS:Operating System)及び本実施例における処理を実施するためのアプリケーション・プログラムは、HDD2505に格納されており、CPU2503により実行される際にはHDD2505からメモリ2501に読み出される。CPU2503は、アプリケーション・プログラムの処理内容に応じて表示制御部2507、通信制御部2517、ドライブ装置2513を制御して、所定の動作を行わせる。また、処理途中のデータについては、主としてメモリ2501に格納されるが、HDD2505に格納されるようにしてもよい。本発明の実施例では、上で述べた処理を実施するためのアプリケーション・プログラムはコンピュータ読み取り可能なリムーバブル・ディスク2511に格納されて頒布され、ドライブ装置2513からHDD2505にインストールされる。インターネットなどのネットワーク及び通信制御部2517を経由して、HDD2505にインストールされる場合もある。このようなコンピュータ装置は、上で述べたCPU2503、メモリ2501などのハードウエアとOS及びアプリケーション・プログラムなどのプログラムとが有機的に協働することにより、上で述べたような各種機能を実現する。   The editing device 1001 described above is a computer device, and as shown in FIG. 36, a memory 2501, a CPU (Central Processing Unit) 2503, a hard disk drive (HDD: Hard Disk Drive) 2505, and a display device 2509. A display control unit 2507 connected to the computer, a drive device 2513 for a removable disk 2511, an input device 2515, and a communication control unit 2517 for connecting to a network are connected by a bus 2519. An operating system (OS: Operating System) and an application program for executing the processing in this embodiment are stored in the HDD 2505, and are read from the HDD 2505 to the memory 2501 when executed by the CPU 2503. The CPU 2503 controls the display control unit 2507, the communication control unit 2517, and the drive device 2513 according to the processing content of the application program, and performs a predetermined operation. Further, data in the middle of processing is mainly stored in the memory 2501, but may be stored in the HDD 2505. In the embodiment of the present invention, an application program for performing the above-described processing is stored in a computer-readable removable disk 2511 and distributed, and installed in the HDD 2505 from the drive device 2513. In some cases, the HDD 2505 may be installed via a network such as the Internet and the communication control unit 2517. Such a computer apparatus realizes various functions as described above by organically cooperating hardware such as the CPU 2503 and the memory 2501 described above and programs such as the OS and application programs. .

以上述べた本発明の実施の形態をまとめると、以下のようになる。   The embodiment of the present invention described above is summarized as follows.

本実施の形態に係るコピー制御方法は、データのコピー先の指定を受け付け、指定後、コピー元のデータの選択モードに移行し、選択モード中になされた選択範囲の変更処理に応じて、コピー先に表示するデータの内容を変更処理前のデータから変更処理後のデータに動的に変化させる処理を含む。   The copy control method according to the present embodiment accepts designation of the data copy destination, and after the designation, shifts to the copy source data selection mode, and performs copy according to the selection range change processing performed during the selection mode. This includes a process of dynamically changing the content of the data to be displayed first from the data before the change process to the data after the change process.

このようにすれば、ユーザが元となるデータからコピー範囲を選択する際に、コピー結果を予め確認できる。   In this way, when the user selects a copy range from the original data, the copy result can be confirmed in advance.

上記データは、文字列データ又は数字列データであってもよい。   The data may be character string data or numeric string data.

このようにすれば、コピー元の文字列データ又は数字列データにおける選択範囲の変更に合わせて、コピー結果となる文字列データ又は数字列データをユーザが予め確認できる。   In this way, the user can confirm in advance the character string data or numeric string data that is the copy result in accordance with the change of the selection range in the copy source character string data or numeric string data.

更に、コピー先に表示するデータの内容を、コピー先の周りのデータと異なる態様で表示させるようにしてもよい。   Furthermore, the content of data displayed at the copy destination may be displayed in a manner different from the data around the copy destination.

このようにすれば、変更される部分を視覚的に把握しやすくなる。   In this way, it becomes easy to visually grasp the changed portion.

なお、上記方法による処理をコンピュータに行わせるためのプログラムを作成することができ、当該プログラムは、例えばフレキシブルディスク、CD−ROM、光磁気ディスク、半導体メモリ、ハードディスク等のコンピュータ読み取り可能な記憶媒体又は記憶装置に格納されるようにしてもよい。尚、中間的な処理結果は、一般的にメインメモリ等の記憶装置に一時保管される。   A program for causing a computer to perform the processing according to the above method can be created. The program can be a computer-readable storage medium such as a flexible disk, a CD-ROM, a magneto-optical disk, a semiconductor memory, or a hard disk. It may be stored in a storage device. Note that intermediate processing results are generally temporarily stored in a storage device such as a main memory.

以上の実施例を含む実施形態に関し、さらに以下の付記を開示する。   The following supplementary notes are further disclosed with respect to the embodiments including the above examples.

(付記1)
データのコピー先の指定を受け付け、
前記指定後、コピー元のデータの選択モードに移行し、
前記選択モード中になされた選択範囲の変更処理に応じて、前記コピー先に表示するデータの内容を前記変更処理前のデータから前記変更処理後のデータに動的に変化させる、
処理を実行することを特徴とするコンピュータを用いたコピー制御方法。
(Appendix 1)
Accept specification of data copy destination,
After specifying the above, move to copy source data selection mode,
According to the change process of the selection range made during the selection mode, the content of the data to be displayed at the copy destination is dynamically changed from the data before the change process to the data after the change process.
A copy control method using a computer, characterized by executing processing.

(付記2)
前記データは、文字列データ又は数字列データである
付記1記載のコピー制御方法。
(Appendix 2)
The copy control method according to claim 1, wherein the data is character string data or numeric string data.

(付記3)
前記コピー先に表示するデータの内容を、前記コピー先の周りのデータと異なる態様で表示させる
付記1又は2記載のコピー制御方法。
(Appendix 3)
The copy control method according to claim 1 or 2, wherein the content of data to be displayed at the copy destination is displayed in a manner different from that of data around the copy destination.

(付記4)
データのコピー先の指定を受け付け、
前記指定後、コピー元のデータの選択モードに移行し、
前記選択モード中になされた選択範囲の変更処理に応じて、前記コピー先に表示するデータの内容を前記変更処理前のデータから前記変更処理後のデータに動的に変化させる、
処理をコンピュータに実行させることを特徴とするコピー制御プログラム。
(Appendix 4)
Accept specification of data copy destination,
After specifying the above, move to copy source data selection mode,
According to the change process of the selection range made during the selection mode, the content of the data to be displayed at the copy destination is dynamically changed from the data before the change process to the data after the change process.
A copy control program for causing a computer to execute processing.

(付記5)
データのコピー先の指定を受け付ける受付部と、
前記指定後、コピー元のデータの選択モードに移行する移行部と、
前記選択モード中になされた選択範囲の変更処理に応じて、前記コピー先に表示するデータの内容を前記変更処理前のデータから前記変更処理後のデータに動的に変化させる更新部と
を有することを特徴とするコピー制御装置。
(Appendix 5)
A reception unit that accepts specification of a data copy destination;
After the designation, a transition unit that transitions to a copy source data selection mode;
An update unit that dynamically changes the content of the data to be displayed at the copy destination from the data before the change process to the data after the change process in accordance with the change process of the selection range performed during the selection mode. A copy control apparatus characterized by that.

101 コピー元の編集エリア 103 コピー元の編集エリア
105 コピー元の編集エリア 201 コピー先の編集エリア
203 コピー先の編集エリア 205 コピー先の編集エリア
301 コピー元の編集エリア 303 コピー先の編集エリア
305 コピー先の編集エリア 401 コピー先の編集エリア
403 コピー先の編集エリア 405 コピー先の編集エリア
501 コピー元の編集エリア 503 コピー先の編集エリア
601 コピー元の編集エリア 603 コピー先の編集エリア
701 コピー元の編集エリア 703 コピー先の編集エリア
801 コピー元の編集エリア 803 コピー先の編集エリア
901 コピー元の編集エリア 903 コピー先の編集エリア
1001 編集装置 1003 編集部
1005 共用記憶部 1007 オペレーティングシステム部
1201 受付部 1203 表示処理部
1205 第1挿入部 1207 置換部
1209 移行部 1211 保存部
1213 第2挿入部 1215 選択部
1217 開始部 1219 変更部
1221 終了部 1223 第3挿入部
1225 更新部 1227 確定部
1229 内部記憶部
101 Copy source edit area 103 Copy source edit area 105 Copy source edit area 201 Copy destination edit area 203 Copy destination edit area 205 Copy destination edit area 301 Copy source edit area 303 Copy destination edit area 305 Copy Destination editing area 401 Copy destination editing area 403 Copy destination editing area 405 Copy destination editing area 501 Copy source editing area 503 Copy destination editing area 601 Copy source editing area 603 Copy destination editing area 701 Copy source editing area 701 Edit area 703 Copy destination edit area 801 Copy source edit area 803 Copy destination edit area 901 Copy source edit area 903 Copy destination edit area 1001 Editing device 1003 Editing unit 1005 Shared storage unit 1007 Coating System Unit 1201 Reception Unit 1203 Display Processing Unit 1205 First Insertion Unit 1207 Replacement Unit 1209 Migration Unit 1211 Storage Unit 1213 Second Insertion Unit 1215 Selection Unit 1217 Start Unit 1219 Change Unit 1221 End Unit 1223 Third Insertion Unit 1225 Update Unit 1227 Determination unit 1229 Internal storage unit

Claims (4)

データのコピー先の指定を受け付け、
前記指定後、コピー元のデータの選択モードに移行し、
前記選択モード中に前記コピー元のデータにおけるコピー範囲の選択を受け付けると、前記コピー先に、前記コピー範囲内のデータを表示する
処理を含み、
前記選択モード中に前記コピー範囲の変更が行われると、当該コピー範囲の変更に応じて前記コピー先に表示されるデータが動的に変化する
ことを特徴とするコンピュータを用いたコピー制御方法。
Accept specification of data copy destination,
After specifying the above, move to copy source data selection mode,
When a selection of a copy range in the copy source data is accepted during the selection mode, data in the copy range is displayed at the copy destination.
Including processing,
A copy control method using a computer, wherein when the copy range is changed during the selection mode, data displayed at the copy destination dynamically changes in accordance with the change of the copy range .
前記コピー先に表示する前記コピー範囲内のデータを、前記コピー先の周りのデータと異なる態様で表示させる
請求項1記載のコピー制御方法。
The copy control method according to claim 1, wherein the data within the copy range to be displayed at the copy destination is displayed in a mode different from the data around the copy destination.
データのコピー先の指定を受け付け、
前記指定後、コピー元のデータの選択モードに移行し、
前記選択モード中に前記コピー元のデータにおけるコピー範囲の選択を受け付けると、前記コピー先に、前記コピー範囲内のデータを表示する
処理を、コンピュータに実行させ、
前記選択モード中に前記コピー範囲の変更が行われると、当該コピー範囲の変更に応じて前記コピー先に表示されるデータが動的に変化する
ことを特徴とするコピー制御プログラム。
Accept specification of data copy destination,
After specifying the above, move to copy source data selection mode,
When a selection of a copy range in the copy source data is accepted during the selection mode, data in the copy range is displayed at the copy destination.
Let the computer execute the process,
When the copy range is changed during the selection mode, the data displayed at the copy destination dynamically changes in accordance with the change of the copy range .
データのコピー先の指定を受け付ける受付部と、
前記指定後、コピー元のデータの選択モードに移行する移行部と、
前記選択モード中に前記コピー元のデータにおけるコピー範囲の選択を受け付けると、前記コピー先に、前記コピー範囲内のデータを表示する表示処理部と、
を有し、
前記表示処理部は、
前記選択モード中に前記コピー範囲の変更が行われると、当該コピー範囲の変更に応じて前記コピー先に表示されるデータを動的に変化させる
ことを特徴とするコピー制御装置。
A reception unit that accepts specification of a data copy destination;
After the designation, a transition unit that transitions to a copy source data selection mode;
Upon receiving selection of a copy range in the copy source data during the selection mode, a display processing unit that displays data in the copy range at the copy destination;
I have a,
The display processing unit
When the copy range is changed during the selection mode, the data displayed at the copy destination is dynamically changed in accordance with the change of the copy range .
JP2014206100A 2014-10-07 2014-10-07 Copy control method, copy control program, and copy control apparatus Expired - Fee Related JP6398566B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014206100A JP6398566B2 (en) 2014-10-07 2014-10-07 Copy control method, copy control program, and copy control apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014206100A JP6398566B2 (en) 2014-10-07 2014-10-07 Copy control method, copy control program, and copy control apparatus

Publications (2)

Publication Number Publication Date
JP2016076088A JP2016076088A (en) 2016-05-12
JP6398566B2 true JP6398566B2 (en) 2018-10-03

Family

ID=55951290

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014206100A Expired - Fee Related JP6398566B2 (en) 2014-10-07 2014-10-07 Copy control method, copy control program, and copy control apparatus

Country Status (1)

Country Link
JP (1) JP6398566B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000181912A (en) * 1998-12-14 2000-06-30 Casio Comput Co Ltd Data editing device and recording medium
JP2014067284A (en) * 2012-09-26 2014-04-17 Kyocera Corp Portable terminal device
JP2014099052A (en) * 2012-11-14 2014-05-29 International Business Maschines Corporation Apparatus for editing text, data processing method and program

Also Published As

Publication number Publication date
JP2016076088A (en) 2016-05-12

Similar Documents

Publication Publication Date Title
JP3613504B2 (en) Version management / configuration management method and apparatus, and computer-readable recording medium recording a version management / configuration management program
US8589349B2 (en) Tracking and viewing revision history on a section-by-section basis
US7974486B2 (en) Plug-in architecture for exporting digital images
GB2564923A (en) Managing digital assets stored as components and packaged files
CN102508840A (en) Concurrent editing of online drawings
JP5743671B2 (en) Information processing apparatus and control method thereof
JP6204786B2 (en) Printing system, image forming apparatus, control method therefor, and program
JP7020062B2 (en) Information processing equipment and programs
CN102799422B (en) Screenshotss method is pulled in digital video
US10284883B2 (en) Real-time data updates from a run down system for a video broadcast
JP6053361B2 (en) Information processing apparatus, information processing method, and program
US11216611B2 (en) Information processing apparatus and non-transitory computer readable medium
JP6188285B2 (en) Image processing apparatus, image processing apparatus control method, and program
JP6398566B2 (en) Copy control method, copy control program, and copy control apparatus
US20110283237A1 (en) Information processing apparatus, control method thereof, and storage medium
JP2013246542A (en) Communication terminal, communication terminal control program, server, and control method of server
US20090172566A1 (en) Machine driven process for user interface driven data modeling collaboration
US10275127B2 (en) Client apparatus, information processing system, information processing method, and non-transitory computer readable medium
JP2016099894A (en) File management system, information processing device and control method of the same, and program
JP6946946B2 (en) Information processing equipment, distributed processing systems and programs
JP2018136685A (en) Expansion of blacken function
JP7180137B2 (en) Information processing device and program
JP4006312B2 (en) Information processing apparatus, control method therefor, storage medium, and control program
JP2009271681A (en) Document processing apparatus and control method thereof
JP2020004135A (en) Management device, method and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170704

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180521

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180605

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180723

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20180807

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180820

R150 Certificate of patent or registration of utility model

Ref document number: 6398566

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees