Menu

#471 another indentation bug

open
nobody
None
5
2012-09-26
2004-12-20
aditsu
No

type this in a window:
<tab> { <enter> a <enter> <backspace>
the caret goes to column 2, apparently with a space
before it</backspace></enter></enter></tab>

(I have "use tab character", "auto indent" and no
"smart tabs" nor "backspace unindents")

Adrian

Discussion

  • Marek Januszewski

    Logged In: YES
    user_id=609236

    I can't reproduce it.
    here caret goes to column 5,
    tab size here is 4.

    what's your tab size?

     
  • aditsu

    aditsu - 2005-02-17

    Logged In: YES
    user_id=682737

    I reproduced it on 2 different computers
    tab size is 4
    here are the editor settings in my devcpp.ini:

    [Editor]
    AutoIndent=1
    InsertMode=1
    TabToSpaces=0
    SmartTabs=0
    SmartUnindent=0
    TrailBlank=1
    GroupUndo=1
    EHomeKey=1
    PastEOF=0
    PastEOL=0
    DblClkLine=0
    FindText=1
    Scrollbars=1
    HalfPageScroll=0
    ScrollHint=1
    SpecialChars=0
    AutoCloseBrace=0
    TabSize=4
    MarginVis=1
    MarginSize=80
    MarginColor=-2147483626
    InsertCaret=0
    OverwriteCaret=0
    InsDropFiles=0
    GutterVis=1
    GutterAuto=0
    LineNumbers=1
    LeadZero=0
    FirstLineZero=0
    Gutterfnt=1
    GutterSize=32
    UseSyntax=1
    SyntaxExt="c;cpp;h;hpp"
    DefaulttoPrj=0
    ParserHints=1
    Match=1
    HighCurrLine=1
    HighColor=16777164

    Adrian

     
  • Marek Januszewski

    Logged In: YES
    user_id=609236

    the problem seems to be related to "keep trailing spaces"
    being off

     
  • aditsu

    aditsu - 2005-02-17

    Logged In: YES
    user_id=682737

    why would a sane person keep them on? ;-)

     

Log in to post a comment.

MongoDB Logo MongoDB