Export to GitHub

gwtwiki - issue #99

Syntax highlighting for sql does not work properly


Posted on Jun 27, 2012 by Helpful Ox

What steps will reproduce the problem? 1. create a sql syntax highlihting for the following sql (db2)

comment on column CALCULATEALL_VEHICLE.ACTIVE is 'Flag indicating if the vehicle is active or not';

highlighted keywords are column, and "or not" of the comment text.

=> i also saw, that for some reason the syntax highlighting only works, if the keywords are lowercase. is that intended or a bug?

What is the expected output? What do you see instead?

Keywords that are found within comments should not be highlighted.

What version of the product are you using? On what operating system?

Vosao CMS 0.9.1

Please provide any additional information below.

Complete snippet:

<source lang="sql"> comment on column CALCULATEALL_VEHICLE.ACTIVE is 'Flag indicating if the vehicle is active or not'; </source>

Comment #1

Posted on Jun 28, 2012 by Happy Dog

(No comment was entered for this change.)

Comment #2

Posted on Jun 28, 2012 by Happy Dog

I commited r5663 to improve syntax highlighting.

Please try the bliki-core-3.0.19-SNAPSHOT.jar with Vosao http://gwtwiki.googlecode.com/svn/maven-snapshot-repository/info/bliki/wiki/bliki-core/3.0.19-SNAPSHOT/bliki-core-3.0.19-SNAPSHOT.jar

Comment #3

Posted on Jul 3, 2012 by Happy Dog

(No comment was entered for this change.)

Comment #4

Posted on Jul 3, 2012 by Happy Dog

(No comment was entered for this change.)

Comment #5

Posted on Aug 8, 2012 by Happy Dog

(No comment was entered for this change.)

Status: Fixed

Labels:
Type-Defect Priority-Medium Mediawiki2HTML