JPS6269357A - Character processor - Google Patents

Character processor

Info

Publication number
JPS6269357A
JPS6269357A JP60209327A JP20932785A JPS6269357A JP S6269357 A JPS6269357 A JP S6269357A JP 60209327 A JP60209327 A JP 60209327A JP 20932785 A JP20932785 A JP 20932785A JP S6269357 A JPS6269357 A JP S6269357A
Authority
JP
Japan
Prior art keywords
character
characters
cursor
memory
delete
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
JP60209327A
Other languages
Japanese (ja)
Inventor
Kazunobu Sugitani
和宣 杉谷
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 JP60209327A priority Critical patent/JPS6269357A/en
Publication of JPS6269357A publication Critical patent/JPS6269357A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To delete a series of continuous characters or a pair of parentheses, etc. altogether by using a character discriminating means to change the types and the range of characters to be deleted. CONSTITUTION:The characters are supplied to a document memory by a character input instructing device (cursor). A character discriminating device is actuated by a deletion instructing device to discriminate the characters deleted out of the document memory by the deletion instructing device. Then a parenthesis deleting device, a sentence deleting device or a deleting device for characters of same type works to delete the parentheses out of the document memory. Thus it is possible to delete a series of continuous characters or the marks like the parentheses, etc. which are used in pairs altogether by means of a single deletion instructing device.

Description

【発明の詳細な説明】 し産業上の利用分野」 本発明は文字及び記号を入力し、且つ削除するISの出
来る文字処理装置に関する、 [従来技術J 従来、文字中記号を入力しテキストとして内蔵し、且つ
テキスト内の文字を削除する”バの出来る文字処理装置
があった。この様な装置に於ける文字の削除にあたって
は一般にカーソル簿で削除文字を指定しカーソルLの文
字を1文字だけ削除するのが従来の方法であった。しか
しながら実際には1文字だけの削除よりも例えばtt′
1語中位、文中位、あるいは対となっている括弧τの両
方を削除するバが必要であり、この様な場合従来の1文
字削除の方法では操作が煩雑であり、又これを解決する
為には削除キーが複数個必要という欠点があった。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a character processing device capable of inputting and deleting characters and symbols. There was a character processing device that was capable of deleting characters in text.When deleting characters in such a device, generally, the character to be deleted was specified in the cursor list, and the character at cursor L was deleted by just one character. The conventional method was to delete a character.However, in reality, rather than deleting just one character, for example, tt'
It is necessary to use a bar to delete the middle part of a word, the middle part of a sentence, or both parentheses τ that are paired. In such cases, the conventional method of deleting one character is complicated, and we need to solve this problem. The disadvantage is that multiple deletion keys are required for this purpose.

[発す1が解決しようとする問題点」 本55明は1−述した欠点を補い、力へツルl−1の文
字の種別に応じて、削除される対象を変化5せ例えば、
連続した一律の文字又は、対になって使用される括鷹キ
をまとめて削除する賽を1つの削除キーによって実現し
た文字処理装置を提供する・1)にある。
[Problems to be Solved by Issuu 1] This book 55 1- compensates for the drawbacks mentioned above, and changes the object to be deleted depending on the type of character in 1-1.For example,
To provide a character processing device which realizes the operation of deleting consecutive uniform characters or brackets used in pairs all at once using one deletion key.

[問題点を解決しようとするためのL Il、及び作用
] 未発明は第1図に示す如く文字入力指示装置によって文
書メモリに文字が入力される。削除指示装置により文字
判別装置が(@き、削除指示装置により削除された文、
与メモリ中の文字をt’l別し、それにより括弧削除装
置又は文削除装首又は同種文字削除装置が働き文占メモ
リ中の括弧を削除する。
[L Il and operations for solving the problems] In the uninvented system, characters are input into a document memory by a character input instruction device as shown in FIG. The deletion instruction device causes the character recognition device to (@), and the deletion instruction device detects the sentence deleted by the deletion instruction device.
The characters in the given memory are classified by t'l, whereby the parenthesis deletion device or sentence deletion head or similar character deletion device operates to delete the parentheses in the sentence selection memory.

[τ施例] 以下図面を参照して本発明の詳細な説明する。[τ Example] The present invention will be described in detail below with reference to the drawings.

第2図は本発明文字処理装置の構成例を示す図である。FIG. 2 is a diagram showing an example of the configuration of the character processing device of the present invention.

CPU(中央処理装置)はROM (リードオンリメモ
リ)に含まれた第5図〜第7図に示すL順のプログラム
の内容を実行処理する°バによりパスラインを介して接
続される各装置を制御する。このパスラインにはキーボ
ードKBが接続され、このキーボードKBから入力され
た文字情報はパスラインBを介してランタムアクセスメ
モリRAMの一部にある文書メモリBSMに供給記憶さ
れる。記憶された文字情報を表示fiLcD (リキッ
ドクリスタルディスプレイ)に表示するには表示制御間
21LCDCで制御されているキャラクタジェネレータ
CGの中から文字コードに和尚するフォントをパスライ
ンBを介してCPtJの指示により行ない、フォントを
表示制御装置の表示メモリLCDMに記憶する。メモリ
RAMには前述の文、!:メモリBSMの他にカーソル
位置を示すCRLM$の一時記憶用の領域がある。プリ
ンタPRTは前述の文、!;メモリBSMの内容をCP
Uの指示により印刷する為の装置である。
The CPU (Central Processing Unit) executes the contents of the programs in the L order shown in Figures 5 to 7 contained in the ROM (Read Only Memory). Control. A keyboard KB is connected to this pass line, and character information input from this keyboard KB is supplied and stored via the pass line B to a document memory BSM located in a part of the random access memory RAM. To display the stored character information on the display fiLcD (liquid crystal display), select the font to be converted into a character code from the character generator CG controlled by the display controller 21LCDC via path line B according to instructions from CPtJ. and stores the font in the display memory LCDM of the display control device. The above statement is in the memory RAM! :In addition to the memory BSM, there is an area for temporary storage of CRLM$ indicating the cursor position. Printer PRT is the above statement,! ; CP the contents of memory BSM
This is a device for printing according to instructions from U.

T3図は第7図のキーボードの拡大詳細図である。この
白文字キーは通常の文字を入力する為のキーであり、こ
こで入力されたキーに対応した文字コードが前述の文:
町メモリに格納されかつLCDに表示される。削除キー
は同じ種類の文字を削除する為のキーである。
Figure T3 is an enlarged detailed view of the keyboard of Figure 7. This white character key is a key for inputting normal characters, and the character code corresponding to the key entered here is as shown in the above sentence:
It is stored in the town memory and displayed on the LCD. The delete key is a key for deleting characters of the same type.

出4図は第2図におけるR A M内の文書qメモリB
SMの37m説明図である0文8メモリBSMは文字情
報が格納されるシリアルなメモリで先頭からアドレス順
に構成されており、順にBSM(1)、BSM (2)
−−−−一般にBSM(i)と表現する。
Figure 4 shows the document q memory B in RAM in Figure 2.
37m explanatory diagram of SM 0 sentence 8 memory BSM is a serial memory in which character information is stored and is configured in address order from the beginning, in order BSM (1), BSM (2)
---Generally expressed as BSM(i).

以1−の構成のト−で、本発明実施例の動作を第5図〜
第7図のフローチャー1・及び第8図の例を参照して説
l多1する。
The operation of the embodiment of the present invention is shown in FIGS.
This will be explained with reference to the flowchart 1 of FIG. 7 and the example of FIG. 8.

本装置は、電源を投入するとまず築5図ステップslに
進む、ステップslではRAM内の文月メモリBSMを
スペースクリヤし、カーソルを文月メモリBSMの先頭
にセットしてカーソル位置メモリCRLMを初期状態に
セットする。
When this device is powered on, it first proceeds to step sl. In step sl, space is cleared from the Bunzuki memory BSM in the RAM, the cursor is set to the beginning of the Bunzuki memory BSM, and the cursor position memory CRLM is initialized. Set to state.

その後、ステップS2に進み第3図に示したキーボード
KBからのキー入力待ちの状態を保つ、そこで何らかの
キーが入力されたならステップS3に進み入力されたキ
ーの判別を行ないステップs4又はステップs5に進む
After that, the process advances to step S2, and the state of waiting for a key input from the keyboard KB shown in FIG. move on.

ステップS4は文字キーが操作された時の処理を行なう
。7JSB図において、文字キーが操作されるとカーソ
ル位置メモリCRLMに対応した文どメモリBSMに文
字コードを格納する。しかる後、カーソルは1つ歩進し
同時にカーソル位置メモリCRLMの内容もエアドレス
分進む。
Step S4 performs processing when a character key is operated. In the 7JSB diagram, when a character key is operated, the character code is stored in the text memory BSM corresponding to the cursor position memory CRLM. Thereafter, the cursor advances by one, and at the same time, the contents of the cursor position memory CRLM also advance by the air address.

次にステップS6において、文、リメモリBSMの所定
の文字コード列(表示器の表示容量により定まる)をキ
ャラクタジェネレータCGでパターン化して表示471
 御装置LCDCのメモリLCDMに記憶させる。
Next, in step S6, a predetermined character code string (determined by the display capacity of the display unit) of the sentence and memory BSM is patterned by the character generator CG and displayed 471
The data is stored in the memory LCDM of the control device LCDC.

ステップS5は削除処理を行なう訳であるが、第6図を
谷間して説明する。まずステップ55.1でカーソルで
示ず文占メモリ」二の文字を判別する。その結果、括弧
の場合はステップ55.2に進み、「、」の場合はステ
ップ55.3に進み1文′rの場合はステップ55.4
に進む。
Step S5 performs deletion processing, which will be explained with reference to FIG. 6. First, in step 55.1, the character ``Bunten Memory'' not indicated by the cursor is determined. As a result, if it is a parenthesis, proceed to step 55.2, if it is ",", proceed to step 55.3, and if it is one sentence 'r, proceed to step 55.4.
Proceed to.

ステ゛ンプs5.2のj1訓を第7図のフローチャート
及び第10図のχ際のテキスト例を用いて説明する。ま
ずステップs5.2.1に進みカーソル」−の括弧の向
きを判別する。その結果、第1O図(1)に示した様に
左括弧の場合はステップs5.2.2に進み文末方向に
対して右括弧を捜す、続いてステップs5.2.3に進
み第10図(2)に示した様に右括弧を削除してそれ以
ドの文字を左に1文字詰める。さらにステップs5.2
.6に進みカーソル上の括弧を削除しそれ以降の文字を
1文字左に詰め、カーソル位置も左へ1文字移動する。
The j1 lesson of step s5.2 will be explained using the flowchart of FIG. 7 and the text example of χ in FIG. 10. First, proceeding to step s5.2.1, the direction of the parentheses of the cursor "-" is determined. As a result, as shown in Figure 1O (1), in the case of a left parenthesis, proceed to step s5.2.2 and search for a right parenthesis in the direction of the end of the sentence, then proceed to step s5.2.3 as shown in Figure 10. As shown in (2), delete the right parenthesis and move the character after it one character to the left. Further step s5.2
.. Proceed to step 6, delete the parentheses above the cursor, shift the following characters one character to the left, and move the cursor position one character to the left.

その結果が第1o図(3)の状態である。The result is the state shown in Figure 1o (3).

一方、カーソル」二の文字が第10図(4)に示した様
に右括孤の場合はステップs5.2.4に進み文頭方向
に対して左括弧を捜す、左括弧が見つかった時はステッ
プs5.2.5に進み左括弧を削除し、それ以降の文字
を1文字左に詰め、カーソルも1文字左へ移動する。し
かる後にステップS5,2゜6に進む、その結果が7j
T、 10図(6)の状態である。
On the other hand, if the character at the cursor "2" is a right parenthesis as shown in Figure 10 (4), proceed to step s5.2.4 and search for a left parenthesis in the direction of the beginning of the sentence. Proceeding to step s5.2.5, the left parenthesis is deleted, subsequent characters are shifted one character to the left, and the cursor is also moved one character to the left. After that, proceed to step S5, 2゜6, and the result is 7j.
T, is in the state shown in Figure 10 (6).

次にステップ85.3の詳細を第8図のフローチャート
及び第11図のχ際のテキスト例を用いて説明する。ま
ずステップS5.3.1に進みカーソルの左隣に[、j
が存在するか否か14 M+1する。その結果、第11
図(1)に示した様にカーソルの7i:側に「、」が黒
い場合はステップs5.3.2に進み次に、カーソルの
左隣に文字が存在するか否かを判別する。その結果、イ
r伍する場合はステップs5.3.3に進み第11図(
2)に示した様にカーソル左の文字を削除してそれ以ド
の文字を左に1文字詰める。さらにステップs5.3.
4i、″進みカーソル位置も左へ1文字移動する。さら
にステップs5.3.1に1xり以にの処理を繰り返す
Next, details of step 85.3 will be explained using the flowchart of FIG. 8 and the text example of χ in FIG. 11. First, proceed to step S5.3.1 and place [,j] to the left of the cursor.
14 M+1 whether exists or not. As a result, the 11th
If "," is black on the 7i: side of the cursor as shown in FIG. 1, the process advances to step s5.3.2, and then it is determined whether or not there is a character to the left of the cursor. As a result, if there is a problem, proceed to step s5.3.3 as shown in Figure 11 (
As shown in 2), delete the character to the left of the cursor and move the character after that one character to the left. Further step s5.3.
4i,'' advances and the cursor position also moves one character to the left.Furthermore, repeat the process from 1x on step s5.3.1.

第11図(4)に示した様にカーソルの左隣に「、」が
存在する時はステップs5.3.5に進みカーソル上の
1゜」を削除し、以降の文字を左に1文字詰める。その
結果が第11図(5)の状態である。
As shown in Figure 11 (4), if there is a ``,'' to the left of the cursor, proceed to step s5.3.5, delete the ``1゜'' on the cursor, and move the following characters one character to the left. pack. The result is the state shown in FIG. 11 (5).

一方、第it図(11)にノIセした様にカーソル左隣
に「、」も文字の黒い時はステップs5.3.2からス
テップs5.3.5に進み第111′A(9)の様にな
る。
On the other hand, if the character "," to the left of the cursor is also black, as shown in Fig. 11 (11), proceed from step s5.3.2 to step s5.3.5 and proceed to step 111'A (9). It will look like this.

次にステップ55.4の:>1mを第9図のフローチャ
ート及び第12図のx際のテキスト例を用いて説Ill
する。まずステップs5.4.1に進みカーソル上の文
字と右隣の文字種がましいか否か判別する。その結果、
第12図(1)に示した様にカーソルj二がlで右隣が
2の場合の様に文字種がTしい場合はステップs5.4
.2に進み、次に第12図(2)に示した様にカーソル
の右隣の文字を削除してそれ以降の文字を左に1文字詰
める。さらにステップ55−4.1に戻り以りの処理を
繰り返す。
Next, explain step 55.4:>1m using the flowchart in Figure 9 and the text example for x in Figure 12.
do. First, the process proceeds to step s5.4.1, and it is determined whether the character on the cursor and the character type to the right are correct. the result,
As shown in FIG. 12 (1), if the character type is T, as in the case where the cursor j is l and the one on the right is 2, step s5.4
.. Proceed to step 2, and then delete the character to the right of the cursor and move the following characters one character to the left as shown in FIG. 12 (2). Furthermore, the process returns to step 55-4.1 and repeats the process.

第12図(2)に示した様にカーソルLの文字種と右隣
の文字種が7PL<ない場合はステップs5.4.L−
cステップs5.4.3に分岐し。
As shown in FIG. 12 (2), if the character type of cursor L and the character type to the right are not equal to 7PL, step s5.4. L-
c Branch to step s5.4.3.

カーソル上の文字を削除して、以降の文字を左に1文字
詰める。その結果が第121ffl (3)の状態であ
る。
Delete the character on the cursor and move the following characters one character to the left. The result is the 121st ffl (3) state.

なお1本実施例では括弧は0「」だけとしたが、FJや
冊 ]」等の括弧も有効であるし、英文で使用する゛ 
“等のマークであっても本発明の主旨を損なうものでは
ない。
Note that in this example, only the parentheses 0 "" were used, but parentheses such as "FJ" and "Book ]" are also effective, and are used in English sentences.
Even marks such as “ do not detract from the gist of the present invention.

又、本実施例では文の最後マークは「。」だけとしたが
、他のマーク例えば「?」「!」や英文で使用するピリ
オド「、」了のマークであっても本発明の主旨を損なう
ものでない。
In addition, in this embodiment, the final mark of the sentence is only ".", but other marks such as "?", "!", or the period "," used in English can also convey the gist of the present invention. It doesn't damage it.

又、本実施例では文字種は平仮名、数字1片仮名だけで
あるが、勿論他の文字種例えば漢字や英字、さらに英字
の中でも大文字と小文字とが別々の文字種としても未発
IJiのし旨を損なうものでない。
In addition, in this embodiment, the character types are only hiragana and katakana with one number, but of course other character types such as kanji and alphabetic characters, and even if uppercase and lowercase letters are separate character types among alphabetic characters, would spoil the purpose of the unreleased IJi. Not.

さらに本実施例では表示装置はLCD (リキッドクリ
スタルディスプレイ)としたが他の表示装置、例えばC
RT (カソードレイチューブ)にしても/411’発
明のに旨を損なうものでない。
Furthermore, although the display device in this embodiment is an LCD (liquid crystal display), other display devices, such as a C
The use of RT (cathode ray tube) does not detract from the invention of /411'.

[効 果J iu述した様に未発明によると、カーソルj−の英字の
種別に応じて、連続した一連の文字又は、対になって使
用される括弧亨の記号をまとめて削除するバを1つの削
除指示r段によって1視する°11が111f七となっ
た。
[Effect J iu As mentioned above, according to the uninvented invention, depending on the type of alphabetic character at the cursor j-, there is a bar that deletes a series of consecutive characters or parentheses used in pairs all at once. With one deletion instruction r step, 1°11 becomes 111f7.

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

第1図は、本発明の実施例を示す図。 第2図は、未発1!IIの一実施例の構成を示すブロッ
ク図。 第3図は、キーボードのキートップaq図。 第4図は、メモリ構造の説明図。 第5図〜第9図は、処理の過程を、・iくずフローチャ
ート。 第10図〜第12図は、実際の削除過程を示した説明図
。 BSM−−一又どメモリ
FIG. 1 is a diagram showing an embodiment of the present invention. Figure 2 shows 1 unreleased! FIG. 2 is a block diagram showing the configuration of an embodiment of II. Figure 3 is a diagram of the key tops of the keyboard. FIG. 4 is an explanatory diagram of the memory structure. FIGS. 5 to 9 are flowcharts showing the process of processing. FIGS. 10 to 12 are explanatory diagrams showing the actual deletion process. BSM--One-way memory

Claims (1)

【特許請求の範囲】[Claims] 文字を入力する文字入力指示手段と該手段により構成さ
れる文書メモリを有する文字処理装置に於いて、文字を
削除する削除指示手段と前記文書メモリ中の文字を判別
する文字判別手段とを有し、該文字判別手段により削除
する文字の種類及び、範囲を変化せしめる事を特徴とし
た文字処理装置。
A character processing device having a character input instruction means for inputting characters and a document memory constituted by the means, comprising a deletion instruction means for deleting characters and a character discrimination means for discriminating characters in the document memory. , A character processing device characterized in that the type and range of characters to be deleted are changed by the character discrimination means.
JP60209327A 1985-09-20 1985-09-20 Character processor Pending JPS6269357A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60209327A JPS6269357A (en) 1985-09-20 1985-09-20 Character processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60209327A JPS6269357A (en) 1985-09-20 1985-09-20 Character processor

Publications (1)

Publication Number Publication Date
JPS6269357A true JPS6269357A (en) 1987-03-30

Family

ID=16571106

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60209327A Pending JPS6269357A (en) 1985-09-20 1985-09-20 Character processor

Country Status (1)

Country Link
JP (1) JPS6269357A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0228753A (en) * 1987-10-30 1990-01-30 Hitachi Ltd Numerical expression inputting and editing system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5985532A (en) * 1982-11-08 1984-05-17 Fujitsu Ltd Designating system for editing range of sentence
JPS60129884A (en) * 1983-12-16 1985-07-11 Matsushita Electric Ind Co Ltd Word processor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5985532A (en) * 1982-11-08 1984-05-17 Fujitsu Ltd Designating system for editing range of sentence
JPS60129884A (en) * 1983-12-16 1985-07-11 Matsushita Electric Ind Co Ltd Word processor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0228753A (en) * 1987-10-30 1990-01-30 Hitachi Ltd Numerical expression inputting and editing system

Similar Documents

Publication Publication Date Title
US4459049A (en) Abbreviated typing with special form display
JPS6269357A (en) Character processor
JPS61250768A (en) Device for updating conversion dictionary
JP2756246B2 (en) Character processor
JPH0440936Y2 (en)
JPS60189062A (en) Character processor
JPS6236252B2 (en)
JPS6269359A (en) Character processor
JPH0572270B2 (en)
JP2635602B2 (en) Document creation device
JPH0640325B2 (en) Writing device
JPH07160687A (en) Method for specifying input character
JP2761606B2 (en) Document data processing device
JPH0778133A (en) Document preparing device and method for outputting character pattern
JPH0340870B2 (en)
JPS60237570A (en) Agate display system
JPH0719188B2 (en) Data input device
JPS63205268A (en) Printing method of word processor
JPH0719189B2 (en) Data input device
JPS61296388A (en) Rule deletion
JPS6269358A (en) Character processor
JPS62179052A (en) Document generating apparatus
JPH01288957A (en) Character processor
JPH07108719A (en) Document processor
JPS62269263A (en) Kana (japanese syllabary)/kanji conversion processing system in japanese document processing device