JPH09190436A - Information processing apparatus and range designation method - Google Patents

Information processing apparatus and range designation method

Info

Publication number
JPH09190436A
JPH09190436A JP8004270A JP427096A JPH09190436A JP H09190436 A JPH09190436 A JP H09190436A JP 8004270 A JP8004270 A JP 8004270A JP 427096 A JP427096 A JP 427096A JP H09190436 A JPH09190436 A JP H09190436A
Authority
JP
Japan
Prior art keywords
range
unit
units
line
character
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
JP8004270A
Other languages
Japanese (ja)
Inventor
Shoichi Taya
正一 田谷
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP8004270A priority Critical patent/JPH09190436A/en
Publication of JPH09190436A publication Critical patent/JPH09190436A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

(57)【要約】 【課題】例えば文字単位、単語単位、行単位等の複数の
範囲指定単位を有し、これらを任意選択的に切り替えて
編集対象の範囲を指定する。 【解決手段】「文字」、「単語」、「文節」、「行」、
「段落」、「ブロック」の6種類の範囲指定単位を有
し、これらをステータスバーまたは「F8」キーを通じ
て任意選択的に切り替える。範囲指定単位を切り替える
と、その都度、指定位置を基準に編集対象範囲が検出さ
れ、その範囲が特定表示(例えば反転表示)される。
(57) 【Abstract】 PROBLEM TO BE SOLVED: To have a plurality of range designation units such as a character unit, a word unit, a line unit, etc., and arbitrarily switch these units to designate a range to be edited. SOLUTION: "Character", "Word", "Phrase", "Line",
It has six types of range designation units of "paragraph" and "block", and these are arbitrarily switched through the status bar or the "F8" key. Each time the range designation unit is switched, the edit target range is detected based on the designated position, and the range is specified and displayed (for example, reverse display).

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、例えば日本語ワー
ドプロセッサやパーソナルコンピュータ等の情報処理装
置に係り、特に文字列の編集時にその対象範囲を指定す
る際に用いて好適な情報処理装置及び範囲指定方法に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing apparatus such as a Japanese word processor or a personal computer, and particularly to an information processing apparatus and a range specification suitable for use when designating a target range when editing a character string. Regarding the method.

【0002】[0002]

【従来の技術】従来、例えば日本語ワードプロセッサや
パーソナルコンピュータ等の情報処理装置では、文書中
の文字列を編集するときに(例えばコピー、移動、削除
等)、その編集対象となる文字列の範囲を指定すること
がある。通常、編集対象の範囲を指定する場合には、マ
ウス等のポインティングデバイスを用いて、その始点お
よび終点を指定する操作が必要となる。
2. Description of the Related Art Conventionally, in an information processing device such as a Japanese word processor or a personal computer, when a character string in a document is edited (eg, copy, move, delete, etc.), the range of the character string to be edited is changed. May be specified. Normally, when designating a range to be edited, it is necessary to use a pointing device such as a mouse to designate the starting point and the ending point.

【0003】すなわち、例えば「今日は良い天気で
す。」といった文章の中の「天気」という単語を他の場
所にコピーする場合には、ユーザがポインティングデバ
イスを操作して、「天気」の「天」(始点)と「気」
(終点)にカーソルを設定する必要がある。
That is, for example, when copying the word "weather" in a sentence such as "Today is good weather" to another place, the user operates the pointing device to display "heaven" in "weather". "(Starting point) and" ki "
It is necessary to set the cursor to (end point).

【0004】[0004]

【発明が解決しようとする課題】ところで、編集対象の
範囲を指定する場合には、例えば文字単位、単語単位、
行単位といったように、その目的に応じた単位で指定す
ることが望まれる。しかしながら、従来の指定方法で
は、ポインティングデバイスを操作して、常に始点と終
点を指定しなければならなかったため、このような目的
別の単位指定を行うことができず、編集効率が悪い等の
問題があった。
By the way, when designating a range to be edited, for example, in units of characters, units of words,
It is desirable to specify in units such as line units according to the purpose. However, in the conventional designation method, the pointing device must be operated to always designate the start point and the end point, and thus it is not possible to perform unit designation for each purpose as described above, resulting in poor editing efficiency. was there.

【0005】本発明は上記のような点に鑑みなされたも
ので、例えば文字単位、単語単位、行単位等の複数の範
囲指定単位を有し、これらを任意選択的に切り替えて編
集対象の範囲を指定することのできる情報処理装置及び
範囲指定方法を提供することを目的とする。
The present invention has been made in view of the above points, and has a plurality of range designation units such as a character unit, a word unit, and a line unit, and the range to be edited is arbitrarily switched. It is an object of the present invention to provide an information processing apparatus and a range designation method capable of designating a.

【0006】[0006]

【課題を解決するための手段】本発明は、範囲指定を行
う位置の指定前または指定後に、例えば文字単位、単語
単位、行単位等の複数の範囲指定単位を任意選択的に切
り替えることにより、上記指定された位置を基準に上記
切り替えられた単位毎に編集対象となる範囲を検出し、
この検出された編集対象範囲を特定の表示形態で表示す
るようにしたものである。
According to the present invention, by optionally switching a plurality of range designation units such as a character unit, a word unit, and a line unit before or after designation of a position where a range is designated, Detects the range to be edited for each unit switched based on the specified position,
The detected edit target range is displayed in a specific display form.

【0007】これにより、文書中の文字列を編集すると
きに(例えばコピー、移動、削除等)、その編集対象と
なる文字列の範囲を例えば文字単位、単語単位、行単位
といったように、その目的に応じた単位で指定しなが
ら、編集操作を効率良く行うことができるようになる。
As a result, when a character string in a document is edited (for example, copy, move, delete, etc.), the range of the character string to be edited is changed to, for example, a character unit, a word unit, or a line unit. It becomes possible to efficiently perform editing operations while designating units in accordance with the purpose.

【0008】[0008]

【発明の実施の形態】以下、図面を参照して本発明の一
実施形態を説明する。図1は本発明の一実施形態に係る
情報処理装置の構成を示すブロック図である。同図にお
いて、11はマイクロプロセッサ(以下、CPUと称
す)、12および13はCPU11によりアクセスされ
るメモリ(ROM,RAM)である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram illustrating a configuration of an information processing apparatus according to an embodiment of the present invention. In the figure, 11 is a microprocessor (hereinafter referred to as CPU), and 12 and 13 are memories (ROM, RAM) accessed by the CPU 11.

【0009】CPU11は、装置全体の制御を行なうも
ので、ROM (Read Only Memory)12、RAM (Rando
m Access Memory) 13をアクセスして入力指示に従う
プログラムの起動で文書作成処理の他、各種の情報処理
を実行する。
The CPU 11 controls the entire apparatus, and includes a ROM (Read Only Memory) 12 and a RAM (Random).
m Access Memory) 13 is executed to start a program according to an input instruction to execute document creation processing and various information processing.

【0010】ROM12には、CPU11の動作を決定
する各種処理プログラムが格納されたプログラム領域1
2aをはじめ、フォントデータが格納された文字パター
ン領域12b、仮名あるいはローマ字で入力された読み
情報を漢字情報に変換するための標準辞書が格納された
辞書領域12c等が設けられている。
The ROM 12 has a program area 1 in which various processing programs for determining the operation of the CPU 11 are stored.
2a, a character pattern area 12b in which font data is stored, a dictionary area 12c in which a standard dictionary for converting reading information input in kana or romaji into kanji information is provided.

【0011】RAM13には、作成された文書情報を格
納するための文書バッファ13aの他、ここでは文字列
の編集時に各範囲指定単位毎に検出された編集対象範囲
情報を格納するための編集対象領域13b等が設けられ
ている。この範囲指定単位には、「文字」、「単語」、
「文節」、「行」、「段落」、「ブロック」の6種類が
ある。
In the RAM 13, in addition to the document buffer 13a for storing the created document information, here, the edit target for storing the edit target range information detected for each range designation unit at the time of editing the character string. A region 13b and the like are provided. This range specification unit includes "letter", "word",
There are six types: "bunsetsu", "line", "paragraph", and "block".

【0012】また、本装置は、入力装置として、キーボ
ード14およびマウス15を備えている。キーボード1
4は、キー操作によりデータの入力や指示を行うもので
あり、「文字」キー、「数値」キーをはじめ、「カーソ
ル」キー、「選択/実行(Enter)」キーの他、
「機能1(Ctrl)」キー、「機能2(Alt)」キ
ー等の各種ファンクションキーが設けられている。
The present apparatus also includes a keyboard 14 and a mouse 15 as input devices. Keyboard 1
Reference numeral 4 is for inputting and instructing data by key operation. In addition to "character" key, "numerical value" key, "cursor" key, "select / execute (Enter)" key,
Various function keys such as a "function 1 (Ctrl)" key and a "function 2 (Alt)" key are provided.

【0013】マウス15は、GUI(Graphical User I
nterface)での操作に用いられるものであって、画面上
のアイコンを指したり、マウスボタンを押すなどして文
字入力以外の操作を行うものである。キーボード14ま
たはマウス15にて入力されたデータは、入力コントロ
ーラ(入力−CNT)16を介してCPU11に与えら
れる。
The mouse 15 is a GUI (Graphical User I).
nterface) that is used for operations, pointing to icons on the screen or pressing mouse buttons to perform operations other than character input. The data input by the keyboard 14 or the mouse 15 is given to the CPU 11 via the input controller (input-CNT) 16.

【0014】また、17は表示器、18は表示コントロ
ーラ(表示−CNT)、19はプリンタ装置(PR
T)、20はプリンタコントローラ(PRT−CN
T)、21はフロッピーディスク装置(FDD)、22
はFDDコントローラ(FDD−CNT)、23はハー
ドディスク装置(HDD)、24はHDDコントローラ
(HDD−CNT)である。
Further, 17 is a display, 18 is a display controller (display-CNT), 19 is a printer (PR).
T), 20 is a printer controller (PRT-CN
T), 21 is a floppy disk device (FDD), 22
Is an FDD controller (FDD-CNT), 23 is a hard disk device (HDD), and 24 is an HDD controller (HDD-CNT).

【0015】表示器17は、例えばFETカラー液晶表
示装置からなり、データのカラー表示を行う。表示コン
トローラ18は、CPU11の制御の下で表示器17に
対するデータの表示制御を行う。
The display unit 17 is composed of, for example, a FET color liquid crystal display device and displays data in color. The display controller 18 controls the display of data on the display 17 under the control of the CPU 11.

【0016】プリンタ装置19は、例えばインクジェッ
ト方式の印刷装置からなり、データのカラー印刷を行
う。プリンタコントローラ20は、CPU11の制御の
下でプリンタ装置19に対するデータの印刷制御を行
う。
The printer device 19 is, for example, an ink jet type printing device, and performs color printing of data. The printer controller 20 controls printing of data to the printer device 19 under the control of the CPU 11.

【0017】フロッピーディスク装置21は、例えば
3.5インチ型高密度記録用であり、作成文書の他、各
種情報の保存用として用いられる。FDDコントローラ
22は、CPU11の制御の下でフロッピーディスク装
置21に対するデータの書込み/読出し制御を行う。
The floppy disk device 21 is, for example, for 3.5-inch high-density recording, and is used for storing various information other than created documents. The FDD controller 22 controls writing / reading of data to / from the floppy disk device 21 under the control of the CPU 11.

【0018】ハードディスク装置23は、例えば2.5
インチ型高密度記録用であり、フロッピーディスク装置
21と併用され、作成文書の他、各種情報の保存用とし
て用いられる。HDDコントローラ24は、CPU11
の制御の下でハードディスク装置23に対するデータの
書込み/読出し制御を行う。
The hard disk device 23 is, for example, 2.5.
For inch type high density recording, it is used together with the floppy disk device 21, and is used for storing various information other than created documents. The HDD controller 24 is the CPU 11
Under the control of, the writing / reading control of data to / from the hard disk device 23 is performed.

【0019】また、この他に、本装置はCD−ROM2
5、PCカード27を備えている。CD−ROM25
は、CD(コンパクト・ディスク)を外部記憶媒体とし
て利用した読出し専用の外部記憶装置である。このCD
−ROM25には、アプリケーションソフト等の各種の
情報が記憶されている。CD−ROMコントローラ(C
D−ROM−CNT)26は、CPU11の制御の下で
CD−ROM25に対するデータの読出し制御を行う。
In addition to this, the present apparatus is a CD-ROM 2
5, a PC card 27 is provided. CD-ROM25
Is a read-only external storage device that uses a CD (compact disc) as an external storage medium. This CD
The ROM 25 stores various kinds of information such as application software. CD-ROM controller (C
The D-ROM-CNT) 26 controls the reading of data from the CD-ROM 25 under the control of the CPU 11.

【0020】PCカード27は、メモリやモデムなどを
内蔵した拡張カードであり、装置本体に設けられた図示
せぬPCカード用スロットに挿入される。PCカードイ
ンタフェース(PCカード−I/F)28は、PCカー
ド27とCPU11とのインタフェース処理を行う。
The PC card 27 is an expansion card having a built-in memory, a modem, etc., and is inserted into a PC card slot (not shown) provided in the main body of the apparatus. The PC card interface (PC card-I / F) 28 performs interface processing between the PC card 27 and the CPU 11.

【0021】図2は本装置の入力画面を示す図である。
本装置の入力画面は、Writerウインドウ31と文
書ウインドウ32から構成されている。Writerウ
インドウ31は、編集のためのメニューやアイコンを表
示するためのウインドウである。文書ウインドウ32
は、文書の入力や編集のためのウインドウである。ここ
では、Writerウインドウ31の中に最大10画面
までの文書ウインドウ32の表示が可能である。
FIG. 2 is a diagram showing an input screen of this apparatus.
The input screen of this apparatus is composed of a writer window 31 and a document window 32. The Writer window 31 is a window for displaying menus and icons for editing. Document window 32
Is a window for inputting and editing documents. Here, up to 10 document windows 32 can be displayed in the Writer window 31.

【0022】図2において、33はコントロールメニュ
ーボックス、34はタイトルバー、35はアイコン化ボ
タン、36は最大表示ボタンである。また、37はメニ
ューバーである。このメニューバー37に表示されたメ
ニューから機能を選択することができる。この場合、マ
ウス15でもキーボード14でも操作することができ
る。マウス15では、使いたい機能にマウスカーソルを
合わせてクリックする。キーボード14では、「機能2
(Alt)」キーを押した後、カーソル移動キーで使い
たい機能を選び、「選択/実行(Enter)」キーを
押す。メニューバー37の項目を選ぶと、さらに細かい
機能を選ぶためのメニュー(プルダウンメニュー、カス
ケードメニュー)や細かい設定を行うためのウインドウ
(ダイアログボックス)が表示される。
In FIG. 2, 33 is a control menu box, 34 is a title bar, 35 is an icon button, and 36 is a maximum display button. Moreover, 37 is a menu bar. The function can be selected from the menu displayed on the menu bar 37. In this case, either the mouse 15 or the keyboard 14 can be operated. With the mouse 15, the mouse cursor is moved to the desired function and clicked. On the keyboard 14, "Function 2
After pressing the (Alt) key, select the function to be used with the cursor movement keys and press the "Select / Execute (Enter)" key. When an item on the menu bar 37 is selected, a menu (pull-down menu, cascade menu) for selecting further detailed functions or a window (dialog box) for performing detailed settings is displayed.

【0023】38はツールバーである。ツールバー38
には、機能がアイコン表示される。アイコン(図示せ
ず)をクリックすることで、機能を使うことができる。
また、アイコンの位置を変更した、ツールボックス化し
て任意の位置に移動することもできる。
Reference numeral 38 is a toolbar. Toolbar 38
, The function is displayed as an icon. The function can be used by clicking an icon (not shown).
Further, it is also possible to move the icon to an arbitrary position by changing the icon position into a tool box.

【0024】39はステータスバーである。ステータス
バー39には、文書の編集に関係する情報が表示され
る。また、表示された項目をマウス15でクリックする
と、機能を切り替えることができる。
Reference numeral 39 is a status bar. Information related to document editing is displayed on the status bar 39. Also, by clicking the displayed item with the mouse 15, the function can be switched.

【0025】図2の例では、ステータスバー39に文書
・罫線編集時の項目が表示されている。その中の項目3
9aには、範囲指定を行うときの単位(「文字」、「単
語」、「文節」、「行」、「段落」、「ブロック」)が
そこをマウス15でクリックする毎に表示されるように
なっている。
In the example of FIG. 2, items at the time of document / ruled line editing are displayed on the status bar 39. Item 3 in it
In 9a, a unit (“character”, “word”, “section”, “line”, “paragraph”, “block”) for designating a range is displayed each time the mouse 15 is clicked. It has become.

【0026】また、40はガイドメッセージバー、41
はシステムスペース、42aは行ルーラ、42bは桁ル
ーラ、43aは水平スクロールバー、43bは垂直スク
ロールバーである。
Further, 40 is a guide message bar, 41
Is a system space, 42a is a row ruler, 42b is a column ruler, 43a is a horizontal scroll bar, and 43b is a vertical scroll bar.

【0027】次に、同実施形態における範囲指定機能に
ついて説明する。図3は範囲指定単位の指定方法を説明
するための図である。本装置は、「文字」、「単語」、
「文節」、「行」、「段落」、「ブロック」の6種類の
範囲指定単位を有しており、これらの単位毎に編集対象
範囲を指定することができる。
Next, the range designation function in the embodiment will be described. FIG. 3 is a diagram for explaining a method of designating a range designation unit. This device uses "letter", "word",
It has six types of range designation units of “section”, “line”, “paragraph”, and “block”, and the edit target range can be designated for each of these units.

【0028】「文字」単位モードでは、1文字単位に編
集対象範囲を延ばす。「単語」単位モードでは、単語単
位(ここでは文字種の変わり目を区切り条件とする)に
編集対象範囲を延ばす。「文節」単位モードでは、文節
単位(ここでは、句読点または改行の位置を区切り条件
とする)に編集対象範囲を延ばす。
In the "character" unit mode, the edit target range is extended character by character. In the "word" unit mode, the edit target range is extended word by word (here, the transition of the character type is used as a delimiter condition). In the “bunsetsu” unit mode, the edit target range is extended in units of phrases (here, the punctuation marks or line break positions are used as the delimiter conditions).

【0029】「行」単位モードでは、1行単位に編集対
象範囲を延ばす。「段落」単位モードでは、段落単位
(ここでは、改行の位置を区切り条件とする)に編集対
象範囲を延ばす。「ブロック」単位モードでは、ブロッ
ク単位(ここでは、始点と終点でできた矩形とする)に
編集対象範囲を延ばす。
In the "line" unit mode, the edit target range is extended line by line. In the "paragraph" unit mode, the edit target range is extended in paragraph units (here, the position of a line break is used as a delimiter condition). In the “block” unit mode, the edit target range is extended in block units (here, a rectangle formed by a start point and an end point).

【0030】なお、編集対象範囲の検出はユーザにて指
定された位置を基準に行われるが、範囲指定単位の指定
はこの位置の指定の前でも後でも可能である。ここで、
範囲指定単位は、マウス15またはキーボード14を使
用して順次切り替えることができる。マウス15の場合
には、ステータスバー39の範囲指定単位の項目39a
にマウスカーソルを合わせてクリックする。これによ
り、「文字」→「単語」→「文節」→「行」→「段落」
→「ブロック」の順で範囲指定単位が切り替わる。キー
ボード14の場合には、「F8」キーを押下する。この
「F8」キーの押下毎に、「文字」→「単語」→「文
節」→「行」→「段落」→「ブロック」の順で範囲指定
単位が切り替わる。
Although the edit range is detected based on the position designated by the user, the range designation unit can be designated before or after the designation of this position. here,
The range designation unit can be sequentially switched using the mouse 15 or the keyboard 14. In the case of the mouse 15, the item 39a of the range designation unit of the status bar 39
Move the mouse cursor to and click. As a result, "character"->"word"->"section"->"line"->"paragraph"
→ The range specification unit switches in the order of “block”. In the case of the keyboard 14, the "F8" key is pressed. Each time the “F8” key is pressed, the range designation unit is switched in the order of “character” → “word” → “block” → “line” → “paragraph” → “block”.

【0031】図4にこの範囲指定単位の切り替わり状態
を示す。ステータスバー39または「F8」キーを通じ
て範囲指定単位を切り替えると、その単位毎に編集対象
範囲が特定表示(例えば反転表示)される。
FIG. 4 shows the switching state of the range designation unit. When the range designation unit is switched through the status bar 39 or the "F8" key, the edit target range is specified and displayed (for example, reverse display) for each unit.

【0032】また、この他にも、範囲指定したい場所で
マウス15をダブルクリックすると、「単語」単位で範
囲指定することができる。また、図5に示すように、
「機能1(Ctrl)」キーを押しながらマウス15を
クリックすると、マウスカーソルのある文を「文節」単
位で範囲指定することができる。なお、「機能1(Ct
rl)」キーを押しながらドラッグすると、連続する文
単位で範囲の指定を拡大することができる。
In addition to this, when the mouse 15 is double-clicked at the place where the range is desired to be specified, the range can be specified in "word" units. Also, as shown in FIG.
When the mouse 15 is clicked while holding down the "Function 1 (Ctrl)" key, the range of the sentence where the mouse cursor is located can be designated in "bunsetsu" units. In addition, "Function 1 (Ct
If you drag while holding down the "rl)" key, the range can be expanded in units of consecutive sentences.

【0033】また、行ルーラ42aを使って「行」単位
や「段落」単位の範囲指定をすることができる。行範囲
指定では、図6(a)に示すように、範囲指定を行う行
ルーラ42aにマウスカーソルを合わせてマウス15を
クリックする。段落範囲指定では、図6(b)に示すよ
うに、範囲指定したい段落の行ルーラ42aにマウスカ
ーソルを合わせてマウス15をダブルクリックする。
Further, the line ruler 42a can be used to specify a range in "line" units or "paragraph" units. In the line range designation, as shown in FIG. 6A, the mouse cursor is moved to the line ruler 42a for which the range is designated and the mouse 15 is clicked. In the paragraph range designation, as shown in FIG. 6B, the mouse cursor is moved to the line ruler 42a of the paragraph whose range is to be designated and the mouse 15 is double-clicked.

【0034】次に、同実施形態の動作を説明する。図7
は範囲指定処理の動作を示すフローチャートである。上
述したような方法にて範囲指定の単位が指定されると、
CPU11は、まず、範囲指定を行う位置の取り出しを
行う(ステップS11のYes)。これは、キーボード
14またはマウス15にて指示された位置が文書上のど
こになるのかを取り出す処理である。なお、この位置の
指定は、範囲指定単位の指定前でも後でも良い。
Next, the operation of the embodiment will be described. Figure 7
3 is a flowchart showing the operation of range designation processing. When the unit of range specification is specified by the method as described above,
First, the CPU 11 takes out the position where the range is designated (Yes in step S11). This is a process of extracting where on the document the position designated by the keyboard 14 or the mouse 15 is. The position may be designated before or after the range designation unit is designated.

【0035】ここで、「文字」単位モードが指定された
場合(ステップS12のYes)、CPU11は上記指
定位置の1文字分を編集対象範囲として検出し、これを
反転表示する(ステップS13)。
If the "character" unit mode is designated (Yes in step S12), the CPU 11 detects one character at the designated position as the edit target range and displays it in reverse video (step S13).

【0036】「単語」単位モードが指定された場合(ス
テップS14のYes)、CPU11は上記指定位置の
文字種を判定する(ステップS15)。単語単位の区切
り条件としては、以下の文字種で違いが発生したときに
区切るものとする。
When the "word" unit mode is designated (Yes in step S14), the CPU 11 determines the character type of the designated position (step S15). The word-based delimiter condition is to separate when the following character types differ.

【0037】漢字/ひらがな/カタカナ/スペース/英
数/句読点/改行 しかして、CPU11は上記指定位置の前方向に文書を
検索し、文字種が変わった位置に+1した位置を編集対
象範囲の始点として検出する(ステップS16)。次
に、CPU11は上記指定位置の後方向に文書を検索
し、文字種が変わった位置に−1した位置を編集対象範
囲の終点として検出する(ステップS17)。このよう
にして、単語単位での編集対象範囲の始点および終点が
検出されると、CPU11はその編集対象範囲を反転表
示する(ステップS18)。
Kanji / Hiragana / Katakana / Space / Alpha / Punctuation / Line feed The CPU 11 searches the document in the forward direction of the specified position, and the position obtained by adding +1 to the position where the character type has changed is the starting point of the range to be edited. It is detected (step S16). Next, the CPU 11 searches the document backward for the specified position, and detects the position -1 at the position where the character type has changed as the end point of the edit target range (step S17). In this way, when the start point and the end point of the edit target range in word units are detected, the CPU 11 reversely displays the edit target range (step S18).

【0038】「文節」単位モードが指定された場合(ス
テップS19のYes)、CPU11は句読点または改
行を区切り条件とし、上記指定位置の前方向に文書を検
索し、句読点または改行があった位置に+1した位置を
編集対象範囲の始点として検出する(ステップS2
0)。次に、CPU11は上記指定位置の後方向に文書
を検索し、句読点または改行があった位置に−1した位
置を編集対象範囲の終点として検出する(ステップS2
1)。このようにして、文節単位での編集対象範囲の始
点および終点が検出されると、CPU11はその編集対
象範囲を反転表示する(ステップS22)。
When the "bunsetsu" unit mode is designated (Yes in step S19), the CPU 11 uses the punctuation mark or line feed as a delimiter condition, searches the document forward of the designated position, and finds the position where the punctuation mark or line feed occurred. The +1 position is detected as the start point of the edit target range (step S2
0). Next, the CPU 11 searches the document backward for the specified position, and detects a position minus -1 at the position where there was a punctuation mark or a line break as the end point of the edit target range (step S2).
1). In this way, when the start point and the end point of the edit target range in units of phrases are detected, the CPU 11 reversely displays the edit target range (step S22).

【0039】「行」単位モードが指定された場合(ステ
ップS23のYes)、CPU11は上記指定位置を含
む1行分を編集対象範囲として検出し、これを反転表示
する(ステップS24)。
When the "line" unit mode is designated (Yes in step S23), the CPU 11 detects one line including the designated position as an edit target range and displays it in reverse video (step S24).

【0040】「段落」単位モードが指定された場合(ス
テップS25のYes)、CPU11は改行を区切り条
件とし、上記指定位置の前方向に文書を検索し、改行が
あった位置に+1した位置を編集対象範囲の始点として
検出する(ステップS26)。次に、CPU11は上記
指定位置の後方向に文書を検索し、改行があった位置に
−1した位置を編集対象範囲の終点として検出する(ス
テップS27)。このようにして、段落単位での編集対
象範囲の始点および終点が検出されると、CPU11は
その編集対象範囲を反転表示する(ステップS28)。
When the "paragraph" unit mode is designated (Yes in step S25), the CPU 11 uses the line feed as a delimiter condition, searches the document in the forward direction of the designated position, and adds +1 to the position where the line feed occurs. It is detected as the start point of the edit target range (step S26). Next, the CPU 11 searches the document backward for the specified position, and detects a position minus -1 at the position where the line is broken as the end point of the edit target range (step S27). In this manner, when the start point and the end point of the edit target range are detected in paragraph units, the CPU 11 reversely displays the edit target range (step S28).

【0041】「ブロック」単位モードが指定された場合
(ステップS29のYes)、CPU11は予めブロッ
クの始点と終点として指定された位置に基づいて、その
始点と終点でできた矩形の範囲を編集対象範囲として検
出し、これを反転表示する(ステップS30)。
When the "block" unit mode is specified (Yes in step S29), the CPU 11 edits the rectangular range formed by the start point and the end point based on the positions previously specified as the start point and the end point of the block. It is detected as a range and this is highlighted (step S30).

【0042】このように、複数の単位毎に編集対象範囲
を指定することができる。したがって、文書中の文字列
を編集するときに(例えばコピー、移動、削除等)、そ
の編集対象となる文字列の範囲を例えば文字単位、単語
単位、行単位といったように、その目的に応じた単位で
指定しながら、編集操作を効率良く行うことができるよ
うになる。
In this way, the edit target range can be designated for each of a plurality of units. Therefore, when editing a character string in a document (for example, copy, move, delete, etc.), the range of the character string to be edited can be changed according to the purpose, for example, in character units, word units, or line units. It becomes possible to perform editing operations efficiently while designating in units.

【0043】なお、上記実施形態では、入力文字列をか
な漢字変換した後の文書を対象としているため、例えば
「単語」単位モードでは本来の単語ではなく、文字種の
変わり目を区切り条件としているが、かな漢字変換時の
情報(入力文字列を構文解析した結果やかな漢字変換辞
書の情報等)を利用すれば、本来の単語を区切り条件と
して編集対象範囲を検出することができる。同様に、
「文節」単位モードでも、かな漢字変換時の情報を利用
することで、本来の文節を区切り条件として編集対象範
囲を検出することができる。
In the above embodiment, the input character string is converted into Kana-Kanji characters, and therefore, in the "word" unit mode, not the original word but the transition of the character type is used as the delimiter condition. By using the information at the time of conversion (the result of the syntax analysis of the input character string, the information of the Kana-Kanji conversion dictionary, etc.), the edit target range can be detected using the original word as a delimiter condition. Similarly,
Even in the “bunsetsu” unit mode, the editing target range can be detected using the original bunsetsu as a delimiting condition by using the information at the time of kana-kanji conversion.

【0044】[0044]

【発明の効果】以上のように本発明によれば、範囲指定
を行う位置を指定する前または範囲指定を行う位置を指
定した後に、例えば文字単位、単語単位、行単位等の複
数の範囲指定単位を任意選択的に切り替えることによ
り、上記指定された位置を基準に上記切り替えられた単
位毎に編集対象となる範囲を検出し、この検出された編
集対象範囲を特定の表示形態で表示するしたため、文書
中の文字列を編集するときに(例えばコピー、移動、削
除等)、その編集対象となる文字列の範囲を例えば文字
単位、単語単位、行単位といったように、その目的に応
じた単位で指定しながら、編集操作を効率良く行うこと
ができるようになる。
As described above, according to the present invention, a plurality of range designations such as a character unit, a word unit, and a line unit can be performed before designating a position for performing range designation or after designating a position for performing range designation. By selectively switching the unit, the range to be edited is detected for each unit switched based on the specified position, and the detected edit range is displayed in a specific display form. When editing a character string in a document (for example, copy, move, delete, etc.), the range of the character string to be edited is a unit according to the purpose, such as a character unit, a word unit, or a line unit. It becomes possible to efficiently perform the editing operation while designating with.

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

【図1】本発明の一実施形態に係る情報処理装置の構成
を示すブロック図。
FIG. 1 is a block diagram showing a configuration of an information processing apparatus according to an embodiment of the present invention.

【図2】同装置の入力画面を示す図。FIG. 2 is a diagram showing an input screen of the apparatus.

【図3】範囲指定単位の指定方法を説明するための図。FIG. 3 is a diagram for explaining a method of specifying a range specification unit.

【図4】範囲指定単位の切り替わり状態を示す図。FIG. 4 is a diagram showing a switching state of range designation units.

【図5】「機能1(Ctrl)」キーを使った「文節」
単位で範囲指定方法を説明するための図。
[Fig. 5] "Phrase" using the "Function 1 (Ctrl)" key
The figure for demonstrating the range specification method by a unit.

【図6】行ルーラを使った「行」単位および「段落」単
位の範囲指定方法を説明するための図。
FIG. 6 is a diagram for explaining a method of specifying a range in “line” units and “paragraph” units using a line ruler.

【図7】範囲指定処理の動作を示すフローチャート。FIG. 7 is a flowchart showing the operation of range designation processing.

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

11…CPU 12…ROM 13…RAM 13a…文書バッファ 13b…編集対象領域 14…キーボード 15…マウス 17…表示器 19…プリンタ装置 21…フロッピーディスク装置 23…ハードディスク装置 25…CD−ROM 27…PCカード 39…ステータスバー 42aおよび42b…ルーラ 11 ... CPU 12 ... ROM 13 ... RAM 13a ... Document buffer 13b ... Editing target area 14 ... Keyboard 15 ... Mouse 17 ... Display 19 ... Printer device 21 ... Floppy disk device 23 ... Hard disk device 25 ... CD-ROM 27 ... PC card 39 ... Status bar 42a and 42b ... Ruler

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 範囲指定を行う位置を指定する位置指定
手段と、 複数の範囲指定単位を有し、これらを任意選択的に切り
替える単位切替え手段と、 上記位置指定手段によって指定された位置を基準に上記
単位切替え手段によって切り替えられた単位毎に編集対
象となる範囲を検出する範囲検出手段と、 この範囲検出手段によって検出された編集対象範囲を特
定の表示形態で表示する表示手段とを具備したことを特
徴とする情報処理装置。
1. A position designating unit for designating a position for designating a range, a unit switching unit having a plurality of range designating units, and selectively switching between these units, and a position designated by the position designating unit as a reference. And a range detecting means for detecting a range to be edited for each unit switched by the unit switching means, and a display means for displaying the editing range detected by the range detecting means in a specific display form. An information processing device characterized by the above.
【請求項2】 範囲指定を行う位置の指定前または指定
後に、複数の範囲指定単位を任意選択的に切り替えるこ
とにより、 上記指定された位置を基準に上記切り替えられた単位毎
に編集対象となる範囲を検出し、 この検出された編集対象範囲を特定の表示形態で表示す
るようにしたことを特徴とする範囲指定方法。
2. A plurality of range designation units are optionally switched before or after designation of a position for which a range is designated, so that the unit to be edited is an object to be edited for each unit switched based on the designated position. A range specifying method characterized by detecting a range and displaying the detected range to be edited in a specific display form.
JP8004270A 1996-01-12 1996-01-12 Information processing apparatus and range designation method Pending JPH09190436A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8004270A JPH09190436A (en) 1996-01-12 1996-01-12 Information processing apparatus and range designation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8004270A JPH09190436A (en) 1996-01-12 1996-01-12 Information processing apparatus and range designation method

Publications (1)

Publication Number Publication Date
JPH09190436A true JPH09190436A (en) 1997-07-22

Family

ID=11579857

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8004270A Pending JPH09190436A (en) 1996-01-12 1996-01-12 Information processing apparatus and range designation method

Country Status (1)

Country Link
JP (1) JPH09190436A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011138305A (en) * 2009-12-28 2011-07-14 Fujitsu Ltd Device, method and program for inputting character
JP2012113730A (en) * 2009-06-07 2012-06-14 Apple Inc Device, method, and graphical user interface for accessibility using contact sense surface
US8707195B2 (en) 2010-06-07 2014-04-22 Apple Inc. Devices, methods, and graphical user interfaces for accessibility via a touch-sensitive surface
US8751971B2 (en) 2011-06-05 2014-06-10 Apple Inc. Devices, methods, and graphical user interfaces for providing accessibility using a touch-sensitive surface
US8881269B2 (en) 2012-03-31 2014-11-04 Apple Inc. Device, method, and graphical user interface for integrating recognition of handwriting gestures with a screen reader
JP2018129076A (en) * 2012-12-20 2018-08-16 マイクロソフト テクノロジー ライセンシング,エルエルシー Autocomplete with persisted atomically linked entities
JP2018530015A (en) * 2016-06-23 2018-10-11 北京小米移動軟件有限公司Beijing Xiaomi Mobile Software Co.,Ltd. Text selection method and apparatus
EP3629325A1 (en) 2018-09-27 2020-04-01 Fujitsu Limited Sound playback interval control method, sound playback interval control program, and information processing apparatus
EP3640940A1 (en) 2018-09-27 2020-04-22 Fujitsu Limited Method, program, and information processing apparatus for presenting correction candidates in voice input system
US11238867B2 (en) 2018-09-28 2022-02-01 Fujitsu Limited Editing of word blocks generated by morphological analysis on a character string obtained by speech recognition

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012113730A (en) * 2009-06-07 2012-06-14 Apple Inc Device, method, and graphical user interface for accessibility using contact sense surface
US8681106B2 (en) 2009-06-07 2014-03-25 Apple Inc. Devices, methods, and graphical user interfaces for accessibility using a touch-sensitive surface
US10474351B2 (en) 2009-06-07 2019-11-12 Apple Inc. Devices, methods, and graphical user interfaces for accessibility using a touch-sensitive surface
US9009612B2 (en) 2009-06-07 2015-04-14 Apple Inc. Devices, methods, and graphical user interfaces for accessibility using a touch-sensitive surface
US10061507B2 (en) 2009-06-07 2018-08-28 Apple Inc. Devices, methods, and graphical user interfaces for accessibility using a touch-sensitive surface
JP2011138305A (en) * 2009-12-28 2011-07-14 Fujitsu Ltd Device, method and program for inputting character
US8707195B2 (en) 2010-06-07 2014-04-22 Apple Inc. Devices, methods, and graphical user interfaces for accessibility via a touch-sensitive surface
US8751971B2 (en) 2011-06-05 2014-06-10 Apple Inc. Devices, methods, and graphical user interfaces for providing accessibility using a touch-sensitive surface
US10013162B2 (en) 2012-03-31 2018-07-03 Apple Inc. Device, method, and graphical user interface for integrating recognition of handwriting gestures with a screen reader
US9633191B2 (en) 2012-03-31 2017-04-25 Apple Inc. Device, method, and graphical user interface for integrating recognition of handwriting gestures with a screen reader
US8881269B2 (en) 2012-03-31 2014-11-04 Apple Inc. Device, method, and graphical user interface for integrating recognition of handwriting gestures with a screen reader
JP2018129076A (en) * 2012-12-20 2018-08-16 マイクロソフト テクノロジー ライセンシング,エルエルシー Autocomplete with persisted atomically linked entities
JP2018530015A (en) * 2016-06-23 2018-10-11 北京小米移動軟件有限公司Beijing Xiaomi Mobile Software Co.,Ltd. Text selection method and apparatus
US10296201B2 (en) 2016-06-23 2019-05-21 Beijing Xiaomi Mobile Software Co., Ltd. Method and apparatus for text selection
EP3629325A1 (en) 2018-09-27 2020-04-01 Fujitsu Limited Sound playback interval control method, sound playback interval control program, and information processing apparatus
EP3640940A1 (en) 2018-09-27 2020-04-22 Fujitsu Limited Method, program, and information processing apparatus for presenting correction candidates in voice input system
US11182553B2 (en) 2018-09-27 2021-11-23 Fujitsu Limited Method, program, and information processing apparatus for presenting correction candidates in voice input system
US11386684B2 (en) 2018-09-27 2022-07-12 Fujitsu Limited Sound playback interval control method, sound playback interval control program, and information processing apparatus
US11238867B2 (en) 2018-09-28 2022-02-01 Fujitsu Limited Editing of word blocks generated by morphological analysis on a character string obtained by speech recognition

Similar Documents

Publication Publication Date Title
EP0533607B1 (en) Method and system of providing multiple selections and swipe and type operations in text on a computer display
KR101043496B1 (en) Character and text unit input devices, text unit replacement methods, and computer readable recording media
US6891551B2 (en) Selection handles in editing electronic documents
US7701449B2 (en) Ink correction pad
JP2965010B2 (en) Related information search method and apparatus, and machine-readable recording medium recording program
US9274670B2 (en) Methods and apparatuses for inputting information
KR20050025147A (en) Entering text into an electronic communications device
JP2000123114A (en) Handwritten character input device and storage medium
KR101109191B1 (en) Data input panel character conversion
JPH09190436A (en) Information processing apparatus and range designation method
JP2004086621A (en) Electronic device, display control method, program, and recording medium
JPH09190430A (en) Information processing device and function / range designation method
JP2839448B2 (en) Input and conversion device for characters etc. in word processors etc.
JPH0793124A (en) Document creating apparatus and scrolling method
JP2003015807A (en) Method and program for controlling input
JP4584370B2 (en) Computer, comment display method thereof, and recording medium
JP3371435B2 (en) Input mode automatic setting method or input mode automatic setting device
JPH10289055A (en) Portable information terminal
JP4660344B2 (en) Document processing apparatus, document processing method, document processing program, and computer-readable recording medium recording the document processing program
JPH09198030A (en) Information processing apparatus and external character editing method
JPS6218952B2 (en)
JPH04276854A (en) Word processor
JP2001202187A (en) Electronic device and control method for electronic device
JPS63286965A (en) Document generation device
JPH0584934B2 (en)