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

List:       ktexteditor-devel
Subject:    Re: [PATCH] Teach katepart to understand emacs' "-*- coding: ... -*-"
From:       Christoph Cullmann <cullmann () absint ! com>
Date:       2008-08-28 18:28:47
Message-ID: 200808282028.48045.cullmann () absint ! com
[Download RAW message or body]

On Thursday 28 August 2008 20:04:15 Dominik Haumann wrote:
> On Thursday 28 August 2008, Vladimir V. Perepelitsa wrote:
> >  void KateDocument::readVariableLine( QString t, bool onlyViewAndRenderer
> > ) {
> >    // simple check first, no regex
> >    // no kate inside, no vars, simple...
> > -  if (t.find("kate") < 0)
> > +  if (t.find("kate") + t.find("-*-") < 0)
> >      return;
>
> -1 + 0 = -1 < 0 -> does not always work ;)
>
> I leave it to cullmann to decide.
I have no real problems for this to go in KDE 4.x, if KDE 3.x is open for such 
extensions is other thing. Perhaps ask on core-devel if ok, have no 
objections.

-- 
-------------------------------------- Christoph Cullmann ---------
AbsInt Angewandte Informatik GmbH      Email: cullmann@AbsInt.com
Science Park 1                         Tel:   +49-681-38360-22
66123 Saarbrücken                      Fax:   +49-681-38360-20
GERMANY                                WWW:   http://www.AbsInt.com
--------------------------------------------------------------------
Geschäftsführung: Dr.-Ing. Christian Ferdinand
Eingetragen im Handelsregister des Amtsgerichts Saarbrücken, HRB 11234
_______________________________________________
KTextEditor-Devel mailing list
KTextEditor-Devel@kde.org
https://mail.kde.org/mailman/listinfo/ktexteditor-devel

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

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