Hello, @muthuraj-madasamy, @peterjones, @james-johnson, @kriston-renshaw, @alan-kilborn and All,
I did some additional tests and I think that my method, to make visible the Find result panel, is not destructive regarding the other panels, previously opened by the user, in his usual N++ session!
To confirm this assumption :
Close any opened instance of Notepad++
Open your active config.xml with Microsoft notepad.exe
Replace all the section between the line GUIConfig name="DockingManager" ........> and the line </GUIConfig> by the two lines :
<GUIConfig name="DockingManager" leftWidth="200" rightWidth="200" topHeight="200" bottomHeight="200">
</GUIConfig>
Restart Notepad++
=> You should not remark any opened panel
Click on the
Edit > Clipboard History option
=> The Clipboard History panel is displayed, by default, on the right
Open the License.txt
Select the GNU GENERAL PUBLIC LICENSE text and hit the Ctrl+ C shortcut
Select the IMPORTANT NOTEPAD++ LICENSE TERMS text and hit the Ctrl+ C shortcut
=> The Clipboard History panel contains these two expressions
Now, drag and dock the Clipboard History panel on the left side of Notepad++
Open any .txt file with several kilobytes
Click on the View > Document Map option
=> The Document Map panel is displayed, by default, on the right
Move to the middle of that file
Then, drag and dock the Document Map panel on the bottom side of Notepad++
Finally, open the Settings > Edit Popup ContextMenu option
=> The contextMenu.xml file is displayed
Click on the
View > Function List option
=> The Function List panel is displayed, by default, on the right
Click on the
first line
<Item id="0"/> of the
contextMenu.xml file
=> The corresponding line is highlighted in the Function List panel
Exit Notepad++
Restart Notepad++
=> You should see, as expected, the three panels Clipboard History, Document Map and Function List at their previous position
In the
Document Map and
Function List panels, you’ll be able to find, again, the
previous displayed text by selecting the
appropriate tab
However, note that, now, the Clipboard History panel contains only the last text copied ( IMPORTANT NOTEPAD++ LICENSE TERMS ). This is the normal behaviour !
Close again Notepad++
Open your active config.xml with Microsoft notepad.exe
Replace all this section :
<GUIConfig name="DockingManager" leftWidth="200" rightWidth="200" topHeight="200" bottomHeight="200">
<PluginDlg pluginName="Notepad++::InternalFunction" id="42052" curr="0" prev="-1" isVisible="yes" />
<PluginDlg pluginName="Notepad++::InternalFunction" id="44084" curr="1" prev="-1" isVisible="yes" />
<PluginDlg pluginName="Notepad++::InternalFunction" id="44080" curr="3" prev="-1" isVisible="yes" />
<ActiveTabs cont="0" activeTab="0" />
<ActiveTabs cont="1" activeTab="0" />
<ActiveTabs cont="2" activeTab="-1" />
<ActiveTabs cont="3" activeTab="0" />
</GUIConfig>
With that one :
<GUIConfig name="DockingManager" leftWidth="200" rightWidth="200" topHeight="200" bottomHeight="200">
</GUIConfig>
Save the modifications of config.xml
Restart Notepad++
=> Of course, no panel is now displayed !
Click on the
Edit > Clipboard History option
=> The Clipboard History panel is opened, by default, on the right side but still displays the last text copied ! ( IMPORTANT NOTEPAD++ LICENSE TERMS )
Click on the
View > Document Map option
=> The Document Map panel is opened, by default, on the right side and if you select your previous file, it should display, as expected, the same contents
Click on the
View > Function List option
=> The Function List panel is opened, by default, on the right side and if you select the contextMenu.xml file, it displays, as before, the first <Item id="0"/> line, in the Function List panel
So, in summary, my method removes all the panels and forget their preferred user location but does keep the information displayed by these panels, as soon as you re-open them ! Thus, it should not be difficult to get the old configuration of all your previous panels !
Best Regards,
guy038