Opened 16 years ago
Closed 12 years ago
#3680 closed defect (fixed)
#!Lineno prevents syntax highlighting
Reported by: | John C. Femiani | Owned by: | Adamansky Anton |
---|---|---|---|
Priority: | normal | Component: | LinenoMacro |
Severity: | normal | Keywords: | |
Cc: | John C. Femiani | Trac Release: | 0.11 |
Description
This code:
{{{ #!Lineno #!cpp //Comments... int main(int ac, char** av) { return 0; } }}}
produces this result:
Whereas this code:
{{{ #!cpp //Comments... int main(int ac, char** av) { return 0; } }}}
Produces this output:
I think that LineNo is supposed to use the syntax highlighting processor that follows it, as it does in the example.
--John
Attachments (2)
Change History (6)
Changed 16 years ago by
Attachment: | LineNoProblem.png added |
---|
Changed 16 years ago by
Attachment: | CppCorrect.png added |
---|
Syntax Coloring works in my setup without LineNo....
comment:1 Changed 16 years ago by
Trac Release: | 0.10 → 0.11 |
---|
Unfortunately, I have the same problem.
- my installation: WinXP, Apache 2.2.11, Python 2.5.4, Trac 0.11.2.1,
- used LinenoMacro: revision 3450
- further plugins: enscript-1.6.3-9, pygments-1.0, silvercity-0.9.7 and docutils0.5, all for python 2.5.
- These are needed by some of my colleagues fore some languages. Maybe thats the reason?
- Additionally we have installed the TracMath plugin, that also adds a syntax highlighter
Anyway, at least for simple text this macro is very usefull.
As I have installes TRAC 0.11 i change the Trac Release. I suppose, there are some dependancies to the other syntax highlighters and their priorities?
comment:2 Changed 16 years ago by
Ditto - syntax highlighting does not work by itself either, so perhaps you are presuming a prerequisite component that not everyone has?
Still does a nice job as plain text.
comment:3 Changed 14 years ago by
Cc: | John C. Femiani added; anonymous removed |
---|
Replying to john.femiani@asu.edu:
[...]
If you are in windows, this may happen, I modify source to fix it. See #8329.
comment:4 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Incorrect Resuylts