Auto-indentation

Discussion Forums discussion Auto-indentation

This topic contains 0 voices and has 3 replies.

Viewing 4 posts - 1 through 4 (of 4 total)
Author Posts
Author Posts
September 6, 2006 at 1:01 pm #106

xdude
Member

hi2all. I’ve just downloaded the v2 editor, and cannot find an auto-indentation option anywhere in the configuration. I wonder if it is available in this editor. By auto-indent I mean an option which allows to insert indentation automatically after I type an opening brace “{” and unindent after a closing brace “}”. Just like here:

if ($a)

{

print “Yes, it worksn”;

};

print “bla-bla…n”;

November 3, 2006 at 1:52 pm #15077

simon
Key Master

Hi, currently Programmer’s Notepad maintains indentation but doesn’t do auto-indent. This is being added at the moment, with experimental Python support in the PyPN extension for the development build.

Expect this to be better in the next release.

April 8, 2007 at 7:17 am #15078

Stormtrooper
Member

Has anything changed since this topic was initially posted? I’m trying out PN and I find this is the only feature I’m really, really missing from my old editor.

April 18, 2007 at 8:43 pm #15079

simon
Key Master

Still a work in progress, all this stuff is much more stable and has been regularly released (with python support) so a few more builds and we should be able to have some good indenters for other languages. You could always take a look at the python one and try to add a C++ one yourself?

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.