thegooglecodearchive / editra-plugins

Automatically exported from code.google.com/p/editra-plugins
0 stars 1 forks source link

[codetemplater] custom language doesn't appear in language list #141

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What Plugin does this relate to? What version of the Plugin?

CodeTemplater

What steps will reproduce the problem?
1. use a XML-based Lexer for a custom language
2. try to define a template for this custom language
3. custom language doesn't appear in the list

What is the expected output? What do you see instead?

it should appear in the list

What version of Editra are you using? On what operating system?

Editra 0.5.51

Please provide any additional information below.

Attached is a patch fixing the issue. Instead of using synglob.LANG_MAP, I 
used syntax.SyntaxIds() entry point.

cheers,
Seb

Original issue reported on code.google.com by sebastie...@gmail.com on 23 Mar 2010 at 10:48

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by CodyPrec...@gmail.com on 29 Mar 2010 at 1:40

GoogleCodeExporter commented 9 years ago
Fix for this has been committed as per the attached patch (although I don't 
have a 
custom language to test it with so I can't guarantee it fixed the problem)

Original comment by etolle...@gmail.com on 31 Mar 2010 at 3:31

GoogleCodeExporter commented 9 years ago
* closing as fixed

Original comment by CodyPrec...@gmail.com on 31 Mar 2010 at 4:03