Discussion:
nedit key mapping
allcoms
2010-04-02 10:20:29 UTC
Permalink
Hi neditors!

I'm currently putting together a customised, comprehensive distro for
the Sharp Zaurus 3x00 series of pocket computers to be called danbos
zubuntu. It is based upon the zubuntu armel port of Ubuntu 9.04 and I
would prefer to use Nedit as default X text editor but I have one
major prob preventing this and that is keymapping.

Under the nedit (v 5.5) binary thats in the ubuntu jaunty armel repos,
when I push either the left or right arrow keys they take me to the
begginng or end of the current line respectively, which I understand
is what the HOME and END keys would normally do when pushed under
nedit. Weird thing is that my Zaurus keyboard doesn't even have HOME
or END keys in its default keymap and the left and right arrow keys
function as expected under the Ted lesstif text editor and under
leafpad, xterm and all my other apps, so its a problem exclusive to
nedit.

Could I fix this by adding a couple of entries to the nedit config
file or will the source code need to be tweaked? If it can be fixed in
the config file could you please give a reasonably complete example of
how you think it should look as I've been unable to find a good guide
to Xresource-style keymappings.

Thanks!

Dan
--
NEdit Discuss mailing list - Discuss-***@public.gmane.org
http://www.nedit.org/mailman/listinfo/discuss
Mike Macaskill
2010-04-05 23:59:16 UTC
Permalink
Hi

I find that whenever I edit a perl script with syntax highlighting turned on, a dialog box entitled "Highlight Style" and containing

Style "Label" named in pattern "dq here doc" does not match any existing style

appears.

Has anybody else noticed this? If so have you been able stop this annoying dialog from appearing?

Thanks


Mike Macaskill
NCC Computing Support
Australian Government
Bureau of Meteorology
Tel 9669 4265 Fax 9669 4760
--
NEdit Discuss mailing list - Discuss-***@public.gmane.org
http://www.nedit.org/mailman/listinfo/discuss
Joor Loohuis
2010-04-06 06:08:07 UTC
Permalink
Post by Mike Macaskill
I find that whenever I edit a perl script with syntax highlighting
turned on, a dialog box entitled "Highlight Style" and containing
Style "Label" named in pattern "dq here doc" does not match any existing style
appears.
Has anybody else noticed this? If so have you been able stop this
annoying dialog from appearing?
Apparently a display style that is used in the patterns is not present
in your preferences. To fix that, go to Preferences > Default Settings >
Syntax Highlighting > Text Drawing Styles, and add a style named 'Label'
there with appropriate colors and fonts. 'Label' is used amongst others
to flag the symbol used to terminate a here doc.

Afterwards, use Preferences > Save Defaults to make sure the new style
is written to your configuration.
--
Joor Loohuis, MSc

Loco (Loohuis Consulting)
Training, consultancy, hosting, and building
Specialized in Open Source solutions

http://www.loohuis-consulting.nl/
--
NEdit Discuss mailing list - Discuss-***@public.gmane.org
http://www.nedit.org/mailman/listinfo/discuss
Mike Macaskill
2010-04-06 06:34:29 UTC
Permalink
That worked like a charm - thanks!!


Mike Macaskill
NCC Computing Support
Tel 9669 4265 Fax 9669 4760


-----Original Message-----
From: discuss-bounces-***@public.gmane.org [mailto:discuss-bounces-***@public.gmane.org] On Behalf Of Joor Loohuis
Sent: Tuesday, 6 April 2010 4:08 PM
To: General NEdit discussion list
Subject: Re: Syntax highlighting with perl scripts [SEC=UNCLASSIFIED]
Post by Mike Macaskill
I find that whenever I edit a perl script with syntax highlighting
turned on, a dialog box entitled "Highlight Style" and containing
Style "Label" named in pattern "dq here doc" does not match any existing style
appears.
Has anybody else noticed this? If so have you been able stop this
annoying dialog from appearing?
Apparently a display style that is used in the patterns is not present
in your preferences. To fix that, go to Preferences > Default Settings >
Syntax Highlighting > Text Drawing Styles, and add a style named 'Label'
there with appropriate colors and fonts. 'Label' is used amongst others
to flag the symbol used to terminate a here doc.

Afterwards, use Preferences > Save Defaults to make sure the new style
is written to your configuration.

--
Joor Loohuis, MSc

Loco (Loohuis Consulting)
Training, consultancy, hosting, and building
Specialized in Open Source solutions

http://www.loohuis-consulting.nl/
--
NEdit Discuss mailing list - Discuss-***@public.gmane.org
http://www.nedit.org/mailman/listinfo/discuss
--
NEdit Discuss mailing list - Discuss-***@public.gmane.org
http://www.nedit.org/mailman/listinfo/discuss
Andrew Hood
2010-04-06 14:56:07 UTC
Permalink
Post by Mike Macaskill
That worked like a charm - thanks!!
If you want to be "standard" Label is defined as red italic
--
There's no point in being grown up if you can't be childish sometimes.
-- Dr. Who
--
NEdit Discuss mailing list - Discuss-***@public.gmane.org
http://www.nedit.org/mailman/listinfo/discuss
Loading...