C# 클래스 GnomeSubtitles.Ui.Edit.SubtitleEditTextView

파일 보기 프로젝트 열기: GNOME/gnome-subtitles

공개 메소드들

메소드 설명
DeleteText ( int startIndex, int endIndex ) : void
FocusOnSelection ( int startIndex, int endIndex ) : void
GetTextSelectionBounds ( int &start, int &end ) : bool

Gets the bounds of the current selection, if text is selected.

If no text is selected, both start and end will contain the index of the cursor position.

InsertText ( int startIndex, string text ) : void
LoadSubtitle ( Subtitle subtitle ) : void
ReplaceSelection ( string replacement ) : void
SubtitleEditTextView ( Gtk.TextView textView ) : GnomeSubtitles.Core

보호된 메소드들

메소드 설명
ChangeSubtitleTextContent ( Subtitle subtitle, string text ) : void
ClearFields ( ) : void
ExecuteDeleteCommand ( int index, string deletion, int cursor ) : void
ExecuteInsertCommand ( int index, string insertion ) : void
GetSpellActiveLanguage ( ) : SpellLanguage
GetSubtitleTextContent ( Subtitle subtitle ) : string
GetTextType ( ) : SubtitleTextType
OnSpellLanguageChanged ( ) : void
OnSpellToggleEnabled ( ) : void
OnSubtitleSelectionChanged ( Gtk.TreePath paths, Subtitle subtitle ) : void
SetVisibility ( bool visible ) : void
ToggleOverwriteSilent ( ) : void

Toggles the overwrite status without emitting its event.

비공개 메소드들

메소드 설명
ApplyTag ( Gtk.TextTag tag, Gtk.TextIter start, Gtk.TextIter end, bool activate ) : void
ApplyTags ( ) : void
EmitToggleOverwrite ( ) : void
GetCursorIndex ( ) : int

Returns the cursor index, or -1 if the text view is not enabled.

GetIterAtInsertMark ( ) : Gtk.TextIter
GetLineColumn ( int &line, int &column ) : void
GetScrolledWindow ( ) : Gtk.ScrolledWindow
GrabFocus ( ) : void
GtkSpellAttach ( ) : void
GtkSpellDetach ( ) : void
GtkSpellSetLanguage ( SpellLanguage language ) : bool
IsGtkSpellAttached ( ) : bool
OnBaseInitFinished ( ) : void
OnBufferChanged ( object o, EventArgs args ) : void
OnBufferDeleteRange ( object o, Gtk.DeleteRangeArgs args ) : void
OnBufferInsertText ( object o, Gtk.InsertTextArgs args ) : void
OnBufferMarkSet ( object o, Gtk.MarkSetArgs args ) : void
OnDestroyed ( object o, EventArgs args ) : void
OnFocusIn ( object o, Gtk.FocusInEventArgs args ) : void
OnFocusOut ( object o, Gtk.FocusOutEventArgs args ) : void
OnKeyPressed ( object o, Gtk.KeyPressEventArgs args ) : void
OnToggleOverwrite ( object o, EventArgs args ) : void
PlaceCursor ( int index ) : void
SetFont ( SubLib style ) : void

Sets font with bold and italic if applicable.

SetText ( string text ) : void
UpdateLineColStatus ( ) : void
UpdateOverwriteStatus ( ) : void
gtkspell_detach ( IntPtr obj ) : void
gtkspell_new_attach ( IntPtr textView, string locale, IntPtr error ) : IntPtr
gtkspell_set_language ( IntPtr textView, string lang, IntPtr error ) : bool

메소드 상세

ChangeSubtitleTextContent() 보호된 추상적인 메소드

protected abstract ChangeSubtitleTextContent ( Subtitle subtitle, string text ) : void
subtitle SubLib.Core.Domain.Subtitle
text string
리턴 void

ClearFields() 보호된 메소드

protected ClearFields ( ) : void
리턴 void

DeleteText() 공개 메소드

public DeleteText ( int startIndex, int endIndex ) : void
startIndex int
endIndex int
리턴 void

ExecuteDeleteCommand() 보호된 추상적인 메소드

protected abstract ExecuteDeleteCommand ( int index, string deletion, int cursor ) : void
index int
deletion string
cursor int
리턴 void

ExecuteInsertCommand() 보호된 추상적인 메소드

protected abstract ExecuteInsertCommand ( int index, string insertion ) : void
index int
insertion string
리턴 void

FocusOnSelection() 공개 메소드

public FocusOnSelection ( int startIndex, int endIndex ) : void
startIndex int
endIndex int
리턴 void

GetSpellActiveLanguage() 보호된 추상적인 메소드

protected abstract GetSpellActiveLanguage ( ) : SpellLanguage
리턴 GnomeSubtitles.Core.SpellLanguage

GetSubtitleTextContent() 보호된 추상적인 메소드

protected abstract GetSubtitleTextContent ( Subtitle subtitle ) : string
subtitle SubLib.Core.Domain.Subtitle
리턴 string

GetTextSelectionBounds() 공개 메소드

Gets the bounds of the current selection, if text is selected.
If no text is selected, both start and end will contain the index of the cursor position.
public GetTextSelectionBounds ( int &start, int &end ) : bool
start int The start index of the selection.
end int The end index of the selection.
리턴 bool

GetTextType() 보호된 추상적인 메소드

protected abstract GetTextType ( ) : SubtitleTextType
리턴 SubtitleTextType

InsertText() 공개 메소드

public InsertText ( int startIndex, string text ) : void
startIndex int
text string
리턴 void

LoadSubtitle() 공개 메소드

public LoadSubtitle ( Subtitle subtitle ) : void
subtitle SubLib.Core.Domain.Subtitle
리턴 void

OnSpellLanguageChanged() 보호된 메소드

protected OnSpellLanguageChanged ( ) : void
리턴 void

OnSpellToggleEnabled() 보호된 메소드

protected OnSpellToggleEnabled ( ) : void
리턴 void

OnSubtitleSelectionChanged() 보호된 메소드

protected OnSubtitleSelectionChanged ( Gtk.TreePath paths, Subtitle subtitle ) : void
paths Gtk.TreePath
subtitle SubLib.Core.Domain.Subtitle
리턴 void

ReplaceSelection() 공개 메소드

public ReplaceSelection ( string replacement ) : void
replacement string
리턴 void

SetVisibility() 보호된 메소드

protected SetVisibility ( bool visible ) : void
visible bool
리턴 void

SubtitleEditTextView() 공개 메소드

public SubtitleEditTextView ( Gtk.TextView textView ) : GnomeSubtitles.Core
textView Gtk.TextView
리턴 GnomeSubtitles.Core

ToggleOverwriteSilent() 보호된 메소드

Toggles the overwrite status without emitting its event.
protected ToggleOverwriteSilent ( ) : void
리턴 void