SlickEdit Community
SlickEdit Product Discussion => SlickEdit® => Topic started by: erezzi on July 19, 2006, 12:45:04 PM
-
Hi,
I'm using Slick Edit v9.0.4 on Linux. A few weeks ago, a problem with indentation started: when writing C code, I expect that when I click "Enter", the cursor will jump to the next line, but not to the beginning of the line. It should jump to the beginning + a number of TABs according to the nesting level. Instead, it always jumps to the beginning of the next line.
For example:
int func(void)
{
int a; <- if I click "enter" now, I expect the cursor to jump to the next line and move 1 TAB forward. Instead, it jumps to the beginning of the next line.
Even if I close Slick Edit, delete the .vslick dir and start Slick Edit, the problem isn't solved.
Any idea?
Thanks
Erez
-
If you go to Tools>Options>File Extension Setup, and select "c" as the file extension, what is "Indent Style" set to?
-
Set to 'None'. I guess that it should be something else.
-
Yes, you want to set that to "Syntax Indent", and probably set the value to the same as Tabs.
-
Thanks!