Thanks to Harry, the performance of Notepad++ v5 is improved - especially on exit.
A lot of new features are added in v5 : Calltip, bookmarked lines cut/copy/paste/delete operations, the capacity of adding plugin commands to the context menu, more items (caret, tab bar) are configurable, ...etc.
Some quick notes for the new feature of calltip and configuration of context menu :
1. calltip : calltip feature in a modern IDE always comes together with auto-completion. In this version of Notepad++ calltip feature is implemented as extension of auto-completion. All the api files for auto-completion are now under xml format(with extension .xml).
As you can see, attribute "name" contains the value for auto-completion. Whereas Overload node is for calltip. While you type "fopen(", the following calltip (if enabled) will show :
FILE * fopen(const char * file, const char * mode)
2. context menu : Not mention to the ability of adding plugin commands into context menu, adding context menu items in contextMenu.xml is easier in this version.
Note that for the sake of backward compatibility, id attribute will still work on the future release.
Here's the example :
Notepad++ architecture is modified partially, so there may be still a few of non-discovered regressions, please let us know if you find them in this version.
Notepad++ v5 fixed bugs and added features (from v4.9.2) :
1. Improve Notepad++ performance - on startup and on exit.
2. Add Calltip capacity.
3. All the menu commands can be added in context menu, including plugins' commands, macros and user defined commands.
4. Add bookmarked lines operations : delete all marked lines, copy all marked lines into clipboard, cut all marked lines into clipboard, paste from clipboard to replace all marked lines content.
5. Fix crash bug : Open files with date pre-1970.
6. Fix clone mode bug : now the actions done in one view will be synchronized in the cloned view.
7. Add tooltips in document tab to display the full file name path.
8. Change hide lines behaviour : Hide lines now saved during switches.
9. Change file history list behaviour : Most recent closed file is on the top. Add number on list.
10. Caret width and blink rate are customizable.
11. Add asterisk in title bar if file is dirty.
12. The bookmarks' look & feel are improved.
13. Add "Select all" and "copy" context menu items in Find in files results window.
14. Fix goto line with command line bug.
15. Improve smart highlight / mark all / incremental search highlight all visibility
16. Tabbar's coulours is configurable via Stylers Configurator(Active tab Text, Inactive tab text, Inactive tab background, Active tab focused indicator and Active tab unfocused indicator).
17. Add the smart highlight file size limit - 1.5 MB in order to improve the performance.
18. Add exception handling (dumping filedata).
At the first look it seems two things don't work correctly :
1. the "find in files" is very very slow
2. if i run n++ with a session file as parameter, npp open the session file itself and not the file included in the session. If i open the session from the n++ menu (File.. Load.. Session) it's work fine.
Another thing: if the plugin explorer version 1.7.2 is included, n++ crash at the start-up (exception error handling ....)
Thanks again for this new version.
Regards
Mauro
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The find in files feature is always slow when user search in a huge directory in the previous version.
This issue is in todo list and will be enhanced in the future version.
Don
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
> The find in files feature is always slow when user search in a huge directory in the previous version.
> This issue is in todo list and will be enhanced in the future version.
I mean that "find in files" is ten or more times slower than the previous version (4.x.x) !!
Mauro
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
After a while I have experienced following bugs glitches:
- "Window Menu\Setting\Preferences\[TAB]Edit components\[GROUP]Tab Settings\[CONTROL]Replace by space" is not preserved between sessions
- "Window Menu\Setting\Preferences\[TAB]Backup & Auto-completion\[GROUP]Auto-completion\[CONTROL]From X th character" has problems when connected option button enables it, little blue number becomes gray.
- When auto completion for function names is enabled and any plugins are loaded tool-tip doesn't always show
- When auto completion for function names is enabled and ctrl+shift+space is pressed tool-tip sometimes shows garbage at the beginning
- When pressing alt+tab or ctrl+tab, when plugins are loaded always, without them almost always, normal shift-like selection mode is activated and it must be canceled by esc.
Otherwise seems to work perfectly and subjectively faster :), the tool-tip functionality is amazing: I've already cooked up very crappy script to generate up to date php function tool-tips
Conclusion:
After half day of editing with new php api file Notepad++ still seems fast and without major glitches as without tool-tips, and although the file is quite big cca(600kb), feature works great.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
> - When auto completion for function names is enabled and any plugins are loaded tool-tip doesn't always show
> - When auto completion for function names is enabled and ctrl+shift+space is pressed tool-tip sometimes shows garbage at the beginning
Do you know of a way to steadily reproduce it, or increase the likelihood of doing so? Since it can depend much on the surrounding text it would be very helpful if you could give some more info on the problem. The same goes for failure to display the tooltip :). The feature is pretty new so obviously it has a few kinks, but they aren't always as easy to find.
I really appreciate the new api files, I don't have the knowledge/time or tools to build all of them myself so community submissions are a great help :).
However, I noticed some keywords were missing. The actual keywords themselves are still needed to be present for the api file, can the generator script be altered to include those as well? The original API has entries like "abstract" which are missing, since they aren't functions.
Best regards,
Harry
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Just downloaded the alpha version and unzipped.
But when I double click the notepad++.exe to open it, a error popup is shown.
I tried open it again, but with the same error. I post it below:
-----------------------------------------------------------------------------
---------------------------
Win32Exception
---------------------------
An exception occured. Notepad++ cannot recover and must be shut down.
The exception details are as follows:
Code: 0xC0000005
Type: Access violation
Exception address: 0x004463A4
---------------------------
OK
---------------------------
---------------------------
Recovery initiating
---------------------------
Notepad++ will attempt to save any unsaved data. However, dataloss is very likely.
---------------------------
OK
---------------------------
---------------------------
Recovery success
---------------------------
Notepad++ was able to successfully recover some unsaved documents, or nothing to be saved could be found.
You can find the results at C:\N++RECOV
---------------------------
OK
---------------------------
I develop the phpBB version of Notepad++ over phpbb.com with little modification that help users who make modifications and even developers.
I'm testing notepad++ in Windows XP Home EN with SP3 and Multilanguage Pack, Windows 98 SE (on my mom pc) plus Wine 1.0.0 RC4. In all this is working fine if is compliled with VS8 and I don't install VS9 too. If VS9 is installed there is a toolbar problem in Preferences.
In Wine if you have Linux in other language and you do not install with the installer all menus will be traslated by the OS and Settings will not show/work with vanilla notepad++.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ill try to take a look at it, but I suspect the problem lies at Scintilla, which is beyond the scope of notepad++.
Like many lexer issues, I think if its a problem with Scintilla its best of posted at that project :).
You you post a quick sample that is as small as possible and reproduces the error?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
We've been playing a bit with this version here at work, and we really like the calltip feature. However, there are a few remarks/suggestions we'd like to make about it :)
1) It would be great if it was possible to support multiple xml files for the same language, as the auto-completion & the function calltips are usually related to a specific context. For instance, I would like to be able to have:
- 1 .xml for the language
- 1 (or more) .xml for the api I'm using
- 1 .xml for the specific project I'm working on
Each of these would actually define the context in which I'm working, and it would make it easier to share the xml files with other people. This would be particularly helpful for open projects.
2) In certain cases, the information to display in the calltip can be rather long, I'm think about languages like Lua where a function can return multiple values, so would it be possible to make the calltip a bit thicker ? Like expandable over 2-3-4 lines if necessary. (maybe support \n to let the code define how he wants to format it)
3) This suggestion is certainly larger in scope, but is there a chance that we'll see support for variable type detection. Like in this example:
BaseObject *p;
DerivedObject *pDeriv;
p->Whatever()
where npp would detect that Whatever is a method of the baseobject class and not of the derived class. I know this wouldn't be easy (especially if you have to make it generic for all languages), but I had to ask :)
4) In the .xml, would it be possible to support that the list of functions must not necessarily be sorted alphabetically, this would be extremely useful in order to manage/group functions that have a common context (which happens often in API's).
Keep up the good work !
EC DevTeam
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Don,
this is to let you know that the Unicode input issue has reappeared in this alpha: I have tried with Japanese text.
Version 4.9.2 works fine in this respect.
Thanks a lot for your efforts!
Dario
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Here's the v.5 ALPHA binary :
http://notepad-plus.sourceforge.net/commun/misc/npp.5.0.Alpha.bin.zip
Thanks to Harry, the performance of Notepad++ v5 is improved - especially on exit.
A lot of new features are added in v5 : Calltip, bookmarked lines cut/copy/paste/delete operations, the capacity of adding plugin commands to the context menu, more items (caret, tab bar) are configurable, ...etc.
Some quick notes for the new feature of calltip and configuration of context menu :
1. calltip : calltip feature in a modern IDE always comes together with auto-completion. In this version of Notepad++ calltip feature is implemented as extension of auto-completion. All the api files for auto-completion are now under xml format(with extension .xml).
<KeyWord name="fnsplit" />
<KeyWord name="fopen" func="yes">
<Overload retVal="FILE *" >
<Param name="const char * file" />
<Param name="const char * mode" />
</Overload>
</KeyWord>
<KeyWord name="for" />
As you can see, attribute "name" contains the value for auto-completion. Whereas Overload node is for calltip. While you type "fopen(", the following calltip (if enabled) will show :
FILE * fopen(const char * file, const char * mode)
2. context menu : Not mention to the ability of adding plugin commands into context menu, adding context menu items in contextMenu.xml is easier in this version.
Note that for the sake of backward compatibility, id attribute will still work on the future release.
Here's the example :
<NotepadPlus>
<ScintillaContextMenu>
<Item MenuEntryName="Edit" MenuItemName="Cut"/>
<Item MenuEntryName="Edit" MenuItemName="Copy"/>
<Item MenuEntryName="Edit" MenuItemName="Paste"/>
<Item MenuEntryName="Edit" MenuItemName="Delete"/>
<Item MenuEntryName="Edit" MenuItemName="Select all"/>
<Item id="0"/>
<Item MenuEntryName="Search" MenuItemName="Mark all"/>
<Item MenuEntryName="Search" MenuItemName="Unmark all"/>
<Item id="0"/>
<Item PluginEntryName="NppExport" pluginCommandItemName="Copy RTF to clipboard"/>
<Item PluginEntryName="MIME Tools" pluginCommandItemName="Base64 Decode"/>
<Item id="0"/>
<Item id="42016"/>
<Item id="42017"/>
<Item id="0"/>
<Item id="42022"/>
<Item id="42023"/>
<Item id="0"/>
<Item id="44042"/>
</ScintillaContextMenu>
</NotepadPlus>
Notepad++ architecture is modified partially, so there may be still a few of non-discovered regressions, please let us know if you find them in this version.
Notepad++ v5 fixed bugs and added features (from v4.9.2) :
1. Improve Notepad++ performance - on startup and on exit.
2. Add Calltip capacity.
3. All the menu commands can be added in context menu, including plugins' commands, macros and user defined commands.
4. Add bookmarked lines operations : delete all marked lines, copy all marked lines into clipboard, cut all marked lines into clipboard, paste from clipboard to replace all marked lines content.
5. Fix crash bug : Open files with date pre-1970.
6. Fix clone mode bug : now the actions done in one view will be synchronized in the cloned view.
7. Add tooltips in document tab to display the full file name path.
8. Change hide lines behaviour : Hide lines now saved during switches.
9. Change file history list behaviour : Most recent closed file is on the top. Add number on list.
10. Caret width and blink rate are customizable.
11. Add asterisk in title bar if file is dirty.
12. The bookmarks' look & feel are improved.
13. Add "Select all" and "copy" context menu items in Find in files results window.
14. Fix goto line with command line bug.
15. Improve smart highlight / mark all / incremental search highlight all visibility
16. Tabbar's coulours is configurable via Stylers Configurator(Active tab Text, Inactive tab text, Inactive tab background, Active tab focused indicator and Active tab unfocused indicator).
17. Add the smart highlight file size limit - 1.5 MB in order to improve the performance.
18. Add exception handling (dumping filedata).
Included plugins :
1. TexFX v0.24a
2. NppExec v0.2 RC3.2
3. Spell Checker v1.3.1
4. MIME Tools v1.4
5. FTP_synchronize v0.9.6
6. NppExport v0.2.7.3
7. Compare plugin v1.5.1
8. Light Explorer v1.5
9. Doc Monitor v2.1
Don
I have problem with PHP highlighter. It seems not to highlight html outside of <? ?> <?php ?> tag like it used to.
I have the same problem. The HTML sections in php files isn't highlighted.
If I switch the language of the *.php in the Language menu to "HTML" instead of "PHP" then all the highlighting works fine.
Odd behavior, but it is an Alpha after all.
Thanks for your hard work donho.
At the first look it seems two things don't work correctly :
1. the "find in files" is very very slow
2. if i run n++ with a session file as parameter, npp open the session file itself and not the file included in the session. If i open the session from the n++ menu (File.. Load.. Session) it's work fine.
Another thing: if the plugin explorer version 1.7.2 is included, n++ crash at the start-up (exception error handling ....)
Thanks again for this new version.
Regards
Mauro
> 1. the "find in files" is very very slow
The find in files feature is always slow when user search in a huge directory in the previous version.
This issue is in todo list and will be enhanced in the future version.
Don
> The find in files feature is always slow when user search in a huge directory in the previous version.
> This issue is in todo list and will be enhanced in the future version.
I mean that "find in files" is ten or more times slower than the previous version (4.x.x) !!
Mauro
After a while I have experienced following bugs glitches:
- "Window Menu\Setting\Preferences\[TAB]Edit components\[GROUP]Tab Settings\[CONTROL]Replace by space" is not preserved between sessions
- "Window Menu\Setting\Preferences\[TAB]Backup & Auto-completion\[GROUP]Auto-completion\[CONTROL]From X th character" has problems when connected option button enables it, little blue number becomes gray.
- When auto completion for function names is enabled and any plugins are loaded tool-tip doesn't always show
- When auto completion for function names is enabled and ctrl+shift+space is pressed tool-tip sometimes shows garbage at the beginning
- When pressing alt+tab or ctrl+tab, when plugins are loaded always, without them almost always, normal shift-like selection mode is activated and it must be canceled by esc.
Otherwise seems to work perfectly and subjectively faster :), the tool-tip functionality is amazing: I've already cooked up very crappy script to generate up to date php function tool-tips
output is at : http://eto.ethome.sk/php.xml - beware it may take a while as browser parses xml tree
validation checks are here:
http://validator.w3.org/check?uri=http%3A%2F%2Feto.ethome.sk%2Fphp.xml
http://www.validome.org/xml/validate/?lang=en&url=http://eto.ethome.sk/php.xml&onlyWellForm
ed=1
crappy generator source is here: http://eto.ethome.sk/build_php_doc.phps
Conclusion:
After half day of editing with new php api file Notepad++ still seems fast and without major glitches as without tool-tips, and although the file is quite big cca(600kb), feature works great.
> - When auto completion for function names is enabled and any plugins are loaded tool-tip doesn't always show
> - When auto completion for function names is enabled and ctrl+shift+space is pressed tool-tip sometimes shows garbage at the beginning
Do you know of a way to steadily reproduce it, or increase the likelihood of doing so? Since it can depend much on the surrounding text it would be very helpful if you could give some more info on the problem. The same goes for failure to display the tooltip :). The feature is pretty new so obviously it has a few kinks, but they aren't always as easy to find.
I really appreciate the new api files, I don't have the knowledge/time or tools to build all of them myself so community submissions are a great help :).
However, I noticed some keywords were missing. The actual keywords themselves are still needed to be present for the api file, can the generator script be altered to include those as well? The original API has entries like "abstract" which are missing, since they aren't functions.
Best regards,
Harry
Just downloaded the alpha version and unzipped.
But when I double click the notepad++.exe to open it, a error popup is shown.
I tried open it again, but with the same error. I post it below:
-----------------------------------------------------------------------------
---------------------------
Win32Exception
---------------------------
An exception occured. Notepad++ cannot recover and must be shut down.
The exception details are as follows:
Code: 0xC0000005
Type: Access violation
Exception address: 0x004463A4
---------------------------
OK
---------------------------
---------------------------
Recovery initiating
---------------------------
Notepad++ will attempt to save any unsaved data. However, dataloss is very likely.
---------------------------
OK
---------------------------
---------------------------
Recovery success
---------------------------
Notepad++ was able to successfully recover some unsaved documents, or nothing to be saved could be found.
You can find the results at C:\N++RECOV
---------------------------
OK
---------------------------
-----------------------------------------------------------------------------
Could you zip your npp folder and send the zip file to :
don . h @ free . fr
OTOH, Please make sure you unzip it in a clean folder.
Don
me too
Could you tell me what your system is? Xp? In which language?
Don
Hi,
I develop the phpBB version of Notepad++ over phpbb.com with little modification that help users who make modifications and even developers.
I'm testing notepad++ in Windows XP Home EN with SP3 and Multilanguage Pack, Windows 98 SE (on my mom pc) plus Wine 1.0.0 RC4. In all this is working fine if is compliled with VS8 and I don't install VS9 too. If VS9 is installed there is a toolbar problem in Preferences.
In Wine if you have Linux in other language and you do not install with the installer all menus will be traslated by the OS and Settings will not show/work with vanilla notepad++.
"6. Fix clone mode bug : now the actions done in one view will be synchronized in the cloned view."
sounds to me, that also syntax highlighting gets synchronized, but http://sourceforge.net/tracker/index.php?func=detail&aid=1909699&group_id=95717&atid=612382 still persits :-(
regards
McLoo
:-D sorry
the cloned view is synchronized, sorry!! both editor windows are wrong highlighted.
McLoo
Ill try to take a look at it, but I suspect the problem lies at Scintilla, which is beyond the scope of notepad++.
Like many lexer issues, I think if its a problem with Scintilla its best of posted at that project :).
You you post a quick sample that is as small as possible and reproduces the error?
i attached an xml, file to the bug report
the description should enable you to reproduce the behaviour.
i'f you need any further information i'd be glad to help.
and if Scintilla is the bad guy, i'm going to post the error there, but i think they dno't have a clone mode in SciTex
regards
McLoo
Hi there!
We've been playing a bit with this version here at work, and we really like the calltip feature. However, there are a few remarks/suggestions we'd like to make about it :)
1) It would be great if it was possible to support multiple xml files for the same language, as the auto-completion & the function calltips are usually related to a specific context. For instance, I would like to be able to have:
- 1 .xml for the language
- 1 (or more) .xml for the api I'm using
- 1 .xml for the specific project I'm working on
Each of these would actually define the context in which I'm working, and it would make it easier to share the xml files with other people. This would be particularly helpful for open projects.
2) In certain cases, the information to display in the calltip can be rather long, I'm think about languages like Lua where a function can return multiple values, so would it be possible to make the calltip a bit thicker ? Like expandable over 2-3-4 lines if necessary. (maybe support \n to let the code define how he wants to format it)
3) This suggestion is certainly larger in scope, but is there a chance that we'll see support for variable type detection. Like in this example:
BaseObject *p;
DerivedObject *pDeriv;
p->Whatever()
where npp would detect that Whatever is a method of the baseobject class and not of the derived class. I know this wouldn't be easy (especially if you have to make it generic for all languages), but I had to ask :)
4) In the .xml, would it be possible to support that the list of functions must not necessarily be sorted alphabetically, this would be extremely useful in order to manage/group functions that have a common context (which happens often in API's).
Keep up the good work !
EC DevTeam
Hi Don,
this is to let you know that the Unicode input issue has reappeared in this alpha: I have tried with Japanese text.
Version 4.9.2 works fine in this respect.
Thanks a lot for your efforts!
Dario
Did you remove all the plugins?
Don