Ticket #309 (new bug)

Opened 2 years ago

Last modified 2 years ago

Bug report: Syntax Coloring

Reported by: Jakob Egger Owned by: dpage
Priority: minor Milestone:
Component: pgadmin Version: 1.12
Keywords: querytool Cc:
Platform: all

Description

Syntax coloring in PgAdmin?3 (Version 1.10.3 on MacOS) does not correctly deal with nested comments.

Try entering the following in the "Query" window:

/* /*NESTED COMMENT*/ THIS IS STILL A COMMENT */

the words "THIS IS STILL A COMMENT" do not have the comment color.

The PostgreSQL docs specify that comments may be nested, see:
 http://www.postgresql.org/docs/8.4/static/sql-syntax-lexical.html#SQL-SYNTAX-COMMENTS

Change History

Changed 2 years ago by gleu

The issue is deep inside wxWidgets STC control. AFAICT, this is not fixed in 2.9 either.

Note: See TracTickets for help on using tickets.