From kwrite-devel Sun Feb 23 13:00:28 2014 From: Milian Wolff Date: Sun, 23 Feb 2014 13:00:28 +0000 To: kwrite-devel Subject: Fwd: Re: C++ AlignedComments highlighting? Message-Id: <1418294.Dg62mCmal8 () minime> X-MARC-Message: https://marc.info/?l=kwrite-devel&m=139316043828518 Forwarding to kwrite-devel, reply below. ---------- Forwarded Message ---------- > Subject: Re: C++ AlignedComments highlighting? > Date: Sunday 23 February 2014, 05:55:33 > From: Alex Turbov > To: Milian Wolff > > yeah, I use 4 spaces (as most common code convention) for indentation, and > yes I'd like to make it visible if some comments are not at the place where > it should be... if someone don't want that feature (and feels odd w/ it), > one can set the same color as "ordinal" comments have (probably that can be > set by default). but personally I can't live w/o this feature... You don't have to live without this feature. Just add your own syntax file for this special feature. But why do you want to enforce it on everyone? Esp. considering how bound it is to the indentation depth. As an editor, Kate must cope with all users out there. Special highlighting for a specific kind of indentation style is just wrong. > On Sat, Feb 22, 2014 at 9:39 PM, Milian Wolff wrote: > > Hello Alex, > > > > I have personally an issue with the AlignedComments in C++. Can you > > explain > > why you think they should be highlighted differently from other comments? > > > > Especially note how these "aligned" comments are depending on the > > indentation > > width, apparently you use four spaces. I don't. So it's rather odd that > > these > > comments are highlighted differently: > > > > // this is a region > > > > // this is not > > > > // this otoh is again > > > > Generally, I vote for removing this from the default C++ highlighting > > file. If > > you want to have this feature, please add it to a local copy and use that. > > > > Is that OK with you? Opinions from others? ----------------------------------------- -- Milian Wolff mail@milianw.de http://milianw.de _______________________________________________ KWrite-Devel mailing list KWrite-Devel@kde.org https://mail.kde.org/mailman/listinfo/kwrite-devel