Skip to main content

Questions tagged [syntax-highlight]

5 votes
2 answers
1k views

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 ...
Lance Pollard's user avatar
6 votes
1 answer
352 views

I wonder why I rarely see any IDEs or other developers that use background colors for syntaxhighlighting. One of the first things when installing and configuring a new IDE is adjusting the colors so ...
valenterry's user avatar
  • 2,429
43 votes
5 answers
60k views

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'...
lethal-guitar's user avatar
1 vote
1 answer
425 views

I am using google code prettify. After a page renders, I decided to check how <code> and <pre> tags and their contents were manipulated. But in view source, I found no changes were made (...
msinfo's user avatar
  • 123
2 votes
1 answer
6k views

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) ...
ipavlic's user avatar
  • 441
7 votes
7 answers
485 views

My current application is running into issues with its ORM, and we're relying on some pretty hairy SQL to express queries that the ORM can't. Are there best practices in terms of how to manage the ...
asthasr's user avatar
  • 3,469
24 votes
13 answers
8k views

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. ...
rcs20's user avatar
  • 193
47 votes
6 answers
24k views

Most programmers have their own personal preferences for syntax-highlighting color schemes, but I've been wondering, has anyone ever done an actual scientific study on what the best color scheme would ...
Jonathan Schuster's user avatar
2 votes
1 answer
187 views

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 ...
highBandWidth's user avatar
2 votes
2 answers
287 views

Hello fellow programmers, I was discussing a project the other day with a colleague of mine and I was curious to see what others had to say or if such a thing already existed. Background There are ...
Ben DeMott's user avatar