Edit Modes: Brackets in Literals
Submitted by Wednesday, 13 December, 2006 - 09:13
on
Hi,
I have a problem with edit modes and string literals with brackets in jEdit.
I'm working on a little custom query language at the moment. jEdit would be an ideal editor for it if I just could get the edit mode working. The problem is that I have literals that contain brackets and that seems to break the "Complete Word" feature as well as the syntax highlighting.
Here's an example of the mode:
"
"
=
AND
OR
Attribute1
Attribute2
Attribute3
NULL
Value1
Here's an example of a simple query:
(Attribute1 AND Attribute2) OR (Attribute1 AND Attribute3="Value2 (detail)")
Uncommenting the literal with the brackets breaks the edit mode as already mentioned. Is there a way to get aroung this? Am I missing something? I tested with both 4.3pre and 4.2 on WinXP/jdk1.5.0_09.
Thanks,
Jussi