JP2015135681A - Electronic apparatus, sentence edition method and control program - Google Patents
Electronic apparatus, sentence edition method and control program Download PDFInfo
- Publication number
- JP2015135681A JP2015135681A JP2015022145A JP2015022145A JP2015135681A JP 2015135681 A JP2015135681 A JP 2015135681A JP 2015022145 A JP2015022145 A JP 2015022145A JP 2015022145 A JP2015022145 A JP 2015022145A JP 2015135681 A JP2015135681 A JP 2015135681A
- Authority
- JP
- Japan
- Prior art keywords
- character
- predetermined
- contact
- image
- characters
- 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.)
- Granted
Links
Images
Abstract
Description
本発明は、文章を編集する機能を有する電子機器、文章編集方法及び制御プログラムに関する。 The present invention relates to an electronic device having a function of editing a sentence, a sentence editing method, and a control program.
様々な種類の電子機器がある中で、近年、文章等が表示されるディスプレイ上に透過性を有するタッチパネルを備えたものが主流となりつつある。 Among various types of electronic devices, in recent years, those equipped with a transparent touch panel on a display on which texts are displayed are becoming mainstream.
このような電子機器では、仮想的なキーボードをディスプレイ上に表示し、表示されているキーが接触されることにより、文字の追加、変更及び削除を行う機能を有している(例えば、特許文献1を参照)。 Such an electronic device has a function of adding, changing, and deleting characters by displaying a virtual keyboard on a display and touching a displayed key (for example, Patent Documents). 1).
ところで、このようなタッチパネルを有する電子機器では、文章を容易に編集する技術が求められている。 By the way, in an electronic device having such a touch panel, a technique for easily editing a sentence is required.
本発明は、文章を容易に編集することができる電子機器、文章編集方法及び制御プログラムを提供することを一つの目的とする。 An object of the present invention is to provide an electronic device, a text editing method, and a control program that can easily edit text.
本発明に係る電子機器は、上記課題を解決するために、表示部と、前記表示部に対する接触を検出する検出部と、前記検出部により前記表示部に対する接触を検出した場合、当該接触に基づいて、前記表示部に表示されている文字又は画像を削除する制御部を備え、前記制御部は、前記表示部上の第1の位置及び第2の位置に対する接触が前記検出部により検出された場合に、前記第1の位置から前記第2の位置までの範囲に含まれている文字又は画像の中から、所定の文字又は所定の画像を削除する構成である。 In order to solve the above problems, an electronic device according to the present invention is based on a display unit, a detection unit that detects contact with the display unit, and a contact with the display unit detected by the detection unit. And a controller that deletes characters or images displayed on the display unit, wherein the controller detects contact with the first position and the second position on the display unit by the detection unit. In this case, the predetermined character or the predetermined image is deleted from the character or the image included in the range from the first position to the second position.
また、電子機器では、前記制御部は、前記第1の位置から前記第2の位置までの範囲に含まれている文字の中から、所定の文字種の文字を削除する構成でも良い。 In the electronic device, the control unit may be configured to delete a character of a predetermined character type from characters included in a range from the first position to the second position.
また、電子機器では、前記制御部は、前記第1の位置から前記第2の位置までの範囲に含まれている文字の中から、前記第1の位置及び前記第2の位置に対応して表示される文字の文字種とは異なる文字種の文字を削除する構成でも良い。 In the electronic device, the control unit corresponds to the first position and the second position from among characters included in the range from the first position to the second position. A configuration in which a character of a character type different from the character type of the displayed character may be deleted.
また、電子機器では、前記制御部は、前記第1の位置から前記第2の位置までの範囲に含まれている画像の中から、一又は複数の画像のすべてを削除する構成でも良い。 In the electronic device, the control unit may delete all or one or more images from images included in a range from the first position to the second position.
また、電子機器では、前記制御部は、前記第1の位置から前記第2の位置までの範囲に含まれている文字又は画像の中から、前記第1の位置及び前記第2の位置に対応して表示される文字又は画像を除外して、所定の文字又は所定の画像を削除する構成でも良い。 In the electronic device, the control unit corresponds to the first position and the second position from characters or images included in a range from the first position to the second position. The predetermined character or the predetermined image may be deleted by excluding the displayed character or image.
また、電子機器では、前記制御部は、前記第1の位置に対する接触が検出されてから、当該接触が維持された状態で、前記第1の位置から前記第2の位置への接触の移動が検出された場合、前記第1の位置から前記第2の位置までの範囲に含まれている文字又は画像の中から、所定の文字又は所定の画像を削除する構成でも良い。 In the electronic device, the control unit may move the contact from the first position to the second position in a state where the contact is maintained after the contact with the first position is detected. When it is detected, the predetermined character or the predetermined image may be deleted from the character or the image included in the range from the first position to the second position.
また、電子機器では、前記制御部は、前記第1の位置及び前記第2の位置に対する接触が検出されてから、当該接触が維持された状態で、前記第1の位置から前記第2の位置の方向への接触の移動が検出された場合、前記第1の位置から前記第2の位置までの範囲に含まれている文字又は画像の中から、所定の文字又は所定の画像を削除する構成でも良い。 Further, in the electronic device, the control unit detects the contact with the first position and the second position, and then maintains the contact from the first position to the second position. A configuration in which a predetermined character or a predetermined image is deleted from a character or an image included in a range from the first position to the second position when the movement of the contact in the direction is detected But it ’s okay.
また、電子機器では、前記制御部は、前記第1の位置及び前記第2の位置に対する接触が検出されてから、当該接触が維持された状態で、前記第1の位置から前記第2の位置の方向への接触の移動及び前記第2の位置から前記第1の位置の方向への接触の移動が検出された場合、前記第1の位置から前記第2の位置までの範囲に含まれている文字又は画像の中から、所定の文字又は所定の画像を削除する構成でも良い。 Further, in the electronic device, the control unit detects the contact with the first position and the second position, and then maintains the contact from the first position to the second position. If the movement of the contact in the direction of the contact and the movement of the contact in the direction of the first position from the second position are detected, they are included in the range from the first position to the second position. The configuration may be such that a predetermined character or a predetermined image is deleted from the existing characters or images.
また、電子機器では、前記制御部は、前記第1の位置から前記第2の位置までの範囲に含まれている文字又は画像の中から、所定の文字又は所定の画像を削除した場合、当該削除された所定の文字又は所定の画像が表示されていた位置に文字又は画像の入力が可能であることを示す情報を表示する構成でも良い。 In the electronic device, when the control unit deletes a predetermined character or a predetermined image from characters or images included in a range from the first position to the second position, The configuration may be such that information indicating that a character or image can be input is displayed at the position where the deleted predetermined character or predetermined image is displayed.
また、電子機器では、前記制御部は、前記第1の位置から前記第2の位置までの範囲に含まれている文字又は画像の中から、所定の文字又は所定の画像を削除した場合、当該削除された所定の文字又は所定の画像が表示されていた位置に入力が可能な一又は複数の文字又は画像を入力候補として前記表示部に表示する構成でも良い。 In the electronic device, when the control unit deletes a predetermined character or a predetermined image from characters or images included in a range from the first position to the second position, A configuration may be adopted in which one or a plurality of characters or images that can be input at a position where the deleted predetermined character or predetermined image is displayed are displayed as input candidates on the display unit.
また、電子機器では、前記入力候補は、削除された所定の文字又は所定の画像に関連する文字又は画像を含む構成でも良い。 In the electronic device, the input candidate may include a deleted character or a character or image related to a predetermined image.
また、電子機器では、前記制御部は、前記第1の位置から前記第2の位置までの範囲に含まれている文字又は画像の中から、所定の文字又は所定の画像を削除してから所定時間以内に、再び前記第1の位置及び前記第2の位置に対する接触が検出された場合、削除された所定の文字又は所定の画像を再表示する構成でも良い。 Further, in the electronic device, the control unit deletes a predetermined character or a predetermined image from characters or images included in a range from the first position to the second position, and then performs a predetermined operation. If contact with the first position and the second position is detected again within the time, the deleted predetermined character or the predetermined image may be displayed again.
本発明に係る文章編集方法は、上記課題を解決するために、表示部に対する接触を検出する検出工程と、前記検出工程により検出された前記表示部に対する接触に基づいて、前記表示部に表示されている文字又は画像を削除する制御工程を備え、前記制御工程は、前記表示部に文字又は画像が表示されている状態において、前記検出工程により前記表示部上の第1の位置及び第2の位置に対する接触が検出された場合に、前記第1の位置から前記第2の位置までの範囲に含まれている文字又は画像の中から、所定の文字又は所定の画像を削除する構成である。 In order to solve the above problems, the text editing method according to the present invention is displayed on the display unit based on a detection step of detecting contact with the display unit and a contact with the display unit detected by the detection step. A control step of deleting a character or an image, wherein the control step includes a first position and a second position on the display unit by the detection step in a state where the character or image is displayed on the display unit. When contact with the position is detected, the predetermined character or the predetermined image is deleted from the character or the image included in the range from the first position to the second position.
また、本発明に係る制御プログラムは、上記課題を解決するために、表示部に対する接触を検出する検出工程と、前記検出工程により検出された前記表示部に対する接触に基づいて、前記表示部に表示されている文字又は画像を削除する制御工程をコンピュータによって実現するための制御プログラムであって、前記制御工程は、前記表示部に文字又は画像が表示されている状態において、前記検出工程により前記表示部上の第1の位置及び第2の位置に対する接触が検出された場合に、前記第1の位置から前記第2の位置までの範囲に含まれている文字又は画像の中から、所定の文字又は所定の画像を削除するプログラムである。 In order to solve the above-described problem, the control program according to the present invention displays on the display unit based on a detection step of detecting contact with the display unit, and a contact with the display unit detected by the detection step. A control program for realizing a control step of deleting a character or an image by a computer, wherein the control step displays the display by the detection step in a state where the character or the image is displayed on the display unit. When contact with the first position and the second position on the part is detected, a predetermined character from the characters or images included in the range from the first position to the second position Alternatively, it is a program for deleting a predetermined image.
本発明によれば、文章を容易に編集することができる。 According to the present invention, a sentence can be easily edited.
以下、本発明の実施の形態について説明する。まず、本発明の電子機器の一実施形態に係る携帯電話機1の基本構造について、図1を参照しながら説明する。図1は、本実施形態に係る携帯電話機1の外観斜視図である。 Embodiments of the present invention will be described below. First, the basic structure of a mobile phone 1 according to an embodiment of the electronic apparatus of the present invention will be described with reference to FIG. FIG. 1 is an external perspective view of a mobile phone 1 according to the present embodiment.
携帯電話機1は、筺体2を備える。筺体2には、正面に、タッチパネル10と、マイク13と、レシーバ14とが配置される。
The mobile phone 1 includes a
タッチパネル10は、表示部11と、検出部12とを備える(図2を参照)。表示部11は、液晶又は有機EL(エレクトロルミネッセンス)で構成される。検出部12は、表示部11に対する携帯電話機1のユーザの指やタッチペン等の物体の接触を検出する。検出部12は、表示部11の表面に対応して配され、例えば、静電容量方式や抵抗膜方式等が利用可能である。
The
マイク13は、携帯電話機1のユーザが通話時に発した音声を入力するために用いられる。レシーバ14は、携帯電話機1のユーザの通話相手が発した音声を出力するために用いられる。
The
次に、図2を参照しながら、携帯電話機1の機能構成について説明する。図2は、携帯電話機1の機能構成を示すブロック図である。 Next, the functional configuration of the mobile phone 1 will be described with reference to FIG. FIG. 2 is a block diagram showing a functional configuration of the mobile phone 1.
携帯電話機1は、上述した、タッチパネル10(表示部11及び検出部12)と、マイク13と、レシーバ14とを備える。さらに、携帯電話機1は、通信部15と、記憶部16と、制御部17とを備える。
The mobile phone 1 includes the touch panel 10 (the
通信部15は、メインアンテナ(図示せず)及びRF回路部(図示せず)等を備える。通信部15は、所定の使用周波数帯で基地局等の外部装置と通信を行う。具体的には、通信部15は、受信した信号を復調処理し、処理後の信号を制御部17に供給する。また、通信部15は、制御部17から供給された信号を変調処理して外部装置(基地局)に送信する。
The
記憶部16は、例えば、ワーキングメモリを含み、制御部17による演算処理に利用される。また、記憶部16は、携帯電話機1の内部で動作するアプリケーションやデータベースを記憶する。なお、記憶部16は、着脱可能な外部メモリを兼ねていても良い。
The
制御部17は、携帯電話機1の全体を制御しており、表示部11及び通信部15に対して制御を行う。
The
このように構成される携帯電話機1は、文章を容易に編集する機能を有する。以下に、携帯電話機1に係る上記機能を発揮するための構成と動作について詳述する。
なお、本実施例では、文字とは、ひらがな、カタカナ、漢字、英数字、単位記号、ギリシャ文字、絵文字等を含む概念であって、文字コードが割り当てられているものをいう。また、文字とは、単一の文字だけでなく、複数の文字からなる文字列も含む概念である。
また、画像とは、所定の画像フォーマット(例えば、PNGやGIF等)で作成されたデコレーション絵文字等の画像であって、文字コードが割り当てられていないものをいう。また、画像とは、単一の画像だけでなく、複数の画像からなる画像列も含む概念である。
また、文字と画像とは、文字コードが割り当てられているか否かが異なる。
The mobile phone 1 configured as described above has a function of easily editing a sentence. Below, the structure and operation | movement for exhibiting the said function which concerns on the mobile telephone 1 are explained in full detail.
In this embodiment, a character is a concept including hiragana, katakana, kanji, alphanumeric characters, unit symbols, Greek characters, pictograms, etc., and is assigned a character code. The character is a concept including not only a single character but also a character string composed of a plurality of characters.
An image refers to an image such as a decoration pictogram created in a predetermined image format (for example, PNG, GIF, etc.), to which no character code is assigned. The image is a concept including not only a single image but also an image sequence including a plurality of images.
Further, the character and the image are different depending on whether or not a character code is assigned.
携帯電話機1は、上述したように、表示部11と、検出部12と、制御部17を備える。検出部12は、表示部11に対する接触を検出する。
制御部17は、検出部12により表示部11に対する接触を検出した場合、当該接触に基づいて、表示部11に表示されている文字又は画像を削除する機能を有している。さらに、制御部17は、表示部11上の第1の位置P1及び第2の位置P2に対する接触が検出部12により検出された場合に、第1の位置P1から第2の位置P2までの範囲Rに含まれている文字又は画像の中から、所定の文字又は所定の画像を削除する。
As described above, the mobile phone 1 includes the
When the
具体的には、制御部17は、図3(a)に示すように、文章作成領域Aにおいて、第1の位置P1と第2の位置P2が接触されたことを契機として、第1の位置P1と第2の位置P2の間に含まれている文章(図3(a)に示す例では、「よう(絵文字)今」)において、所定の文字又は画像(図3(a)に示す例では、C1)を削除する(図3(b)を参照)。なお、文章作成領域Aは、文字や記号や画像等を入力して文章を作成するための領域であって、メモ帳アプリケーションや、メールアプリケーション等を起動することにより、表示部11に表示される領域である。
なお、上述では、所定の文字C1のみを削除するものとして説明したが(図3を参照)、これに限られず、第1の位置P1から第2の位置P2までの範囲Rに含まれている文字(ひらがな、カタカナ、記号等を含む)や画像のすべてを削除しても良い。よって、表示部11には、「よう(絵文字)今」が削除されて「おは日は」が表示されることになる。
Specifically, as shown in FIG. 3A, the
In the above description, it is assumed that only the predetermined character C1 is deleted (see FIG. 3). However, the present invention is not limited to this and is included in the range R from the first position P1 to the second position P2. You may delete all characters (including hiragana, katakana, symbols, etc.) and images. Therefore, “you (pictogram) now” is deleted on the
このようにして、携帯電話機1は、文章を容易な操作によって編集することができる。なお、第1の位置P1と第2の位置P2の接触は、同時に行われても良いし、時間差があっても良い。 In this way, the mobile phone 1 can edit a sentence by an easy operation. The contact between the first position P1 and the second position P2 may be performed at the same time or there may be a time difference.
また、上述では、電子機器の一実施形態に係る携帯電話機1の構成と動作について説明したが、これに限られず、各構成要素を備え、文章を容易に編集するための制御方法や、制御プログラムとして構成されても良い。 In the above description, the configuration and operation of the mobile phone 1 according to an embodiment of the electronic device have been described. However, the present invention is not limited thereto, and includes a control method and a control program for easily editing a sentence including each component. It may be configured as.
また、制御部17は、第1の位置P1から第2の位置P2までの範囲Rに含まれている文字の中から、所定の文字種の文字を削除する構成でも良い。
ここで、文字種とは、ひらがな、カタカナ、半角英字、記号、英数字、単位記号、ギリシャ文字等をいい、さらに、所定の画像フォーマット(例えば、PNGやGIF等)の絵文字を含む概念である。また、本実施例において所定の文字種とは、句読点やスペース等の記号と、所定の画像フォーマットの絵文字を想定するが、特にこれに限られない。
よって、携帯電話機1は、所定の文字種を含む文章を作成した後に、簡易な操作によって、指定した範囲に含まれている所定の文字種を削除することができる。
The
Here, the character type refers to hiragana, katakana, half-width English, symbols, alphanumeric characters, unit symbols, Greek characters, and the like, and further includes a pictograph of a predetermined image format (for example, PNG, GIF, etc.). In the present embodiment, the predetermined character type is assumed to be a symbol such as a punctuation mark or a space, and a pictograph of a predetermined image format, but is not limited thereto.
Therefore, the mobile phone 1 can delete the predetermined character type included in the specified range by a simple operation after creating a sentence including the predetermined character type.
また、制御部17は、第1の位置P1から第2の位置P2までの範囲Rに含まれている文字の中から、第1の位置P1及び第2の位置P2に対応して表示される文字の文字種とは異なる文字種の文字を削除する構成でも良い。
Further, the
具体的には、制御部17は、図4に示すように、所定の操作に応じて、第1の位置P1及び第2の位置P2に対応して表示される文字の文字種(図4(a)に示す例では、平仮名)とは異なる文字種の文字(図4(a)に示す例では、C1)を削除する。
Specifically, as shown in FIG. 4, the
よって、携帯電話機1は、様々な文字種を含む文章を作成した後に、簡易な操作によって、指定した範囲に含まれている特定の文字種の文字を削除することができる。 Therefore, the mobile phone 1 can delete a character of a specific character type included in the designated range by a simple operation after creating a sentence including various character types.
また、制御部17は、第1の位置P1から第2の位置P2までの範囲Rに含まれている画像の中から、一又は複数の画像のすべてを削除する構成であっても良い。
よって、携帯電話機1は、画像を含む文章を作成した後に、簡易な操作によって、指定した範囲にある画像を削除することができる。
The
Therefore, the mobile phone 1 can delete an image in the designated range by a simple operation after creating a sentence including the image.
また、制御部17は、第1の位置P1から第2の位置P2までの範囲Rに含まれている文字又は画像の中から、第1の位置P1及び第2の位置P2に対応して表示される文字又は画像を除外して、所定の文字又は所定の画像を削除する構成であっても良い。
Further, the
具体的には、制御部17は、図5(a)に示すように、文章作成領域Aにおいて、第1の位置P1と第2の位置P2が接触されたことを契機として、第1の位置P1と第2の位置P2の間に含まれている文章(図5(a)に示す例では、P1からP2までの範囲Rの文章)において、第1の位置P1に対応する文字(図5(a)に示す例では、C1)と、第2の位置P2に対応する文字(図5(a)に示す例では、C3)を除外し、所定の文字等を削除する(図5(a)に示す例では、C2)を削除する(図5(b)を参照)。
Specifically, as illustrated in FIG. 5A, the
よって、携帯電話機1は、画像を含む文章を作成した後に、簡易な操作によって、指定した範囲にある画像を削除することができる。 Therefore, the mobile phone 1 can delete an image in the designated range by a simple operation after creating a sentence including the image.
また、制御部17は、第1の位置P1に対する接触が検出されてから、当該接触が維持された状態で、第1の位置P1から第2の位置P2への接触の移動が検出された場合、第1の位置P1から第2の位置P2までの範囲に含まれている文字又は画像の中から、所定の文字又は所定の画像を削除する構成であっても良い。
Further, the
具体的には、制御部17は、図6(a)、(b)に示すように、文章作成領域Aにおいて、いわゆるシングルタッチにより、第1の位置P1から第2の位置P2までの範囲Rを摺動操作(スイープ操作)が行われたことに応じて、所定の文字等(図6(a)に示す例では、C1)を削除する。
Specifically, as shown in FIGS. 6A and 6B, the
よって、携帯電話機1は、文章を作成した後に、直感的な操作によって、所定の文字又は所定の画像を削除することができる。 Therefore, the mobile phone 1 can delete a predetermined character or a predetermined image by intuitive operation after creating a sentence.
また、制御部17は、第1の位置P1及び第2の位置P2に対する接触が検出されてから、当該接触が維持された状態で、第1の位置P1から第2の位置P2の方向への接触の移動が検出された場合、第1の位置P1から第2の位置P2までの範囲Rに含まれている文字又は画像の中から、所定の文字又は所定の画像を削除する構成でも良い。
Further, the
具体的には、制御部17は、文章作成領域Aにおいて、任意の場所が二箇所接触されたことに応じて、第1の位置P1及び第2の位置P2を設定し、その後、第1の位置P1から第2の位置P2の方向への接触が検出されたことに応じて、所定の文字等を削除する。なお、接触方向は、第1の位置P1から第2の位置P2の方向以外でも良く、第2の位置P2から第1の位置P1への方向への接触でも良い。
Specifically, the
このようにして、携帯電話機1は、文章を作成した後に、直感的な操作によって、所定の文字又は所定の画像を削除することができる。 In this way, the mobile phone 1 can delete a predetermined character or a predetermined image by intuitive operation after creating a sentence.
また、制御部17は、第1の位置P1及び第2の位置P2に対する接触が検出されてから、当該接触が維持された状態で、第1の位置P1から第2の位置P2の方向への接触の移動及び第2の位置P2から第1の位置P1の方向への接触の移動が検出された場合、第1の位置P1から第2の位置P2までの範囲Rに含まれている文字又は画像の中から、所定の文字又は所定の画像を削除する構成でも良い。
Further, the
具体的には、制御部17は、図7(a)、(b)に示すように、文章作成領域Aにおいて、任意の場所が二箇所接触されたことに応じて、第1の位置P1及び第2の位置P2を設定し、その後、マルチタッチ(ダブルタッチ)により、第1の位置P1から第2の位置P2までの範囲Rを挟み込む操作(摘むような操作)が行われたことに応じて、所定の文字等を削除する。
Specifically, as illustrated in FIGS. 7A and 7B, the
このようにして、携帯電話機1は、文章を作成した後に、直感的な操作によって、所定の文字又は所定の画像を削除することができる。 In this way, the mobile phone 1 can delete a predetermined character or a predetermined image by intuitive operation after creating a sentence.
また、制御部17は、第1の位置P1から第2の位置P2までの範囲Rに含まれている文字又は画像の中から、所定の文字又は所定の画像を削除した場合、当該削除された所定の文字又は所定の画像が表示されていた位置に文字又は画像の入力が可能であることを示す情報を表示する構成でも良い。
Further, when the
具体的には、制御部17は、図8に示すように、所定の操作に応じて所定の文字又は所定の画像を削除した場合、その削除した部分に、新たな文字又は画像の入力用のカーソル(図8中のX)を表示する。
Specifically, as shown in FIG. 8, when a predetermined character or a predetermined image is deleted in response to a predetermined operation, the
したがって、携帯電話機1は、所定の文字又は画像を削除した後に、新たな文字又は画像を挿入するためのカーソルを、適切な位置に表示することができる。 Therefore, the mobile phone 1 can display a cursor for inserting a new character or image at an appropriate position after deleting a predetermined character or image.
また、制御部17は、第1の位置P1から第2の位置P2までの範囲Rに含まれている文字又は画像の中から、所定の文字又は所定の画像を削除した場合、当該削除された所定の文字又は所定の画像が表示されていた位置に入力が可能な一又は複数の文字又は画像を入力候補として表示部11に表示する構成でも良い。
また、入力候補は、削除された所定の文字又は所定の画像に関連する文字又は画像を含む構成でも良い。
Further, when the
In addition, the input candidate may include a deleted character or a character or image related to a predetermined image.
具体的には、制御部17は、所定の文字として笑顔の絵文字を削除した場合、その入力候補として、笑顔の絵文字に関連する絵文字(もっと大きな笑顔の絵文字や、泣き顔の絵文字や、困った顔の絵文字等)をポップアップで表示する(図9を参照)。制御部17は、この入力候補の中から選択された絵文字が、削除した位置に挿入される。なお、この選択操作は、ポップアップで表示されている入力候補をユーザが指でタッチすることにより行われても良い。
Specifically, when the smiley pictogram is deleted as a predetermined character, the
したがって、携帯電話機1は、所定の文字又は画像を削除した後に、入力候補を表示するので、簡易な操作により、削除した位置に他の文字又は画像を入力することができる。 Therefore, since the mobile phone 1 displays input candidates after deleting a predetermined character or image, it is possible to input another character or image at the deleted position by a simple operation.
また、制御部17は、第1の位置P1から第2の位置P2までの範囲Rに含まれている文字又は画像の中から、所定の文字又は所定の画像を削除してから所定時間以内に、再び第1の位置P1及び第2の位置P2に対する接触が検出された場合、削除された所定の文字又は所定の画像を再表示する構成でも良い。
Further, the
携帯電話機1によれば、一度、所定の文字又は画像を削除しても、所定時間が経過するまでは、当該削除を確定させず、所定時間が経過することにより、当該削除が確定する。したがって、携帯電話機1は、所定の文字又は所定の画像を削除した後も、所定時間が経過する前に、再び第1の位置P1及び第2の位置P2に対する接触を検出した場合、削除された文字又は画像を元の位置に再表示するので、ユーザの操作負担を軽減し、メモリ負担を最小にして、削除した文字又は画像を再表示することができる。 According to the mobile phone 1, even if a predetermined character or image is deleted once, the deletion is not confirmed until a predetermined time elapses, and the deletion is confirmed when the predetermined time elapses. Therefore, the mobile phone 1 is deleted when it detects contact with the first position P1 and the second position P2 again after a predetermined time elapses after the predetermined character or the predetermined image is deleted. Since the character or image is displayed again at the original position, the operation load on the user can be reduced, the memory load can be minimized, and the deleted character or image can be displayed again.
ここで、携帯電話機1の動作の流れについて、図10に示すフローチャートを参照しながら説明する。なお、以下では、編集可能な文章が表示されている表示部11に対して、任意の2箇所をユーザが指で接触した状態を想定して説明する。
Here, the flow of the operation of the mobile phone 1 will be described with reference to the flowchart shown in FIG. In the following description, it is assumed that the user touches any two places with the finger on the
ステップST1において、検出部12は、タッチイベントを検出し、制御部17に通知する。
In step ST1, the
ステップST2において、制御部17は、2点間の文章中に所定の文字種の文字(以下、所定の文字という。)が存在するかどうかを確認する。
In step ST2, the
ステップST3において、制御部17は、ステップST2の工程により、所定の文字が存在するかどうかを判断する。所定の文字が存在する場合(Yes)には、ステップST4に進み、所定の文字が存在しない場合(No)には、処理を終了する。
In step ST3, the
ステップST4において、制御部17は、所定の文字が複数含まれているか否かを判断する。所定の文字が複数含まれていると判断した場合(Yes)には、ステップST6に進み、所定の文字が複数含まれていないと判断した場合(No)、すなわち所定の文字が一つのみの場合には、ステップST5に進む。
In step ST4, the
ステップST5において、制御部17は、所定の文字を削除する。
In step ST5, the
ステップST6において、制御部17は、ステップST2の工程で検出した2点間の位置(第1の位置P1と第2の位置P2)に対応する文字を検出する。
In step ST6, the
ステップST7において、制御部17は、第1の位置P1から第2の位置P2の範囲Rに含まれている所定の文字をすべて削除する。
In step ST7, the
例えば、携帯電話機1は、図11に示すように、文章作成領域Aにおいて、第1の位置P1と第2の位置P2が接触され、第1の位置P1と第2の位置P2の間に含まれている文章において、所定の画像が複数含まれていた場合(図11(a)に示す例では、C1、C2)、その画像をすべて削除する(図11(b)を参照)。 For example, as shown in FIG. 11, the mobile phone 1 includes the first position P <b> 1 and the second position P <b> 2 in the sentence creation area A, and is included between the first position P <b> 1 and the second position P <b> 2. When a plurality of predetermined images are included in the text (C1 and C2 in the example shown in FIG. 11A), all the images are deleted (see FIG. 11B).
このようにして、携帯電話機1は、文章を作成した後に、直感的な操作によって、所定の文字種の文字を削除することができる。 In this way, the mobile phone 1 can delete a character of a predetermined character type by intuitive operation after creating a sentence.
また、以下に携帯電話機1の主な作用及び効果について列挙する。
携帯電話機1は、自動的又は、手動で入力された絵文字を削除したい場合は、削除したい絵文字の左右の単語を指でタップ(接触)して、絵文字を挟み込んでつぶすような操作を行うことで、絵文字を削除することができる。
The main actions and effects of the mobile phone 1 are listed below.
When the mobile phone 1 wants to delete a pictograph entered automatically or manually, it taps (touches) the left and right words of the pictograph to be deleted with a finger, and performs an operation such that the pictograph is sandwiched and crushed. , You can delete the emoji.
また、携帯電話機1は、上述したように、所定の操作によって第1の位置P1から第2の位置P2までの範囲Rが指定されたことを契機として、所定の文字種の記号等を削除する機能を有している。
また、携帯電話機1は、ユーザにより入力された文章だけでなく、ブラウザ機能等により表示された文章を取り込んで編集することもできる。
In addition, as described above, the mobile phone 1 has a function of deleting a symbol or the like of a predetermined character type when a range R from the first position P1 to the second position P2 is specified by a predetermined operation. have.
Further, the mobile phone 1 can capture and edit not only the text input by the user but also the text displayed by the browser function or the like.
また、携帯電話機1は、第1の位置P1から第2の位置P2までの範囲Rにおいて、所定の文字種が割り当てられている平仮名等の間に、当該文字種とは異なる文字種が割り当てられている記号が挟まれている場合、所定の操作を契機として、当該記号を削除する構成でも良い。なお、記号には、スペースや句読点等が該当する。 Further, the mobile phone 1 has a symbol assigned a character type different from the character type between hiragana and the like to which a predetermined character type is assigned in the range R from the first position P1 to the second position P2. In the case where the symbol is sandwiched, the symbol may be deleted in response to a predetermined operation. In addition, a space, a punctuation mark, etc. correspond to a symbol.
また、携帯電話機1は、デコレーションメールにおけるデコレーション絵文字を削除する場合には、文字種ではない拡張子つきのデータ(例えば、「abc.gif」)が削除の対象になっても良い。 In addition, when the mobile phone 1 deletes a decoration pictogram in a decoration mail, data with an extension that is not a character type (for example, “abc.gif”) may be a deletion target.
また、携帯電話機1は、タップで挟まれることにより、第1の位置P1から第2の位置P2までの範囲Rの文章をスキャンすることにより、削除対象(文字又は画像)が含まれていると判断した際に、その削除対象を削除する構成でも良い。 In addition, the mobile phone 1 includes a deletion target (character or image) by scanning a sentence in a range R from the first position P1 to the second position P2 by being sandwiched between taps. When it is determined, the configuration may be such that the deletion target is deleted.
また、携帯電話機1は、第1の位置P1に対応する文字から第2の位置P2に対応する文字への摺動操作の他に、第1の位置P1に対応する文字と第2の位置P2に対応する文字をタップする動作を契機として、第1の位置P1から第2の位置P2までの範囲Rに含まれている削除対象の文字等を削除する構成でも良い。 In addition to the sliding operation from the character corresponding to the first position P1 to the character corresponding to the second position P2, the mobile phone 1 has the character corresponding to the first position P1 and the second position P2. The configuration may be such that the character to be deleted, etc. included in the range R from the first position P1 to the second position P2 is deleted with the operation of tapping the character corresponding to.
また、携帯電話機1は、所定の操作によって文字等を削除後、削除された部分にカーソルを表示することで、次の絵文字や記号の入力が可能となる構成でも良い。 In addition, the mobile phone 1 may be configured such that after a character or the like is deleted by a predetermined operation, a cursor is displayed on the deleted portion so that the next pictogram or symbol can be input.
また、携帯電話機1は、このとき、つぶした感触を指に与えるために指に対する触感を加える構成でも良く、また、つぶす操作をしてから一定時間の間に、指を広げる操作を行うことで、削除した絵文字や文章を復元する構成でも良い。 At this time, the mobile phone 1 may be configured to add a touch to the finger in order to give the finger a crushed feeling, or by performing an operation to spread the finger within a certain time after the crushing operation. The configuration may be such that the deleted pictograph or sentence is restored.
また、携帯電話機1は、挿入した絵文字を削除した後に、絵文字の一覧を表示することで削除前にあった絵文字とは異なる絵文字をスムーズに挿入する構成でも良い。 The mobile phone 1 may be configured to smoothly insert a pictograph that is different from the pictograph that was present before the deletion by displaying a list of pictographs after deleting the inserted pictograph.
また、携帯電話機1は、自動的に挿入された絵文字を削除した場合は、次候補の絵文字が文章中に表示される構成でも良い。 Further, the mobile phone 1 may be configured such that the next candidate pictogram is displayed in the sentence when the automatically inserted pictogram is deleted.
1 携帯電話機
10 タッチパネル
11 表示部
12 検出部
17 制御部
DESCRIPTION OF SYMBOLS 1
Claims (14)
前記表示部に対する接触を検出する検出部と、
前記検出部により前記表示部に対する接触を検出した場合、当該接触に基づいて、前記表示部に表示されている文字又は画像を削除する制御部を備え、
前記制御部は、前記表示部上の第1の位置及び第2の位置に対する接触が同時に前記検出部により検出された場合に、前記第1の位置から前記第2の位置までの範囲に含まれている文字又は画像の中から、所定の文字又は所定の画像を削除する電子機器。 A display unit;
A detection unit for detecting contact with the display unit;
When the contact with the display unit is detected by the detection unit, based on the contact, a control unit that deletes characters or images displayed on the display unit,
The control unit is included in a range from the first position to the second position when contact with the first position and the second position on the display unit is simultaneously detected by the detection unit. An electronic device that deletes a predetermined character or a predetermined image from existing characters or images.
前記検出工程により検出された前記表示部に対する接触に基づいて、前記表示部に表示されている文字又は画像を削除する制御工程を備え、
前記制御工程は、前記表示部に文字又は画像が表示されている状態において、前記検出工程により前記表示部上の第1の位置及び第2の位置に対する接触が同時に検出された場合に、前記第1の位置から前記第2の位置までの範囲に含まれている文字又は画像の中から、所定の文字又は所定の画像を削除する文章編集方法。 A detection step of detecting contact with the display unit;
A control step of deleting characters or images displayed on the display unit based on contact with the display unit detected by the detection step;
In the state where characters or images are displayed on the display unit, the control step includes the first step when the detection step detects contact with the first position and the second position on the display unit at the same time. A sentence editing method for deleting a predetermined character or a predetermined image from characters or images included in a range from a position of 1 to the second position.
前記検出工程により検出された前記表示部に対する接触に基づいて、前記表示部に表示されている文字又は画像を削除する制御工程をコンピュータによって実現するための制御プログラムであって、
前記制御工程は、前記表示部に文字又は画像が表示されている状態において、前記検出工程により前記表示部上の第1の位置及び第2の位置に対する接触が同時に検出された場合に、前記第1の位置から前記第2の位置までの範囲に含まれている文字又は画像の中から、所定の文字又は所定の画像を削除する制御プログラム。 A detection step of detecting contact with the display unit;
A control program for realizing, by a computer, a control step of deleting characters or images displayed on the display unit based on contact with the display unit detected by the detection step,
In the state where characters or images are displayed on the display unit, the control step includes the first step when the detection step detects contact with the first position and the second position on the display unit at the same time. A control program for deleting a predetermined character or a predetermined image from a character or an image included in a range from one position to the second position.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015022145A JP6001703B2 (en) | 2015-02-06 | 2015-02-06 | Electronic device, text editing method and control program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015022145A JP6001703B2 (en) | 2015-02-06 | 2015-02-06 | Electronic device, text editing method and control program |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011163589A Division JP5695999B2 (en) | 2011-07-26 | 2011-07-26 | Electronic device, text editing method and control program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2015135681A true JP2015135681A (en) | 2015-07-27 |
JP6001703B2 JP6001703B2 (en) | 2016-10-05 |
Family
ID=53767426
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2015022145A Expired - Fee Related JP6001703B2 (en) | 2015-02-06 | 2015-02-06 | Electronic device, text editing method and control program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6001703B2 (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007293820A (en) * | 2006-04-25 | 2007-11-08 | Lg Electronics Inc | Terminal machine and method for controlling terminal machine equipped with touch screen |
JP2008027082A (en) * | 2006-07-19 | 2008-02-07 | Fujitsu Ltd | Handwriting input device, handwriting input method and computer program |
JP2008250708A (en) * | 2007-03-30 | 2008-10-16 | Sanyo Electric Co Ltd | Input character string prediction apparatus and input character string prediction program |
WO2010109263A1 (en) * | 2009-03-27 | 2010-09-30 | Sony Ericsson Mobile Communications Ab | System and method for touch-based text entry |
JP2010277545A (en) * | 2009-06-01 | 2010-12-09 | Panasonic Corp | Character input device and character conversion method |
-
2015
- 2015-02-06 JP JP2015022145A patent/JP6001703B2/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007293820A (en) * | 2006-04-25 | 2007-11-08 | Lg Electronics Inc | Terminal machine and method for controlling terminal machine equipped with touch screen |
JP2008027082A (en) * | 2006-07-19 | 2008-02-07 | Fujitsu Ltd | Handwriting input device, handwriting input method and computer program |
JP2008250708A (en) * | 2007-03-30 | 2008-10-16 | Sanyo Electric Co Ltd | Input character string prediction apparatus and input character string prediction program |
WO2010109263A1 (en) * | 2009-03-27 | 2010-09-30 | Sony Ericsson Mobile Communications Ab | System and method for touch-based text entry |
JP2010277545A (en) * | 2009-06-01 | 2010-12-09 | Panasonic Corp | Character input device and character conversion method |
Also Published As
Publication number | Publication date |
---|---|
JP6001703B2 (en) | 2016-10-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11762547B2 (en) | Portable electronic device for instant messaging | |
US20220221985A1 (en) | Portable Touch Screen Device, Method, and Graphical User Interface for Using Emoji Characters | |
JP5757815B2 (en) | Electronic device, text editing method and control program | |
US10007426B2 (en) | Device, method, and graphical user interface for performing character entry | |
US8605039B2 (en) | Text input | |
US9690474B2 (en) | User interface, device and method for providing an improved text input | |
US9740400B2 (en) | Electronic device and method for character deletion | |
CN114564113A (en) | Handwriting input on electronic devices | |
KR20150049700A (en) | Method and apparautus for controlling input in portable device | |
US20130002575A1 (en) | Character input device | |
KR20160009054A (en) | Multiple graphical keyboards for continuous gesture input | |
US20110227844A1 (en) | Method and apparatus for inputting character in portable terminal | |
EP2722741A2 (en) | Apparatus and method for providing user interface providing keyboard layout | |
CN102346625A (en) | Mobile terminal (MT) and searching method thereof | |
KR101671797B1 (en) | Handheld device and input method thereof | |
US20130091455A1 (en) | Electronic device having touchscreen and character input method therefor | |
JP5695999B2 (en) | Electronic device, text editing method and control program | |
JP6001703B2 (en) | Electronic device, text editing method and control program | |
US20200356248A1 (en) | Systems and Methods for Providing Continuous-Path and Delete Key Gestures at a Touch-Sensitive Keyboard | |
KR101653102B1 (en) | Method for inputting korean/english/number/symbol characters using simplified qwerty software keypad | |
CN113076010B (en) | Input method, input device, electronic equipment and medium | |
US20240143165A1 (en) | Content control system | |
KR20090016209A (en) | Method for inputting a character, and apparatus for implementing the same | |
KR20170075904A (en) | A software keyboard for mobile devices for comprising additional service | |
KR20180122866A (en) | Apparatus and method for editing text |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20160209 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20160411 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20160517 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20160714 |
|
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: 20160809 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20160901 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6001703 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |