I'm not sure if this has been proposed but i would love some input on the idea. I think it would be great to have function highlighting/autocomplete work for embedded languages. You would have to of course have some sort of definable values that determine what tags define a block which imbedded code (specific to each parent lang). Let me explain what i mean by embedded languages. A really simple explination would be how javascript is embedded within html (by use of the <script> tag). Annother example being how php can be embedded in html (or the other way around depending on how you look at it) and furthermore, javascript can then be embedded into the html that is embedded with in php (you can see how this becomes recursive). This would of course only work for blocks of code with defined start/end tags. I would love to see this sort of behavoir and i think that it would really extend the functionality of notepad++ (which rocks).
-Dinomight
the one reason i ask for this type of feature, is my quest to define a mason lang (which is custom inline perl within html files).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I looked into the notepad++ source and it looks like none of this type of programming has been done by the np++ team. The functionality is part the scintilla libs that they use. I think that this will have to be added to the scintilla tree or an external lexer will have to be developed.(unless of course the np++ team wants to do the lexer modifications specifically for np++)
-Dinomight
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm not sure if this has been proposed but i would love some input on the idea. I think it would be great to have function highlighting/autocomplete work for embedded languages. You would have to of course have some sort of definable values that determine what tags define a block which imbedded code (specific to each parent lang). Let me explain what i mean by embedded languages. A really simple explination would be how javascript is embedded within html (by use of the <script> tag). Annother example being how php can be embedded in html (or the other way around depending on how you look at it) and furthermore, javascript can then be embedded into the html that is embedded with in php (you can see how this becomes recursive). This would of course only work for blocks of code with defined start/end tags. I would love to see this sort of behavoir and i think that it would really extend the functionality of notepad++ (which rocks).
-Dinomight
the one reason i ask for this type of feature, is my quest to define a mason lang (which is custom inline perl within html files).
Do you (or anyone else) have a HTML::Mason lang file yet? I'm looking for an editor that does this.
Or, is there some other HTML+embedded lang that I can look at as a starting point? I don't see a lang sharing or downloads area here to browse.
--John
I looked into the notepad++ source and it looks like none of this type of programming has been done by the np++ team. The functionality is part the scintilla libs that they use. I think that this will have to be added to the scintilla tree or an external lexer will have to be developed.(unless of course the np++ team wants to do the lexer modifications specifically for np++)
-Dinomight