New indentation code in KDevelop 2

Christoph Cullmann crossfire at babylon2k.de
Sat Dec 8 16:49:02 UTC 2001


Am Saturday 08 December 2001 16:36 schrieben Sie:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Saturday 08 December 2001 17:19, you wrote:
> > >    if (textLine->getChar(textLine->lastChar())=='}') // closing brace
> > >      indentPos -= indentLength;
> >
> > I did only the open brace, but yes, closed brace might be done too. I've
> > got to think how that could be done.
> >
> > That should be firstChar() rather than lastChar() it seems.
>
> I added a closing brace indentation. Check it out.
Could you try to add all this enhancements to kate too ?

cu
Christoph

>
> Thanks,
>
> - --
> Eray Ozkural (exa) <erayo at cs.bilkent.edu.tr>
> Comp. Sci. Dept., Bilkent University, Ankara
> www: http://www.cs.bilkent.edu.tr/~erayo
> GPG public key fingerprint: 360C 852F 88B0 A745 F31B  EA0F 7C07 AE16 874D
> 539C -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.6 (GNU/Linux)
> Comment: For info see http://www.gnupg.org
>
> iD8DBQE8EjNxfAeuFodNU5wRAt4PAJ9mznozm2Q9afBXuCn2YzOHiyoa+wCeL5Qz
> e/I1PZnCQDpdaNAVzHWONPo=
> =+s6x
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Kdevelop-devel mailing list
> Kdevelop-devel at barney.cs.uni-potsdam.de
> http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
-- 
| |   / /               - get an edge in editing -
| | / /                      »»»» GET KATE ««««
| |/ /      a fast and capable multiple document,
|     \     multiple view text editor for KDE
| |\  \     cullmann at kde.org
| |  \  \   http://kate.sf.net




More information about the KDevelop-devel mailing list