I believe this can be run in linux using WINE. It will be hard to port because of the use of the win32 API, but a last glance, WINE supported the win32 API.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There will never be a Linux version of notepad++. Try SciTE, which is based
on the same edit component. Alternatively, sublime text is excellent, but
not free.
Dave
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm in the midst of compiling notepad++ for linux.
I'm meeting with some measure of success, but the main problem is that the NP++ code uses lots of lazy c++ (gcc is much moer strict than vc++) coding, so I have to fix hundreds of syntax errors.
I've got it half building already though, so if anyone lets me know they'd be willing to work on this, I'd be willing to throw what I've got up on github.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
So I've built a small source code refactor tool (in perl) for stripping the source code from headers and putting it into the cpp files where it belongs, but I was looking around for some other tools to do this and I didn't see any.
Can anyone make a suggestion here? cpplint shows quite a few whitespace problems with the source, it'd be nice if I didn't have to write a script for every problem here.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Can you explain what kind of problems are you facing? What are the most typical problems that GCC is complaining about? Can you post some example files (before and after refactoring)?
It is hard to follow what the problem is, and what can be done to make the process easier.
BR,
Loreia
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Per your request, a list of problems encountered so far:
There were naming problems. On Windows, cAse Is igNorEd so a mystuff.h == MyStuff.h, but not so much on Linux. This is fixed (easy enough to automate), pathnames are preserved but headers/source files are all lowercase (to keep things simple).
There are some weird issues with defines. I'll find a define referenced, but no include for that header anywhere in the source/header file for a class. I presume this is an MSVC artifact where it does "smart" things and keeps defines in memory; I think this is probably a bug though, and you're just getting lucky that a certain source file is being compiled before another one.
There were a LOT of errors to do with ThisClass or ThatClass not existing, even if it was included, from another header. Since these seemed to be hapenning mainly in the headers where some method was being declared inside the class definition; gcc doesn't support this behavior (and I seem to recall that its not ISO C++ compliant), I presumed that the compiler wasn't lying to me, and that it was in fact not finding the requisite classes. Where two classes referenced each other, this issue was getting particularly hairy. Hopefully my tool has fixed most of this, but I'm still finding edge cases I hadn't thought of, e.g. nested template classes, and either fixing those manually or adding a feature to the tooling.
The old scintilla (v2) doesn't build well. The new one (v3) builds like a charm, but most of the old defines are deprecated. So far, I've only encountered a bunch of useless constants being used from the old code, so I'm putting stuff like that into a patch header.
The build system I'm using doesn't like MSVCRT. I can use it, but then the compiler spits out a bunch of nonsense about not being able to find various c++ stuff. I managed to fix this one before, but I seem to have misplaced the command I did it with (and it was giving me a link error instead, which wasn't so hopefull). For the most part this just means more monkey patch definitions to put in my patch header.
The whitespace I was referring to isn't a huge problem at the moment, but if you download cpplint (the python version) and run it on the source code with just the +whitespace filters enabled, it will print hundreds to thousands of warnings. These aren't gcc errors, but I would eventually like to fix them. Note, there was a vc7 mode, which may spit out less warnings, but as I'm not compiling for vc7 it seemed silly to enable that mode.
Last edit: LordDelta 2013-05-23
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
To be fair you also asked for a printout of the sort of errors I'm getting:
../src/ScitillaComponent/findreplacedlg.h:167:20: error: field ‘_scintView’ has incomplete type
../src/ScitillaComponent/findreplacedlg.h:129:3: error: ‘_scintView’ was not declared in this scope
../src/ScitillaComponent/findreplacedlg.h:174:3: error: ‘_scintView’ was not declared in this scope
../src/ScitillaComponent/findreplacedlg.h:280:14: error: ‘class Finder’ has no member named ‘_scintView’
../src/ScitillaComponent/findreplacedlg.h:286:21: error: ‘class Finder’ has no member named ‘_scintView’
../src/ScitillaComponent/findreplacedlg.h:347:34: error: invalid use of incomplete type ‘struct ScintillaEditView’
../src/WinControls/shortcut/shortcut.h:37:7: error: forward declaration of ‘struct ScintillaEditView’
../src/ScitillaComponent/gotolinedlg.h:63:31: error: passing ‘const GoToLineDlg’ as ‘this’ argument of ‘void Window::display(bool)’ discards qualifiers [-fpermissive]
../src/WinControls/ColourPicker/colourpicker.h:55:79: error: ISO C++ forbids declaration of ‘staticWinProc’ with no type [-fpermissive]
../src/WinControls/ColourPicker/wordstyledlg.h:62:76: error: ISO C++ forbids declaration of ‘staticProc’ with no type [-fpermissive]
../src/WinControls/TabBar/controlstab.h:53:7: error: extra qualification ‘ControlsTab::’ on member ‘createTabs’ [-fpermissive]
../src/WinControls/WindowsDlg/winmgr.h:152:1: error: ‘define’ does not name a type
../src/notepad_plus.h:250:2: error: ‘AutoCompletion’ does not name a type
../src/notepad_plus.h:251:2: error: ‘AutoCompletion’ does not name a type
../src/notepad_plus.h:260:23: error: field ‘_subEditView’ has incomplete type
../src/notepad_plus.h:261:23: error: field ‘_mainEditView’ has incomplete type
../src/notepad_plus.h:262:20: error: field ‘_invisibleEditView’ has incomplete type
../src/notepad_plus.h:263:20: error: field ‘_fileEditView’ has incomplete type
../src/notepad_plus.h:502:20: error: extra qualification ‘Notepad_plus::’ on member ‘exts2Filters’ [-fpermissive]
../src/ScitillaComponent/scintillaeditview.h:567:22: error: extra qualification ‘ScintillaEditView::’ on member ‘langNames’ [-fpermissive]
../src/ScitillaComponent/scintillaeditview.h:626:78: error: ‘GWL_USERDATA’ was not declared in this scope
There were a ton more errors when notepad_plus.h had all the code defined in it, extracting it to the cpp file has helped with the compilation procedure.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
...yeah um I'm pretty sure NP++ has the worst software coupling I've ever seen:
That is:
../src/ScitillaComponent/userdefinedialog.h:28:32: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:29:25: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:30:26: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:31:24: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:32:21: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:41:19: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:42:22: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:43:15: error: #include nested too deeply
../src/parameters.h:28:22: error: #include nested too deeply
../src/parameters.h:29:21: error: #include nested too deeply
../src/parameters.h:30:23: error: #include nested too deeply
../src/parameters.h:31:26: error: #include nested too deeply
../src/parameters.h:32:21: error: #include nested too deeply
../src/parameters.h:33:37: error: #include nested too deeply
../src/parameters.h:34:20: error: #include nested too deeply
../src/parameters.h:35:22: error: #include nested too deeply
../src/parameters.h:36:25: error: #include nested too deeply
../src/parameters.h:37:31: error: #include nested too deeply
../src/parameters.h:38:19: error: #include nested too deeply
../src/parameters.h:28:22: error: #include nested too deeply
../src/parameters.h:29:21: error: #include nested too deeply
../src/parameters.h:30:23: error: #include nested too deeply
../src/parameters.h:31:26: error: #include nested too deeply
../src/parameters.h:32:21: error: #include nested too deeply
../src/parameters.h:33:37: error: #include nested too deeply
../src/parameters.h:34:20: error: #include nested too deeply
../src/parameters.h:35:22: error: #include nested too deeply
../src/parameters.h:36:25: error: #include nested too deeply
../src/parameters.h:37:31: error: #include nested too deeply
../src/parameters.h:38:19: error: #include nested too deeply
../src/WinControls/shortcut/shortcut.h:29:24: error: #include nested too deeply
../src/WinControls/shortcut/shortcut.h:30:23: error: #include nested too deeply
../src/WinControls/shortcut/shortcut.h:31:31: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:30:23: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:31:26: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:32:22: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:33:20: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:34:20: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:35:30: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:36:23: error: #include nested too deeply
../src/parameters.h:28:22: error: #include nested too deeply
../src/parameters.h:29:21: error: #include nested too deeply
../src/parameters.h:30:23: error: #include nested too deeply
../src/parameters.h:31:26: error: #include nested too deeply
../src/parameters.h:32:21: error: #include nested too deeply
../src/parameters.h:33:37: error: #include nested too deeply
../src/parameters.h:34:20: error: #include nested too deeply
../src/parameters.h:35:22: error: #include nested too deeply
../src/parameters.h:36:25: error: #include nested too deeply
../src/parameters.h:37:31: error: #include nested too deeply
../src/parameters.h:38:19: error: #include nested too deeply
../src/WinControls/shortcut/shortcut.h:29:24: error: #include nested too deeply
../src/WinControls/shortcut/shortcut.h:30:23: error: #include nested too deeply
../src/WinControls/shortcut/shortcut.h:31:31: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:30:23: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:31:26: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:32:22: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:33:20: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:34:20: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:35:30: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:36:23: error: #include nested too deeply
../src/WinControls/shortcut/shortcut.h:29:24: error: #include nested too deeply
../src/WinControls/shortcut/shortcut.h:30:23: error: #include nested too deeply
../src/WinControls/shortcut/shortcut.h:31:31: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:30:23: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:31:26: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:32:22: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:33:20: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:34:20: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:35:30: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:36:23: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:30:23: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:31:26: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:32:22: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:33:20: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:34:20: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:35:30: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:36:23: error: #include nested too deeply
../src/ScitillaComponent/buffer.h:29:21: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:28:32: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:29:25: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:30:26: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:31:24: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:32:21: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:41:19: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:42:22: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:43:15: error: #include nested too deeply
../src/ScitillaComponent/buffer.h:29:21: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:28:32: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:29:25: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:30:26: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:31:24: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:32:21: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:41:19: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:42:22: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:43:15: error: #include nested too deeply
../src/parameters.h:28:22: error: #include nested too deeply
../src/parameters.h:29:21: error: #include nested too deeply
../src/parameters.h:30:23: error: #include nested too deeply
../src/parameters.h:31:26: error: #include nested too deeply
../src/parameters.h:32:21: error: #include nested too deeply
../src/parameters.h:33:37: error: #include nested too deeply
../src/parameters.h:34:20: error: #include nested too deeply
../src/parameters.h:35:22: error: #include nested too deeply
../src/parameters.h:36:25: error: #include nested too deeply
../src/parameters.h:37:31: error: #include nested too deeply
../src/parameters.h:38:19: error: #include nested too deeply
../src/parameters.h:28:22: error: #include nested too deeply
../src/parameters.h:29:21: error: #include nested too deeply
../src/parameters.h:30:23: error: #include nested too deeply
../src/parameters.h:31:26: error: #include nested too deeply
../src/parameters.h:32:21: error: #include nested too deeply
../src/parameters.h:33:37: error: #include nested too deeply
../src/parameters.h:34:20: error: #include nested too deeply
../src/parameters.h:35:22: error: #include nested too deeply
../src/parameters.h:36:25: error: #include nested too deeply
../src/parameters.h:37:31: error: #include nested too deeply
../src/parameters.h:38:19: error: #include nested too deeply
../src/WinControls/shortcut/shortcut.h:29:24: error: #include nested too deeply
../src/WinControls/shortcut/shortcut.h:30:23: error: #include nested too deeply
../src/WinControls/shortcut/shortcut.h:31:31: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:30:23: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:31:26: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:32:22: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:33:20: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:34:20: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:35:30: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:36:23: error: #include nested too deeply
../src/parameters.h:28:22: error: #include nested too deeply
../src/parameters.h:29:21: error: #include nested too deeply
../src/parameters.h:30:23: error: #include nested too deeply
../src/parameters.h:31:26: error: #include nested too deeply
../src/parameters.h:32:21: error: #include nested too deeply
../src/parameters.h:33:37: error: #include nested too deeply
../src/parameters.h:34:20: error: #include nested too deeply
../src/parameters.h:35:22: error: #include nested too deeply
../src/parameters.h:36:25: error: #include nested too deeply
../src/parameters.h:37:31: error: #include nested too deeply
../src/parameters.h:38:19: error: #include nested too deeply
../src/WinControls/shortcut/shortcut.h:29:24: error: #include nested too deeply
../src/WinControls/shortcut/shortcut.h:30:23: error: #include nested too deeply
../src/WinControls/shortcut/shortcut.h:31:31: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:30:23: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:31:26: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:32:22: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:33:20: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:34:20: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:35:30: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:36:23: error: #include nested too deeply
../src/WinControls/shortcut/shortcut.h:29:24: error: #include nested too deeply
../src/WinControls/shortcut/shortcut.h:30:23: error: #include nested too deeply
../src/WinControls/shortcut/shortcut.h:31:31: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:30:23: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:31:26: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:32:22: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:33:20: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:34:20: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:35:30: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:36:23: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:30:23: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:31:26: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:32:22: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:33:20: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:34:20: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:35:30: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:36:23: error: #include nested too deeply
../src/ScitillaComponent/buffer.h:29:21: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:28:32: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:29:25: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:30:26: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:31:24: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:32:21: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:41:19: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:42:22: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:43:15: error: #include nested too deeply
../src/parameters.h:28:22: error: #include nested too deeply
../src/parameters.h:29:21: error: #include nested too deeply
../src/parameters.h:30:23: error: #include nested too deeply
../src/parameters.h:31:26: error: #include nested too deeply
../src/parameters.h:32:21: error: #include nested too deeply
../src/parameters.h:33:37: error: #include nested too deeply
../src/parameters.h:34:20: error: #include nested too deeply
../src/parameters.h:35:22: error: #include nested too deeply
../src/parameters.h:36:25: error: #include nested too deeply
../src/parameters.h:37:31: error: #include nested too deeply
../src/parameters.h:38:19: error: #include nested too deeply
../src/WinControls/shortcut/shortcut.h:29:24: error: #include nested too deeply
../src/WinControls/shortcut/shortcut.h:30:23: error: #include nested too deeply
../src/WinControls/shortcut/shortcut.h:31:31: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:30:23: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:31:26: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:32:22: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:33:20: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:34:20: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:35:30: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:36:23: error: #include nested too deeply
../src/WinControls/shortcut/shortcut.h:29:24: error: #include nested too deeply
../src/WinControls/shortcut/shortcut.h:30:23: error: #include nested too deeply
../src/WinControls/shortcut/shortcut.h:31:31: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:30:23: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:31:26: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:32:22: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:33:20: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:34:20: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:35:30: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:36:23: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:30:23: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:31:26: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:32:22: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:33:20: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:34:20: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:35:30: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:36:23: error: #include nested too deeply
../src/ScitillaComponent/buffer.h:29:21: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:28:32: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:29:25: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:30:26: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:31:24: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:32:21: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:41:19: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:42:22: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:43:15: error: #include nested too deeply
../src/WinControls/shortcut/shortcut.h:29:24: error: #include nested too deeply
../src/WinControls/shortcut/shortcut.h:30:23: error: #include nested too deeply
../src/WinControls/shortcut/shortcut.h:31:31: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:30:23: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:31:26: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:32:22: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:33:20: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:34:20: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:35:30: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:36:23: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:30:23: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:31:26: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:32:22: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:33:20: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:34:20: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:35:30: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:36:23: error: #include nested too deeply
../src/ScitillaComponent/buffer.h:29:21: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:28:32: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:29:25: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:30:26: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:31:24: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:32:21: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:41:19: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:42:22: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:43:15: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:30:23: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:31:26: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:32:22: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:33:20: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:34:20: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:35:30: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:36:23: error: #include nested too deeply
../src/ScitillaComponent/buffer.h:29:21: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:28:32: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:29:25: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:30:26: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:31:24: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:32:21: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:41:19: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:42:22: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:43:15: error: #include nested too deeply
../src/ScitillaComponent/buffer.h:29:21: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:28:32: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:29:25: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:30:26: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:31:24: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:32:21: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:41:19: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:42:22: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:43:15: error: #include nested too deeply
../src/parameters.h:28:22: error: #include nested too deeply
../src/parameters.h:29:21: error: #include nested too deeply
../src/parameters.h:30:23: error: #include nested too deeply
../src/parameters.h:31:26: error: #include nested too deeply
../src/parameters.h:32:21: error: #include nested too deeply
../src/parameters.h:33:37: error: #include nested too deeply
../src/parameters.h:34:20: error: #include nested too deeply
...and it goes on for a while like that.
Basically classes are trying to use other classes that are using them back.
This is such a tangled mess of glob. O.o I guess I'll see if I can figure out if there is any sort of dependency I can work out, but it looks like I'll need to stick headers inside other headers permanently.
But yeah, if I do get this to compile I feel like its going to be a heavy fork, I seriously doubt the original maintainer is going to want his entire software architecture torn to shreds (not convinced it has one, or that I understood it if it ever had any).
Or maybe I'm just missing include guards on one of the headers. That'd be nice, so I don't have to a lot of heavy duty refactoring.
Pretty sure includes go outside the local include guards, not inside them, like it seem np++ likes to do...I know why it was done but it wasn't working, so this alternative seems preferrable.
Last edit: LordDelta 2013-05-23
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
if newer versions of Scintilla are compiling fine with gcc, why don't you just upgrade Scintilla to latest version and be done with it. It could save you a lot of time.
In that way you can focus on editor part. I presume that would make things easier.
And since Notepad++ would upgrade to newer Scintilla anyhow (I mean with time), that would be a non issue latter on.
BR
Loreia
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Think about a Qt/GTK UI?
~~~~~~~~~~~~~~~~~~~~~
That one would be just fantastic, but it is going to be a huge task porting everything to Qt. Once done, it could easily be a basis for a "Npp on Linux" project. Working Qt version of Notepad++ (qNotepad) would definitely draw attention of of people.
Good luck with your effort.
BR,
Loreia
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
please guys can you make a linux version?? i luv this program so much, but im a linux user..
Pretty much none.
The HEX editor messes up on highlighting properly, but that's about it really.
Yeah this program is one of the only reasons why I use windows still. I could totally switch to linux if there was a version of this on that platform.
Having said that it will probably be quite hard to port. :(
I believe this can be run in linux using WINE. It will be hard to port because of the use of the win32 API, but a last glance, WINE supported the win32 API.
Hi all,
I installed it using WINE. Works perfectly!
So welcome to the Linux community...
Klaus
Excuse me, but do you can tell us what kind of limitations occurs caused by the use of NOtepad++ under wine.
I had used Ultraedit32 and Keditw32 with wine and both present limitations or absence of some features...
No offense
Cheers
Ricardo
bump……need a linux version please.
poke poke…. here's another vote for a linux version.
Though either way, I truly appreciate your work in designing not just a pretty, but fast, agile and very capable program.
Isn't running it under Wine an option?
Rewriting this for some native graphic like GTK is almost a different project, and no one has tried afaik.
CChris
Yes to a linux version version:)
Please make a linux version... Or please suggest me one of the best linux editors same like notepad++
There will never be a Linux version of notepad++. Try SciTE, which is based
on the same edit component. Alternatively, sublime text is excellent, but
not free.
Dave
I'm in the midst of compiling notepad++ for linux.
I'm meeting with some measure of success, but the main problem is that the NP++ code uses lots of lazy c++ (gcc is much moer strict than vc++) coding, so I have to fix hundreds of syntax errors.
I've got it half building already though, so if anyone lets me know they'd be willing to work on this, I'd be willing to throw what I've got up on github.
Hi LordDelta,
you will probably be on your own until you get "something build-able".
Make sure you publish the code on github after you get clean compile.
BR,
Loreia
It builds, it just doesn't just build the whole way. :P
Its just source code refactoring (right now I'm splitting the code from the header files) at the moment.
But yes I suppose until I can get a document drawn up with a list of all the tasks this won't take off until it builds completely.
So I've built a small source code refactor tool (in perl) for stripping the source code from headers and putting it into the cpp files where it belongs, but I was looking around for some other tools to do this and I didn't see any.
Can anyone make a suggestion here? cpplint shows quite a few whitespace problems with the source, it'd be nice if I didn't have to write a script for every problem here.
Can you explain what kind of problems are you facing? What are the most typical problems that GCC is complaining about? Can you post some example files (before and after refactoring)?
It is hard to follow what the problem is, and what can be done to make the process easier.
BR,
Loreia
Per your request, a list of problems encountered so far:
Last edit: LordDelta 2013-05-23
To be fair you also asked for a printout of the sort of errors I'm getting:
../src/ScitillaComponent/findreplacedlg.h:167:20: error: field ‘_scintView’ has incomplete type
../src/ScitillaComponent/findreplacedlg.h:129:3: error: ‘_scintView’ was not declared in this scope
../src/ScitillaComponent/findreplacedlg.h:174:3: error: ‘_scintView’ was not declared in this scope
../src/ScitillaComponent/findreplacedlg.h:280:14: error: ‘class Finder’ has no member named ‘_scintView’
../src/ScitillaComponent/findreplacedlg.h:286:21: error: ‘class Finder’ has no member named ‘_scintView’
../src/ScitillaComponent/findreplacedlg.h:347:34: error: invalid use of incomplete type ‘struct ScintillaEditView’
../src/WinControls/shortcut/shortcut.h:37:7: error: forward declaration of ‘struct ScintillaEditView’
../src/ScitillaComponent/gotolinedlg.h:63:31: error: passing ‘const GoToLineDlg’ as ‘this’ argument of ‘void Window::display(bool)’ discards qualifiers [-fpermissive]
../src/WinControls/ColourPicker/colourpicker.h:55:79: error: ISO C++ forbids declaration of ‘staticWinProc’ with no type [-fpermissive]
../src/WinControls/ColourPicker/wordstyledlg.h:62:76: error: ISO C++ forbids declaration of ‘staticProc’ with no type [-fpermissive]
../src/WinControls/TabBar/controlstab.h:53:7: error: extra qualification ‘ControlsTab::’ on member ‘createTabs’ [-fpermissive]
../src/WinControls/WindowsDlg/winmgr.h:152:1: error: ‘define’ does not name a type
../src/notepad_plus.h:250:2: error: ‘AutoCompletion’ does not name a type
../src/notepad_plus.h:251:2: error: ‘AutoCompletion’ does not name a type
../src/notepad_plus.h:260:23: error: field ‘_subEditView’ has incomplete type
../src/notepad_plus.h:261:23: error: field ‘_mainEditView’ has incomplete type
../src/notepad_plus.h:262:20: error: field ‘_invisibleEditView’ has incomplete type
../src/notepad_plus.h:263:20: error: field ‘_fileEditView’ has incomplete type
../src/notepad_plus.h:502:20: error: extra qualification ‘Notepad_plus::’ on member ‘exts2Filters’ [-fpermissive]
../src/ScitillaComponent/scintillaeditview.h:567:22: error: extra qualification ‘ScintillaEditView::’ on member ‘langNames’ [-fpermissive]
../src/ScitillaComponent/scintillaeditview.h:626:78: error: ‘GWL_USERDATA’ was not declared in this scope
There were a ton more errors when notepad_plus.h had all the code defined in it, extracting it to the cpp file has helped with the compilation procedure.
...yeah um I'm pretty sure NP++ has the worst software coupling I've ever seen:
That is:
../src/ScitillaComponent/userdefinedialog.h:28:32: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:29:25: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:30:26: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:31:24: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:32:21: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:41:19: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:42:22: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:43:15: error: #include nested too deeply
../src/parameters.h:28:22: error: #include nested too deeply
../src/parameters.h:29:21: error: #include nested too deeply
../src/parameters.h:30:23: error: #include nested too deeply
../src/parameters.h:31:26: error: #include nested too deeply
../src/parameters.h:32:21: error: #include nested too deeply
../src/parameters.h:33:37: error: #include nested too deeply
../src/parameters.h:34:20: error: #include nested too deeply
../src/parameters.h:35:22: error: #include nested too deeply
../src/parameters.h:36:25: error: #include nested too deeply
../src/parameters.h:37:31: error: #include nested too deeply
../src/parameters.h:38:19: error: #include nested too deeply
../src/parameters.h:28:22: error: #include nested too deeply
../src/parameters.h:29:21: error: #include nested too deeply
../src/parameters.h:30:23: error: #include nested too deeply
../src/parameters.h:31:26: error: #include nested too deeply
../src/parameters.h:32:21: error: #include nested too deeply
../src/parameters.h:33:37: error: #include nested too deeply
../src/parameters.h:34:20: error: #include nested too deeply
../src/parameters.h:35:22: error: #include nested too deeply
../src/parameters.h:36:25: error: #include nested too deeply
../src/parameters.h:37:31: error: #include nested too deeply
../src/parameters.h:38:19: error: #include nested too deeply
../src/WinControls/shortcut/shortcut.h:29:24: error: #include nested too deeply
../src/WinControls/shortcut/shortcut.h:30:23: error: #include nested too deeply
../src/WinControls/shortcut/shortcut.h:31:31: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:30:23: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:31:26: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:32:22: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:33:20: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:34:20: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:35:30: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:36:23: error: #include nested too deeply
../src/parameters.h:28:22: error: #include nested too deeply
../src/parameters.h:29:21: error: #include nested too deeply
../src/parameters.h:30:23: error: #include nested too deeply
../src/parameters.h:31:26: error: #include nested too deeply
../src/parameters.h:32:21: error: #include nested too deeply
../src/parameters.h:33:37: error: #include nested too deeply
../src/parameters.h:34:20: error: #include nested too deeply
../src/parameters.h:35:22: error: #include nested too deeply
../src/parameters.h:36:25: error: #include nested too deeply
../src/parameters.h:37:31: error: #include nested too deeply
../src/parameters.h:38:19: error: #include nested too deeply
../src/WinControls/shortcut/shortcut.h:29:24: error: #include nested too deeply
../src/WinControls/shortcut/shortcut.h:30:23: error: #include nested too deeply
../src/WinControls/shortcut/shortcut.h:31:31: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:30:23: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:31:26: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:32:22: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:33:20: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:34:20: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:35:30: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:36:23: error: #include nested too deeply
../src/WinControls/shortcut/shortcut.h:29:24: error: #include nested too deeply
../src/WinControls/shortcut/shortcut.h:30:23: error: #include nested too deeply
../src/WinControls/shortcut/shortcut.h:31:31: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:30:23: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:31:26: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:32:22: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:33:20: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:34:20: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:35:30: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:36:23: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:30:23: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:31:26: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:32:22: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:33:20: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:34:20: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:35:30: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:36:23: error: #include nested too deeply
../src/ScitillaComponent/buffer.h:29:21: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:28:32: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:29:25: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:30:26: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:31:24: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:32:21: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:41:19: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:42:22: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:43:15: error: #include nested too deeply
../src/ScitillaComponent/buffer.h:29:21: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:28:32: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:29:25: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:30:26: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:31:24: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:32:21: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:41:19: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:42:22: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:43:15: error: #include nested too deeply
../src/parameters.h:28:22: error: #include nested too deeply
../src/parameters.h:29:21: error: #include nested too deeply
../src/parameters.h:30:23: error: #include nested too deeply
../src/parameters.h:31:26: error: #include nested too deeply
../src/parameters.h:32:21: error: #include nested too deeply
../src/parameters.h:33:37: error: #include nested too deeply
../src/parameters.h:34:20: error: #include nested too deeply
../src/parameters.h:35:22: error: #include nested too deeply
../src/parameters.h:36:25: error: #include nested too deeply
../src/parameters.h:37:31: error: #include nested too deeply
../src/parameters.h:38:19: error: #include nested too deeply
../src/parameters.h:28:22: error: #include nested too deeply
../src/parameters.h:29:21: error: #include nested too deeply
../src/parameters.h:30:23: error: #include nested too deeply
../src/parameters.h:31:26: error: #include nested too deeply
../src/parameters.h:32:21: error: #include nested too deeply
../src/parameters.h:33:37: error: #include nested too deeply
../src/parameters.h:34:20: error: #include nested too deeply
../src/parameters.h:35:22: error: #include nested too deeply
../src/parameters.h:36:25: error: #include nested too deeply
../src/parameters.h:37:31: error: #include nested too deeply
../src/parameters.h:38:19: error: #include nested too deeply
../src/WinControls/shortcut/shortcut.h:29:24: error: #include nested too deeply
../src/WinControls/shortcut/shortcut.h:30:23: error: #include nested too deeply
../src/WinControls/shortcut/shortcut.h:31:31: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:30:23: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:31:26: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:32:22: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:33:20: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:34:20: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:35:30: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:36:23: error: #include nested too deeply
../src/parameters.h:28:22: error: #include nested too deeply
../src/parameters.h:29:21: error: #include nested too deeply
../src/parameters.h:30:23: error: #include nested too deeply
../src/parameters.h:31:26: error: #include nested too deeply
../src/parameters.h:32:21: error: #include nested too deeply
../src/parameters.h:33:37: error: #include nested too deeply
../src/parameters.h:34:20: error: #include nested too deeply
../src/parameters.h:35:22: error: #include nested too deeply
../src/parameters.h:36:25: error: #include nested too deeply
../src/parameters.h:37:31: error: #include nested too deeply
../src/parameters.h:38:19: error: #include nested too deeply
../src/WinControls/shortcut/shortcut.h:29:24: error: #include nested too deeply
../src/WinControls/shortcut/shortcut.h:30:23: error: #include nested too deeply
../src/WinControls/shortcut/shortcut.h:31:31: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:30:23: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:31:26: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:32:22: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:33:20: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:34:20: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:35:30: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:36:23: error: #include nested too deeply
../src/WinControls/shortcut/shortcut.h:29:24: error: #include nested too deeply
../src/WinControls/shortcut/shortcut.h:30:23: error: #include nested too deeply
../src/WinControls/shortcut/shortcut.h:31:31: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:30:23: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:31:26: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:32:22: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:33:20: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:34:20: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:35:30: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:36:23: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:30:23: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:31:26: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:32:22: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:33:20: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:34:20: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:35:30: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:36:23: error: #include nested too deeply
../src/ScitillaComponent/buffer.h:29:21: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:28:32: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:29:25: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:30:26: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:31:24: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:32:21: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:41:19: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:42:22: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:43:15: error: #include nested too deeply
../src/parameters.h:28:22: error: #include nested too deeply
../src/parameters.h:29:21: error: #include nested too deeply
../src/parameters.h:30:23: error: #include nested too deeply
../src/parameters.h:31:26: error: #include nested too deeply
../src/parameters.h:32:21: error: #include nested too deeply
../src/parameters.h:33:37: error: #include nested too deeply
../src/parameters.h:34:20: error: #include nested too deeply
../src/parameters.h:35:22: error: #include nested too deeply
../src/parameters.h:36:25: error: #include nested too deeply
../src/parameters.h:37:31: error: #include nested too deeply
../src/parameters.h:38:19: error: #include nested too deeply
../src/WinControls/shortcut/shortcut.h:29:24: error: #include nested too deeply
../src/WinControls/shortcut/shortcut.h:30:23: error: #include nested too deeply
../src/WinControls/shortcut/shortcut.h:31:31: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:30:23: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:31:26: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:32:22: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:33:20: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:34:20: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:35:30: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:36:23: error: #include nested too deeply
../src/WinControls/shortcut/shortcut.h:29:24: error: #include nested too deeply
../src/WinControls/shortcut/shortcut.h:30:23: error: #include nested too deeply
../src/WinControls/shortcut/shortcut.h:31:31: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:30:23: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:31:26: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:32:22: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:33:20: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:34:20: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:35:30: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:36:23: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:30:23: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:31:26: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:32:22: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:33:20: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:34:20: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:35:30: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:36:23: error: #include nested too deeply
../src/ScitillaComponent/buffer.h:29:21: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:28:32: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:29:25: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:30:26: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:31:24: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:32:21: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:41:19: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:42:22: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:43:15: error: #include nested too deeply
../src/WinControls/shortcut/shortcut.h:29:24: error: #include nested too deeply
../src/WinControls/shortcut/shortcut.h:30:23: error: #include nested too deeply
../src/WinControls/shortcut/shortcut.h:31:31: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:30:23: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:31:26: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:32:22: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:33:20: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:34:20: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:35:30: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:36:23: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:30:23: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:31:26: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:32:22: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:33:20: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:34:20: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:35:30: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:36:23: error: #include nested too deeply
../src/ScitillaComponent/buffer.h:29:21: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:28:32: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:29:25: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:30:26: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:31:24: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:32:21: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:41:19: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:42:22: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:43:15: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:30:23: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:31:26: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:32:22: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:33:20: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:34:20: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:35:30: error: #include nested too deeply
../src/ScitillaComponent/scintillaeditview.h:36:23: error: #include nested too deeply
../src/ScitillaComponent/buffer.h:29:21: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:28:32: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:29:25: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:30:26: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:31:24: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:32:21: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:41:19: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:42:22: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:43:15: error: #include nested too deeply
../src/ScitillaComponent/buffer.h:29:21: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:28:32: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:29:25: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:30:26: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:31:24: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:32:21: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:41:19: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:42:22: error: #include nested too deeply
../src/ScitillaComponent/userdefinedialog.h:43:15: error: #include nested too deeply
../src/parameters.h:28:22: error: #include nested too deeply
../src/parameters.h:29:21: error: #include nested too deeply
../src/parameters.h:30:23: error: #include nested too deeply
../src/parameters.h:31:26: error: #include nested too deeply
../src/parameters.h:32:21: error: #include nested too deeply
../src/parameters.h:33:37: error: #include nested too deeply
../src/parameters.h:34:20: error: #include nested too deeply
...and it goes on for a while like that.
Basically classes are trying to use other classes that are using them back.
This is such a tangled mess of glob. O.o I guess I'll see if I can figure out if there is any sort of dependency I can work out, but it looks like I'll need to stick headers inside other headers permanently.
But yeah, if I do get this to compile I feel like its going to be a heavy fork, I seriously doubt the original maintainer is going to want his entire software architecture torn to shreds (not convinced it has one, or that I understood it if it ever had any).
Or maybe I'm just missing include guards on one of the headers. That'd be nice, so I don't have to a lot of heavy duty refactoring.
Pretty sure includes go outside the local include guards, not inside them, like it seem np++ likes to do...I know why it was done but it wasn't working, so this alternative seems preferrable.
Last edit: LordDelta 2013-05-23
Seriously some of these includes are pretty hilarious...
Yes, lets include the file which has the enum in the file which needs the enum, and then never use it anywhere...
Seriously.
X_X
Well the headers are all straightened out, dealing with MSVC weirdness now...
Hi,
if newer versions of Scintilla are compiling fine with gcc, why don't you just upgrade Scintilla to latest version and be done with it. It could save you a lot of time.
In that way you can focus on editor part. I presume that would make things easier.
And since Notepad++ would upgrade to newer Scintilla anyhow (I mean with time), that would be a non issue latter on.
BR
Loreia
Roadmap
Hi,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Think about a Qt/GTK UI?
~~~~~~~~~~~~~~~~~~~~~
That one would be just fantastic, but it is going to be a huge task porting everything to Qt. Once done, it could easily be a basis for a "Npp on Linux" project. Working Qt version of Notepad++ (qNotepad) would definitely draw attention of of people.
Good luck with your effort.
BR,
Loreia