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

List:       quanta
Subject:    Re: [Quanta] sever side includes
From:       Joff <ffoj () flashgranny ! co ! uk>
Date:       2005-11-29 9:02:56
Message-ID: 200511290902.56181.ffoj () flashgranny ! co ! uk
[Download RAW message or body]

On Tuesday 29 November 2005 08:36, Andras Mantia wrote:
> On Tuesday 29 November 2005 10:19, Eric Laffoon wrote:
> > You're talking about displaying the included code in the file?
>
> Interesting idea. I never saw this feature in any editor.

I'm not saying a word.... ;)

> But it might 
> be not a good thing to do as with many includes you will have a pretty
> large document opened in the editor.

Perhaps have some sort of a limit to the number of levels of includes quanta 
opens. Like, only open immediate included files, not included files within 
included files. Or maybe an option for "only open include file if less than 
10KB"

> I think the correct way to do it 
> is to put "open file" entry in the context menu if you click on the
> include line. Hm, magically this works in Quanta. ;-) Of course with
> the execption of constructs like:
> include_once ($_libpath."common.inc.php");

But this is only a convenience for "file>open"  (i'm not saying it isn't 
useful...)

>
> > imagine, provided you're running project preview. There has been some
> > discussion of providing functionality withing VPL to edit HTML
> > embedded in PHP loops. The only possible way to do this is to
> > interpret what is happening in the PHP.
>
> I think integrating a PHP interpreter in Quanta is somewhat out of scope
> of the project. If it possible to do by gluing existing apps, that's
> OK.
>
>  > On another note, but a similar subject, does Quanta pull in class
>  >
> > > and id rules from external CSS files yet? :) Would love to see
> > > Quanta offering all my classes in an autocomplete box whenever I
> > > type '<img class="  ' or whatever :)

I just had a thought - even if this feature was built in I wouldnt be able to 
use it, as all my linked style sheets will be in  the "head.php" include 
file!! lol :)


>
> This works if the CSS definition is inside the HTML file:
> See the attached example (press CTRL SPACE after <h1 class="). It works
> in the tag editing dialog and the attribute editor tree as well.

Yeah, I knew it could do that. :)  (your <style> tag is in the wrong place 
btw ;)  Although your html is infinitely better than my c++ :)  )
_______________________________________________
Quanta mailing list
Quanta@mail.kde.org
https://mail.kde.org/mailman/listinfo/quanta

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

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