JPH0262870B2 - - Google Patents

Info

Publication number
JPH0262870B2
JPH0262870B2 JP54125153A JP12515379A JPH0262870B2 JP H0262870 B2 JPH0262870 B2 JP H0262870B2 JP 54125153 A JP54125153 A JP 54125153A JP 12515379 A JP12515379 A JP 12515379A JP H0262870 B2 JPH0262870 B2 JP H0262870B2
Authority
JP
Japan
Prior art keywords
tab
character
data
display
storage means
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP54125153A
Other languages
Japanese (ja)
Other versions
JPS5648677A (en
Inventor
Shunpei Takenaka
Hiroshi Oowada
Shuji Ichimura
Katsumi Masaki
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP12515379A priority Critical patent/JPS5648677A/en
Publication of JPS5648677A publication Critical patent/JPS5648677A/en
Publication of JPH0262870B2 publication Critical patent/JPH0262870B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Description

【発明の詳細な説明】 本発明はワードプロセサ等における文字処理装
置に関するものであり、特にタブがセツトされて
いる場合に於けるタブ位置を表示する文字処理装
置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a character processing device in a word processor or the like, and particularly to a character processing device that displays the tab position when a tab is set.

従来ワードプロセサ等においてタブの表示は全
くないか、または、デイスプレイ画面の最上部の
行に文字の位置を表示するためのスケールの近傍
にタブがセツトされていることを示すマークを表
示する様な手段がとられるに過ぎなかつた。この
ため、従来のワードプロセサは、文章等の表示に
おいてタブ用の表示ラインを要するため、文章用
の表示ラインが減少する欠点を有し、かつ、画面
の下部への入力中に於てはタブの位置が表示され
ている最上ラインと離れているためタブ位置を明
確に認識することができない欠点を有していた。
Conventional word processors do not display tabs at all, or they display a mark on the top line of the display screen near the scale used to indicate the position of characters. There was no more than a means to be taken. For this reason, conventional word processors require display lines for tabs when displaying sentences, etc., so they have the disadvantage of reducing the number of display lines for sentences. Since the position of the tab is far from the displayed top line, the tab position cannot be clearly recognized.

本発明は上述の欠点を排除し、タブの表示のた
めのラインを設けることなくタブ位置を明確に表
示する文字処理装置を提供しようとするものであ
る。
The present invention aims to eliminate the above-mentioned drawbacks and provide a character processing device that clearly displays the tab position without providing a line for displaying the tab.

すなわち、本発明の文字処理装置は、表示すべ
き文字データを記憶する記憶手段と、前記記憶手
段に記憶される文字データを複数行に渡り表示す
る表示手段と、前記複数行に共通のタブ位置デー
タを記憶するタブ位置記憶手段と、前記記憶手段
に記憶される文字データ及び前記タブ位置記憶手
段に記憶される前記タブ位置データに基づいて、
前記タブ位置でなく、かつ、前記文字データが存
在しない位置に、所定のマークを表示する表示制
御と前記タブ位置データに対応する各位置に前記
文字データが存在しない場合には、前記所定のマ
ークとは異なるマークを前記複数行の各位置に表
示する表示制御と前記タブ位置データに対応する
位置に前記文字データが存在する場合には、前記
文字データに対応する文字パターンを表示する表
示制御とを遂行する表示制御手段、とを有したこ
とを特徴とするものである。
That is, the character processing device of the present invention includes a storage means for storing character data to be displayed, a display means for displaying the character data stored in the storage means over a plurality of lines, and a tab position common to the plurality of lines. Based on a tab position storage means for storing data, character data stored in the storage means and the tab position data stored in the tab position storage means,
Display control for displaying a predetermined mark at a position that is not the tab position and where the character data does not exist, and when the character data does not exist at each position corresponding to the tab position data, the predetermined mark is displayed. a display control that displays a different mark at each position of the plurality of lines; and a display control that displays a character pattern corresponding to the character data when the character data is present at a position corresponding to the tab position data. The present invention is characterized in that it has a display control means for performing the following steps.

以下本発明の一実施例を図面により説明する。 An embodiment of the present invention will be described below with reference to the drawings.

第1図は本発明に係る文字処理装置の構成を示
すものである。1はマイクロプロセサ、2は各
I/O、メモリの番地を指定するアドレスバス、
3は各種のデータを転送するために用いられる双
方向性のデータバス、4はメモリ等のリード/ラ
イト、インタラプトの受付、データセツトのタイ
ミング等を送るために用いられるコントロールバ
スである。
FIG. 1 shows the configuration of a character processing device according to the present invention. 1 is a microprocessor, 2 is an address bus that specifies each I/O and memory address,
3 is a bidirectional data bus used to transfer various data, and 4 is a control bus used to read/write the memory, accept interrupts, send data set timing, etc.

これらのバスに下記の装置が配置される。 The following devices are placed on these buses.

5はデータ入力用のキーボード、6はキーボー
ドコントローラでキーボードコントローラ6はキ
ーボード5より入力されたデータをエンコードす
るとともにインタラプト信号をコントロールバス
4に送る。
5 is a keyboard for data input; 6 is a keyboard controller; the keyboard controller 6 encodes data input from the keyboard 5 and sends an interrupt signal to the control bus 4;

7はCRTコントローラで、例えば日立製の集
積回路H−D46505等が用いられ、これはCRT装
置8、キヤラクタジエネレータ9、リフレツシユ
メモリ10、リフレツシユメモリコントローラ1
1を制御する。
7 is a CRT controller, for example, an integrated circuit H-D46505 manufactured by Hitachi is used, and this controller includes a CRT device 8, a character generator 9, a refresh memory 10, and a refresh memory controller 1.
Control 1.

CRT装置8は、通常のテレビジヨンと同様の
デイスプレイを行うことができるものであり、キ
ヤラクタジエネレータ9は、文字コード、文字パ
ターンの行アドレス等のコード入力により該文字
パターンの該行のパターンを順次出力するもので
ある。また、リフレツシユメモリ10は、CRT
装置8に表示する文字コードを記憶し、CRTコ
ントローラ7よりの表示の指示によりくり返し文
字コードを出力し、リフレツシユメモリコントロ
ーラ11はCRTコントローラ7の指示に従つて
CRT表示のためのリフレツシユサイクルとマイ
クロプロセサ1よりのデータの書き込み、読み出
しを制御する。
The CRT device 8 is capable of producing a display similar to that of a normal television, and the character generator 9 inputs a code such as a character code or a line address of the character pattern to determine the pattern of the line of the character pattern. is output sequentially. In addition, the refresh memory 10 is a CRT
The character code to be displayed on the device 8 is stored, and the character code is repeatedly output according to the display instruction from the CRT controller 7, and the refresh memory controller 11 is operated according to the instruction from the CRT controller 7.
It controls the refresh cycle for CRT display and the writing and reading of data from the microprocessor 1.

12はROM(読取り専用メモリ)であり、本
発明の実行の手段を記憶し、且各種の処理手段を
記憶するものである。13はこのROM12のコ
ントローラである。
Reference numeral 12 denotes a ROM (read-only memory), which stores means for executing the present invention and also stores various processing means. 13 is a controller for this ROM 12.

14はRAM(ランダムアクセスメモリ)であ
り各種のデータの一時記憶に用いられ、コントロ
ーラ15によつてコントロールされる。図示の
RAM14は、文書データエリア14A、タブレ
ジスタ14B、画面先頭ポインタ14Cを含む。
A RAM (random access memory) 14 is used for temporary storage of various data, and is controlled by a controller 15. illustrated
The RAM 14 includes a document data area 14A, a tab register 14B, and a screen top pointer 14C.

16はフロツピイドライブ装置であり、17は
フロツピイドライブ装置16のコントローラであ
る。
16 is a floppy drive device, and 17 is a controller for the floppy drive device 16.

18はプリンタ、19はプリンタのコントロー
ラを示す。
18 is a printer, and 19 is a controller for the printer.

ROM12内に記憶された制御手順によりキー
ボード5よりの入力に従つて所謂ワードプロセサ
処理を行いその結果を逐次CRT8に表示するた
めに、ROM12内のCRT表示制御の部分に入る
と、第2図に示す制御が開始される。即ち、ワー
ドプロセサ処理によりCRT画面の先頭に表示す
べきデータのアドレスはRAM14内にある画面
先頭ポインタ14Cに記憶されている。また当然
文書等のデータはRAM14内の文書データエリ
ア14Aに記憶されており、前記画面先頭ポイン
タ14Cは当然にこの文書データエリア14Aの
中のアドレスを指示している。一方タブの位置
は、RAM14内のタブレジスタ14B内に、ワ
ードプロセサ処理によりタブセツトの入力に従つ
て記憶されている。このタブレジスタ14Bは
CRT表示上横方向の文字位置に対応して設けら
れるもので、例えば横方向が32文字の表示であれ
ば32個のレジスタを持つことになる。
In order to perform so-called word processor processing according to the input from the keyboard 5 according to the control procedure stored in the ROM 12 and to display the results sequentially on the CRT 8, when entering the CRT display control part in the ROM 12, the process shown in FIG. The control indicated is started. That is, the address of the data to be displayed at the top of the CRT screen by word processor processing is stored in the screen top pointer 14C in the RAM 14. Naturally, data such as documents is stored in a document data area 14A in the RAM 14, and the screen top pointer 14C naturally points to an address in this document data area 14A. On the other hand, the position of the tab is stored in the tab register 14B in the RAM 14 according to the input of the tab set by word processor processing. This tab register 14B is
They are provided corresponding to character positions in the horizontal direction on a CRT display. For example, if the display has 32 characters in the horizontal direction, there will be 32 registers.

上記の前提のもとにCRT表示制御の部分につ
いて、第2図を参照して説明する。この第2図の
説明図に於てリフレツシユメモリ10はiCRTB
と記されるもので、容量はCRTの表示文字数に
対応し、横M文字、縦N文字の表示を行うもの
で、その位置は画面先頭の位置即ち左上部隅より
横へi文字目、縦にJ文字目という如く座標とし
て表され、それに対応するリフレツシユメモリは
iCRTB(i,J)で示される。またタブレジスタ
14BはiTABとして示してあり、iTABは上記
のCRT表示の横方向の文字数即ちMに対応する
ものである。タブのセツトされている位置はこの
レジスタの値が1である所であり、セツトされて
いない場合は0となつている。即ちタブレジスタ
iTAB(i)=1はタブがセツトされていることを
示し、iTAB(i)=0はタブがセツトされていな
いことを示す。
Based on the above premise, the CRT display control part will be explained with reference to FIG. In the explanatory diagram of FIG. 2, the refresh memory 10 is iCRTB.
The capacity corresponds to the number of characters displayed on the CRT, and it displays M characters horizontally and N characters vertically, and its position is the i-th character horizontally from the top left corner, vertically. It is expressed as a coordinate such as the J character, and the corresponding refresh memory is
Denoted by iCRTB(i,J). The tab register 14B is indicated as iTAB, and iTAB corresponds to the number of characters in the horizontal direction of the CRT display, ie, M. The value of this register is 1 when the tab is set, and 0 when the tab is not set. i.e. tab register
iTAB(i)=1 indicates that the tab is set, and iTAB(i)=0 indicates that the tab is not set.

ステツプ1に於て、先頭表示ポインタにより示
されるRAM14内の文書データエリア内先頭デ
ータより順にCRTリフレツシユメモリiCRTBに
書き込まれる。キーボード5等よりデータが未だ
入つていない場合は白地コードが文書データエリ
ア内に入つているためこの部分もそのまま
iCRTBに転送される。
In step 1, the first data in the document data area in the RAM 14 indicated by the first display pointer is sequentially written to the CRT refresh memory iCRTB. If no data has been entered from keyboard 5, etc., the blank code is in the document data area, so leave this part as is.
Transferred to iCRTB.

次にステツプ2に於てタブレジスタiTABの第
i音目を検べる。1である場合(Yes)即ちタブ
がセツトされている場合は、ステツプ3に入り
iCRTB(i,J)が白地コードであるかどうかを
検べ、白地コードであれば(Yes)、ステツプ4
でタブ表示コードiCRTB(i,J)に書き込みス
テツプ5に入る。又上記のステツプ3に於て
iCRTB(i,J)が白地コードでない場合(No)
即ち通常は文字コード等が入つている場合はステ
ツプ4を通らずステツプ5に入りこのDO LOOP
が完了するまでステツプ3,4を繰り返す。
Next, in step 2, the i-th note of the tab register iTAB is checked. If it is 1 (Yes), that is, the tab is set, go to step 3.
Check whether iCRTB (i, J) is a white background code. If it is a white background code (Yes), step 4
Write the tab display code iCRTB (i, J) and enter step 5. Also, in step 3 above
If iCRTB (i, J) is not a white background code (No)
In other words, normally, if a character code etc. is included, the process goes to step 5 without passing through step 4 and executes this DO LOOP.
Repeat steps 3 and 4 until completion.

上記ステツプ2に於てiTAB(i)が1でない
場合(No)は、ステツプ6に入りステツプ2〜
ステツプ5までのDO LOOPが完了したかどうか
チエツクし完了するまで繰り返す。
If iTAB(i) is not 1 in step 2 above (No), step 6 is entered and steps 2 to 2 are performed.
Check if DO LOOP up to step 5 is completed and repeat until completed.

言葉を変えていえば、タブがセツトされている
列のiCRTB内のデータを縦に順に調べて白地コ
ードである場合のみタブ表示コードに書き替え
る。
In other words, it examines the data in the iCRTB in the column where the tab is set vertically, and only if it is a blank code, rewrites it to a tab display code.

従つてリフレツシユメモリ10即ちiCRTBの
内容は常にCRTコントローラ7によりCRT8に
表示されているので、上述の如くタブのセツトさ
れている位置は文字等のデータのない部分に於て
タブのマークが表示されることになる。表示例を
第3図に示す。T1およびT2はタブ表示コード
により表示されるマークであり未だ入力していな
い部分のみにタブの表示がされていることを示し
ている。なお単なる点「・」で表示されている部
分は白地コードを示している。
Therefore, the contents of the refresh memory 10, i.e., the iCRTB, are always displayed on the CRT 8 by the CRT controller 7, so as mentioned above, the tab mark is displayed in the area where there is no data such as characters. will be done. A display example is shown in FIG. T1 and T2 are marks displayed by a tab display code, indicating that tabs are displayed only in areas where no input has been made yet. Note that the part displayed with a simple dot "." indicates a blank code.

上述の説明では白地コードの場合のみタブマー
クを表示するものとしたが、スペースコードの場
合もタブマークを表示することが可能であること
は当然である。
In the above description, a tab mark is displayed only in the case of a blank code, but it is of course possible to display a tab mark also in the case of a space code.

上記説明した如く本発明による文字処理装置
は、容易な手段で、即ち特別のタブ表示ラインを
表示する手段を使わずにまたそのために専用の表
示用スペースをとられることなしに、タブを表示
できる。
As explained above, the character processing device according to the present invention is capable of displaying tabs by easy means, that is, without using means for displaying a special tab display line and without taking up dedicated display space for this purpose. .

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

第1図は本発明に係る文字処理装置の構成を示
すブロツク図、第2図はその動作を説明する説明
図、第3図は表示例を示す図である。 1…マイクロプロセサ、2…アドレスバス、3
…データバス、4…コントロールバス、5…キー
ボード、6…キーボードコントローラ、7…
CRTコントローラ、8…CRT装置、9…キヤラ
クタジエネレータ、10…リフレツシユメモリ、
11…リフレツシユメモリコントローラ、12…
ROM、13…ROMコントローラ、14…
RAM、15…RAMコントローラ、16…フロ
ツピイドライブ装置、17…フロツピイドライブ
装置コントローラ、18…プリンタ、19…プリ
ンタコントローラ。
FIG. 1 is a block diagram showing the configuration of a character processing device according to the present invention, FIG. 2 is an explanatory diagram explaining its operation, and FIG. 3 is a diagram showing an example of display. 1...Microprocessor, 2...Address bus, 3
...Data bus, 4...Control bus, 5...Keyboard, 6...Keyboard controller, 7...
CRT controller, 8... CRT device, 9... Character generator, 10... Refresh memory,
11... Refresh memory controller, 12...
ROM, 13...ROM controller, 14...
RAM, 15... RAM controller, 16... Floppy drive device, 17... Floppy drive device controller, 18... Printer, 19... Printer controller.

Claims (1)

【特許請求の範囲】 1 表示すべき文字データを記憶する記憶手段
と、 前記記憶手段に記憶される文字データを複数行
に渡り表示する表示手段と、 前記複数行に共通のタブ位置データを記憶する
タブ位置記憶手段と、 前記記憶手段に記憶される文字データ及び前記
タブ位置記憶手段に記憶される前記タブ位置デー
タに基づいて、前記タブ位置でなく、かつ、前記
文字データが存在しない位置に、所定のマークを
表示する表示制御と前記タブ位置データに対応す
る各位置に前記文字データが存在しない場合に
は、前記所定のマークとは異なるマークを前記複
数行の各位置に表示する表示制御と前記タブ位置
データに対応する位置に前記文字データが存在す
る場合には、前記文字データに対応する文字パタ
ーンを表示する表示制御とを遂行する表示制御手
段、とを有したことを特徴とする文字処理装置。 2 前記所定のマークとは異なるマークは、前記
所定のマークの数が異なつていることを特徴とす
る特許請求の範囲第1項記載の文字処理装置。 3 前記マークは点状のパターンであることを特
徴とする特許請求の範囲第1項記載の文字処理装
置。
[Scope of Claims] 1. Storage means for storing character data to be displayed; Display means for displaying character data stored in the storage means over a plurality of lines; and Tab position data common to the plurality of lines. tab position storage means for storing the tab position at a position which is not the tab position and where the character data does not exist, based on the character data stored in the storage means and the tab position data stored in the tab position storage means; , a display control that displays a predetermined mark, and a display control that displays a mark different from the predetermined mark at each position of the plurality of lines when the character data does not exist at each position corresponding to the tab position data. and display control means for performing display control for displaying a character pattern corresponding to the character data when the character data is present at a position corresponding to the tab position data. Character processing device. 2. The character processing device according to claim 1, wherein the marks different from the predetermined mark have different numbers of the predetermined marks. 3. The character processing device according to claim 1, wherein the mark is a dotted pattern.
JP12515379A 1979-09-28 1979-09-28 Display unit Granted JPS5648677A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12515379A JPS5648677A (en) 1979-09-28 1979-09-28 Display unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12515379A JPS5648677A (en) 1979-09-28 1979-09-28 Display unit

Publications (2)

Publication Number Publication Date
JPS5648677A JPS5648677A (en) 1981-05-01
JPH0262870B2 true JPH0262870B2 (en) 1990-12-26

Family

ID=14903178

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12515379A Granted JPS5648677A (en) 1979-09-28 1979-09-28 Display unit

Country Status (1)

Country Link
JP (1) JPS5648677A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2548129B2 (en) * 1986-01-08 1996-10-30 松下電器産業株式会社 Text input device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5023935A (en) * 1973-07-03 1975-03-14
JPS5128444U (en) * 1974-08-24 1976-03-01

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5023935A (en) * 1973-07-03 1975-03-14
JPS5128444U (en) * 1974-08-24 1976-03-01

Also Published As

Publication number Publication date
JPS5648677A (en) 1981-05-01

Similar Documents

Publication Publication Date Title
US4190835A (en) Editing display system with dual cursors
JPS61254980A (en) Character front transmission control system
US4434419A (en) Cursor control circuit for plural displays for use in a word processing system
JP2892176B2 (en) Font memory access method
JPH0262870B2 (en)
JPH0522933B2 (en)
US4422070A (en) Circuit for controlling character attributes in a word processing system having a display
JPS6236252B2 (en)
JPH0610441Y2 (en) Word processor
JPS5882296A (en) Dot matrix display system
JP2564518B2 (en) Character display method by image processor
JPS60173584A (en) Bit map display controller
JP2612402B2 (en) Display control method
JPS6362004B2 (en)
JPH053009B2 (en)
JPH0123192Y2 (en)
JPH0445875B2 (en)
JPH0330049A (en) Document generation device
JPH0615317Y2 (en) Document processor
JPS599245Y2 (en) display device
JPH0228869B2 (en) GURAFUITSUKUDEISUPUREISOCHINONYURYOKUFUIIRUDOSEIGYOHOSHIKI
JPH05135045A (en) Character processing method
JPH0225547B2 (en)
JPS62293465A (en) Word processor
JPS6227793A (en) Display unit