Show symbol outline pane on right of document#1048
Conversation
|
@danrabbit I would appreciate your advice as to how to get the symbol list (which is a |
* Disconnect signal * Remove unnecessary refs
|
@jeremypw it is probably worth looking at and adapting this method, as setting the background to code/src/Widgets/DocumentView.vala Lines 100 to 121 in 16d7716
Perhaps renaming that method and defining a GTK CSS variable called |
|
@cassidyjames Thanks for the suggestion! I'll try that. |
|
@cassidyjames Implemented your suggestion - thanks. |
|
If we're moving this anyways, can we make it not be a plugin and just have it be part of the app? I wonder if we should also add a menuitem to toggle its visibility like we have with the sidebar |
|
Yes, it should not be too hard to move the code into a "SymbolOutline" subfolder of |
|
The latest commit moves the outline code to the Should I include code to blacklist/overwrite the outline plugin in the same way as I did in #1151? |
|
I have taken the opportunity to DRY the code to reduce duplication between the Vala and C outliners. |
|
Need to fix some regressions. |
|
I have added code to overwrite the old plugin when not installed as Flatpak in order to make development and testing easier. This can easily be reverted if considered unnecessary. |
# Conflicts fixed: # data/io.elementary.code.appdata.xml.in # plugins/outline/meson.build # src/Services/Document.vala # src/Widgets/DocumentView.vala # src/Widgets/HeaderBar.vala
|
Removed "blacklist" code as it was not needed when the strip-trailing-spaces plugin was moved into main code. |
danirabbit
left a comment
There was a problem hiding this comment.
Looks like there's a completely commented file: src/SymbolPane/meson.build
Otherwise, works as expected and looks good!




Fixes #1033
<Alt>\)Documentsignal (doc_saved ()) that was only used by the plugin