(19)
(11)EP 2 109 830 B1

(12)EUROPEAN PATENT SPECIFICATION

(45)Mention of the grant of the patent:
04.08.2021 Bulletin 2021/31

(21)Application number: 08728146.5

(22)Date of filing:  23.01.2008
(51)International Patent Classification (IPC): 
G06F 40/12(2020.01)
G06F 9/54(2006.01)
(86)International application number:
PCT/US2008/051809
(87)International publication number:
WO 2008/091953 (31.07.2008 Gazette  2008/31)

(54)

MULTISOURCE COMPOSABLE PROJECTION OF TEXT

ZUSAMMENSETZBARE TEXTPROJEKTION AUS MEHREREN QUELLEN

PROJECTION DE TEXTE COMPOSABLE MULTISOURCE


(84)Designated Contracting States:
AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MT NL NO PL PT RO SE SI SK TR

(30)Priority: 26.01.2007 US 698357

(43)Date of publication of application:
21.10.2009 Bulletin 2009/43

(73)Proprietor: Microsoft Technology Licensing, LLC
Redmond, WA 98052 (US)

(72)Inventor:
  • TILFORD, John Sells
    Redmond, Washington 98052-6399 (US)

(74)Representative: Grünecker Patent- und Rechtsanwälte PartG mbB 
Leopoldstraße 4
80802 München
80802 München (DE)


(56)References cited: : 
US-A- 5 781 192
US-B1- 6 721 951
US-B1- 7 117 435
US-B1- 6 173 288
US-B1- 6 785 864
US-B2- 7 167 874
  
  • Claudio Erba: "PHP-Nuke: Management and Programming", , 29 May 2003 (2003-05-29), XP055405579, Retrieved from the Internet: URL:http://box.cs.istu.ru/public/distrib/L inux/tools/web/CMS/PhpNuke/Doc/EN-Book.pdf [retrieved on 2017-09-11]
  • "Chapter 5: Pointers and Arrays ED - Brian W Kernighan; Dennis M Ritchie", 1 January 1988 (1988-01-01), THE C PROGRAMMING LANGUAGE, PRENTICE-HALL, ENGLEWOOD CLIFFS, NJ, PAGE(S) 93 - 113, XP008130872, ISBN: 978-0-13-110362-7
  
Note: Within nine months from the publication of the mention of the grant of the European patent, any person may give notice to the European Patent Office of opposition to the European patent granted. Notice of opposition shall be filed in a written reasoned statement. It shall not be deemed to have been filed until the opposition fee has been paid. (Art. 99(1) European Patent Convention).


Description

BACKGROUND



[0001] State-of-the-art program editors impose a demanding set of requirements with respect to presentation of text and visual adornments, such as, for example, automatic completion of a word being entered (autocompletion), or other adornments, that enrich text. In some situations it may be desirable to display only a subset of a text file, and/or to combine text from multiple files. Further, programming language text in one programming language may be embedded within text written in a different programming language.

[0002] In existing program editors multiple copies or partial copies of the program text may be made, such that, for example, a partial copy of text, including embedded programming language text, may be processed by a compiler or other development tool, or text from multiple files may be copied into a single file and processed by a development tool. However, when using this approach, software developers may have more difficulty implementing clients because the clients must be aware of the copies of the text and relationships among the copies. Further, maintaining consistency among the copies of text may become burdensome and complicated.

[0003] US 5 781 192 A relates to a computer implemented method for storing data from an instance of an application program into at least one of a plurality of buffers, including the steps of bringing an application program into focus, selecting data in the application program, selecting a store operation such as a "cut" or a "copy" operation while the application program is in focus, selecting one of the buffers while the application program is still in focus, and automatically storing the selected data into the selected one of the buffers. In a similar manner, data can be recalled from the buffers, such as in a "paste" operation, and any one of the buffers selected, without ever leaving focus of the application to which the data is recalled.

[0004] Claudio Erba: "PHP-Nuke: Management and Programming", 29 May 2003 relates to a management and programming guide for PHP-Nuke, which is a Content Management System (CMS) that integrates a high number of instruments for creating and managing a site/portal of information.

SUMMARY



[0005] It is the object of the present invention to provide a method and system for concatenating a plurality of text spans in an ordered sequence for use by an application.

[0006] This object is solved by the subject matter of the independent claims.

[0007] Preferred embodiments are defined in the dependent claims.

[0008] This Summary is provided to introduce a selection of concepts in a simplified form that is further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.

[0009] A text buffer may be a software object which stores a sequence of characters or text, such as, for example, text of a document of interest to an application, or other text. A projection buffer is a type of text buffer. In embodiments consistent with the subject matter of this disclosure, text from one or more text buffers may be transparently projected to one or more projection buffers by reference, rather than by maintaining a separate copy of the text. In various embodiments, text projected from multiple sources into a projection buffer may appear to a client or application as if the text is composed in a single buffer.

[0010] In some embodiments, text of a first programming language, embedded in a document including text of one or more other programming languages, may be projected from a buffer to a projection buffer. The projected text of the projection buffer may then be provided to a client or application for processing. Output of the processing may include visual adornments, which may be output to the projection buffer, and subsequently, may be provided to the buffer from which the text was projected.

[0011] In other embodiments, portions of a document may be elided before processing by a client or application by projecting only portions of the document that are not to be elided to a projection buffer. The projected portions of the projection buffer may then be provided to the client or application for processing.

DRAWINGS



[0012] In order to describe the manner in which the above-recited and other advantages and features can be obtained, a more particular description is described below and will be rendered by reference to specific embodiments thereof which are illustrated in the appended drawings. Understanding that these drawings depict only typical embodiments and are not therefore to be considered to be limiting of its scope, implementations will be described and explained with additional specificity and detail through the use of the accompanying drawings.

Fig. 1 is a functional block diagram illustrating an exemplary processing device, which may be used in implementations consistent with the subject matter of this disclosure.

Fig. 2 illustrates an example in which text from multiple buffers are projected to a projection buffer;

Fig. 3 is a flowchart illustrating an exemplary process for projecting a portion of content from multiple buffers to a projection buffer;

Fig. 4 illustrates an example in which text is deleted from a projection buffer, with the deletion be mapped to corresponding buffers from which the text was projected.

Fig. 5 is a flowchart that illustrates an exemplary process for deleting text from a projection buffer and mapping the deletion of the text to corresponding buffers from which the text was projected.

Fig. 6 illustrates an example in which text is changed in a projection buffer, with the change being a mapped to corresponding buffers from which the text was projected.

Fig. 7 is a flowchart that illustrates an exemplary process for changing text of a projection buffer and mapping the changed text to corresponding buffers from which the text was projected.

Fig. 8 illustrates an example in which contents of multiple documents are projected to and concatenated in a projection buffer.

Fig. 9 illustrates an example in which a portion of content of a first buffer and content of a second buffer are projected to a projection buffer.

Figs. 10A and 10B illustrate a complex example in which contents of buffers are projected to multiple projection buffers.


DETAILED DESCRIPTION



[0013] Embodiments are discussed in detail below. While specific implementations are discussed, it should be understood that this is done for illustration purposes only. A person skilled in the relevant art will recognize that other components and configurations may be used without parting from the scope of the subject matter of this disclosure.

Exemplary Processing Device



[0014] Fig. 1 is a functional block diagram that illustrates an exemplary processing device 100, which may be used in implementations consistent with the subject matter of this disclosure. Processing device 100 may include a bus 110, a processor 120, a memory 130, a read only memory (ROM) 140, a storage device 150, an input device 160, and an output device 170. Bus 110 may permit communication among components of processing device 100.

[0015] Processor 120 may include at least one conventional processor or microprocessor that interprets and executes instructions. Memory 130 may be a random access memory (RAM) or another type of dynamic storage device that stores information and instructions for execution by processor 120. Memory 130 may also store temporary variables or other intermediate information used during execution of instructions by processor 120. ROM 140 may include a conventional ROM device or another type of static storage device that stores static information and instructions for processor 120. Storage device 150 may include any type of media for storing data and/or instructions.

[0016] Input device 160 may include one or more conventional mechanisms that permit a user to input information to processing device 100, such as, for example, a keyboard, a mouse, or other input device. Output device 170 may include one or more conventional mechanisms that output information to the user, including a display, a printer, or other output device.

[0017] Processing device 100 may perform such functions in response to processor 120 executing sequences of instructions contained in a tangible machine-readable medium, such as, for example, memory 130, or other medium. Such instructions may be read into memory 130 from another tangible machine-readable medium, such as storage device 150.

Overview



[0018] Projection buffers address the above-mentioned problems of the state-of-the-art program editors. Embodiments consistent with the subject matter of this disclosure may employ projection buffers to transparently project text fragments from one or more buffers into one or more projection buffers by reference, rather than by maintaining copies of the text fragments. In various embodiments, composition of the projected text fragments may be supported. Clients, such as, for example, compilers, authoring assistance tools, an editor's rendering system, or other client may transparently process the projected text fragments in projection buffers as if processing simple text buffers. This approach permits, for example, projection of embedded programming language text within a document to a projection buffer for processing by a development tool, such as, for example, compilers or authoring assistance tools, without maintaining multiple copies of the projected text.

Projection Buffers



[0019] A text buffer may contain text of a document of interest to an application. In implementations consistent with the subject matter of this disclosure, the text buffer may be a software object which may store a sequence of characters, or text. Through an application program interface (API), the text buffer may permit a client to extract all or part of stored text, to modify the stored text, and to register to receive notifications when the stored text is changed by any client.

[0020] A text span is a software object which may describe a contiguous sequence of characters in a text buffer. The text span may describe the text buffer, a position of a first character in a sequence within the text buffer, and a length of the sequence (in characters).

[0021] A text editor is an application which may employ a text buffer for holding text that the text editor displays on a screen. A compiler is an application that uses use a text buffer to hold text that the compiler may compile into machine code, and/or for which the compiler may offer authoring assistance, or other assistance.

[0022] A projection buffer is a type of text buffer. However, the projection buffer does not store any text. Instead, the projection buffer may be specified by an ordered sequence of text spans, known as source spans. The projection buffer may present a concatenation of multiple source spans as a contiguous sequence of characters. Source buffers are text buffers from which the source spans are drawn. When a client requests a sequence of characters from a projection buffer, the projection buffer may map the request to one or more requests of source buffers, may concatenate a result of the mapping, and may return a single sequence of characters to the requesting client. When a client inserts one or more characters into a projection buffer, the projection buffer may map one or more insertion positions to one or more source buffers and may perform the insertion into the one or more source buffers, instead of into the projection buffer. When a client deletes one or more characters from a projection buffer, the projection buffer may map one or more positions of the one or more deleted characters to one or more source buffers and may perform deletions on the one or more source buffers, instead of the projection buffer. When text in a source buffer is changed, a projection buffer may receive a change notification from the source buffer, and may map the change notification into a corresponding change notification on the projection buffer. The mapped change notification may be provided to a client registered to receive notifications when text of the projection buffer is changed. Thus, the client views the projection buffer as if the projection buffer stores the projected text.

[0023] Fig. 2 illustrates an exemplary use of a projection buffer. In this example, buffer 1 202 and buffer2 204 are source buffers having textual content. Buffer 1 202 includes 10 text characters, A-J, in positions 0-9. Buffer2 204 includes 10 text characters, p-y, in positions 0-9. In this example, projection buffer 206 is formed from two source spans. The first source span includes positions 3-7 of buffer1 202. The second source span includes positions 2-5 of buffer2 204.

[0024] Fig. 2 shows contents of projection buffer 206 as it would appear to a client. That is, in this example, when a client requests a sequence of characters from projection buffer 206, projection buffer 206 may map the request to a request of source buffer, buffer1 202 and a request of source buffer, buffer2 204, may concatenate a result of the mapping, and may return a single sequence of characters to the client. In this example, the client would receive a sequence of characters including text characters, D-H, corresponding to positions 0-4 of projection buffer 206, and text characters, r-u, corresponding to positions 5-8 of projection buffer 206. Projection buffer 206 may not actually store any of the projected text. Instead, projection buffer 206 may store a list of one or more source spans.

[0025] Fig. 3 is a flowchart that explains an exemplary process for projecting a portion of content of buffer1 202 and buffer2 204 to projection buffer 206, with respect to the example of Fig. 2, when a client requests a sequence of characters from projection buffer 206. The process may begin by projection buffer 206 mapping the request to a request for a portion of data, such as, for example, text, from buffer1 202 (act 302). That is, a text span which describes a span of buffer1 202, beginning at position 3 and extending for a length of five positions, may be added to an ordered list of source spans included in projection buffer 206. Next, projection buffer 206 may map the request for a next sequence of characters from projection buffer 206 to a request for a portion of data, such as, for example text, from buffer2 204 (act 304). That is, a text span which describes a span of buffer2 204, beginning at position 2 and extending for a length of five positions, may be added to an ordered list of source spans included in projection buffer 206. Projection buffer 206 may concatenate a result of the mapping and may provide the requesting client with a single sequence of characters. The requesting client may be an application, such as, for example, a development tool, including but not limited to, a compiler, authoring assistance tools, an editor, or other application.

[0026] With respect to the example of Fig. 2, a client that requests a text string from projection buffer 206 beginning at position 3 and extending for four characters may receive a value "GHrs". To provide the client with the value "GHrs", projection buffer 206 may map span [3.. 6] of projection buffer 206 into span [6..7] of buffer1 202 and span [2..3] from buffer2 204. Projection buffer 206 may then extract text from buffer1 202 and buffer2 204 and return the concatenation of the extracted text.

[0027] Fig. 4, with reference to an exemplary flowchart of Fig. 5, illustrates an example in which text is deleted from projection buffer 206 by a client. In this example, the client may issue a request to projection buffer 206 to delete characters from positions 3-6 of projection buffer 206.

[0028] The process may begin with projection buffer 206 (Fig. 2) mapping positions of the deleted characters from positions 3-4 of projection buffer 206 (Fig. 2) to positions 6-7 of source buffer, buffer1 202 (Fig. 2) (act 502). Next, projection buffer 206 may map positions of the deleted characters from positions 5-6 of projection buffer 206 (Fig. 2) to positions 2-3 of source buffer, buffer2 204 (see Fig. 2) (act 504). Next, the mapped characters in source buffer, buffer1 202, may be deleted (act 506). The source span that previously denoted positions 3-7 in source buffer, buffer1 202, now denotes positions 3-5 in that buffer. Finally, the mapped characters in source buffer, buffer2 204, may be deleted (act 508). Characters originally from positions 4 and 5 of buffer2 204 may now occupy positions 2 and 3, respectively, of buffer2 204. The source span that previously denoted positions 2-5 in source buffer, buffer2 204, now may denote positions 2-3 in source buffer 204. The result is shown in Fig. 4.

[0029] Fig. 6, with reference to an exemplary flowchart of Fig. 7, illustrates an example in which text from source buffers, buffer1 202 and buffer2 204 is changed. The process may begin with projection buffer 206 receiving a change notification from source buffer, buffer1 202, indicating that text at positions 6-7 of buffer1 202 has been changed (act 702). Next, projection buffer 206 may receive a change notification from buffer2 204 indicating that text at positions 2-3 of source buffer, buffer2 204, has been changed (act 704). Projection buffer 206 may map the received change notifications into a change notification on projection buffer 206 (act 706). Projection buffer 206 may then provide the change notification mapped onto projection buffer 206 to a client registered to receive change notifications with respect to projection buffer 206 (act 708).

[0030] Projection buffer 206 may further support insertion and deletion of source spans. When a source span is inserted to or deleted from projection buffer 206, projection buffer 206 may issue a change notification to a client registered to receive change notifications with respect to projection buffer 206. For example, with reference to Fig. 2, if a first source span was deleted from projection buffer 206, projection buffer 206 would issue a change notification to the client registered to receive change notifications with respect to projection buffer 206 to inform the registered client that a change occurred with respect to projection buffer 206.

[0031] Fig. 8 illustrates an example in which multiple documents may be projected and concatenated into a projection buffer. Text buffer 802 may include document1 802. Text buffer 804 may include document2 804. Document1 802 may be projected into projection buffer 806 and document2 804 may be projected into projection buffer 806, such that projection buffer 806 includes a source span for contents of the document1 802 and a source span for contents of document2 804. Thus, after the above-mentioned projections of text buffers 802, 804, projection buffer 806 may appear to an application as if projection buffer 806 includes a concatenation of document1 802 and document2 804. If the contents of text buffer 802 or text buffer 804 are changed, projection buffer 806 will send a notification to a client registered to receive notifications when projection buffer 806 is changed.

[0032] The example of Fig. 8 is exemplary. In other embodiments, only one document may be projected onto a projection buffer, numerous documents may be projected onto a projection buffer, only a portion of one or more documents may be projected onto a projection buffer, or any combination of the above may be projected onto a projection.

[0033] Fig. 9 illustrates an example in which a portion of a first text buffer may be projected onto a projection buffer and a complete second text buffer may be projected onto the projection buffer. In this example, text buffer 902 may contain text having a portion which is to be hidden and not projected to projection buffer 906. Text buffer 902 may include the text "This document has text to be hidden and text to be viewed." In this example, only a portion of the text of text buffer 902 may be projected to projection buffer 906. For example, three spans may be projected to projection buffer 906. The first span may begin with a first character of text buffer 902 and may extend for a length of 29 characters. Thus, the text "This document has text to be " may be represented by the first span. A second span may begin with a 30th character of text buffer 902 and may extend for a length of seven characters. Thus the second span may represent text "viewed.". The third span projected onto projection buffer 906 may begin with a first character of text buffer 904 and may extend for a length of 29 characters. Thus, the text "This document has other text." may be represented by the third span. Therefore, a client may view a projection buffer 906 as if it contained "This document has text to be viewed.This document has other text."

[0034] The example illustrated in Fig. 9 is only exemplary. Of course, other variations of projecting text to a projection buffer may be implemented in other embodiments consistent with the subject matter of this disclosure. For example, in one embodiment, certain regions of text may be elided, under control of a user, from display by an application, such as, for example, an editor or other application, by projecting to a projection buffer only those portions of text that are to be displayed. The application may then display only text represented by the projection buffer, thereby eliding those portions of the text not projected to the projection buffer.

[0035] Fig. 10A illustrates a complex example using multiple projection buffers. In this example, text buffer 1002 may include three portions, a first portion having markup language statements, such as, for example, Extensible Application Markup Language (XAML), or other markup language statements, a second portion having a method defined in embedded code, such as, for example, C#, or other programming language, and a third portion having markup language statements, such as, for example, XAML, or other markup language statements. In this example, projection buffer 1008 may be a presentation buffer, used by an application, which may process or display contents of the presentation buffer. A presentation buffer may be a buffer with contents to be presented or rendered by an application. The first and third portions of text buffer 1002 may be projected onto first and third portions of projection buffer 1008. The second portion of text buffer 1002, including the embedded code, may be projected to a second portion of projection buffer 1004, in preparation for providing projection buffer 1004 to an application, such as, for example, a compiler, authoring assistance tools, or another application.

[0036] In this example, the compiler, the authoring assistance tools, or the other application may require boilerplate text preceding and following the embedded programming language code. The boilerplate may include metadata, as well as other text data. For example, if the second portion of projection buffer 1004 is C# code, the boilerplate may include namespace and partial class constructs. Text buffer 1006 may have two portions of a boilerplate including a header portion for the embedded programming language code and a footer portion for the embedded programming language code. The header portion of text buffer 1006 may be projected onto a first portion of presentation buffer 1004 and the footer portion of text buffer 1006 may be projected onto a third portion of presentation buffer 1004. The compiler, the authoring assistance tools, or the other application may then process presentation buffer 1004.

[0037] In some embodiments, consistent with the subject matter of this disclosure, an application, such as for example, a compiler, authoring assistance tools, or other application may process presentation buffer 1004 and may produce visual adornments, which may be projected onto another buffer, such as text buffer 1002. The visual adornments may be, for example, menu choices, visual aids to aid a user while entering data, pretty printing, or other adornments. A user may then be presented with contents of presentation buffer 1008.

[0038] Fig. 10B is a variation of the example presented in Fig. 10A. In this variation, instead of projecting the second portion of projection buffer 1004 to projection buffer 1008, the second portion of projection buffer 1002 may be projected to the second portion of projection buffer 1004 and to the second portion of projection buffer 1008. In other words, a portion of a single source buffer may be projected to multiple projection buffers.

[0039] Although not specifically stated in any of the above examples, in some embodiments, no projection buffer may be its own source, directly or indirectly, yielding a directed acyclic graph of buffers

Conclusion



[0040] Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms for implementing the claims.

[0041] Although the above descriptions may contain specific details, they should not be construed as limiting the claims in any way. Other configurations of the described embodiments are part of the scope of this disclosure. Further, implementations consistent with the subject matter of this disclosure may have more or fewer acts than as described, or may implement acts in a different order than as shown. Accordingly, the appended claims should only define the invention, rather than any specific examples given.


Claims

1. A computer-implemented method for concatenating a plurality of text spans in an ordered sequence for use by an application, the method comprising:

specifying, in a projection buffer (206) that does not contain any text, an ordered sequence of text spans, wherein each text span describes a contiguous sequence of characters in one or more text buffers containing text, wherein the ordered sequence of text spans in the projection buffer is defined by reference to the text spans in their corresponding text buffers; and

characterized in that:
upon request by a client of a given sequence of characters from the projection buffer,

mapping the request to one or more requests to the corresponding text buffers containing at least part of the requested given sequence of characters;

extracting text portions corresponding to the request from the corresponding text buffers;

concatenating the extracted text portions;

returning the concatenation of the extracted text portions to the client; and

upon receiving, from the client, a change to the concatenated extracted text portions in at least one text span of a given text buffer of the corresponding text buffers, applying the change to the at least one text span of the given text buffer.


 
2. The method of claim 1, wherein a change to a text span in one of the text buffers is reflected in the projection buffer.
 
3. A system for concatenating a plurality of text spans in an ordered sequence for use by an application, the system comprising:

means adapted to specify, in a projection buffer (206) that does not contain any text, an ordered sequence of text spans, wherein each text span describes a contiguous sequence of characters in one or more text buffers containing text, wherein the ordered sequence of text spans in the projection buffer is defined by reference to the text spans in their corresponding text buffers;

characterized in that it comprises:

means adapted to receive a request by a client of a given sequence of characters from the projection buffer;

means adapted to map the request to one or more requests to the corresponding text buffers containing at least part of the requested given sequence of characters;

means adapted to extract text portions corresponding to the request from the corresponding text buffers;

means adapted to concatenate the extracted text portions;

means adapted to return the concatenation of the extracted text portions to the client; and

upon receiving, from the client, a change to the concatenated extracted text portions in at least one text span of a given text buffer of the corresponding text buffers, means adapted to apply the change to the at least one text span of the given text buffer.


 
4. The system of claim 3, wherein a change to a text span in one of the text buffers is reflected in the projection buffer.
 
5. A computer-readable medium storing thereon computer-executable instructions for concatenating a plurality of text spans in an ordered sequence for use by an application that, when carried out by a processor, cause the processor to perform the steps of:

specifying, in a projection buffer (206) that does not contain any text, an ordered sequence of text spans, wherein each text span describes a contiguous sequence of characters in one or more text buffers containing text, wherein the ordered sequence of text spans in the projection buffer is defined by reference to the text spans in their corresponding text buffers; and

characterized in that:
upon request by a client of a given sequence of characters from the projection buffer,

mapping the request to one or more requests to the corresponding text buffers containing at least part of the requested given sequence of characters;

extracting text portions corresponding to the request from the corresponding text buffers;

concatenating the extracted text portions;

returning the concatenation of the extracted text portions to the client; and

upon receiving, from the client, a change to the concatenated extracted text portions in at least one text span of a given text buffer of the corresponding text buffers, applying the change to the at least one text span of the given text buffer.


 
6. The computer-readable medium of claim 5, wherein a change to a text span in one of the text buffers is reflected in the projection buffer.
 


Ansprüche

1. Computerimplementiertes Verfahren zum Verketten einer Vielzahl von Textspannen in einer gereihten Abfolge zur Verwendung durch eine Anwendung, das Verfahren umfassend:

Spezifizieren, in einem Projektionspuffer (206), der keinen Text enthält, einer gereihten Abfolge von Textspannen, wobei jede Textspanne eine zusammenhängende Abfolge von Zeichen in einem oder mehreren Textpuffern, die Text enthalten, beschreibt, wobei die gereihte Abfolge von Textspannen in dem Projektionspuffer durch Referenz auf die Textspannen in ihren entsprechenden Textpuffern definiert ist; und

dadurch gekennzeichnet, dass:
auf Anfrage von einem Client nach einer bestimmten Abfolge von Zeichen aus dem Projektionspuffer,

Abbilden der Anfrage auf eine oder mehrere Anfragen an die entsprechenden Textpuffer, die zumindest Teil der angefragten gegebenen Abfolge von Zeichen enthalten;

Extrahieren von Textabschnitten entsprechend der Anfrage aus den entsprechenden Textpuffern;

Verketten der extrahierten Textabschnitte;

Zurückleiten der Verkettung der extrahierten Textabschnitte an den Client; und

nach Empfangen, von dem Client, einer Änderung an den verketteten extrahierten Textabschnitten in zumindest einer Textspanne eines gegebenen Textpuffers der entsprechenden Textpuffer, Anwenden der Änderung an der mindestens einen Textspanne des gegebenen Textpuffers.


 
2. Verfahren nach Anspruch 1, wobei eine Änderung an einer Textspanne in einem der Textpuffer in dem Projektionspuffer wiedergegeben wird.
 
3. System zum Verketten einer Vielzahl von Textspannen in einer gereihten Abfolge zur Verwendung durch eine Anwendung, das System umfassend:

Mittel zum Spezifizieren, in einem Projektionspuffer (206), der keinen Text enthält, einer gereihten Abfolge von Textspannen, wobei jede Textspanne eine zusammenhängende Abfolge von Zeichen in einem oder mehreren Textpuffern, die Text enthalten, beschreibt, wobei die gereihte Abfolge von Textspannen in dem Projektionspuffer durch Referenz auf die Textspannen in ihren entsprechenden Textpuffern definiert ist;

dadurch gekennzeichnet, dass es umfasst:

Mittel, die ausgebildet sind, eine Anfrage von einem Client nach einer bestimmten Abfolge von Zeichen aus dem Projektionspuffer zu empfangen;

Mittel, die ausgebildet sind, die Anfrage auf eine oder mehrere Anfragen an die entsprechenden Textpuffer abzubilden, die zumindest Teil der angefragten gegebenen Abfolge von Zeichen enthalten;

Mittel, die ausgebildet sind, Textabschnitte entsprechend der Anfrage aus den entsprechenden Textpuffern zu extrahieren;

Mittel, die ausgebildet sind, die extrahierten Textabschnitte zu verketten;

Mittel, die ausgebildet sind, die Verkettung der extrahierten Textabschnitte an den Client zurückzuleiten; und

nach Empfangen, von dem Client, einer Änderung an den verketteten extrahierten Textabschnitten in zumindest einer Textspanne eines gegebenen Textpuffers der entsprechenden Textpuffer, Mittel, die ausgebildet sind, die Änderung an der mindestens einen Textspanne des gegebenen Textpuffers anzuwenden.


 
4. System nach Anspruch 3, wobei eine Änderung an einer Textspanne in einem der Textpuffer in dem Projektionspuffer wiedergegeben wird.
 
5. Computerlesbares Medium, auf dem computerlesbare Anweisungen zum Verketten einer Vielzahl von Textspannen in einer gereihten Abfolge zur Verwendung durch eine Anwendung gespeichert sind, die, wenn von einem Prozessor ausgeführt, den Prozessor veranlassen, die Schritte durchzuführen zum:

Spezifizieren, in einem Projektionspuffer (206), der keinen Text enthält, einer gereihten Abfolge von Textspannen, wobei jede Textspanne eine zusammenhängende Abfolge von Zeichen in einem oder mehreren Textpuffern, die Text enthalten, beschreibt, wobei die gereihte Abfolge von Textspannen in dem Projektionspuffer durch Referenz auf die Textspannen in ihren entsprechenden Textpuffern definiert ist; und

dadurch gekennzeichnet, dass:
auf Anfrage von einem Client nach einer bestimmten Abfolge von Zeichen aus dem Projektionspuffer,

Abbilden der Anfrage auf eine oder mehrere Anfragen an die entsprechenden Textpuffer, die zumindest Teil der angefragten gegebenen Abfolge von Zeichen enthalten;

Extrahieren von Textabschnitten entsprechend der Anfrage aus den entsprechenden Textpuffern;

Verketten der extrahierten Textabschnitte;

Zurückleiten der Verkettung der extrahierten Textabschnitte an den Client; und

nach Empfangen, von dem Client, einer Änderung an den verketteten extrahierten Textabschnitten in zumindest einer Textspanne eines gegebenen Textpuffers der entsprechenden Textpuffer, Anwenden der Änderung an der mindestens einen Textspanne des gegebenen Textpuffers.


 
6. Computerlesbares Medium nach Anspruch 5, wobei eine Änderung an einer Textspanne in einem der Textpuffer in dem Projektionspuffer wiedergegeben wird.
 


Revendications

1. Procédé mis en Ĺ“uvre par ordinateur pour concaténer une pluralité d'étendues de texte dans une séquence ordonnée destinée à être utilisée par une application, le procédé comprenant :

la spécification, dans une mémoire tampon de projection (206) qui ne contient aucun texte, d'une séquence ordonnée d'étendues de texte, dans lequel chaque étendue de texte décrit une séquence contiguë de caractères dans une ou plusieurs mémoires tampons de texte contenant du texte, dans lequel la séquence ordonnée d'étendues de texte dans la mémoire tampon de projection est définie par référence aux étendues de texte dans leurs mémoires tampons de texte correspondantes ; et

caractérisé par :

sur demande d'un client d'une séquence donnée de caractères de la mémoire tampon de projection,

le mappage de la demande sur une ou plusieurs demandes aux mémoires tampons de texte correspondantes contenant au moins une partie de la séquence de caractères donnée demandée ;

l'extraction de portions de texte correspondant à la demande provenant des mémoires tampons de texte correspondantes ;

la concaténation des portions de texte extraites ;

le renvoi de la concaténation des portions de texte extraites au client ; et

à la réception, en provenance du client, d'un changement des portions de texte extraites concaténées dans au moins une étendue de texte d'une mémoire tampon de texte donnée des mémoires tampons de texte correspondantes, l'application du changement à l'au moins une étendue de texte de la mémoire tampon de texte donnée.


 
2. Procédé selon la revendication 1, dans lequel un changement d'une étendue de texte dans une des mémoires tampons de texte est reflété dans la mémoire tampon de projection.
 
3. Système pour concaténer une pluralité d'étendues de texte dans une séquence ordonnée destinée à être utilisée par une application, le système comprenant :

des moyens adaptés pour spécifier, dans une mémoire tampon de projection (206) qui ne contient aucun texte, une séquence ordonnée d'étendues de texte, dans lequel chaque étendue de texte décrit une séquence contiguë de caractères dans une ou plusieurs mémoires tampons de texte contenant du texte, dans lequel la séquence ordonnée d'étendues de texte dans la mémoire tampon de projection est définie par référence aux étendues de texte dans leurs mémoires tampons de texte correspondantes ;

caractérisé en ce qu'il comprend :

des moyens adaptés pour recevoir une demande d'un client d'une séquence donnée de caractères de la mémoire tampon de projection ;

des moyens adaptés pour mapper la demande sur une ou plusieurs demandes aux mémoires tampons de texte correspondantes contenant au moins une partie de la séquence de caractères donnée demandée ;

des moyens adaptés pour extraire des portions de texte correspondant à la demande provenant des mémoires tampons de texte correspondantes ;

des moyens adaptés pour concaténer les portions de texte extraites ;

des moyens adaptés pour renvoyer la concaténation des portions de texte extraites au client ; et

à la réception, en provenance du client, d'un changement des portions de texte extraites concaténées dans au moins une étendue de texte d'une mémoire tampon de texte donnée des mémoires tampons de texte correspondantes, des moyens adaptés pour appliquer le changement à l'au moins une étendue de texte de la mémoire tampon de texte donnée.


 
4. Système selon la revendication 3, dans lequel un changement d'une étendue de texte dans une des mémoires tampons de texte est reflété dans la mémoire tampon de projection.
 
5. Support lisible par ordinateur stockant sur celui-ci des instructions exécutables par ordinateur pour concaténer une pluralité d'étendues de texte dans une séquence ordonnée destinée à être utilisée par une application qui, lorsqu'elle est réalisée par un processeur, amène le processeur à exécuter les étapes consistant à :

spécifier, dans une mémoire tampon de projection (206) qui ne contient aucun texte,une séquence ordonnée d'étendues de texte, dans lequel chaque étendue de texte décrit une séquence contiguë de caractères dans une ou plusieurs mémoires tampons de texte contenant du texte, dans lequel la séquence ordonnée d'étendues de texte dans la mémoire tampon de projection est définie par référence aux étendues de texte dans leurs mémoires tampons de texte correspondantes ;

et caractérisé par :

sur demande d'un client d'une séquence donnée de caractères de la mémoire tampon de projection,

le mappage de la demande sur une ou plusieurs demandes aux mémoires tampons de texte correspondantes contenant au moins une partie de la séquence de caractères donnée demandée ;

l'extraction de portions de texte correspondant à la demande provenant des mémoires tampons de texte correspondantes ;

la concaténation des portions de texte extraites ;

le renvoi de la concaténation des portions de texte extraites au client ; et

à la réception, en provenance du client, d'un changement des portions de texte extraites concaténées dans au moins une étendue de texte d'une mémoire tampon de texte donnée des mémoires tampons de texte correspondantes, l'application du changement à l'au moins une étendue de texte de la mémoire tampon de texte donnée.


 
6. Support lisible par ordinateur selon la revendication 5, dans lequel un changement d'une étendue de texte dans une des mémoires tampons de texte est reflété dans la mémoire tampon de projection.
 




Drawing





























Cited references

REFERENCES CITED IN THE DESCRIPTION



This list of references cited by the applicant is for the reader's convenience only. It does not form part of the European patent document. Even though great care has been taken in compiling the references, errors or omissions cannot be excluded and the EPO disclaims all liability in this regard.

Patent documents cited in the description




Non-patent literature cited in the description