Re: Problem displaying call tip at the same time as a autocomplete list
Andrew Truckle <[email protected]> Sat, 18 Jan 2025 10:19:48 -0800 (PST)
| Newsgroups | gmane.comp.lib.scintilla.devel |
|---|---|
| Message-ID | <[email protected]> |
Thanks for the clarification. I have changed to the Completed notification handler instead then and adjusted it to use the pSCNotification->position. It looks like this now, after selecting the choice in the list.: [image: Snap17.jpg] On Saturday, 18 January 2025 at 17:54:13 UTC Mitchell wrote: > Hi, > > > On Jan 18, 2025, at 12:49 PM, Andrew Truckle <[email protected]> wrote: > > > > If I uncomment this line so that the calltip is displayed: > > > > void CScintillaHelper::OnAutoCSelectionChange(_Inout_ > Scintilla::NotificationData* pSCNotification) > > { > > #ifdef DEBUG > > // Check if the notification data is valid > > if (pSCNotification && pSCNotification->text) > > { > > // m_edit.CallTipShow(m_edit.GetCurrentPos(), pSCNotification->text); > > } > > #endif // DEBUG > > } > > > > It messes up the auto complete list and all i see is a call tip. > > > > <Snap15.jpg> > > > > I thought that as you single click an item in the list you could display > a call tip to the right. But all I see if a call time and no list. I trid: > > > > case Scintilla::Notification::AutoCSelectionChange > > case Scintilla::Notification::AutoCSelection > > > > But I don't get no list any more and just a tip. So I have commented out > the tip so that the list displays. I was trying to do something similar as > in Visual Studio: > > > > <Snap16.jpg> > > > > Am I going about this the wrong way? > > Scintilla does not support showing both an autocompletion list and a call > tip at the same time. > > Cheers, > Mitchell -- You received this message because you are subscribed to the Google Groups "scintilla-interest" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/scintilla-interest/accf3f26-8025-4276-9c62-956dc2ad6590n%40googlegroups.com.
Snap17.jpg
(image/jpeg, 45.6 KB) - not displayed