crayon-syntax-highlighter icon indicating copy to clipboard operation
crayon-syntax-highlighter copied to clipboard

Line #2 won't "mark"

Open Ayodehi opened this issue 10 years ago • 3 comments

Running this code will mark lines 3 and 5, but not 2. No matter what I try, I can't get any code segments to mark line 2.

(Note: the language is a custom language to support http://docs.unity3d.com/Documentation/Components/SL-Reference.html)

CGPROGRAM
#pragma vertex vert
#pragma fragment frag

float4 _Color;
ENDCG

Ayodehi avatar Mar 12 '14 14:03 Ayodehi

i have the same problem, line 2,4,6... can't be marked... any idea?

H-Ahmadi avatar Dec 06 '14 17:12 H-Ahmadi

@Ayodehi @H-Ahmadi try this - Crayon Settings > Line > UnCheck 'Display striped code lines'. Happy Coding 👍

CodAffection avatar Jan 02 '18 03:01 CodAffection

If this is happening then it's a bug. The striped code lines class might be higher CSS specificity than the marked line rules.

aramk avatar Jan 05 '18 19:01 aramk