The look of the PowerLanguage .NET Editor can be adjusted to one’s liking, for example by relocating the window panes. But in uncommon circumstances the layout can become a mess. How can we set the editor’s layout back to default again?

Fixing layout issues with the PowerLanguage .NET Editor

The appearance of the PowerLanguage .NET Editor can become distorted in rare occasions, for example due to changes in the system’s setup (see Henry MultiCharts, 2014). An example of a layout issue is the following:

Appearance of the PowerLanguage .NET Editor messed up

Resetting the PowerLanguage .NET Editor’s layout helps in situations like the following (Henry MultiCharts, 2013):

  • When the PowerLanguage .NET Editor’s window panels (like ‘Help’, ‘Studies’, and ‘Output’) are undocked and cannot be moved back into the main window.
  • When the PowerLanguage .NET Editor’s main window is not visible, even though its process runs and the editor’s icon is displayed in the Windows taskbar.
  • And when the source code of scripts in the PowerLanguage .NET Editor is not visible.

Fixing layout issues with the PowerLanguage .NET Editor requires five steps (Henry MultiCharts, 2013):

  1. Close the PowerLanguage .NET Editor.
  2. Open the Registry Editor.
  3. Navigate to MultiCharts .NET’s registry folder.
  4. Remove the ‘PLEditor’ folder.
  5. Start the PowerLanguage .NET Editor again.

These steps are discussed in detail below.

1) Close the MultiCharts .NET PowerLanguage .NET Editor

First, we close the PowerLanguage .NET Editor with the top right ‘Close’ button or with the Alt + X or Alt + F4 key combination.

We need to start the Windows Task Manager when the PowerLanguage .NET Editor isn’t visible or if we want to verify its process has closed. To do so, right-click on the Windows taskbar and select ‘Task Manager’ (or press Ctrl + Shift + Esc):

Launching the Task Manager in Windows 8

In Windows 7, choose the ‘Start Task Manager’ option:

Launching the Task Manager in Windows 7

Then we navigate to the ‘Processes’ tab, select the PowerLanguage .NET Editor’ process, and click on ‘End Task’:

End Task in Windows 8's Task Manager

In Windows 7, we select ‘PLEditor.NET.exe’ and click on ‘End Process’:

End Process in Windows 7's Task Manager

2) Open the Windows Registry Editor

To reset the PowerLanguage .NET Editor to its initial state, we need to start the Windows Registry Editor. For that, press the ‘Start’ button in Windows 8 and press the downward pointing arrow to display all apps. Then look for the ‘Run’ listing in the ‘Windows System’ group, or use the Windows key + R shortcut:

Run app in the Windows 8 start menu

On Windows 7, we click on the Start button and then select ‘Run’. Alternatively, we can press the Windows key + R:

Run command in the Windows 7 start menu

In the ‘Run’ window, type regedit and click ‘OK’ or press Enter:

Run window in Windows 8 Run window in Window 7

3) Navigate to MultiCharts .NET’s registry folder

Executing that command in the ‘Run’ window opens the Registry Editor:

Registry Editor in Windows 8 Registry Editor in Windows 7

Now navigate to one of the following folders in the folder tree:

  • For MultiCharts .NET 32-bit, go to HKEY_CURRENT_USER\Software\TS Support\MultiCharts .Net
  • For MultiCharts .NET 64-bit, go to HKEY_CURRENT_USER\Software\TS Support\MultiCharts .Net64

4) Remove the ‘PLEditor’ folder in the Registry Editor

After navigating to the MultiCharts .NET registry folder, right-click on its ‘PLEditor’ subfolder and select ‘Delete’:

Remove registry folder in Windows 8 Remove registry folder in Windows 7

Then confirm this folder’s removal:

Confirm removal of registry folder in Windows 8 Confirm removal of registry folder in Windows 7

This removes the formatting settings of the PowerLanguage .NET Editor, but won’t remove other things (like scripts). It will remove any custom syntax highlighting you’ve defined in the PowerLanguage .NET Editor’s ‘Highlighting Style Editor’ window.

Close the Registry Editor after removing the folder.

5) Restart the PowerLanguage .NET Editor

The last step is starting the PowerLanguage .NET Editor. If all went well, its layout is back to the standard appearance again:

The PowerLanguage .NET Editor reset back to default

For more on the PowerLanguage .NET Editor and its appearance, see moving the window panes and changing the editor’s code highlighting.


References

Henry MultiCharts (2013, December 13). MultiCharts .NET FAQ - forum discussion. Retrieved on April 2, 2015, from http://www.multicharts.com/discussion/viewtopic.php?f=19&t=45848#p100796

Henry MultiCharts (2014, October 13). Script editor won’t launch - forum discussion. Retrieved on April 6, 2015, from http://www.multicharts.com/discussion/viewtopic.php?f=19&t=47279#p109243