Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move instruction comments to a separate sourceview #66

Open
sonnyp opened this issue Apr 23, 2022 · 0 comments
Open

Move instruction comments to a separate sourceview #66

sonnyp opened this issue Apr 23, 2022 · 0 comments

Comments

@sonnyp
Copy link
Owner

sonnyp commented Apr 23, 2022

Git adds instructions in the form of a block comment at the end of the file, for example

# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
#
# On branch master
# Your branch is up-to-date with 'origin/master'.
#
# Changes to be committed:
#	modified:   README.md
#

right now we make this readonly and exclude it from select all.

Since it's not deletable anyway, let's move it to its own readonly gtksourceview to remove readonly/select-all code and simplify

We can also do like https://github.com/small-tech/comet/ and move it a a GtkText

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant