All of lore.kernel.org
 help / color / mirror / Atom feed
* grub.cfg syntax highlight for UEStudio/UltraEdit32
@ 2008-06-01  2:58 y.volta
  2008-06-01  4:55 ` Pavel Roskin
  0 siblings, 1 reply; 2+ messages in thread
From: y.volta @ 2008-06-01  2:58 UTC (permalink / raw)
  To: grub-devel

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 ------------------

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: grub.cfg syntax highlight for UEStudio/UltraEdit32
  2008-06-01  2:58 grub.cfg syntax highlight for UEStudio/UltraEdit32 y.volta
@ 2008-06-01  4:55 ` Pavel Roskin
  0 siblings, 0 replies; 2+ messages in thread
From: Pavel Roskin @ 2008-06-01  4:55 UTC (permalink / raw)
  To: The development of GRUB 2

On Sun, 2008-06-01 at 10:58 +0800, y.volta wrote:
> 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. ;-)

grub.cfg is a generated file.  UEStudio doesn't look like free software.
The syntax may change before the release.

> pc pci play png

In particular, "pc" is very likely to be renamed.

-- 
Regards,
Pavel Roskin



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-06-01  4:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-01  2:58 grub.cfg syntax highlight for UEStudio/UltraEdit32 y.volta
2008-06-01  4:55 ` Pavel Roskin

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.