Skip to content

Conversation

@vogella
Copy link
Contributor

@vogella vogella commented Jan 14, 2025

These methods are deprecated since a long time and should be marked for removal. This will enable us to delete them after the API deprecation period.

int stickyScrollingMaxCount= store.getInt(EDITOR_STICKY_SCROLLING_MAXIMUM_COUNT);

Color lineNumberColor= new Color(PreferenceConverter.getColor(store, EDITOR_LINE_NUMBER_RULER_COLOR));
sourceViewer.getTextWidget().addDisposeListener(e -> lineNumberColor.dispose());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a little confusing to see this change mixed into a PR about AbstractUIPlugin. Maybe this is accidental and meant to be in a different PR about not disposing colors?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, forgot to rebase onto latest master. The already merged change is not removed from this PR.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 14, 2025

Test Results

 1 818 files  ±0   1 818 suites  ±0   1h 27m 22s ⏱️ - 8m 25s
 7 733 tests ±0   7 505 ✅ ±0  228 💤 ±0  0 ❌ ±0 
24 360 runs  ±0  23 611 ✅ ±0  749 💤 ±0  0 ❌ ±0 

Results for commit 81ef63f. ± Comparison against base commit 74efba4.

♻️ This comment has been updated with latest results.

@vogella vogella force-pushed the abstract-ui-plug-in-deprecated-methods-marked-for-deletion branch from 7961dc9 to fcdd1a9 Compare January 14, 2025 12:13
These methods are deprecated since a long time and should be marked for
removal. This will enable us to delete them after the API deprecation
period.
@vogella vogella force-pushed the abstract-ui-plug-in-deprecated-methods-marked-for-deletion branch from fcdd1a9 to 81ef63f Compare January 14, 2025 15:26
@vogella vogella merged commit bbc28ce into eclipse-platform:master Jan 15, 2025
17 checks passed
@vogella vogella deleted the abstract-ui-plug-in-deprecated-methods-marked-for-deletion branch January 15, 2025 06:44
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