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

[reopen] Scroll position in content #664

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

massivemadness
Copy link
Contributor

@massivemadness massivemadness commented Apr 4, 2025

(reopen #661 )

I'm not sure if it's a good decision to have scroll position in Content in terms of architecture, but in my case it works well.

I want to be able to save the scroll position in the database so that when I reopen the app, the file will automatically be opened at the previous scroll position. I've already tested this behavior in my app and it works well (commit)

@MohammedKHC0
Copy link
Contributor

I don't think that this is needed can't you just extend CodeEditor and Content classes?

@massivemadness
Copy link
Contributor Author

That's exactly what I did for my project, it's just a proposal and can be rejected if it doesn't fit sora's design principles

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

Successfully merging this pull request may close these issues.

2 participants