Questions tagged [syntax-highlight]
The syntax-highlight tag has no summary.
10 questions
5
votes
2
answers
1k
views
How the rope data structure works when doing syntax highlighting
I am looking into the Rope Data Structure, used by some text editors like the xi editor.
I get the basics of how it works, and have seen some sample implementations such as here or here. But I am ...
43
votes
5
answers
60k
views
Why are dark color schemes in editors so popular? [closed]
Nowadays, almost everybody is using a dark color scheme in their code editor - dark background with light text. Even most web based editors (e.g on Github) feature dark color schemes.
I honestly don'...
2
votes
1
answer
6k
views
How to write a syntax checker [closed]
How is a syntax checker for a programming language written? I am guessing a grammar has to be written first. How to then proceed?
Motivation
I'm using a programming language (Apex for Salesforce) ...
24
votes
13
answers
8k
views
Should I use non-standard tags in a HTML page for highlighting words?
I would like to know if it's a good practice or legal to use non-standard tags in an HTML page for certain custom purposes.
For example:
Lorem ipsum dolor sit amet, consectetur adipiscing elit. ...
2
votes
1
answer
186
views
Python syntax highlighting on Codeplex
My .py files in a Codeplex (hg-based) repository don't show up with the nice syntax highlighting as they do for C and C++ when I browse the code on the web. Is there a way to change the syntax ...