Syntax Highlighting

Back to General discussions forum

Christopher Matthews     2015-07-11 11:25:05

I love the new syntax highlighting for the solution text area! Great job, Rodion!

-- Christopher P. Matthews

Rodion (admin)     2015-07-11 11:35:56
User avatar

Oh, Christopher, thank you but you are too kind :)

We should thank authors of Ace Editor library. Before we used other (CodeMirror) but it looked too painful to setup switching for highlighting different languages (though it could be done anyway, I know). And yesterday I by chance have a chat with Marat Yuldashev - who is one of the world top gurus of competitive programming. As we discussed our side-projects we were lucky to exchange a couple ideas. Hi hinted on using the library I mentioned.

So you see, I have no moral power to kick around this highlighting for more than a year - and then a friendly advice allowed me to simplify the existing code and implement the feature in about an hour. :)

Please login and solve 5 problems to be able to post at forum