This allows for a more component-based codebase, like those in web development.
Also added barebone minimap and refactored the file loading.
Should have commited them in a separate commit, but I'm just used to overusing git add -p.
https://gitlab.gnome.org/World/Rust/sourceview5-rs has quite some
features we need missing.
We will contribute some code from our
in-house bindings to them, but for now, we have to switch to our own
bindings.
The MPL is a file-based license, rather than a codebase-based license.
Each files need to be marked as MPL.
If we don't do mark them, they may cause confusion.
Before, all the traits are implemented for EchidnaApplication.
This is added to better support using the app with many windows open.
EchidnaApplication may be obsolete now, but I'm not removing it for now.
As VS Code does not properly display long error messages. I had to copy and paste the error messages to somewhere. And I forgot to not commit them.
Bruh.
This moves ui/echidna.ui and src/resources.qrs to src/echidna.ui and src/resources.qrs respectively.
I couldn't find any way to have these files on a separate ui folder,
as CMake's AUTOUIC feature will only look for .ui files in the importing code's directory.
I have compiled and ran this and the UI feels great. I mean I have the Dracula theme configured on my machine, not sure what will it looked like without it. Next up we will work on our Monaco replacement. Will discuss on whether making it a Qt Designer plugin or not.
The code in my local machine (to be commited later) refers to the main window UI class as EchidnaEditor, although the ui file still uses MainWindow, Qt Designer's default class name.
I was confused so much by the error message, until I realized the issue was this.
Anyways, this includes the "fix the sidebar tab that isn't a proper tab". Should have commited this in a separate commit, but Git won't let me.
Should have commited this earlier. Same thing with e0ba34d.
Ugh, should have commited this before making the next commit.
Why I still do this sort of stuff. Echidna is supposed to be more maturely developed than BLThunderstorm.
God help me.
Anyways, the diff for the new file ui/echidna.ui is not included here because of that.