Re: changes preferences with a macro.

Erez Amit <[email protected]>
Newsgroups gmane.editors.nedit.user
Message-ID <[email protected]>
Hi Martin,
I think you'll find the solution you're looking for here:
http://nedit.hackvalue.nl/niki/index.php/ChangeFontsQuickly

<http://nedit.hackvalue.nl/niki/index.php/ChangeFontsQuickly>Here's an
extract from there: "... so you can achieve to have language mode specific
text fonts (which NEdit doesn't support directly, that is, by a language
mode preferences setting)."

I think you'll also find the answer for your second question there. When you
set a font in Nedit - you actually need to set 4 fonts: normal, bold, italic
and bold-italic. What you describe sounds as if you only set the normal font
in your nedit.rc file.

Good luck,
Erez



On Wed, Jul 8, 2009 at 7:57 AM, Martin Hill <[email protected]> wrote:

> Hi,
>
> I'd like to change some visual behaviours in nedit based off language.
>
> Firstly, is it possible to change bg colour, fonts, etc on a macro, or
> indeed on language.  I swap between different languages and would like a
> different font size for C++ as opposed to XML.
>
> Secondly, if I start nedit from the cmd line with (say)
>
> nedit -font '-*-helvetica-medium-r-normal-*-*-80-*-*-*-*-*-*'
>
> The main font is the one entered, but the bold, italics etc, that are used
> with the syntax highlighting revert back to the nedit.rc defaults - is
> there
> a way around this?
>
> Many thanks for any help
> --martin
> --
> NEdit Discuss mailing list - [email protected]
> http://www.nedit.org/mailman/listinfo/discuss
>
-- 
NEdit Discuss mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/discuss
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.