JPH0552953U - Electronics - Google Patents

Electronics

Info

Publication number
JPH0552953U
JPH0552953U JP9923391U JP9923391U JPH0552953U JP H0552953 U JPH0552953 U JP H0552953U JP 9923391 U JP9923391 U JP 9923391U JP 9923391 U JP9923391 U JP 9923391U JP H0552953 U JPH0552953 U JP H0552953U
Authority
JP
Japan
Prior art keywords
cursor
unit
character
document
input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP9923391U
Other languages
Japanese (ja)
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.)
Sanyo Electric Co Ltd
Original Assignee
Tottori Sanyo Electric Co Ltd
Sanyo Electric Co 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 Tottori Sanyo Electric Co Ltd, Sanyo Electric Co Ltd filed Critical Tottori Sanyo Electric Co Ltd
Priority to JP9923391U priority Critical patent/JPH0552953U/en
Publication of JPH0552953U publication Critical patent/JPH0552953U/en
Pending legal-status Critical Current

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

(57)【要約】 【目的】 本考案は一行中の最右端文字(スペースを除
く)位置の右隣に速やかにカーソルを移動させることが
可能な電子機器を提供することを目的とする。 【構成】 文書を表示する表示部(6)と、該表示部
(6)上におけるカーソル位置を記憶するカーソル位置
記憶部(7)と、特定キー(3)を有する入力部(2)
と、上記特定キー(3)が入力されるとカーソル位置記
憶部(7)中の位置情報に基づいて現在カーソルが位置
する行中の最右端に位置する文字(スペースは除く)位
置を検出すると共に斯る検出位置の右隣を示す位置情報
に上記カーソル位置記憶部(7)の内容を変更する主制
御部(1)とを備える。
(57) [Summary] [Object] An object of the present invention is to provide an electronic device capable of promptly moving the cursor to the right of the rightmost character position (excluding spaces) in a line. [Arrangement] A display unit (6) for displaying a document, a cursor position storage unit (7) for storing a cursor position on the display unit (6), and an input unit (2) having a specific key (3).
When the specific key (3) is input, the position of the character (excluding space) at the rightmost end of the line where the cursor is currently located is detected based on the position information in the cursor position storage unit (7). At the same time, a main controller (1) for changing the contents of the cursor position memory (7) to position information indicating the right side of the detected position is provided.

Description

【考案の詳細な説明】[Detailed description of the device]

【0001】[0001]

【産業上の利用分野】[Industrial application]

本考案は電子機器に関する。 The present invention relates to an electronic device.

【0002】[0002]

【従来の技術】[Prior Art]

従来よりオペレータがタブ設定を行わなくとも自動的に数桁毎にタブを設定可 能な装置や、1行の入力可能文字数が設定されるとその両端にタブを設定する装 置(例えば特開昭59−65339号公報参照)が知られている。 Conventionally, a device that can automatically set tabs every several digits without an operator performing tab setting, or a device that sets tabs at both ends when the number of characters that can be entered in one line is set (for example, Japanese Patent Laid-Open No. 2000-242242) JP-A-59-65339) is known.

【0003】 この機能は、一般的にワードプロセッサ機能を備えた電子機器に採用され、行 の文頭、文末にカーソルを移動させる際には非常に便利である。This function is generally adopted in electronic devices having a word processor function, and is very convenient when moving the cursor to the beginning or end of a sentence.

【0004】[0004]

【考案が解決しようとする課題】[Problems to be solved by the device]

ところでこのようなタブ機能は基本的にはオペレータが所望する位置にカーソ ルを速やかに移動させ入力速度を向上させるためのものである。 By the way, such a tab function is basically for quickly moving the cursor to a position desired by the operator to improve the input speed.

【0005】 この様な所望位置とは、各行における最終文字位置(横書文書の場合、最右端 の文字位置)となる場合が多いが、必ずしもこの位置が上述したような所定間隔 位置や文頭、文末位置と一致するものではなく、逆に一致しないケースの方が多 く発生する。このため従来のようなタブ位置を用いて上記所望位置までカーソル を移動させようとする場合には、まずタブ機能を用いて上記所望位置近傍のタブ 位置まで一旦移動せしめ、その後カーソル移動キーを用いて一文字分ずつカーソ ルを移動させる必要があり、大変不便であった。Such a desired position is often the final character position in each line (the rightmost character position in the case of a horizontally written document), but this position is not always the predetermined spacing position or the beginning of a sentence as described above. In many cases, the position does not match the end position of the sentence, but does not match the position at the end of the sentence. Therefore, when trying to move the cursor to the desired position using the conventional tab position, first use the tab function to move once to the tab position near the desired position, and then use the cursor movement key. It was necessary to move the cursor one character at a time, which was very inconvenient.

【0006】[0006]

【課題を解決するための手段】[Means for Solving the Problems]

本考案は斯る点に鑑みてなされたもので、その構成的特徴は、文書が格納され たテキストメモリと、該メモリ中の文書を表示する表示部と、該表示部上の特定 位置を指示するためのカーソル位置を記憶するカーソル位置記憶部と、特定キー を有する入力部と、上記各部を制御する主制御部とを備え、該主制御部は上記入 力部より上記特定キーが入力されると、上記カーソル位置記憶部中の位置情報に 基づいてカーソルが位置する文書の一行中の最終文字位置を判定すると共にこの 判定結果に基づいて上記カーソル位置記憶部中の位置情報を変更することにある 。 The present invention has been made in view of the above point, and its structural features are a text memory in which a document is stored, a display unit for displaying the document in the memory, and a specific position on the display unit. A cursor position storage section for storing a cursor position for inputting, a input section having a specific key, and a main control section for controlling each of the above sections are provided, and the main control section receives the specific key from the input section. Then, the final character position in one line of the document where the cursor is located is determined based on the position information in the cursor position storage unit, and the position information in the cursor position storage unit is changed based on the determination result. It is in .

【0007】[0007]

【作用】[Action]

斯る構成によれば、一行中の最終文字位置にカーソルを速やかに移動できる。 According to such a configuration, the cursor can be quickly moved to the last character position in one line.

【0008】[0008]

【実施例】【Example】

図1は本考案の実施例を示すブロック図であり、図中(1)は例えばマイクロ コンピュータからなる主制御部であり、該主制御部は内蔵の制御プログラムに基 づいて以下で説明する各部の制御を司る。 FIG. 1 is a block diagram showing an embodiment of the present invention. In the figure, (1) is a main control unit composed of, for example, a microcomputer, and the main control unit is described below based on a built-in control program. Control the.

【0009】 (2)は入力部であり、該入力部は文字、記号等を入力するための文字キー( 図示せず)やカーソル移動を指示するカーソルキー(図示せず)の他に特定キー (3)を備える。(4)はテキストメモリであり、該メモリには文書が行単位で 格納される。(5)は一行バッファであり、該バッファは上記テキストメモリ( 4)中の文書の一行分を格納可能である。(6)はCRTもしくはLCD等から なる表示部、(7)はカーソル位置記憶部であり、該記憶部には上記表示部(6 )に表示されるカーソルの表示位置を示す情報が格納される。(8)は表示制御 部であり、該表示制御部は主制御部(1)より出力されるテキストメモリ(4) 中の文書を表示部(6)に表示すると共にカーソル位置記憶部(7)中の位置情 報に基づいて表示部(6)上にカーソルを表示する。(2) is an input unit, which is a specific key in addition to a character key (not shown) for inputting characters, symbols, etc., a cursor key (not shown) for instructing cursor movement, (3) is provided. (4) is a text memory in which documents are stored line by line. (5) is a one-line buffer, and the buffer can store one line of the document in the text memory (4). (6) is a display unit including a CRT or LCD, and (7) is a cursor position storage unit, and the storage unit stores information indicating the display position of the cursor displayed on the display unit (6). .. Reference numeral (8) is a display control unit, which displays the document in the text memory (4) output from the main control unit (1) on the display unit (6) and also at the cursor position storage unit (7). A cursor is displayed on the display unit (6) based on the position information inside.

【0010】 図2は、上記制御プログラムに基づく主制御部(1)の制御動作を示すフロー チャートであり、以下ではこのチャートに基づいて本実施例の動作を説明する。FIG. 2 is a flow chart showing the control operation of the main control unit (1) based on the above control program, and the operation of this embodiment will be described below based on this chart.

【0011】 まず、電源が投入され、入力部等よりテキストメモリ(4)中の文書を表示部 (6)に表示する旨の指示があると、主制御部(1)はテキストメモリ(4)か ら文書を読出し図3に例示する如く表示制御部(8)を介して表示部(6)に表 示させる。尚、図3における左右端の菱形は1行中の文字数を規定する左右マー ジンマークであり、かつドット「・」はスペースを示す。また、このとき主制御 部(1)は表示部(6)に表示された文書の先頭文字位置をカーソルの表示位置 とすべく、この位置を示す情報をカーソル位置記憶部(7)に格納する。この結 果、図3に示す如く表示部(6)に表示された文書の先頭文字「A」の位置にカ ーソル(10)が表示される。First, when the power is turned on and an instruction to display a document in the text memory (4) on the display unit (6) is given from the input unit or the like, the main control unit (1) causes the text memory (4) to be displayed. The document is read from this and displayed on the display unit (6) through the display control unit (8) as illustrated in FIG. The diamonds at the left and right ends in FIG. 3 are left and right margin marks that define the number of characters in one line, and the dot “•” indicates a space. At this time, the main control unit (1) stores information indicating this position in the cursor position storage unit (7) so that the position of the first character of the document displayed on the display unit (6) becomes the display position of the cursor. .. As a result, the cursor (10) is displayed at the position of the first character "A" of the document displayed on the display unit (6) as shown in FIG.

【0012】 その後、主制御部(1)はS2ステップにおいて入力部(2)からの入力を待 ち、入力があると続くS3ステップにおいて入力されたキーが特定キー(3)で あるか否かを判定する。この判定において特定キー(3)でないと判定すると処 理をS4ステップに進める。After that, the main control unit (1) waits for an input from the input unit (2) in step S2, and if there is an input, it is determined whether or not the key input in the subsequent step S3 is the specific key (3). To judge. If it is determined in this determination that the key is not the specific key (3), the process proceeds to step S4.

【0013】 S4ステップでは、入力部(2)より入力されたキーは文字キーもしくはカー ソルキーであると判定して、従来周知の文書入力処理もしくはカーソル移動処理 を行ない、処理をS2ステップに戻す。In step S4, it is determined that the key input from the input unit (2) is a character key or cursor key, and conventionally known document input processing or cursor movement processing is performed, and the processing is returned to step S2.

【0014】 一方、S3ステップにおいて特定キー(3)と判定すると、処理をS5ステッ プに進める。On the other hand, if it is determined that the key is the specific key (3) in step S3, the process proceeds to step S5.

【0015】 S5ステップでは、カーソル位置記憶部(7)中の位置情報に基づいて、現在 カーソル(10)が位置する文書中の一行分のデータをテキストメモリ(4)よ り読出し一行バッファ(5)に格納する。具体的には、図3に示す状態の時には 、表示部(6)の第1行目に表示されている一行分のスペースを含む文字列「A BC・・D・・・・」が一行バッファ(5)に格納される。In step S5, based on the position information in the cursor position storage unit (7), one line of data in the document where the cursor (10) is currently located is read from the text memory (4) and the one line buffer (5) is read. ). Specifically, in the state shown in FIG. 3, the character string “A BC ... D ...” That includes the space for one line displayed on the first line of the display unit (6) is stored in the one-line buffer. It is stored in (5).

【0016】 続くS6ステップでは、一行バッファ(5)中に格納されている文字列の中で スペース以外の文字で最右端に位置する文字を検索する。具体的には、一行バッ ファ(5)中の文字列の右端より1文字ずつスペースであるか否かを判定するこ とにより行なう。今、図3の表示部(6)上の第1行目のデータが一行バッファ (5)に格納されているとすると、文字「D」位置が上記文字最右端位置と判定 される。In the subsequent step S6, the character string stored in the one-line buffer (5) is searched for a character other than a space and located at the rightmost end. Specifically, it is performed by determining whether or not there is a space for each character from the right end of the character string in the one-line buffer (5). Now, assuming that the data of the first line on the display unit (6) of FIG. 3 is stored in the one-line buffer (5), the position of the character "D" is determined to be the rightmost position of the character.

【0017】 その後処理はS7ステップに進が、斯るステップではS6ステップにおいて検 索された文字最右端位置に基づいてカーソル位置記憶部(7)中の位置情報を変 更する。具体的には、S6ステップにおいて図3中の文字「D」位置が文字最右 端位置と判定されると、表示部(6)上の上記文字「D」位置の右隣の位置を示 す情報を新たなカーソル表示位置情報としてカーソル位置記憶部(7)に格納す る。これにより、カーソル(10)は図4に示す如く文字「D」の右隣に移動す ることとなる。S7ステップの処理が終了すると処理はS2ステップに戻る。After that, the process proceeds to step S7, in which the position information in the cursor position storage section (7) is changed based on the rightmost end position of the character searched in step S6. Specifically, when the character “D” position in FIG. 3 is determined to be the rightmost position of the character in step S6, the position on the right side of the character “D” position on the display unit (6) is displayed. The information is stored in the cursor position storage unit (7) as new cursor display position information. As a result, the cursor (10) is moved to the right of the character "D" as shown in FIG. When the process of step S7 ends, the process returns to step S2.

【0018】[0018]

【考案の効果】[Effect of the device]

本考案によれば、特定キーを入力することにより、その時点でカーソルが位置 する行中の最終文字(スペースは除く)位置にカーソルを移動できるので、編集 作業等がやり易くなる。 According to the present invention, by inputting a specific key, the cursor can be moved to the last character (excluding space) position in the line where the cursor is located at that time, which facilitates editing work.

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

【図1】本考案の実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】本実施例の動作を説明するためのフローチャー
トである。
FIG. 2 is a flowchart for explaining the operation of this embodiment.

【図3】本実施例の表示部の表示形態を示す模式図であ
る。
FIG. 3 is a schematic diagram showing a display form of a display unit of the present embodiment.

【図4】本実施例の表示部の表示形態を示す模式図であ
る。
FIG. 4 is a schematic diagram showing a display form of a display unit of the present embodiment.

【符号の説明】[Explanation of symbols]

1 主制御部 2 入力部 3 特定キー 4 テキストメモリ 6 表示部 7 カーソル位置記憶部 10 カーソル 1 main control unit 2 input unit 3 specific key 4 text memory 6 display unit 7 cursor position storage unit 10 cursor

Claims (1)

【実用新案登録請求の範囲】[Scope of utility model registration request] 【請求項1】 文書が格納されたテキストメモリと、該
メモリ中の文書を表示する表示部と、該表示部上の特定
位置を指示するためのカーソル位置を記憶するカーソル
位置記憶部と、特定キーを有する入力部と、上記各部を
制御する主制御部とを備え、 該主制御部は上記入力部より上記特定キーが入力される
と、上記カーソル位置記憶部中の位置情報に基づいてカ
ーソルが位置する文書の一行中の最終文字位置を判定す
ると共にこの判定結果に基づいて上記カーソル位置記憶
部中の位置情報を変更することを特徴とする電子機器。
1. A text memory in which a document is stored, a display unit for displaying a document in the memory, a cursor position storage unit for storing a cursor position for designating a specific position on the display unit, and a specifying unit. An input unit having a key and a main control unit for controlling each unit are provided. When the specific key is input from the input unit, the main control unit moves a cursor based on position information in the cursor position storage unit. An electronic device which determines the position of the last character in one line of a document in which is located and changes the position information in the cursor position storage unit based on this determination result.
JP9923391U 1991-12-02 1991-12-02 Electronics Pending JPH0552953U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9923391U JPH0552953U (en) 1991-12-02 1991-12-02 Electronics

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9923391U JPH0552953U (en) 1991-12-02 1991-12-02 Electronics

Publications (1)

Publication Number Publication Date
JPH0552953U true JPH0552953U (en) 1993-07-13

Family

ID=14241966

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9923391U Pending JPH0552953U (en) 1991-12-02 1991-12-02 Electronics

Country Status (1)

Country Link
JP (1) JPH0552953U (en)

Similar Documents

Publication Publication Date Title
JPH0527880B2 (en)
JPH0552953U (en) Electronics
JPH0522933B2 (en)
JPH0437951A (en) Document processor
JPH0546349A (en) Information processor
JP2618865B2 (en) Information processing device
JPH04369717A (en) Information processing method and its device
JP2600654B2 (en) Document processing device
JP3612757B2 (en) Document creation device
JPH0345398B2 (en)
JPH06318197A (en) Data processor
JPS59201129A (en) Document producer
JPS63103373A (en) Document producing device
JPH05342205A (en) Number of characters checking system in document preparing device
JPH04170670A (en) Document processor
JPH0569225B2 (en)
JPS62209589A (en) Document generator
JPS6167170A (en) Editor system
JPH05135033A (en) Character processing method
JPH06203021A (en) Sentence information procesor
JPH0270472A (en) Displaying method for printing position of document forming apparatus
JPH03271868A (en) Documentation device
JPS61151595A (en) Electronic appliance
JPH04357556A (en) Document referencing device
JPH0414169A (en) Document processor