From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,PLING_QUERY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c9c0b66bbaefa4f2 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-08-16 07:34:13 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!128.39.3.168!uninett.no!news.net.uni-c.dk!not-for-mail From: Jacob Sparre Andersen Newsgroups: comp.lang.ada Subject: Re: best way to handle long strings!? Date: Fri, 16 Aug 2002 16:34:12 +0200 Organization: UNI-C Message-ID: <3D5D0D64.9070601@nbi.dk> References: NNTP-Posting-Host: kaoslx07.nbi.dk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.net.uni-c.dk 1029508453 8402 130.225.212.98 (16 Aug 2002 14:34:13 GMT) X-Complaints-To: usenet@news.net.uni-c.dk NNTP-Posting-Date: Fri, 16 Aug 2002 14:34:13 +0000 (UTC) User-Agent: Any Browser, HTML 4.01, XHTML 1.0 X-Accept-Language: Faeroese [fo],Danish [da],Norweg� Xref: archiver1.google.com comp.lang.ada:28106 Date: 2002-08-16T16:34:12+02:00 List-Id: Jonas wrote: > for example: for a texteditor or sourceditor is it usefull to use the > unbounded strings? and to put all lines in one string? or is there a > better method to handle this? I would certainly consider to use a data structure, which reflects the data better than just one long string. If you are going to edit Ada source code, which is line based, some kind of table/list/array of lines will probably make more sense. Greetings, Jacob -- My brain needs a "back" button so I can remember where I left my coffee mug.