add parserfile and stylesheet to pe:codeMirror tag #201

Closed
shikida opened this Issue Jan 2, 2014 · 3 comments

Projects

None yet

3 participants

@shikida
shikida commented Jan 2, 2014

CodeMirror supports custom parsers and syntax highlight css.

For example

[script type="text/javascript"]
var editor = CodeMirror.fromTextArea('code', {
height: "450px",
parserfile: "../contrib/plsql/js/parseplsql.js",
stylesheet: "css/plsqlcolors.css",
path: "../../js/",
textWrapping: false
});
[/script]
Please add these to pe:codeMirror tag. Thanks.

@tandraschko
Member

Would be great if you could provide a patch or pull request. I'm currently not that active in Extensions.

@ova2
Member
ova2 commented Jan 2, 2014

Yes, a pull request would be welcome! Thomas is the author of this component, but he is busy with PrimeFaces as committer there.

@tandraschko tandraschko self-assigned this May 14, 2014
@tandraschko tandraschko added this to the 3.1.0 milestone Dec 30, 2014
@tandraschko tandraschko removed this from the 3.1.0 milestone Apr 13, 2015
@tandraschko
Member

As you are currently the only one who need it, please create a pull request. PrimeFaces Extensions is a community based project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment