Menu

notepad++ on linux

2007-08-21
2012-11-13
  • Nobody/Anonymous

    is there any way of porting notepad++ to linux. i would really like to use it on my ubuntu installation. i'm a computer engineering student (my last semester - 9th, yippee ;-)) and would like to participate in any development.... there is one problem... lack of experience. only developing i've done that was not related with my studies and exams was with asp.net and php (web sites and applications).

    where to start?
    i have no problems with c/c++, java (not my favourite :-/), c#, php, javascript.
    if anyone reading this has some pointers or advice, i'd be thankful :-)

    i want to get involved and share my work and knowledge....

     
    • DV

      DV - 2007-08-21

      See the WINE project at sourceforge.net. It has some features for source code conversion.

       
    • Nobody/Anonymous

      i think that's not going to work for me. i've got 64bit ubuntu..... :-(

      ...i know, should have installed 32bit version instead....

      anything else?

       
    • young

      young - 2007-08-22

      can that be done by one person? i was going through some wxWidgets tutorials, and i'm interested. but i need a starting point. firstly, what is the amount of work we're looking at here?

       
    • Nobody/Anonymous

      Thank for Notepad++ !

      now, I'll work on my LynxOS 4 system using Microsoft SFU 3.5 from Windows XP with NFS client/server links. Note, that there is no GUI installed on this real-time machine to avoid time consuming ! The sharing of files via NFS work well when you are understand access rights.
      see http://technet.microsoft.com/en-us/interopmigration/bb380242.aspx

      The last trouble was the translation CRLF to LF when I use Wordpad for example!
      The SOLUTiON is Notepad++ 4.2.2, click on Format Menu, then Convert to Unix. It's Terrific!

      Please, give this hint to all unix developpers who could'nt use X11 !

      Thank again
      Christian

      Thank to Ssylvainsab for this link in page
      http://www.commentcamarche.net/faq/sujet-4671-webmaster-choisir-un-bon-editeur-les-editeurs-a-eviter

       
    • Nobody/Anonymous

      I just run Npp via wine on my ubuntu. It works fine, except tooltips don't show, and the function plugin is a bit slowey in it's indexing (but then again, it was slow in my old windows too).

       
    • Nobody/Anonymous

       
    • Nobody/Anonymous

       
    • young

      young - 2007-08-24

      i don' want a windows app on linux... maybe we could recompile it with wine libraries. however, this is not an option for me, because i have 64bit ubuntu, and wine is 32bit, as is notepad++ (written in C++ with pure win32 api )

       
      • Don HO

        Don HO - 2007-08-24

        Then the port of linux is very welcome.
        Any volunteer?

        Don

         
    • young

      young - 2007-08-24

      and my idea was a cross-platform notepad++ using wxWidgets, and wxWidgets is the easiest port from MFC (they are similar). Maybe converting the whole project from mfc completely to wxWidgets would be something to think about in the near future?
      mfc is also abandoned in favor of .net (windows forms), and wxWidgets is supported by its community (it has a future).
      maybe .net and mono are something to consider as well? 

       
      • Don HO

        Don HO - 2007-08-24

        Then it's about rewriting the whole project.

        Don

         
        • young

          young - 2007-08-25

          what are your thoughts? please, let me know.... :-)

           
    • young

      young - 2007-08-27

      nobody? i've looked at notepad's code and i feel lost. maybe someone who knows the code well, or is familiar with c++ programming for windows, could tell me if it could be done and how hard would it be to translate notepad++ to wxWidgets....

      if there is any interest in this at all :-(

       
    • Nobody/Anonymous

      It's already hard for me to do anything with the code. I try to contribute but I don't know if NP++ source code can be compiled with Microsoft Visual C++ Express. Sometimes Don says you have to use VC++ 7.0. I wonder why there is a 8.0 project file in the source code, then. Don?

       
      • Ranganathan Sridharan

        Hi,
          You need the MFC classes to compile notepad++ which is not provided with Express edition so you cannot compile with express. And about your question on 8.0 it is actually generated by Visual Studio 2005 .NET not necessarily by the express edition as you might have expected. Hope that helps. Thanks.

        Ranganathan

         
        • Nobody/Anonymous

          Please help me a little further on that. What is MFC, where can I get it?
          What should I do?
          Can anyone provide a simple description on how (to be able) to develop NP++ with Express edition.

          I understand about version 8. I only mean to say this implies NP++ can also be developed on version later than VC++ 7.

           
          • young

            young - 2007-08-27
             
            • Nobody/Anonymous

              Sure, that doesn't really answer my questions.

              Can I develop for NP++ using MS VC++ Express Edition?
              What additional files should I get and where?
              Can I download MFC?

              What command should I execute to build NP++ if I have to use MinGW?

              If there would be a short, but complete description, I could get to work on some things.

               
              • Nobody/Anonymous

                Late reply and you've probably worked it out by now, but MFC is a commercial API you pay for as part of the full version of Visual Studio. You can't legally download it other than the runtime libraries to run MFC apps.

                Note that MFC is a Windows class library on top of Win32. Largely deprecated by .Net libraries, but Notepad++ isn't a .Net app (the .Net libraries however are free as part of Express, but again not much use here).

                However as I understand it, Notepad++ is pure Win32 and STL. Both I believe are available in the Express edition of Visual Studio.

                Anyway, as for Linux. I would say a Linux port has more chance if the project was re-written in .Net. That doesn't mean it will just compile on something like mono though, as Windows Forms (the Window GUI) is still specific to Windows with limited support in mono. Alternatively, the GUI could be written in a platform independent library, but I'd stick to something .Net at least (GtkSharp for example ?).

                Big project though.

                As an example of such a port, take a look at Paint.Net (fantastic application), and the mono port of the same. Still a long way off, but the result is likely going to be better than running under the likes of Wine.

                 
    • Nobody/Anonymous

      Interesting wiki link, why couldn't you use something like http://www.mainsoft.com/solutions/vmw5_wp.aspx .  Don't mind me I'm noob, but I'm all for the Linux port.  Just wish I was knowledgeable enough to help.  Whether it happens or not, it's a great editor I truly thank those who have contributed.  Especially Don.

      Reguards, Brad

       
      • Nobody/Anonymous

        In regards to Mainsoft/Mainwin, it's a commercial porting product. These guys essentially have a deal with Microsoft to give them access to core parts of the Windows code to do the porting libraries. That's fine until you see the prices they charge!

        It's seriously expensive just for the tools, and then you need to pay royalties to run software against their libraries too!

        It's only an option for large corporates with expensive commercial products.

         
    • young

      young - 2007-09-02

      no opinions on wxWidgets or cross-platform notepad++ ????

       
MongoDB Logo MongoDB