Menu ▾ ▴

Ident on new line

2009-08-06
2012-11-13
  • icegood icegood

    icegood icegood - 2009-08-06

    If i start such, tabs generated accordingly to ident of previous one. Is it posiible to generate space if i also want "change tabs to spaces" to be OFF?

     
    • cchris

      cchris - 2009-08-07

      I hope I got your point, though I'm not sure.

      If you turn "Tabs to spaces" off, and then hit Enter on some indented line, the created new line is indented with spaces so as to line up with the one you started from. Thzt infrny pzty id made of spaces, no matter how the line above is indented - it could have mixed tabs and spaces.

      Was this your question?

      CChris

       
    • icegood icegood

      icegood icegood - 2009-08-08

      And... my version is last 5.3.1.

       
    • icegood icegood

      icegood icegood - 2009-08-08

      Upgraded to 5.4.5 - same case. I think it's better to just copy ident from previous line then will be no problem with makefiles and "big-space-idents".

       
    • icegood icegood

      icegood icegood - 2009-08-08

      Ha! My new line created with tabs!!! That's is a  problem...

       
    • icegood icegood

      icegood icegood - 2009-08-08

      And when i opened such file in other editor with other spaces/per/tab proportion i see quite shifted text...

       
    • icegood icegood

      icegood icegood - 2009-08-08

      I know how to create a tab for you too. It depend on spaces/per/tab proportion. If ident is not smaller than this proportion then at least one tab created automatically. My proportion =2. I like such small. You can now imagine how many tabs created without my permission...

       
    • icegood icegood

      icegood icegood - 2009-08-08

      If i didn't used Makefiles i would turn "Tabs to spaces" on and have no problems...