All of lore.kernel.org
 help / color / mirror / Atom feed
From: "y.volta" <f22_storm@163.com>
To: <grub-devel@gnu.org>
Subject: grub.cfg syntax highlight for UEStudio/UltraEdit32
Date: Sun, 1 Jun 2008 10:58:41 +0800	[thread overview]
Message-ID: <C307BCB5DC084E3580A57E3ECA85DF31@hp2003> (raw)

Hi, all,

    I've made a 'Grub2 Menu' syntax hightlight for UEStudio/UltraEditor. it can hight the commands, index
`functions' and `menuentry' in grub.cfg.

    Wish this will help your editing. ;-)

see bellow:
-------------------------------------------------------------------

/L20"Grub2 Menu" Line Comment = # Escape Char = \ String Chars = "' File Extensions = cfg lst
/Delimiters =  ~!@%^&*()-+=|\/{}[]:;"'<> ,        .?
/Indent Strings = "{"
/Unindent Strings = "}"
/Open Brace Strings =  "{" "(" "["
/Close Brace Strings = "}" ")" "]"
/Open Fold Strings = "{"
/Close Fold Strings = "}"
/Function String = "%function[ ^t]+^([a-zA-Z_0-9]+^)"
/Function String 1 = "%menuentry[ ^t]+"^(*^)""
/C1
$
&&
'
break
case continue
elif else esac exit export
fi font for
if in
insmod
menuentry
return
set
terminal
then
unalias unset
while
{
||
}
/C2 "mods name"
_bsd _chain _linux _multiboot
acorn affs afs amiga aout apple ata
biosdisk bitmap blocklist boot bsd
cat chain cmp configfile cpio cpuid
echo elf ext2
fat fshelp
gfxterm gpt gzio
halt hello help hexdump hfs hfsplus
iso9660
jfs jpeg
linux loopback ls lspci lsusb lvm
memdisk minix multiboot
normal ntfs ntfscomp
pc pci play png
raid read reboot reiserfs
search serial sfs sleep sun
terminfo test tga
udf ufs
vbe vbeinfo vbetest vga video videotest
xfs

--------------------------------------------the end ------------------

             reply	other threads:[~2008-06-01  3:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-01  2:58 y.volta [this message]
2008-06-01  4:55 ` grub.cfg syntax highlight for UEStudio/UltraEdit32 Pavel Roskin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C307BCB5DC084E3580A57E3ECA85DF31@hp2003 \
    --to=f22_storm@163.com \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.