It's hard to think of an editor that does not have that functionality but sometimes it has to be enabled. Kate, under settings>configure kate>indentation, gives you a choice of automatic indentation styles, none, normal, c, python, xml and others. Gedit does exactly what you want, if you enable automatic indentation under edit>preferences>editor. Both offer syntax highlighting by file type. Notice that you can chose your indentation style independently of syntax highlight style in kate. Specific editors, such as Bluefish for html, has the behavior you want by default and are often better than a general purpose editor.
On Saturday 27 May 2006 09:44 pm, Joe Fruchey wrote: >... I fell in Love with Notepad2 in Windows with its syntax > highlighting, but mostly the 'tab keeping,' that is, if you indent a > line and press enter, the next line starts at the same tab mark > instead of at the beginning. > > There has to be a Linux editor with that functionality, right? >
