Menu

Indentation help

Help
2002-02-03
2002-02-04
  • Nicholas FitzRoy-Dale

    Hi - I feel a bit stupid for asking this, but FTE looks really good, and I just can't get it to work. I've got the following settings in m_plain.fte, and they don't *seem* to be over-ridden anywhere else, but for some reason I just can't type a tab character - it automatically turns into spaces. Any ideas? Is there a setting I missed? I'm using the Debian unstable packaged version 0.49.13-15.

    ExpandTabs=1;
    TabSize=4;
    IndentWithTabs=1;
    SpaceTabs=0;
    BackSpKillTab=1;
    DeleteKillTab=1;
    CursorThroughTabs=0;

     
    • Darin

      Darin - 2002-02-03

      I would start by trying to not expand tabs.  Try "ExpandTabs=0".  I believe that will do what you want.  However, be warned that I've never been involved in any project where tabs were allowed as indentation characters.  One of the first rules is generally "indent with spaces".  If you don't, and someone uses an editor with tabs set to something different, the whole project can look incredibly awful.  But it's your call - so try the 0.

       
      • Nicholas FitzRoy-Dale

        Thanks for replying, but turning ExpandTabs off just results in FTE inserting a *single space* (!) in the file upon save. Weirdly, if I use Tab to indent a line, and the line doesn't start with spaces, it will insert spaces. However, if I then go back to the *beginning* of the line and hit Tab, a hard tab is inserted. So I can indent a line, as long as there's a space there beforehand. Crazy!

         

Log in to post a comment.

Auth0 Logo