[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kwrite-devel
Subject:    Re: S&S indentation maintainership.
From:       Tim Hutt <tdh29 () cam ! ac ! uk>
Date:       2006-09-12 21:29:06
Message-ID: 200609122229.06592.tdh29 () cam ! ac ! uk
[Download RAW message or body]

On Tuesday 12 September 2006 14:40, Leo Savernik wrote:
> Am Dienstag, 12. September 2006 13:29 schrieb Tim Hutt:
> > what are the # and n for?
>
> I had the same question when I started hacking on the csmart-indenter.
>
> Quoting Jesse:
> "For c#'s '#regioN' and "#endregioN' markers which should be aligned
> automatically.  I used 'N' as the trigger for that auto-movement."
>
> I. e. #if #define etc should be outdented to the left margin, but
> #region/#endregion are to be left indented. As # triggers outdenting, n has
> to retrigger indenting.

Ah ok. That makes sense.

> > 4) Maybe change the name. [...] like, "C++ Style" or something.
>
> Given the fact that the csmart-indenter is already called "C-Style" in the
> GUI (and is usable for C/C++/C#/Java), C++-Style doesn't sufficiently
> emphasise S&S' special purpose.

It has a special purpose? I though it was just an alternative to the csmart 
style. Maybe "Alternative C Style" would be a better name.

> > 5) Add test cases using the new regression test suite.
>
> Yes! You can copy over the initial csmart regression tests to a csands
> directory and adapt baseline accordingly. This should give you a head
> start.

Will, do.

> Btw, do you develop against trunk?

Trying to! It won't compile at the moment - I'll try it again tomorrow.

-Tim
_______________________________________________
KWrite-Devel mailing list
KWrite-Devel@kde.org
https://mail.kde.org/mailman/listinfo/kwrite-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic