NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Adding file types


Joined: 05 Sep 2004
Posts: 4
Reply with quote
Hello,

is there a possibility to add NEW file types to phpEd so I can set up custom highlighting setting for them?

Best Regards
Thomas
View user's profileFind all posts by ThomasSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
what kind of sources do you need to highlight ?
any chance you can use one of highlighters already available in phped ?
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 05 Sep 2004
Posts: 4
Reply with quote
ddmitrie wrote:
what kind of sources do you need to highlight ?
any chance you can use one of highlighters already available in phped ?


Yes I could use HTML since its a Template Format, but I still would be pleased to create a separate file type.
For the future I would be pleased to be able to provide a "patch/config fileset" for other Coders using the Template System and phpEd so they also could benefit from custom highlighting etc.. Of course I would check before if thats all legal etc.

Best Regards
Thomas
View user's profileFind all posts by ThomasSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
are you talking about some proprietary file format based on HTML ? E.g. Smarty or something similar ? Right ?
Also I'd like to understand the level of flexibility you want to get from the highlighter.
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 05 Sep 2004
Posts: 4
Reply with quote
First thanks for the Answers.

ddmitrie wrote:
are you talking about some proprietary file format based on HTML ? E.g. Smarty or something similar ? Right ?

Yes, your right.
ddmitrie wrote:

Also I'd like to understand the level of flexibility you want to get from the highlighter.

Well from what I learned about the function/tag highlighting I do not expect phpEd to recognise something like {block name=xyz type=$bla} but at least I could use keywords and code templates.
I'd be pleased if you could tell me how flexible the highlighter is at all, and what limitations I would meet.

From your Answers I expect there is currently no way to add a proprietary file type at all, right?

Best Regards
Thomas
View user's profileFind all posts by ThomasSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Quote:
From your Answers I expect there is currently no way to add a proprietary file type at all, right?

yes, but we could think of adding some way in the future.
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 05 Sep 2004
Posts: 4
Reply with quote
ddmitrie wrote:
yes, but we could think of adding some way in the future.


That would be really appreciable Smile
View user's profileFind all posts by ThomasSend private message
Adding file types
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic