On 05/08/2012 00:46, Prash wrote:
> Thank you for the reply. But I can't really control the content of
> these files.
>
> Here is some more context: Arch Linux has a package build system that
> calls various shell scripts, and these scripts are not meant to be
> executed on their own, and so, do not have the #! line. Also, these
> scripts are written by many (hundreds of?) people, and in a very
> specific format. The scripts sets a few specific variables, defines a
> few specific functions, etc. The package installer that I use launches
> my chosen editor to let me quickly examine or modify these files
> before I install each package.
If the others suggestions don't suit you, you can use a solution to
reduce the inconvenience: if you look into the global properties file,
you will find keyText and some other definitions used in the
menu.language property.
You can copy these definitions into your user properties file and modify
it to your taste (I have my own set of language choice.
And I defined, for example, a
keyJava=Ctrl+Shift+F12
property that I used in the Java entry:
&Java|java|$(keyJava)|\
You can do the same for your language, thus after opening it you will
see it in plain text, but with a key hit (eg. F12 for quick access) you
will switch to your language. That's an additional operation, so not as
convenient as a default setting, but that becomes a minor annoyance.
--
Philippe Lhoste
-- (near) Paris -- France
--
http://Phi.Lho.free.fr
--
http://PhiLho.deviantART.com
-- -- -- -- -- -- -- -- -- -- -- -- -- --