Hexman768 / Notepad-Sharp

A general purpose text editor that supports multiple programming languages for code editing.
GNU General Public License v3.0
20 stars 3 forks source link

Change ownership structure for DocumentMap #113

Open Hexman768 opened 2 years ago

Hexman768 commented 2 years ago

The DocumentMap should not be parented by the MainForm. The current instance of the Editor class should have ownership over the DocumentMap. This might also help simplify the process of updating the DocumentMap when changing active tabs. This should also take some of the load off of the shoulders of the MainForm.

I will also likely be restructuring the file system, we need to be consistent. There are windows in the parent directory that should be in the "windows" directory.