Text processing device

Abstract: An object of the invention is to improve the operability and ease of use of electronic apparatus (1, 1a) generally known as electronic organizers used for storing and displaying textual data and other data entered thereto. The electronic apparatus (1) facilitates effective creation of text having a hierarchical structure. The electronic apparatus (1a) enables data search to be performed between a plurality of different modes each controlling specific data without repeatedly entering a search character string. Also, with the electronic apparatus (1a), when entering data identical to data already entered, the data can be entered by a simple key operation using the already entered data.

Description: 1. BACKGROUND OF THE INVENTION The present invention relates to improvements in small electronic apparatus having a text processing means and a storage means for storing input textual data. The invention also relates to a small electronic apparatus such as a so-called electronic organizer or the like. 2. DESCRIPTION OF THE PRIOR ART Some of small electronic apparatus currently in wide use are capable of inputting text from the attached keyboard and storing the thus input text. A variety of documents ranging from materials for a conference to materials for presiding at a wedding reception, etc. are written using such small electronic apparatus. Most of such documents naturally are organized in a hierarchical structure. The hierarchical structure of a document consists specifically of a title, a plurality of subjects or items under the title, and a detailed description under each subject or item. It is often possible to subdivide the description under one subject or item into a plurality of portions according to the content. With conventional small electronic apparatus, the hierarchical structure of text as mentioned above can be shown on the display thereof by the user's efforts such as providing indentations, item numbers, etc. However, since the text is expressed by one-dimensional strings of character codes within the electronic apparatus, it has not been possible to process the text in accordance with the hierarchical structure the way that the user intended. For example, in order to delete a part relating to a certain subject from the input text, it has been necessary to specify the part to be deleted while checking the subject and the description relating to the subject on the display. Since the display provided on a small electronic apparatus is usually very small, such deletion work has been cumbersome particularly when the part to be deleted is long. In the article from G.D. Kimura: "A Structure Editor for Abstract Document Objects", IEEE Transactions on Software Engineering, March 1986, New York, US, vol. SE-12, no.3, pages 417-435 a document processing system is described which is based upon a model of a common document. The model introduces the notions of abstract and concrete objects, hierarchical composition of ordered and unordered objects, sharing of components and reference links. In the paper, however, only certain functionalities are presented but no specific apparatus means are proposed. SUMMARY OF THE INVENTION In view of the above problems, it is an object of the invention to provide a small electronic apparatus capable of handling text according to its hierarchical structure. To accomplish the above object, the invention provides a small electronic apparatus having the features of appended claim 1. According to the invention, there is provided a small electronic apparatus capable of creating text having a hierarchical structure and of manipulating the created text in accordance with the hierarchical structure thereof. Also, in the small electronic apparatus of the invention, just by specifying certain textual data in a piece of text as a candidate for text processing, the textual data directly or indirectly subordinate to the specified textual data is automatically included as a candidate for processing; thus, the candidate for processing can be selected effectively and correctly when processing text having a hierarchical structure. It is possible to display the selected textual data, together with the textual data belonging to a hierarchical level coordinate with the hierarchical level of the selected textual data and subordinate to a higher hierarchical level to which the hierarchical level of the selected textual data is subordinate, on the display means on the basis of management information held in the management means. Furthermore, in the small electronic apparatus of the invention, it is possible to display only the textual data related to a certain hierarchical level, omitting from the display the textual data related to lower hierarchical levels than that level. This helps to grasp the whole text structure even when the size of the display device provided in the electronic apparatus is limited. To sum up, with the small electronic apparatus of the invention, it is possible to create text intrinsically having a hierarchical structure. BRIEF DESCRIPTION OF THE DRAWINGS Other and further objects, features, and advantages of the invention will be more explicit from the following detailed description taken with reference to the drawings wherein: Fig.1 is a perspective view of one embodiment of the invention; Fig.2 is a diagram schematically showing the internal configuration of a memory card used in the embodiment; Fig.3 is a plan view of the memory card; Fig.4 is a block diagram showing the hardware configuration of the embodiment; Fig.5 is a diagram showing the memory map of the embodiment; Fig.6 is a diagram showing the mode selector section of the embodiment; Fig.7 is a flowchart showing the operation of the embodiment when power is turned on; Fig.8 is a diagram explaining how textual data is managed by a text creation program; Figs.9A to 9K are diagrams showing displays at various stages in one example of text creation and text manipulation performed by the text creation program; Figs.10A, 10B, 11 and 12 are flowcharts showing the operation of the text creation program; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Now referring to the drawing, preferred embodiments of the invention are described below. First, we will describe one embodiment of the invention. Fig.1 shows an external view of a small electronic apparatus in one embodiment of the invention. The small electronic apparatus 1 of Fig.1 consists of a main body 2 and a main body cover 3, the main body 2 having a keyboard 4. The keyboard 4 comprises a mode selector section 41, which includes keys for selecting modes, an operation instruction section 42, which includes a power key, function keys for performing various operations (including an "insert" key, a "select" key, and a "call" key), and cursor keys, and a data input section 43, which includes character keys for entering character data and numeric keys for entering numeric data. Provided on the front of the main body cover 3 are a liquid crystal display (LCD) 5 capable of displaying a plurality of lines and a transparent keyboard 6. Other types of display device having a low power dissipation may be used instead of the LCD 5. A memory card hereinafter described is inserted into position through a slot (not shown) near the hinge on the back of the main body cover 3 in such a manner that the front face of the memory card can be seen through the transparent keyboard 6. The transparent keyboard 6 is used when executing an application program supplied by the memory card. The internal configuration of the memory card is schematically shown in Fig.2. As shown, the memory card 7 comprises a ROM 71 for storing an application program, a RAM 72 for storing variable information generated during the execution of the application program, a female connector 73 for connecting the ROM 71 and the RAM 72 to the small electronic apparatus 1, and a backup battery 74 for retaining information stored in the RAM 72. When the application program stored in the ROM 71 is the type that does not generate variable information during the execution thereof, there is no need to provide the RAM 72 or the battery 74. As shown in Fig.3, key symbols unique to the application program in the memory card 7 are printed on the front face of the memory card 7. The key symbols do not have the functions as keys, and actual key entries are made using the transparent keyboard 6. Fig.4 shows the hardware configuration of the small electronic apparatus 1. A control section 8 for controlling the small electronic apparatus 1 contains a CPU 81 and a gate array 82. The LCD 5 shown in Fig.1 is connected to the control section 8 via a decoder 51, a bit map memory 52, a common driver 53, and a segment driver 54. The data to be displayed on the LCD 5 is supplied from the control section 8 to the decoder 51. The decoder 51 decodes the data and writes it into the bit map memory 52. The bit map memory 52 is a memory in which one bit is assigned to every dot of the LCD 5, the bits corresponding to the dots to illuminate being set to "1" and the other bits being set to "0". The common driver 53 and the segment driver 54 are used to display characters, graphics, etc. on the LCD 5 according to the contents stored in the bit map memory 52. The reference numeral 45 shows a key matrix for detecting key entries from the keyboard 4, while the reference numeral 65 indicates a key matrix for detecting key entries from the transparent keyboard 6. Also connected to the control section 8 are a ROM 9 and a RAM 10. The ROM 9 stores a basic program for performing basic functions including handling of data input from the keyboard 4 and the transparent keyboard 6 and displaying on the LCD 5; application programs for performing a calendar display function, an address book function, a text creation function, a schedule management function, and a memo function; and a plurality of tables having fixed contents and used in application programs for calendar display, etc. The RAM 10 is used to store variable information needed by the application programs stored in the RON 9. The RAM 10 has an address book memory area 101, a schedule memory area 102, a memo data memory area 103, a table 104 for managing the information relating to the memo data stored in the memo data memory area 103, a mode memory area 105 for storing the various modes, a textual data memory area 106, a management table 107 for managing hierarchical relationships, etc. of the textual data stored in the text memory area 106, and a data exchange memory area 110 for exchanging data between the application programs. The RAM 10 also has areas for storing various variables, pointers, and flags. Furthermore, a real time clock (RTC) 11, an expansion terminal (I/O) 12 for connecting an external device such as a printer, and an expansion terminal (I/O) 13 dedicated for a memory card are connected to the control section 8. Connected to the expansion terminal (I/O) 13 are a male connector 14 to which the female connector 73 of the memory card 7 is connected and a detector 15 for detecting the connection of the male connector 14 to the female connector 73 of the memory card 7. Fig.5 shows the memory map of the small electronic apparatus 1. As shown, the addresses of the small electronic apparatus 1 are assigned to the internal ROM 9 of the electronic apparatus 1, the internal RAM 10 of the electronic apparatus 1, and the internal memory device of the memory card 7, in this order. Since the ROM 9 and the RAM 10 have fixed capacities, the addresses assigned to them are fixed. On the other hand, addresses starting at the address next to the last address of the internal RAM 10 of the electronic apparatus 1 are assigned to the internal memory device of the memory card 7 (the internal memory device consists of the ROM 71 and the RAM 72 or only of the ROM 71). The capacity of the internal memory device of the memory card 7 may vary from card to card. This means that the last address assigned to the internal memory device of the memory card may vary from card to card. However, the high limit of the last address is determined by the specification of the control section 8. Referring now to Figs.6 and 7, we will describe the operation of the small electronic apparatus 1 when power is turned on. Fig.6 shows the mode selector section 41 having six mode selector keys 41a to 41f. The mode selector keys 41a to 41e are used to start the application programs stored in the internal ROM 9 of the small electronic apparatus 1, while the mode selector key 41f is used to start the application program of the memory card 7 loaded into the small electronic apparatus 1. As shown in the flowchart of Fig.7, when power is turned on, each section of the small electronic apparatus 1 is initialized (step s1), getting ready for the depression of the mode selector keys 41a to 41f (step s2). When any one of the mode selector keys is depressed, the application program corresponding to the depressed mode selector key is started (steps S3-S8). Even when one application program has been started, any other application program can be started by depressing the corresponding mode selector key 41a to 41f. The mode selector key 41a is depressed to start the calendar program (step s3). The calendar program is primarily for displaying a calendar for the month to which the current date belongs. The mode selector key 41b is depressed to start the address book program (step s4). The address book program allows the creation of an address book in which the person's name, the telephone number, and the address are stored as a set of data. By entering the name of the person whose telephone number and/or address are needed, the required information can be retrieved from the address book. The mode selector key 41c is depressed to start the next creation program (step s5). Using the text creation program, it is possible to create and manipulate text having a hierarchical structure, as detailed hereinafter. The mode selector key 41d is depressed to start the schedule program (step s6). Using the schedule program, it is possible to create a table of schedule data each consisting of date and schedule item and retrieve future schedule data nearest to the current date from the schedule table. The mode selector key 41e is depressed to start the memo program (step s7). Using the memo program, it is possible to input memo data and display the input memo data. When the mode selector key 41f is depressed, the detector 15 is activated which electrically detects the connection of the female connector 73 of the memory card 7 to the male connector 14 of the small electronic apparatus 1, to check whether the memory card 7 is loaded or not. When it is decided that the memory card 7 is not loaded, the depression of the mode selector key 41f is disabled. On the other hand, when it is decided that the memory card 7 is loaded, the application program contained in the internal ROM 71 of the memory card 7 is started. We will now describe the text creation program. Fig.8 shows how textual data is managed by the text creation program. Textual data entered is stored in the textual data memory area 106 in the RAM 10 in the same order that it is arranged in the entire text. Individual pieces of textual data stored in the textual data memory area 106 are separated from each other by a delimiter not shown. In this embodiment, each textual data is assigned a hierarchical level, under direct subordination to which more than one textual data belonging to a hierarchy one level lower than that of the above textual data can be placed. Thus, as a whole, the textual data stored in the textual data memory area 106 is organized in a tree-structured hierarchical relationship. The hierarchical relationship of the textual data stored in the textual data memory area 106 is managed using the management table 107. The management table 107 has a plurality of fixed-length entries 108. In Fig.8, the arrow marks extending from the entries 108 to the textual data memory 106 area indicate the correspondence of the entries 108 of the management table 107 relative to the textual data. As is apparent from Fig.8, the entries 108 of the management table 107 are arranged in the management table 107 in accordance with the order in which the textual data is stored in the textual data memory area 106. Each entry 108 of the management table 107 consists of a hierarchy field 111, a child existence flag 112, and a character number field 113. A binary number representing the hierarchy of the textual data corresponding to the entry 108 is stored in the hierarchy field 111. In this embodiment, a higher level of hierarchy is represented by a smaller value. The highest level of hierarchy represented by the binary number "0000" is dedicated to the title of text. The hierarchical levels represented by the binary numbers "0001", "0010", and "0011" are assigned to the textual data classified as "major item", "medium item", and "minor item", respectively. It is also possible to input textual data belonging to a lower hierarchical level than that of the minor item. The child existence flag 112 is set to "1" when textual data directly subordinate to the textual data corresponding to the entry 108 exists, and to "0" when such textual data does not exist. The number of characters contained in the textual data corresponding to the entry 108 is stored in the character number field 113. Since the entries 108 of the management table 107 are arranged in the management table 107 in accordance with the order in which the textual data is stored in the textual data memory area 106, as previously mentioned, there is no need to provide a pointer chain between the entries 108 for explicitly pointing to the tree-structure hierarchical relationship. A table pointer 109 is a pointer that points to the entry 108 of the management table 107, and the entry 108 pointed to by the table pointer 109 is changed as the text creating and editing work by the text creation program progresses, as described hereinafter. To help understand the operation of the text creation program, we will describe a procedure for creating text and a procedure for manipulating the created text using the text creation program with reference to Figs.9A to 9I, before proceeding to the description of the program operation. At the start of text creation, a message as shown in Fig.9A is displayed prompting the operator to enter the title of the text to be created. Fig.9B shows the display when the character data "Facsimile broadcast receiver" has been entered as the title. As shown, a mark 91 is blinking at the position indented by one character on the line next to the title line, prompting the operator to enter a major item. In this embodiment, the operator is notified of the hierarchical level of the textual data by the position of the mark 91 on the line. Thus, the hierarchical levels of the medium and minor items are indicated by the indentations by two and three characters, respectively. The entered title (textual data) is stored at the top of the textual data memory area 106, as shown in Fig.8. Hierarchical information "0000" and character number "00001011" (11 in decimal notation) are written into the entry 108 of the management table 107 corresponding to the title. The child existence flag 112 of the entry 108 is always set at "1" in the case of the title of text. Fig.9C shows the display after four major items have been entered. The entered major items are stored in the textual data memory area 106, part of which is shown in Fig.8. The entries 108 corresponding to the major items are created in the management table 107. "0001" is written into the hierarchy field 111 of each of these entries 108. The number of characters of each major item is stored in the character number field 113 of the corresponding entry 108. The child existence flag 112 is set to "0" since there is no textual data (medium item) subordinate to the major items when the major items are entered. The child existence flag 112 is set to "1" when a subordinate medium item is entered. In this embodiment, when one major item has been entered, a blinking mark 92 is displayed on the next line at the same indented position as that of the mark 91 for that major item, prompting the operator to enter the next major item. As will be described hereinafter, the hierarchical level of the textual data to be entered can be changed by moving the blinking mark using a cursor key. To enter a medium item after the major items have been entered, first a cursor key is operated to select the major item corresponding to the parent of the medium item to be entered. The selected major item is indicated by a blinking mark 93 as shown in Fig.9D. When the "insert" key is depressed at this time, a new line is inserted on which only a blinking mark 94 is displayed, as shown in Fig.9E. The mark 94 is displayed with the same indentation as that of the mark 93 attached to the selected major item. Next, to enter the medium item, the mark 94 is moved one character to the right using a cursor key (Fig.9F). At this time, the mark 93 attached to the major item one line above the inserted line changes from a white to a blacked-out mark. In this embodiment, a white mark indicates that there is no textual data subordinate to the textual data corresponding to that mark, and a black mark indicates that there is textual data subordinate to the textual data corresponding to that mark. Alternatively, the shape of the mark may be changed to indicate the presence or absence of subordinate textual data. Fig.9G shows the display after two medium items "Outline of the prototype receiver" and "Reception characteristics" have been entered. The input of the second medium item "Reception characteristics" is also accomplished by inserting a new line using the "insert" key. The entered medium items are stored in the textual data memory area 106 of Fig.8. The entries 108 corresponding to the medium items are created in the management table 107, and appropriate data is written into the created entries 108. Also, since the subordinate medium items are entered, "1" is written into the child existence field 112 of the entry 108 corresponding to the major item "Prototype..." A minor item can be entered using a procedure similar to that for entering a medium item (Fig.9H). Fig.9I shows the display after all inputs have been made. Referring now to Figs.10A and 10B, we will describe the operation of the text creation program for creation of text. First, a message is displayed prompting the operator to enter a title (step s11). At step s12, the title is entered. The entered title is stored in the textual data memory area 106, appropriate data being written into the title entry 108 in the management table 107 (step s13). At step s14, the number "1" representing the major item is substituted for a variable A indicating the hierarchy. Then, a new line is started with a blinking mark displayed (step s15). Also, the table pointer 109 is updated so as to point to the next entry 108 (step s16). At step s17, it is checked whether a character key or a numeric key is operated for entry of textual data; if it is decided that a character key or a numeric key has been operated, the process proceeds to step s18, and if not, the process proceeds to step s21 of Fig.10B. At step s18, a major item is entered. The entered major item is stored in the textual data memory area 106, appropriate data being written into the entry 108 of the management table 107 pointed to by the table pointer 109 (step s19). When the processing of step s19 is completed, the process returns to step s15. At step s21 (Fig.10B), it is checked whether a cursor key is depressed; if it is decided that a cursor key has been depressed, the process proceeds to step s22, and if not, the process proceeds to step s27. At step s22, it is checked whether the depressed cursor key is an up/down key or a right/left key, and the process proceeds to step s23 in the case of an up/down key and to step s25 in the case of a right/left key. At step s23, the mark to blink is changed according to the kind of the depressed cursor key. At step s24, the table pointer 109 is updated according to the kind of the depressed cursor key, and the variable A is updated according to the contents of the hierarchy field 111 of the entry 108 pointed to by the updated table pointer 109. Thereafter, the process returns to step s21. On the other hand, at step s25, the blinking mark is moved to the right or left according to the kind of the depressed cursor key, updating the variable A accordingly. Next, at step s26, the child existence flag 112 of the entry 108 is updated which is related to the textual data corresponding to the direct parent of the textual data to be entered after the blinking mark. Such an entry 108 can be easily located by searching the management table upward from the position pointed to by the table pointer 109. Thereafter, the process returns to step s21. At step s27, it is checked whether the depressed key is the "insert" key or not; if it is determined as the "insert" key, the process proceeds to step s28, and if not, the process proceeds to S31. At step s28, a new line is inserted. Next, a blinking mark is displayed at the position on the inserted line in accordance with the value of the variable A (step s29). At step 30, the table pointer 109 is updated so as to point to the next entry 108. At order to insert a new entry at that position, the contents of all the entries after the entry 108 pointed to by the updated table pointer 109 are shifted by one entry. Thereafter, the process returns to step s21. At step s31, textual data is entered. At step s32, the entered textual data is stored in the textual data memory area 106. The location in the textual data memory area of the entered textual data is determined by adding up the values of the character number fields 113 of all entries that come before the entry 108 pointed to by the table pointer 109. Alternatively, a separate pointer may be provided for the textual data memory area 106. Also, at step s32, appropriate data is written into the entry 108 of the management table 107 pointed to by the table pointer 109. At the same time, the value of the variable A is written into the hierarchy field 111 of the entry 108. When the above processing is completed, the process returns to step s21. According to the text creation program of this embodiment, when certain textual data is selected, the selected textual data and the textual data belonging to the hierarchy directly or indirectly subordinate to the hierarchy of the selected textual data can be processed en bloc for deletion, moving, or copying, as well as for copying to the data exchange memory area 110 used for data exchange with other application programs. Referring now to Fig.11, we will describe how the text creation program works to automatically determine the range of text on which the deletion or other text manipulation is performed en bloc. At step s41, the operator selects the textual data belonging to the highest level of hierarchy within the textual data on which to perform text manipulation. The selection is accomplished by moving the cursor to the line of the desired textual data using a cursor key and then depressing the "select" key. At step s42, access is made to the entry 108 of the management table 107 corresponding to the selected textual data, and the location of the entry 108 is stored. At step s43, access is made to the entry 108 next to the last accessed entry 108. At step s44, it is checked whether any data is stored in the accessed entry 108; if data is stored there, the process proceeds to step s45, and if not, it is determined that the end of the textual data is reached, and the processing for determining the range is terminated. At step s45, it is checked whether the value of the hierarchy field 111 of the entry 108 accessed at step s43 is larger than the value of the hierarchy field 111 of the entry 108 whose location was stored at step s42; if the value is larger, the process proceeds to step s46, and if not, the processing is terminated. At step s46, the textual data corresponding to the accessed entry 108 is displayed in reverse video. At step s47, the location of the accessed entry 108 is stored, and the process returns to step s43. Using a suitable procedure, deletion or other text manipulation is performed on the range of text determined by the entries 108 whose locations have been stored during the processing of Fig.11. The kind of text manipulation may be specified either before or after determining the range of text for processing. Fig.9J shows the display when the major item "Prototype ..." has been specified for processing. As shown, the selected major item "Prototype ..." and the textual data directly or indirectly subordinate to the major item are displayed in reverse video. According to the text creation program of this embodiment, the display can be switched between the display of all textual data and the display of the major items only. The processing for switching the display will now be described with reference to Fig.12. When an operation for a switching the display mode is performed using the keyboard 4 by the operator, first, a flag not shown is referenced to check whether the current display mode is the full text display mode or the major item only display mode (step s51). If it is determined as the full text display mode, the process proceeds to step s52; if not, the process proceeds to step s57. At step s52, the flag is updated to switch the display mode while the management table 107 is searched to retrieve the title entry 108. At the next step s53, it is checked whether the entry 108 has been retrieved successfully. If the retrieval has been made successfully, the process proceeds to step s54; if not, the process proceeds to the display step (step s58) since it means that there are no further entries 108 to be retrieved. At step s54, it is checked whether the value of the hierarchy field 111 of the retrieved entry 108 is equal to "0001" which represents the hierarchy of the major item, and if the values match, the process proceeds to step s55; if not, the process proceeds to step s56. At step s55, the location of the retrieved entry 108 is stored. At step s56, the entry 108 next to the retrieved entry 108 is retrieved, after which the process returns to step s53. On the other hand, at step s57, the flag is updated to switch the display mode while storing the locations of all entries 108 of the management table 107, after which the process proceeds to the display step (step s58). At the display step s58, the textual data is displayed in accordance with the stored entry locations. Fig.9K shows an example of display in the major item only display mode. The major item only display mode allows the operator to grasp the entire text construction on a display of a limited size. In this embodiment, only the major item only display mode is provided as a display mode for displaying part of textual data, but by making suitable modifications to the processing shown in Fig.12, it is possible to provide various selective displays such as selective display of medium items subordinate to a certain major item, display of major and medium items only, etc.

Claims: A text processing small electronic apparatus (1) having text creating means (8, 9, 10) and storage means (106) for storing textual data entered using the text creating means (8, 9, 10), the stored textual data being organized in a tree-structured hierarchical relationship, characterized by a management table (107) having a plurality of fixed-bitlength entries (108) arranged in accordance with the order in which the textual data is stored in the storage means (106), each entry (108) consisting of at least a hierarchy field (111) and a character number field (113), the hierarchy field (111) representing the hierarchy of the corresponding textual data and the character number field (113) representing the number of characters of the corresponding textual data, means for selecting one of the stored textual data in accordance with a manual operation, and means (8, 9) for performing any one of the text processing functions by handling as one block the textual data selected by the selecting means and the textual data related to a hierarchical level directly or indirectly subordinate to the hierarchical level of the selected textual data on the basis of the information stored in the management table (107). An electronic apparatus according to claim 1, further comprising means (8, 9) for storing the textual data selected by the selecting means together with the textual data related to a hierarchical level directly or indirectly subordinate to the hierarchical level of the selected textual data, into storage means (101, 102, 103) accessible by other data processing means on the basis of the information stored in the management table (107). An electronic apparatus according to claim 2, further comprising means (8, 9, 51, 52, 53, 54) for displaying the selected textual data together with the textual data belonging to a hierarchical level coordinate to the hierarchical level of the selected textual data and subordinate to a higher hierarchical level to which the hierarchical level of the selected textual data is subordinate, on display means (5) on the basis of the information stored in the management table (107). An electronic apparatus according to any of claims 1 to 3, further comprising a display (5) with a limited display area and a keyboard (4) with a limited number of keys corresponding to various text creation symbols for permitting an operator to create and store text in a hierarchy of text levels beginning with a highest hierarchical text level followed by one or more subordinate hierarchical text levels by selectively depressing the keys on the keyboard (4), wherein said storage means (106) is a text memory for storing strings of text data entered by the operator using the keyboard (4). An electronic apparatus according to any of claims 1 to 4, further comprising said management table (107) being a text management memory comprising said hierarchy field (111) for each stored string of text data for storing a corresponding hierarchical text level and further comprising a subordinate field (112) for storing subordinate text information indicating whether a subsequent string of text data at a subordinate hierarchical text level exists. An electronic apparatus according to any of claims 1 to 5, further comprising said means for displaying being arranged to display a first indicator (93) near each displayed string of text data on the display (5) in accordance with the corresponding hierarchical text level and a second indicator (94) near each displayed subordinate string of text data on the display (5) in accordance with the corresponding subordinate hierarchical text level. An electronic apparatus according to any of claims 4 to 6, further comprising a selection key on the keyboard (4) actuable by the operator for selecting a hierarchical text level. An electronic apparatus according to any of claims 1 to 7, further comprising means for storing in the text memory (106) one or more strings of text data entered by the operator and for storing in the text management memory (107) for each entered string of text data the selected hierarchical text level and subordinate text information indicating whether the entered string of text data is followed by a string of subordinate text data. An electronic apparatus according to any of claims 4 to 8, further comprising an insert key for adding a string of text data at the selected hierarchical text level. An electronic apparatus according to any of claims 1 to 9, further comprising means for automatically determining a range of text strings including text strings at hierarchical levels subordinate to the initial string of text data selected by the selection key; and means for highlighting those text strings on the display included in the determined range. The device according to claim 10, wherein the means for highlighting highlights the text strings with the determined range using a shade that contrasts with a background of the display. The device according to claim 10, wherein the means for highlighting highlights the text stings with the determined range with a color different from a background of the display. The device according to claim 10, wherein text processing operations are performed on the highlighted strings. An electronic apparatus according to any of claims 1 to 13, further comprising a data exchange memory (110) connected to receive data stored in the text memory (106) and text management memory (107); and an input/output terminal (12) for connecting the data exchange memory external device, wherein the external device accesses data stored in the data exchange memory through the input/output terminal (12). An electronic apparatus according to any of claims 1 to 14, further comprising a display mode key for entering a first display mode where text at all hierarchical text levels is displayed and a second display mode where only text at the selected hierarchical text level is displayed; and means in response to entry of the second display mode for determining from the hierarchy field (111) in the text management memory (107) those text strings that correspond to the selected hierarchical level and displaying only those text strings retrieved from the text memory (106) at the selected hierarchical level.

Inventors: HASHIMOTO KATSUHIKO, TAKAHASHI NOBUTAKA, HASHIMOTO, KATSUHIKO, TAKAHASHI, NOBUTAKA
Applicants: SHARP KK, SHARP KABUSHIKI KAISHA
Application year: 1991
Main classification: G06F17
IPC codes: G06F15, G06F17