Question Authors' Forum

Code highliting

 
Picture of Anna Polańska
Code highliting
by Anna Polańska - Thursday, 23 February 2017, 11:02 AM
 

I have a question - in coderunner when I am editing code I see formatted code. Can I use the same editor for other moodle activities like webpage?

code


Picture of Richard Lobb
Re: Code highliting
by Richard Lobb - Thursday, 23 February 2017, 3:04 PM
 

No, sorry Anna. The syntax colouring is done by a JavaScript component called the Ace editor, which is packaged in with CodeRunner. Ace is not a standard part of Moodle and as far as I know CodeRunner is the only Moodle component or plugin that uses it, except perhaps for the Virtual Programming Laboratory plugin.

Richard

Picture of Anna Polańska
Re: Code highliting
by Anna Polańska - Thursday, 23 February 2017, 9:03 PM
 

Thank you for the replay.

I've just installed CodeRunner - fantastic tool! Congratulation :-) :-) :-)