Message-ID: <34EE62F4.D62D07E9@wpol.com> From: John Kissell Reply-To: jdk AT wpol DOT com MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Allegro: erase text? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 13 Date: Sat, 21 Feb 1998 02:08:08 GMT NNTP-Posting-Host: 208.195.214.68 NNTP-Posting-Date: Fri, 20 Feb 1998 21:08:08 EST To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk In trasparent text mode and true color is there an easy way to erase text? Printing space characters over previous text and then replacing with the new text seems unreliable. A rapidly changing readout in a static location, a mouse coordinate display for example, becomes unreadable because the previous numbers never get erased. I'm not sure if this is a timing problem or that space characters in transparent mode dont actually get printed in order to speed up the Allegro code. Any ideas? >>tab, that holds that position will be subsituted and the trailing '*/' >>jumps. Looks like this then. >> >>/****************************************************/ >>/* Comment xx */ >>/****************************************************/ > > >I think the easiest way to change this behaviour is to use spaces instead of >tabs. It is also often a bad idea to use tabs, because different editor >interpretate them different. And so a text which is indented with tabs could >look very ugly with another editor. Not if you use the same tabwidth. But the point is, that I was using spaces, but because of optimal fill it replaced it with tabs. >But i can place my cursor between the words, normaly i would expect that the >cursor jumps from the end of foo to beginning of bar. And if i now starts In Borland C you have to tell the editor if you want this behaviour or that. I didn't find something in Rhide. --- best regards Gerhard Gruber email: sparhawk AT eunaet DOT at g DOT gruber AT sis DOT co DOT at FIDO: 2:310/81.11 Spelling corrections are appreciated.