C# Класс _3PA.MainFeatures.InfoToolTip.InfoToolTip

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
CurrentWord string
GoToDefinitionFile string
GoToDefinitionPoint Point
IndexToShow int

Открытые методы

Метод Описание
Close ( bool calledFromDwellEnd = false ) : void

Closes the form

CloseIfOpenedForCompletion ( ) : void

Closes the tooltip, but only if it was opened to help for an autocompletion item

ForceClose ( ) : void

Forces the form to close, only when leaving npp

GetCurrentlyDisplayedCompletionData ( ) : CompletionItem

Returns the current CompletionItem used in the tooltip

InitIfneeded ( ) : void

Method to init the tooltip form if needed

IsMouseIn ( ) : bool

Returns true if the cursor is within the form window

ShowToolTipFromAutocomplete ( CompletionItem item, Rectangle completionRectangle, bool reversedForm ) : void

Method called when the tooltip is opened to help the user during autocompletion

ShowToolTipFromDwell ( bool openTemporary = true ) : void

Method called when the tooltip is opened from the mouse being inactive on scintilla

TryToShowIndex ( ) : void

Called when a tooltip is shown and the user presses CTRL + down/up to show the other definitions available

Приватные методы

Метод Описание
ClickHandler ( YamuiFramework.HtmlRenderer.Core.Core.Entities.HtmlLinkClickedEventArgs htmlLinkClickedEventArgs ) : void

Handles the clicks on the link displayed in the tooltip

FormatRow ( string describe, string result ) : string
FormatRowParam ( string paramType, string text ) : string
FormatRowWithImg ( string image, string text ) : string
FormatSubString ( string text ) : string
FormatSubtitle ( string text ) : string
SetToolTip ( ) : void

Sets the content of the tooltip (when we want to descibe something present in the completionData list)

Описание методов

Close() публичный статический Метод

Closes the form
public static Close ( bool calledFromDwellEnd = false ) : void
calledFromDwellEnd bool
Результат void

CloseIfOpenedForCompletion() публичный статический Метод

Closes the tooltip, but only if it was opened to help for an autocompletion item
public static CloseIfOpenedForCompletion ( ) : void
Результат void

ForceClose() публичный статический Метод

Forces the form to close, only when leaving npp
public static ForceClose ( ) : void
Результат void

GetCurrentlyDisplayedCompletionData() публичный статический Метод

Returns the current CompletionItem used in the tooltip
public static GetCurrentlyDisplayedCompletionData ( ) : CompletionItem
Результат _3PA.MainFeatures.AutoCompletion.CompletionItem

InitIfneeded() публичный статический Метод

Method to init the tooltip form if needed
public static InitIfneeded ( ) : void
Результат void

IsMouseIn() публичный статический Метод

Returns true if the cursor is within the form window
public static IsMouseIn ( ) : bool
Результат bool

ShowToolTipFromAutocomplete() публичный статический Метод

Method called when the tooltip is opened to help the user during autocompletion
public static ShowToolTipFromAutocomplete ( CompletionItem item, Rectangle completionRectangle, bool reversedForm ) : void
item _3PA.MainFeatures.AutoCompletion.CompletionItem
completionRectangle System.Drawing.Rectangle
reversedForm bool
Результат void

ShowToolTipFromDwell() публичный статический Метод

Method called when the tooltip is opened from the mouse being inactive on scintilla
public static ShowToolTipFromDwell ( bool openTemporary = true ) : void
openTemporary bool
Результат void

TryToShowIndex() публичный статический Метод

Called when a tooltip is shown and the user presses CTRL + down/up to show the other definitions available
public static TryToShowIndex ( ) : void
Результат void

Описание свойств

CurrentWord публичное статическое свойство

the current word that the tooltip displays
public static string CurrentWord
Результат string

GoToDefinitionFile публичное статическое свойство

public static string GoToDefinitionFile
Результат string

GoToDefinitionPoint публичное статическое свойство

If a tooltip is opened and it's a parsed item, this point leads to its definition
public static Point GoToDefinitionPoint
Результат Point

IndexToShow публичное статическое свойство

Index of the tooltip to show in case where a word corresponds to several items in the CompletionItem list
public static int IndexToShow
Результат int