JPS61180283A - Word processor - Google Patents

Word processor

Info

Publication number
JPS61180283A
JPS61180283A JP60021056A JP2105685A JPS61180283A JP S61180283 A JPS61180283 A JP S61180283A JP 60021056 A JP60021056 A JP 60021056A JP 2105685 A JP2105685 A JP 2105685A JP S61180283 A JPS61180283 A JP S61180283A
Authority
JP
Japan
Prior art keywords
character
cursor
width
word processor
integrated value
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
Application number
JP60021056A
Other languages
Japanese (ja)
Other versions
JPH0379718B2 (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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric Corp
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 Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP60021056A priority Critical patent/JPS61180283A/en
Publication of JPS61180283A publication Critical patent/JPS61180283A/en
Publication of JPH0379718B2 publication Critical patent/JPH0379718B2/ja
Granted legal-status Critical Current

Links

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、カーソルの表示方法が改善されたワードプロ
セッサに関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a word processor with an improved cursor display method.

し従来の技術〕 各種の大きさの文字を用いて文章を作成したい場合に対
処するため、ワードプロセッサには、全角、半角及び倍
角の文字で作成文章を画面表示し、これらの文字の大き
さを印字結果に反映させるようにしたものがあった。
[Conventional technology] In order to deal with cases where it is desired to create sentences using characters of various sizes, word processors display the created sentences in full-width, half-width, and double-width characters on the screen, and then change the size of these characters. There was one that reflected this in the printing results.

従来、このようなワードプロセッサでは、例えば、表示
画面の任意の文字を指定するカーソルが半角文字の幅に
なっているものがあった。このワードプロセッサでは、
全角文字、半角文字1倍角文字及びカーソルの大きさの
関係は第6図の(a)。
Conventionally, in such word processors, for example, the cursor for specifying any character on the display screen has the width of a half-width character. In this word processor,
The relationship between the sizes of full-width characters, half-width characters, single-width characters, and the cursor is shown in FIG. 6 (a).

(b)、(c)及び(d)に示すようになる。As shown in (b), (c) and (d).

〔発明が解決しようとす□る問題点〕[Problem that the invention seeks to solve]

しかし、このようなワードプロセッサでは、次のような
問題点があった。
However, such word processors have the following problems.

■ カーソルが半角文字の大きさで表示されているため
、カーソルを、全角文字を指示した状態から左右方向に
移動する場合は、第7図に示すように移動のしかたは2
通シ生じる。
■ Since the cursor is displayed in the size of a half-width character, if you want to move the cursor left or right after pointing to a full-width character, there are two ways to move it, as shown in Figure 7.
A passing occurs.

■ 上下移動では、カーソルは常に垂直方向に移動する
ため、第8図と第9図に示すように表示文字に対するカ
ーソルの位置が定まらない。
(2) When moving up and down, the cursor always moves in the vertical direction, so the position of the cursor relative to the displayed characters is not fixed as shown in FIGS. 8 and 9.

このようなことから、文字とカーソルの対応関係が定ま
らず、ユーザーに混乱を招くという問題点があった。
For this reason, there was a problem in that the correspondence between characters and the cursor was not determined, causing confusion for the user.

本発明は上述した問題点を解決するためになされたもの
であり、指示する文字の幅に応じてカーソルの幅が変わ
り、表示画面上での各種作業を行ないやすいワードプロ
セッサを実現することを目的とする。
The present invention was made in order to solve the above-mentioned problems, and an object of the present invention is to realize a word processor in which the width of the cursor changes according to the width of the specified character, making it easier to perform various tasks on the display screen. do.

〔問題点を解決するための手段〕 本発明は、作成した文章を各種の幅の文字で画面表示し
、表示画面の中の任意の文字をカーソルで指示する手段
を有するワードプロセッサにおいて、 現在カーソルがある行の始端からカーソルの指示位置ま
での文字アドレスと文字幅の積算値を求める第1の手段
と、 カーソルを上下左右方向のいずれかに1ステップ移動さ
せる場合に、移動方向を判別する第2の手段と、 該第2の手段で判別した移動方向に応じて、移動後にカ
ーソルを置く行の始端から文字アドレス又は文字幅を積
算していき、この積算値と前記第1の手段で求めた積算
値の大小関係から移動後にカーソルを置く文字を決定す
る第3の手段と、該第6の手段で決定した文字をもとに
して、カーソル情報メモリの内容を更新し、前記決定し
た文字を、それと表示幅がほぼ等しいカーソルで指示さ
せる第4の手段、 と全具備したことを特徴とするワードプロセッサである
[Means for Solving the Problems] The present invention provides a word processor that displays a created sentence on a screen using characters of various widths and that has a means for indicating an arbitrary character on the display screen with a cursor. The first means calculates the integrated value of the character address and character width from the start of a line to the position indicated by the cursor, and the second means determines the direction of movement when the cursor is moved one step in the up, down, left, or right direction. and according to the movement direction determined by the second means, add up the character address or character width from the starting end of the line where the cursor is placed after movement, and combine this integrated value with the one determined by the first method. A third means for determining a character to place the cursor after movement based on the magnitude relationship of the integrated value, and updating the contents of the cursor information memory based on the character determined by the sixth means, and updating the determined character. , and a fourth means for instructing with a cursor whose display width is approximately the same as that of the word processor.

〔実施例〕〔Example〕

以下、図面を用いて本発明を説明する。 The present invention will be explained below using the drawings.

第1図は本発明にかかるワードプロセッサの一実施例の
構成ブロック図である。
FIG. 1 is a block diagram of an embodiment of a word processor according to the present invention.

第1図において、10はキーボード、20は表示装置、
30はメモリ、40はCPUである。
In FIG. 1, 10 is a keyboard, 20 is a display device,
30 is a memory, and 40 is a CPU.

キーボード10から作成しようとする文章に応じた文字
が入力される。キーボード10において、11は指示手
段でアシ、表示画面上の任意の文字をカーソルで指示す
るとともに、この文字に対応したテキストメモリ(後述
する)内の文字を示す。
Characters corresponding to the sentence to be created are input from the keyboard 10. In the keyboard 10, reference numeral 11 is an indicating means for indicating an arbitrary character on the display screen with a cursor and indicating a character in a text memory (described later) corresponding to this character.

表示装置20には、作成しようとする文章が表示される
The display device 20 displays the sentence to be created.

メモリ30にはプログラムと必要な情報が格納される。The memory 30 stores programs and necessary information.

メモリ30において、31はプログラムメモリであり、
ワードプロセッサで行なう処理手順を示したプログラム
が格納されている。32はテキストメモリであり、作成
したい文章に応じたテキストが格納されている。33は
カーソル情報メモリであシ、位置情報メモリ34、アド
レスポインタメモリ35及び桟性情報メモリ36からな
る。
In the memory 30, 31 is a program memory;
A program showing the processing procedure performed by the word processor is stored. Reference numeral 32 denotes a text memory, in which text corresponding to the sentence desired to be created is stored. A cursor information memory 33 includes a position information memory 34, an address pointer memory 35, and a frame information memory 36.

位置情報メモリ34には、表示画面上での位置情報が格
納されている。位置情報は、(行9列。
The position information memory 34 stores position information on the display screen. The location information is (row 9 column).

ずれ)の6要素から構成されるものである。行と列は、
画面を第2図のように全角文字単位で基盤の目のように
区切ったものの番地に相当する。ずれは、第3図のよう
に奇数個の半角文字に続く文字が、行列の重器の目から
半角文字分布にずれて表示されるときに発生していると
判断する。ずれが有及び無の情報にそれぞれ1及び0を
割シ当てると、第3図の斜線部分に位置する文字の位置
情報1行6列、ずれ)は、(2,2,1)になる。
It is composed of six elements: The rows and columns are
This corresponds to the address of the screen divided into double-byte character units like the grid of the board as shown in Figure 2. It is determined that the deviation occurs when the characters following an odd number of half-width characters are displayed with a deviation from the heavy weight of the matrix to the half-width character distribution, as shown in FIG. If 1 and 0 are assigned to the information indicating the presence and absence of a shift, respectively, the position information of the character located in the diagonally shaded area in FIG. 3 (1 row, 6 columns, shift) becomes (2, 2, 1).

アドレスポインタメモリ35には、カーソルがテキスト
メモリ内の文字列のどの文字を指示しているかを示すア
ドレスポインタが格納されている。
The address pointer memory 35 stores an address pointer indicating which character of the character string in the text memory the cursor is pointing to.

属性情報メモリ36には、カーソルが指示する文字の桐
性情報が格納されている。属性情報は、全角、半角及び
倍角の情報から構成されており、これらの中のいずれか
1つがカーソルが示す文字の種類に応じて選び出される
The attribute information memory 36 stores the character information of the character pointed by the cursor. The attribute information includes full-width, half-width, and double-width information, and one of these is selected depending on the type of character indicated by the cursor.

CPU40は、キーボード10からの信号に応じて、メ
モリ部30に対する読み出しと書き込み動作の制御と、
表示装置20の表示の制御を行なう。CPU4Qには第
1〜第4の手段41〜44が設けられている。これらの
手段の具体的な動作については後述する。
The CPU 40 controls read and write operations for the memory section 30 in response to signals from the keyboard 10;
The display on the display device 20 is controlled. The CPU 4Q is provided with first to fourth means 41 to 44. The specific operations of these means will be described later.

次に、このようなワードプロセッサの動作について説明
する。
Next, the operation of such a word processor will be explained.

第4図は第1図のワードプロセッサの処理手順を示した
フローチャートである。
FIG. 4 is a flowchart showing the processing procedure of the word processor of FIG.

第5図に示す表示例の場合について説明する。The case of the display example shown in FIG. 5 will be explained.

現在、カーソルは文字「LJを指示している。The cursor is currently pointing to the character "LJ."

この状態で、第1の手段41は、現在カーソルがある行
t2の始端からカーソルの指示位置までの文字アドレス
Cと文字幅Wの積算値を求める。
In this state, the first means 41 calculates the integrated value of the character address C and character width W from the start of the line t2 where the cursor is currently located to the position indicated by the cursor.

カーソルを上下左右方向のいずれかに1ステップ移動さ
せる指令が出されると、第2の手段42は、移動方向を
判別する。これは、フローチャートでは判wlTD、で
ある。
When a command is issued to move the cursor one step in either the up, down, left or right direction, the second means 42 determines the direction of movement. This is wlTD in the flowchart.

カーソルを上方向に移動させる場合は、移1動後にカー
ソルを置く行t、の始端から文字幅を積算していく。そ
して、文字幅の積算値Sが前述した積算値W以上になっ
たととるで、最後に積算した文字を移動後の文字と決定
する。第5図の表示例の場合は、「m」が移動後の文字
になる。
When moving the cursor upward, the character width is accumulated from the starting end of the line t where the cursor is placed after one movement. Then, assuming that the cumulative value S of the character width has become equal to or greater than the previously described cumulative value W, the last character that has been cumulative is determined to be the character to be moved. In the display example shown in FIG. 5, "m" becomes the character after the movement.

カーソルを下方向に移動させる場合も同様に処理する。The same process is performed when moving the cursor downward.

カーソルを右方向へ移動させる場合は、移動後にカーソ
ルを置く行t2の始端から文字アドレスを積算していく
。そして、アドレスの積算値Pが前述した積算値Cより
も大きくなったところで、最後に積算した文字を移動後
の文字と決定する。第5図の表示例の場合は、「M」が
移動後の文字になる。
When moving the cursor to the right, character addresses are accumulated from the start of the line t2 where the cursor is placed after the movement. Then, when the integrated value P of the address becomes larger than the above-mentioned integrated value C, the last integrated character is determined as the character to be moved. In the display example shown in FIG. 5, "M" becomes the character after the movement.

カーソルを左方向へ移動させる場合も同様に処理する。The same process is performed when moving the cursor to the left.

このような、積算と比較決定の処理は第3の手段43が
行なう。
The third means 43 performs such integration and comparison/determination processing.

次に、移動後の文字の種類を属性情報メモリ36にセッ
トする。さらに、前記積算値Sから移動後の文字の列と
ずれを算出する。これによって、位置情報、アドレスポ
インタ及び属性情報が移動後の文字のものに更新される
。これらの情報がCPU40に送られ、移動後の文字が
、それと表示幅がほぼ等しい幅のカーソルで指示される
。このような処理は、第4の手段44により行なわれる
Next, the type of character after the movement is set in the attribute information memory 36. Further, from the integrated value S, the character string and the shift after the movement are calculated. As a result, the position information, address pointer, and attribute information are updated to those of the moved characters. These pieces of information are sent to the CPU 40, and the character after the movement is indicated with a cursor whose display width is approximately the same as that of the character. Such processing is performed by the fourth means 44.

〔発明の効果〕 このようなワードプロセッサによれば、次のような効果
が得られる。
[Effects of the Invention] According to such a word processor, the following effects can be obtained.

すなわち、指示した文字の幅に応じてカーソルの幅が変
わるため、カーソルを上下左右方向に移動しても、カー
ソルと文字の対応関係は明確である。これによって、文
字挿入9文字訂正等の表示画面上の作業を容易に行なう
ことができる。
That is, since the width of the cursor changes depending on the width of the designated character, the correspondence between the cursor and the character is clear even if the cursor is moved up, down, left, or right. This makes it possible to easily perform operations on the display screen, such as character insertion and nine character correction.

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

第1図は本発明にかかるワードプロセッサの一実施例の
構成ブロック図、第2図及び第6図は仕置情報の表示説
明図、第4図及び第5図は第1図のワードプロセッサの
動作説明図、第6図〜第9図は従来例のワードプロセッ
サの動作説明図である。 10・・・キーボード   11・・・指示手段20、
・・・表示装置    3o・・・メモリ33・・・カ
ーソル情報メモリ 34・・・位置情報メモリ 35・・・アドレスポインタメモリ 36・・・属性情報メモIJ     40・・・CP
U41〜44・・・第1〜第4の手段 第7図 第ε図 第q図
FIG. 1 is a block diagram of the configuration of an embodiment of the word processor according to the present invention, FIGS. 2 and 6 are illustrations for explaining the display of processing information, and FIGS. 4 and 5 are illustrations for explaining the operation of the word processor in FIG. 1. , FIGS. 6 to 9 are explanatory diagrams of the operation of a conventional word processor. 10...keyboard 11...instruction means 20,
...Display device 3o...Memory 33...Cursor information memory 34...Position information memory 35...Address pointer memory 36...Attribute information memo IJ 40...CP
U41-44...First to fourth means Figure 7 Figure ε Figure q

Claims (1)

【特許請求の範囲】 作成した文章を各種の幅の文字で画面表示し、表示画面
の中の任意の文字をカーソルで指示する手段を有するワ
ードプロセッサにおいて、 現在カーソルがある行の始端からカーソルの指示位置ま
での文字アドレスと文字幅の積算値を求める第1の手段
と、 カーソルを上下左右方向のいずれかに1ステップ移動さ
せる場合に、移動方向を判別する第2の手段と、 該第2の手段で判別した移動方向に応じて、移動後にカ
ーソルを置く行の始端から文字アドレス又は文字幅を積
算していき、この積算値と前記第1の手段で求めた積算
値の大小関係から移動後にカーソルを置く文字を決定す
る第3の手段と、該第3の手段で決定した文字をもとに
して、カーソル情報メモリの内容を更新し、前記決定し
た文字を、それと表示幅がほぼ等しいカーソルで指示さ
せる第4の手段、 とを具備したことを特徴とするワードプロセッサ。
[Claims] In a word processor that displays a created sentence on a screen using characters of various widths, and has means for pointing a cursor to any character on the display screen, the cursor is pointed from the beginning of the line where the cursor is currently located. a first means for calculating an integrated value of a character address and a character width up to a position; a second means for determining a moving direction when moving a cursor by one step in either the up, down, left or right direction; Depending on the movement direction determined by the means, the character address or character width is accumulated from the starting end of the line where the cursor is placed after the movement, and based on the magnitude relationship between this integrated value and the integrated value obtained by the first means, a third means for determining a character to place the cursor on; and updating the contents of the cursor information memory based on the character determined by the third means, and placing the determined character as a cursor whose display width is approximately equal to that of the character. A word processor characterized by comprising: a fourth means for instructing.
JP60021056A 1985-02-06 1985-02-06 Word processor Granted JPS61180283A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60021056A JPS61180283A (en) 1985-02-06 1985-02-06 Word processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60021056A JPS61180283A (en) 1985-02-06 1985-02-06 Word processor

Publications (2)

Publication Number Publication Date
JPS61180283A true JPS61180283A (en) 1986-08-12
JPH0379718B2 JPH0379718B2 (en) 1991-12-19

Family

ID=12044247

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60021056A Granted JPS61180283A (en) 1985-02-06 1985-02-06 Word processor

Country Status (1)

Country Link
JP (1) JPS61180283A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63104086A (en) * 1986-10-21 1988-05-09 日本電気株式会社 Data processor
JP2008261222A (en) * 2005-03-08 2008-10-30 Maezawa Kasei Ind Co Ltd Backflow prevention device for public basin, and public basin
JPWO2008114460A1 (en) * 2007-03-19 2010-07-01 東京都下水道サービス株式会社 Sewage pipe deodorization equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63104086A (en) * 1986-10-21 1988-05-09 日本電気株式会社 Data processor
JP2008261222A (en) * 2005-03-08 2008-10-30 Maezawa Kasei Ind Co Ltd Backflow prevention device for public basin, and public basin
JP2008261223A (en) * 2005-03-08 2008-10-30 Maezawa Kasei Ind Co Ltd Public basin
JPWO2008114460A1 (en) * 2007-03-19 2010-07-01 東京都下水道サービス株式会社 Sewage pipe deodorization equipment

Also Published As

Publication number Publication date
JPH0379718B2 (en) 1991-12-19

Similar Documents

Publication Publication Date Title
JPH0727349B2 (en) Multi-window display control method
JPS61180283A (en) Word processor
JPH0561405A (en) In-figure name display device
JP2642698B2 (en) How to display relationships between hypertexts
JPH0376491B2 (en)
JPS6314229A (en) Object selection system
JP2594317B2 (en) File search method
JP2560999B2 (en) String output method
JP3461872B2 (en) Screen display control method and device
JPH02111995A (en) Input data processing and displaying method by plural cursors
JP3006988B2 (en) Spreadsheet apparatus and data management method for spreadsheet apparatus
JPH0746307B2 (en) Display device
JPH06332895A (en) Character information input device
JP2672940B2 (en) Document processing device
JPH0440731B2 (en)
JP3118806B2 (en) Document processing device
JPH0555889B2 (en)
JPS61151595A (en) Electronic appliance
JP2655900B2 (en) Character processor
JPS61284795A (en) Display screen control system
JPS62133578A (en) Data selecting and editing device
JPH04367065A (en) Display system
JPH0650088U (en) Character string output device
JPH03194649A (en) Table structure control system
JPH0462669A (en) Data display device