How do you get normal indentation?

Hi.
How do you get normal indentation?
Using gedit, when I indent is the same as pressing tab - it just inserts a tab, regardless of the status.

I'm used to Emacs, where indenting is dependant on the syntax.

int i;

will not be indented in the same amount as

if(1) {
int i;
}

How do I do that with Gedit?

Rispondi

  • Indirizzi web o e-mail vengono trasformati in link automaticamente
  • Tag HTML permessi: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Linee e paragrafi vanno a capo automaticamente.

Maggiori informazioni sulle opzioni di formattazione.