When i have a # between an opening and closing brace, Notepad++ doesn't match the two braces. Also, sql-keywords aren't higlighted after a #.

Example: try this with sql-format:

select * from mytable where (field = #parm# or field is null)

What can I do about this?

Thanks!