Mail Archives: djgpp/1998/02/20/16:34:04
"Ingo Ruhnke" <grumbel AT gmx DOT de> wrote:
> Gruber Gerhard schrieb in Nachricht <34EC0DE5 DOT 5F7A5848 AT sis DOT co DOT at>...
>
> >I'm using headers like this to document functions. In this case all
> >blanks are substituted by an appropriate number of tabs. Now when i
> >place the cursor after 'x' and type a new character, this means that the
> >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.
>
> But there is some confusing other behaviour with tabs. If i type something
> like this:
>
> foo[tab]bar[tab]foobar
>
> it looks like this:
>
> foo _ bar foobar
> ^ here is the cursor
>
> 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
> typing, the text if placed after foo and _not_ at the cursor position. I
> don't know if it is a bug or a feature, but it is confusing.
That's a feature.
SET
------------------------------------ 0 --------------------------------
Visit my home page: http://set-soft.home.ml.org/
or
http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Alternative e-mail: set-sot AT usa DOT net - ICQ: 2951574
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013
- Raw text -