GtkSourceBuffer regexp
- From: Rodrigo Moya <rodrigo gnome-db org>
- To: Gnome Devtools list <gnome-devtools gnome org>
- Subject: GtkSourceBuffer regexp
- Date: 12 Jan 2003 14:50:48 +0100
Hi
I am using libgtksourceview for a SQL editor widget, and, when adding
the set of SQL keywords:
tag = gtk_pattern_tag_new ("keywords",
"\\b\\(alter\\|and\\|as\\|begin\\|by\\|commit\\|create\\|delete"
"\\|drop\\|exists\\|from\\|group\\|having\\|in\\|insert\\|into"
"\\|is\\|not\\|null\\|or\\|order\\|rollback\\|select\\|set" "\\|table\\|update\\|values\\|view\\|where\\)\\b");
How can I make this be case insensitive, so that Select, SELECT, and
select are all highlighted?
cheers
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]