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

[WIP] [StickyScrolling] Add extension point for sticky lines provider #2398

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Christopher-Hermann
Copy link
Contributor

First version of the extension points for sticky lines provider. Via the extension point it's possible to register an own provider for a editor instance.
There is some refactoring needed which will be done on separate PR.
This PR will be merged after the implementation of an initial proof-of-concept provider for Java, and potentially ABAP as well, to ensure a stable API.

@Christopher-Hermann Christopher-Hermann self-assigned this Oct 14, 2024
@Christopher-Hermann Christopher-Hermann marked this pull request as draft October 14, 2024 13:44
Christopher-Hermann added a commit to Christopher-Hermann/eclipse.platform.ui that referenced this pull request Oct 14, 2024
Move sticky lines adaptation to the growing sticky lines control into the central sticky scrolling handler. This change simplifies the sticky lines provider, making implementations for specific languages more straightforward and maintainable.

Preparation for eclipse-platform#2398
Christopher-Hermann added a commit to Christopher-Hermann/eclipse.platform.ui that referenced this pull request Oct 14, 2024
Move sticky lines adaptation to the growing sticky lines control into the central sticky scrolling handler. This change simplifies the sticky lines provider, making implementations for specific languages more straightforward and maintainable.

Preparation for eclipse-platform#2398
BeckerWdf pushed a commit to Christopher-Hermann/eclipse.platform.ui that referenced this pull request Oct 15, 2024
Move sticky lines adaptation to the growing sticky lines control into the central sticky scrolling handler. This change simplifies the sticky lines provider, making implementations for specific languages more straightforward and maintainable.

Preparation for eclipse-platform#2398
In order to implement editor/language specific sticky lines provider, a new extension point is introduced.
Christopher-Hermann added a commit to Christopher-Hermann/eclipse.platform.ui that referenced this pull request Oct 15, 2024
Move sticky lines adaptation to the growing sticky lines control into the central sticky scrolling handler. This change simplifies the sticky lines provider, making implementations for specific languages more straightforward and maintainable.

Preparation for eclipse-platform#2398
Christopher-Hermann added a commit to Christopher-Hermann/eclipse.platform.ui that referenced this pull request Oct 15, 2024
Move sticky lines adaptation to the growing sticky lines control into the central sticky scrolling handler. This change simplifies the sticky lines provider, making implementations for specific languages more straightforward and maintainable.

Preparation for eclipse-platform#2398
Christopher-Hermann added a commit to Christopher-Hermann/eclipse.platform.ui that referenced this pull request Oct 16, 2024
Move sticky lines adaptation to the growing sticky lines control into the central sticky scrolling handler. This change simplifies the sticky lines provider, making implementations for specific languages more straightforward and maintainable.

Preparation for eclipse-platform#2398
Christopher-Hermann added a commit to Christopher-Hermann/eclipse.platform.ui that referenced this pull request Oct 16, 2024
Move sticky lines adaptation to the growing sticky lines control into the central sticky scrolling handler. This change simplifies the sticky lines provider, making implementations for specific languages more straightforward and maintainable.

Preparation for eclipse-platform#2398
Christopher-Hermann added a commit to Christopher-Hermann/eclipse.platform.ui that referenced this pull request Oct 17, 2024
Move the text and style calculation to the StickyLine itself in order to
enable the sticky line provider to overwrite the default behavior. This
is needed to apply custom texts or custom styles for the sticky lines.

Preparation for eclipse-platform#2398
Christopher-Hermann added a commit that referenced this pull request Oct 25, 2024
Move sticky lines adaptation to the growing sticky lines control into the central sticky scrolling handler. This change simplifies the sticky lines provider, making implementations for specific languages more straightforward and maintainable.

Preparation for #2398
Christopher-Hermann added a commit to Christopher-Hermann/eclipse.platform.ui that referenced this pull request Oct 25, 2024
Move the text and style calculation to the StickyLine itself in order to
enable the sticky line provider to overwrite the default behavior. This
is needed to apply custom texts or custom styles for the sticky lines.

Preparation for eclipse-platform#2398
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.

1 participant