User forums > Help
cb can't auto indent if i don't use brace("{}")?
(1/1)
kissjhy:
for example
--- Code: ---if (a!=b)
a++;
--- End code ---
cant auto indent.
--- Code: ---if (a!=b)
{
a++;
}
--- End code ---
can auto indent.
I write "if (a!=0)" then press "enter",it won't auto indent if I don't press a "{".
how could I solve this problem.
Jenna:
Not very much information about your version of C::B, so no meaningful answer can be given.
But what I can tell you, it works fine with a recent nightly (8133 on my fedora system).
What are your "Indent options" in "Settings -> Editor -> General settings" ?
kissjhy:
Thinks a lot.
I download a nightly(8086) and it works well.
By the way, where can I find the 8133?
Jenna:
--- Quote from: kissjhy on July 16, 2012, 04:47:37 am ---I download a nightly(8086) and it works well.
By the way, where can I find the 8133?
--- End quote ---
Depends on your system.
For Fedora 15 to 17 and RedHat/CentOS 6 in my repo, for RedHat/CentOS 5 and Debian/Ubuntu it will be in my repo during the day.
All other platform OSes: depends on the repo-maintainer.
Navigation
[0] Message Index
Go to full version