-
Notifications
You must be signed in to change notification settings - Fork 12
Fix: Handle removing paint listeners with ADT viewer and allow multiline text in inline chat #500
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
Conversation
…line text with inline prompt
| composite.setLayout(new GridLayout(1, false)); | ||
|
|
||
| inputField = new Text(composite, SWT.SEARCH | SWT.BORDER | SWT.SINGLE); | ||
| inputField = new Text(composite, SWT.BORDER | SWT.MULTI); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For curiosity, why we want to delete SWT.SEARCH and change to MULTI?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that is for addressing the second bug, it was blocking the ability to support multi line text inputs in the inline chat box
| for (var listener : listenersAfter) { | ||
| if (!listenersBefore.contains(listener)) { | ||
| if (isAdtPaintListener(listener)) { | ||
| paintListenerRef = listener; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is paintListenerRef != paintListener?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not for adt. Adt wraps the paint listener into a PaintListenerDelagate which is an internal ADT class which then holds the reference of the PaintListener we create
Merges feature branch containing improvements for ADT ABAP support into main. Relevant PRs * adt support #487 * Support updating remote when ABAP files are edited #495 * handle the null case for contentType in adt plugin environment #496 * Fix: Handle removing paint listeners with ADT viewer and allow multiline text in inline chat #500
Description of changes:
This change addresses a few bugs:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.