Menu

Bold active tab in Ndit

jkrim
2020-08-26
2020-11-13
  • jkrim

    jkrim - 2020-08-26
     
  • jkrim

    jkrim - 2020-08-26

    Hello,

    I notice that the bold active tab in the Nedit server (nc) is not there in NEdit 5.7 whereas it is bold in Nedit 5.5. This is very handy for quickly identifying the active file beging editted of many tabs. Anyone know how to get the active tab to be bold in NEdit 5.7?

    Thanks,
    Jordan Krim

     
  • ericxuo

    ericxuo - 2020-11-10

    Hi,

    I've just downloaded the latest git version of nedit and tried :
    ./source/nedit -xrm 'XmLFolder.inactiveBackground: #999' -xrm 'XmLFolder.inactiveForeground: #fff' ~/.tcshrc ~/.aliases
    but I couldn't get the same look than the one displayed in :
    https://sourceforge.net/p/nedit/discussion/34507/thread/9eb2464a90/1bf9/94f4/ad6f/9096/fdee/80bd/attachment/2020-11-10%2016_18_06-Window.jpg
    But what I don't understand is that when I look at the nedit version, I get an old one (see attached image).

    Regards.

    Xuo.

     

    Last edit: ericxuo 2020-11-10
    • TK Soh

      TK Soh - 2020-11-11

      My apology. Looks like SF quietly swallowed the asterisk characters in front of 'XmFolder' in my earlier reply, since they used the characters for text formatting. It should be like below:

      ./source/nedit -xrm '*XmLFolder.inactiveBackground: #999' -xrm '*XmLFolder.inactiveForeground: #fff' ~/.tcshrc ~/.aliases

       
  • ericxuo

    ericxuo - 2020-11-11

    Hi,

    Yes, it really works better with the "*". It is interesting to have this feature. I'll try to implement it at work as well.
    And about the nedit version displayed in the "Help" window ? Is it expected to have this 14 Jan 2017 date ?

    Regards.

    Xuo.

     
    • TK Soh

      TK Soh - 2020-11-12

      In a nutshell, the version string is hardcoded into the source, which is usually updated prior to a release. You can see it in the git log as below...

      nedit-git$ git log -1 source/help_data.h
      commit 2877330853053cbcb3637499f675f32a8e204690
      Author: Scott Tringali tringali@users.sourceforge.net
      Date: Sat Jan 14 23:30:26 2017 -0500

       Updated to 5.7 in help text, release notes, etc.
      
       

      Last edit: TK Soh 2020-11-12
  • ericxuo

    ericxuo - 2020-11-11

    Hi,

    About bigger fonts in the tabs, if I remember correctly, I modified in source/nedit.c the line with :
    "*defaultRT.fontSize: 9",

    by :
    "*defaultRT.fontSize: 12",

    Xuo.

     
    • TK Soh

      TK Soh - 2020-11-12

      Under normal circumstances, changing the font via X resource is the better way - actually that's what they are intended, namely user customization.

       

Log in to post a comment.