JPH03282881A - Document preparation device - Google Patents
Document preparation deviceInfo
- Publication number
- JPH03282881A JPH03282881A JP2083941A JP8394190A JPH03282881A JP H03282881 A JPH03282881 A JP H03282881A JP 2083941 A JP2083941 A JP 2083941A JP 8394190 A JP8394190 A JP 8394190A JP H03282881 A JPH03282881 A JP H03282881A
- Authority
- JP
- Japan
- Prior art keywords
- cursor
- line
- key
- decided
- moved
- 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
Links
Landscapes
- Document Processing Apparatus (AREA)
- Input From Keyboards Or The Like (AREA)
Abstract
Description
【発明の詳細な説明】
[発明の目的]
(産業上の利用分野)
本発明は、カーソルの位置制御方法に特徴を有する文書
作成装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Industrial Application Field) The present invention relates to a document creation device characterized by a cursor position control method.
(従来の技術)
従来の日本語ワードプロセッサにおいては、例えば行末
にカーソルが位置している際にさらに右方向へのカーソ
ル移動をカーソルキーの操作によって指示した場合、そ
のまま行末からカーソルを移動させないものと、次行の
先頭位置にカーソルを移動させるものとがあった。(Prior art) In conventional Japanese word processors, for example, when the cursor is positioned at the end of a line and a cursor key operation is used to instruct the cursor to move further to the right, the cursor is not moved from the end of the line. , there was one that moved the cursor to the beginning of the next line.
上記行末からカーソルを移動させないものに比して、上
記次行の先頭位置にカーソルを移動させるものは、カー
ソルの移動が文の流れと一致しており、文書入力を効率
的に行なうことができるという利点を有していた。Compared to the method that does not move the cursor from the end of the line, the method that moves the cursor to the beginning of the next line allows the cursor to move in line with the flow of the sentence, making document input more efficient. It had this advantage.
(発明が解決しようとする課題)
しかしながら上記次行の先頭位置にカーソルを移動させ
るものは、カーソルを行端に位置させたい際に、連続操
作しているカーソルキーを離すタイミングを誤ると、カ
ーソルが隣接する行の反対側の端部に移動してしまい、
再度左右反対方向のカーソルキーを操作しなければなら
ない。また、特に文書の1行の設定文字数が表示部の1
行の文字数より多い場合は、表示部がその行方向全域を
一度に表示することができないため、上記カーソルキー
の誤操作でカーソルが隣接する行の反対側の端部に移動
することによって表示画面全体がスクロールされること
となり、所望するカーソル停止位置が表示画面上から消
えてしまうこととなるため、文書入力を円滑に行なうこ
とができないという問題があった。(Problem to be Solved by the Invention) However, with the above-mentioned device that moves the cursor to the beginning of the next line, if you release the cursor key that you are continuously operating at the wrong time when you want to position the cursor at the end of the line, the cursor will move to the beginning position of the next line. moves to the opposite end of the adjacent row,
You have to operate the cursor keys in the opposite direction again. Also, especially if the number of characters per line of the document is set to 1 on the display section.
If there are more characters than the number of characters in a line, the display section cannot display the entire line direction at once, so if the cursor key is incorrectly operated, the cursor moves to the opposite end of the adjacent line, and the entire display screen is displayed. is scrolled, and the desired cursor stop position disappears from the display screen, resulting in a problem that document input cannot be performed smoothly.
本発明は上記のような実情に鑑みてなされたもので、そ
の目的とするところは、カーソルキーの誤操作によるカ
ーソルの無駄な移動を抑制し、操作性の高い文書作成装
置を提供することにある。The present invention has been made in view of the above-mentioned circumstances, and its purpose is to provide a document creation device with high operability by suppressing unnecessary movement of the cursor due to erroneous operation of the cursor keys. .
[発明の構成コ
(課題を解決するための手段及び作用)本発明は、カー
ソルキーの操作開始時にカーソルが行端位置上にあった
か否かを判断することにより、行端にあるカーソルが行
をまたいで連続移動する行渡りモードと、行端でカーソ
ル移動を停止する行端停止モードとを選択実行させるよ
うにしたもので、不本意なカーソルの行渡りを避け、確
実にカーソルを意図した位置に移動させることができる
ようになる。[Structure of the Invention (Means and Effects for Solving the Problems) The present invention enables the cursor at the end of the line to move past the line by determining whether or not the cursor was at the line end position when the cursor key operation started. This allows you to select between a line-crossing mode in which the cursor moves continuously across lines, and a line-end stop mode in which the cursor stops moving at the end of the line, thereby avoiding unintentional cursor crossing and ensuring that the cursor is at the intended position. You will be able to move it to
(実施例) 以下図面を参照して本発明の一実施例を説明する。(Example) An embodiment of the present invention will be described below with reference to the drawings.
第1図はその基本的な回路構成を示すもので、IOはマ
イクロプロセッサ(CPU)、11は同マイクロプロセ
ッサ10によりアクセスされるRAM。FIG. 1 shows its basic circuit configuration, where IO is a microprocessor (CPU) and 11 is a RAM accessed by the microprocessor 10.
12は同ROMである。12 is the same ROM.
マイクロプロセッサ(以下CPUと称す) 10は装置
全体の制御を行なうもので、上記RAMII及びROM
12をアクセスして、入力指示に従うプログラムの起動
で、文書作成処理、外字作成処理、更には上記第2図に
示すようなキー人力制御処理等を実行する。RAMII
は、文書領域、行イメージ領域(印字バッファ)、外字
登録領域、語句登録領域を始め、文書表示画面上のカー
ソル位置を記憶するカーソル位置レジスタなどの各制御
情報を記憶する領域からなる。ROM12は、CPUl
0の動作を決定するプログラムや第2図に示すようなキ
ー人力に伴うカーソル制御ルーチンを含む入力処理プロ
グラム等を格納したプログラム領域12aをはじめ、表
示あるいは印字文字パターン等を記憶する文字パターン
領域12b1仮名あるいはローマ字で入力された読みを
漢字に変換するための各種辞書が登録された辞書領域1
2c等を有している。A microprocessor (hereinafter referred to as CPU) 10 controls the entire device, and controls the RAM II and ROM described above.
12 and starts a program according to input instructions to execute document creation processing, external character creation processing, key manual control processing as shown in FIG. 2 above, and the like. RAMII
consists of areas for storing various control information such as a document area, line image area (print buffer), external character registration area, word/phrase registration area, and a cursor position register for storing the cursor position on the document display screen. ROM12 is CPUl
A program area 12a stores input processing programs including a program for determining the operation of 0 and a cursor control routine associated with manual keystrokes as shown in FIG. 2, and a character pattern area 12b1 for storing display or print character patterns. Dictionary area 1 where various dictionaries for converting readings input in kana or romaji to kanji are registered.
2c etc.
また、13はキーボード(KB)、15は表示器、18
はフロッピィディスク装置(FDD)、20はプリンタ
(PRT)である。キーボード(KB)13は、文書作
成等に必要な入力情報をキーボードインターフェイス(
KB−IF)14を介してCPU10へ入力する。この
キーボード13には、文字キー数値キー カーソルキー
等に加えて、カーソル範囲を全角から半角に切換える半
角指定キー、及びカーソル範囲の半角から全角への切換
えを伴う、「ひらがな」シフトキー 「カタカナ」シフ
トキ「漢字」シフトキー等を含む各種のファンクション
キーが設けられる。表示器15は、例えば20行40字
表示の液晶デイスプレィ装置からなる。表示コントロー
ラ(表示−〇NT)1Bは、CPUl0の制御の下に表
示用RA M 17を用いて表示器15の表示制御を行
なう。フロッピィディスク装置18は、ディスクインタ
ーフェイス(FDD−I F)19を介してCPUl0
の制御の下に、作成された文書を保存したり、外字およ
び第2水準文字等を記憶する。プリンタ20は、プリン
タインターフェイス(PRT−I F)21を介してC
PUl0の制御の下に、作成された文書あるいは上記フ
ロッピィディスク装置18から本体内に読み込んだ文字
情報を印字する。Also, 13 is the keyboard (KB), 15 is the display, 18
is a floppy disk device (FDD), and 20 is a printer (PRT). The keyboard (KB) 13 uses a keyboard interface (KB) to input information necessary for document creation, etc.
The data is input to the CPU 10 via the KB-IF) 14. In addition to character keys, numeric keys, cursor keys, etc., this keyboard 13 includes a half-width specification key that switches the cursor range from full-width to half-width, and a "hiragana" shift key and a "katakana" shift key that switches the cursor range from half-width to full-width. Various function keys are provided including a "kanji" shift key and the like. The display 15 is comprised of, for example, a liquid crystal display device that displays 20 lines and 40 characters. The display controller (display-○NT) 1B controls the display of the display 15 using the display RAM 17 under the control of the CPU10. The floppy disk device 18 connects to the CPU10 via a disk interface (FDD-IF) 19.
Under the control of the computer, the created document is saved and external characters, second level characters, etc. are stored. The printer 20 communicates with C through a printer interface (PRT-IF) 21.
Under the control of PUl0, a created document or character information read into the main body from the floppy disk device 18 is printed.
次に上記実施例の動作について説明する。Next, the operation of the above embodiment will be explained.
第2図はキーボード13で左右各方向へのカーソルキー
が操作された際にCPUl0により実行されるルーチン
であり、その処理当初にはステップSlに示す如く操作
されたのが左方向へのカーソルの移動を指定する左カー
ソルキーであったか否か判断する。FIG. 2 shows a routine executed by the CPU 10 when the cursor keys in the left and right directions are operated on the keyboard 13. At the beginning of the process, the cursor key operated in the left direction is as shown in step Sl. Determine whether the left cursor key specifies movement.
左カーソルキーであった場合は次にステップS2におい
て左カーソルキーの操作開始時にカーソルが行頭に位置
していたか否かを判断する。If it is the left cursor key, then in step S2 it is determined whether the cursor was positioned at the beginning of the line when the operation of the left cursor key was started.
行頭に位置していないと判断した際には次にステップS
8に進み、指定の行頭方向にカーソルを1文字分移動さ
せる。その後、ステップS4でカーソルの移動した位置
が行頭に達したか否か判断する。If it is determined that it is not at the beginning of the line, then step S
Proceed to step 8 and move the cursor one character toward the beginning of the specified line. Thereafter, in step S4, it is determined whether the position to which the cursor has moved has reached the beginning of the line.
行頭に達していない場合は、その後に続いてステップS
5に進んで同カーソルキーが依然連続して操作されてい
るか否かを判断する。操作されていなければ、以上でこ
の処理を終了するが、操作されている場合は、キーリピ
ート動作により再度上記ステップS3からの処理を繰返
し、カーソルの移動を続行する。If the beginning of the line has not been reached, continue with step S.
Proceeding to step 5, it is determined whether the same cursor key is still being operated continuously. If the key has not been operated, this process ends, but if the key has been operated, the process from step S3 is repeated again using the key repeat operation to continue moving the cursor.
また、上記ステップS4でカーソルの移動した位置が行
頭に達したと判断した場合は、カーソルキーが依然連続
して操作されているか否かに拘らず、この時点で処理を
終了し、カーソルをその行頭位置に停止させる。In addition, if it is determined that the position of the cursor has reached the beginning of the line in step S4, the process ends at this point and the cursor is moved to that position, regardless of whether the cursor keys are still being operated continuously. Stop at the beginning of the line.
上記ステップS2でカーソルキーの操作開始時にカーソ
ルが行頭に位置していたと判断した場合は、次にステッ
プS6に進んでカーソルを前行の行末に行を渡って移動
させた後、上記ステップS5に至ってキーリピート処理
を行なう。If it is determined in step S2 that the cursor was located at the beginning of the line when the cursor key operation started, the process proceeds to step S6, where the cursor is moved across the line to the end of the previous line, and then step S5 is performed. This is all about key repeat processing.
さらに、上記ステップSlで操作されたカーソルキーが
左カーソルキーではないと判断した場合は、操作された
のが右カーソルキーであることとなるので、次にステッ
プS7において右カーソルキーの操作開始時にカーソル
が行末に位置していたか否かを判断する。Furthermore, if it is determined that the operated cursor key is not the left cursor key in step Sl, it means that the operated cursor key is the right cursor key. Determine whether the cursor is at the end of the line.
行末に位置していないと判断した際には次にステップS
8に進み、指定の行末方向にカーソルを1文字分移動さ
せる。その後、ステップS9でカーソルの移動した位置
が行末に達したか否か判断する。If it is determined that it is not located at the end of the line, then step S
Go to step 8 and move the cursor one character toward the end of the specified line. Thereafter, in step S9, it is determined whether the position to which the cursor has moved has reached the end of the line.
行末に達していない場合は、その後に続いてステップS
IOに進んで同カーソルキーが依然連続して操作されて
いるか否かを判断する。操作されていなければ、以上で
この処理を終了するが、操作されている場合は、キーリ
ピート動作により再度上記ステップS8からの処理を繰
返し、カーソルの移動を続行する。If the end of the line has not been reached, continue with step S
Proceeding to IO, it is determined whether the same cursor key is still being operated continuously. If the key has not been operated, this process ends, but if the key has been operated, the process from step S8 is repeated again using the key repeat operation to continue moving the cursor.
また、上記ステップS9でカーソルの移動した位置が行
末に達したと判断した場合は、カーソルキーが依然連続
して操作されているか否かに拘らず、この時点で処理を
終了し、カーソルをその行末位置に停止させる。Additionally, if it is determined in step S9 that the cursor has moved to the end of the line, the process ends at this point and the cursor is moved to the end of the line, regardless of whether the cursor keys are still being operated continuously. Stop at the end of the line.
上記ステップS7でカーソルキーの操作開始時にカーソ
ルか行末に位置していたと判断した場合は、次にステッ
プSllに進んでカーソルを次行の行頭に行を渡って移
動させた後、上記ステップSIOに至ってキーリピート
処理を行なう。If it is determined in the above step S7 that the cursor was located at the end of the line when the cursor key operation was started, the process proceeds to step Sll and moves the cursor across the line to the beginning of the next line, and then returns to step SIO. This is all about key repeat processing.
以上のような処理動作を行なうことにより、そのカーソ
ル制御は第3図に示すようになる。第3図は、1頁の行
数及び1行の文字数が表示器15の表ボ画面15a (
15b)に比して充分に大きな文書31の編集中でのカ
ーソルの動きを例示するものである。例えば表示器15
の表示画面15中のP、て示す位置にカーソルが位置し
ている時点で、左カーソルキーを連続操作すると、上記
ステップS1で左カーソルキーであることが判断された
後にステップS2で操作の開始位置が行頭ではないと判
断され、ステップS3で1文字文左方向にカーソル移動
される。その後、ステップS4でカーソルが行頭のP2
の位置に達したと判断されるまでステップS3〜S5の
処理を繰返し実行し、カーソルをキーリピートにより移
動させ続ける。その後、カーソルが行頭P2の位置に達
した時点でステップS4でこれを判断し、カーソルの移
動を停止する。By performing the processing operations described above, the cursor control becomes as shown in FIG. FIG. 3 shows the number of lines on one page and the number of characters on one line on the front screen 15a of the display 15 (
15b) illustrates the movement of the cursor while editing a document 31 that is sufficiently large compared to the document 31 shown in FIG. For example, display 15
If the left cursor key is operated continuously when the cursor is located at the position indicated by P on the display screen 15, the operation is started in step S2 after it is determined that the left cursor key is the left cursor key in step S1. It is determined that the position is not at the beginning of the line, and the cursor is moved one character sentence to the left in step S3. Then, in step S4, the cursor moves to P2 at the beginning of the line.
The processes of steps S3 to S5 are repeatedly executed until it is determined that the cursor has reached the position , and the cursor continues to be moved by key repeat. Thereafter, when the cursor reaches the position of the beginning of the line P2, this is determined in step S4, and the movement of the cursor is stopped.
この行頭P2の位置にカーソルがある時点で新たに左カ
ーソルキーを操作すると、ステップS1で左カーソルキ
ーであることが判断された後にステップS2で操作の開
始位置が行頭であると判断され、ステップS6で前行の
行末の位置P3にカーソルを行を渡って移動させる。こ
の場合、位置P3は表示画面15aの範囲を外れている
ため、表示画面は新たに15bで示す範囲に変更され、
この画面15b中のP3の位置にカーソルが移動表示さ
れる。When the left cursor key is operated anew when the cursor is at the position of the beginning of the line P2, it is determined in step S1 that it is the left cursor key, and then in step S2 it is determined that the operation start position is the beginning of the line, and step In S6, the cursor is moved across the line to position P3 at the end of the previous line. In this case, since the position P3 is outside the range of the display screen 15a, the display screen is newly changed to the range indicated by 15b,
The cursor is moved and displayed at the position of P3 on this screen 15b.
このように、左右へのカーソルキーの操作に対してその
操作開始時点で指定方向側の端部にカーソルが位置して
いるか否かを判断し、位置していない場合にはその指定
方向側の端部まてカーソルをキーリピートにより移動さ
せ続け、端部に達した時点で連続キー操作を無効として
カーソルを該端部に位置させる。その後、新たに同方向
へのカーソルキーが操作されたら、文の流れに沿ってカ
ーソルを行を渡って移動させるものである。In this way, when the cursor key is operated to the left or right, it is determined whether the cursor is located at the end of the specified direction at the start of the operation, and if it is not located, the cursor is positioned at the end of the specified direction. The cursor continues to be moved by key repeat until the end is reached, and when the end is reached, continuous key operations are disabled and the cursor is positioned at the end. After that, when a new cursor key is operated in the same direction, the cursor is moved across the line according to the flow of the sentence.
[発明の効果コ
以上詳記した如く本発明によれば、カーソルキーの操作
開始時にカーソルが行端位置上にあったか否かを判断す
ることにより、行端にあるカーソルが行をまたいで連続
移動する行渡りモードと、行端でカーソル移動を停止す
る行端停止モードとを選択実行させるようにしたので、
不本意なカーソルの行渡りを避け、確実にカーソルを意
図した位置に移動させることができ、操作性の高い文書
作成装置を提供することができる。[Effects of the Invention] As detailed above, according to the present invention, the cursor at the end of a line can be continuously moved across lines by determining whether or not the cursor was located at the end of the line when the cursor key operation was started. We have made it possible to select between the line crossing mode, where the cursor moves at the end of the line, and the line end stop mode, where the cursor movement stops at the line end.
To provide a highly operable document creation device that can avoid unintentional movement of the cursor and reliably move the cursor to an intended position.
第1図は本発明の一実施例の基本的な回路構成を示すブ
ロック図、第2図は左右カーソルキー操作の処理内容を
示すフローチャート、第3図はカーソルの移動制御状態
を示す図である。
10−CPU、 11−RAM、 12−ROM、
13−=キーボード(KB) 15・・・表示器
、17・・・表示用RAM、18・・・フロッピィディ
スク装置(FDD)。
20・・・プリンタ(PRT)。FIG. 1 is a block diagram showing the basic circuit configuration of an embodiment of the present invention, FIG. 2 is a flowchart showing the processing content of left and right cursor key operations, and FIG. 3 is a diagram showing the state of cursor movement control. . 10-CPU, 11-RAM, 12-ROM,
13-=Keyboard (KB) 15...Display device, 17...Display RAM, 18...Floppy disk device (FDD). 20...Printer (PRT).
Claims (1)
を判断する判断手段と、 この判断手段により、行端にあるカーソルが行をまたい
で連続移動する行渡りモードと、行端でカーソル移動を
停止する行端停止モードとを選択実行するカーソル制御
手段と を具備したことを特徴とする文書作成装置。[Scope of Claims] Determination means for determining whether or not the cursor is at the line end position at the start of cursor key operation; A line crossing mode in which the cursor at the line end continuously moves across lines by the determination means; A document creation device comprising: a line end stop mode in which cursor movement is stopped at a line end; and cursor control means for selectively executing a line end stop mode.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2083941A JPH03282881A (en) | 1990-03-30 | 1990-03-30 | Document preparation device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2083941A JPH03282881A (en) | 1990-03-30 | 1990-03-30 | Document preparation device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH03282881A true JPH03282881A (en) | 1991-12-13 |
Family
ID=13816613
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2083941A Pending JPH03282881A (en) | 1990-03-30 | 1990-03-30 | Document preparation device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH03282881A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6337697B1 (en) | 1997-12-29 | 2002-01-08 | Samsung Electronics Co., Ltd. | Method for scrolling automatically on a display device and device therefor |
JP2006254271A (en) * | 2005-03-14 | 2006-09-21 | Times Corporation | Magnifier reading aid |
JP2007334394A (en) * | 2006-06-12 | 2007-12-27 | Softbank Mobile Corp | Frame selection method and information communication terminal equipment |
JP2011198177A (en) * | 2010-03-23 | 2011-10-06 | Konami Digital Entertainment Co Ltd | Item presentation device, item presentation method, and program |
-
1990
- 1990-03-30 JP JP2083941A patent/JPH03282881A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6337697B1 (en) | 1997-12-29 | 2002-01-08 | Samsung Electronics Co., Ltd. | Method for scrolling automatically on a display device and device therefor |
JP2006254271A (en) * | 2005-03-14 | 2006-09-21 | Times Corporation | Magnifier reading aid |
JP2007334394A (en) * | 2006-06-12 | 2007-12-27 | Softbank Mobile Corp | Frame selection method and information communication terminal equipment |
JP2011198177A (en) * | 2010-03-23 | 2011-10-06 | Konami Digital Entertainment Co Ltd | Item presentation device, item presentation method, and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH03282881A (en) | Document preparation device | |
EP0994406A2 (en) | Character information processor | |
JPH01217540A (en) | Document preparing device | |
JP2635602B2 (en) | Document creation device | |
JPH01217516A (en) | Document preparing device | |
JPS61173378A (en) | Word processor | |
JPH01231088A (en) | Calligraphic style selecting picture displaying system | |
JPH04118771A (en) | Document preparing device | |
JPH01215568A (en) | Word processor | |
JPH0330049A (en) | Document generation device | |
JP2713951B2 (en) | Document creation device and display control method | |
JPH07287769A (en) | Device and method for preparing document | |
JPH01231165A (en) | Document generating device | |
JPH0756911A (en) | Document preparing device | |
JPH01193916A (en) | Electronic device | |
JPH07287768A (en) | Document preparing device and graphic processing method | |
JPS62266663A (en) | Kana/kanji converting device | |
JPH01216422A (en) | Document preparing device | |
JPH01231086A (en) | Document producing device | |
JPH04282754A (en) | Word processor | |
JPH06332662A (en) | Display device | |
JPH02300922A (en) | Document preparing device | |
JPH02301856A (en) | Document preparing device | |
JPH01231089A (en) | Document producing device | |
JPS6365561A (en) | 'kana' to 'kanji' converter |