Versions in this module Expand all Collapse all v0 v0.1.0 Apr 26, 2021 Changes in this version + type SourceViewStruct struct + Buffer *source.SourceBuffer + CaseSensitive bool + ColorBgRangeSet string + DefaultLanguageId string + DefaultStyleShemeId string + FontFamily string + FontSize int + HasFound bool + HasWrappedAround bool + HighlightFound bool + IterEnd *gtk.TextIter + IterStart *gtk.TextIter + Language *source.SourceLanguage + LanguageIds []string + LanguageManager *source.SourceLanguageManager + Map *source.SourceMap + OccurencesCount int + SearchCtx *source.SourceSearchContext + SearchError error + SearchOk bool + SearchSet *source.SourceSearchSettings + SelBgCol string + SelFgCol string + StyleScheme *source.SourceStyleScheme + StyleSchemeManager *source.SourceStyleSchemeManager + StyleShemeIds []string + TextReplace string + TextSearch string + TxtBgCol string + TxtFgCol string + UseRegexp bool + UserLanguagePath string + UserStylePath string + View *source.SourceView + Window gtk.IWindow + WordBoundaries bool + WrapAround bool + func SourceViewStructNew(sourceView *source.SourceView, sourceMap *source.SourceMap, ...) (svs *SourceViewStruct, err error) + func (svs *SourceViewStruct) BringToFront() + func (svs *SourceViewStruct) ColorBgRange(startLine, endLine int) + func (svs *SourceViewStruct) ComboboxHandling(cbxtStyle, cbxtLang *gtk.ComboBoxText, defaultLang, defaultStyle *string) + func (svs *SourceViewStruct) GetCurrentLineNb() int + func (svs *SourceViewStruct) GetOccurences(callback func(occurences int)) + func (svs *SourceViewStruct) GetText() (text string) + func (svs *SourceViewStruct) LoadSource(filename string, doSearch ...bool) (err error) + func (svs *SourceViewStruct) RunAfterEvents(f func()) + func (svs *SourceViewStruct) ScrollToIter(iter *gtk.TextIter) int + func (svs *SourceViewStruct) ScrollToLine(line int) (iter *gtk.TextIter) + func (svs *SourceViewStruct) Search(iter *gtk.TextIter, backward bool) (err error) + func (svs *SourceViewStruct) SearchAsync(callback func(), iter *gtk.TextIter, backward bool) (err error) + func (svs *SourceViewStruct) SelectRange(startLine, endLine int) + func (svs *SourceViewStruct) SetCursorAtLine(line int) (iter *gtk.TextIter) + func (svs *SourceViewStruct) SetLanguage(id string) *source.SourceLanguage + func (svs *SourceViewStruct) SetStyleScheme(id string) *source.SourceStyleScheme + func (svs *SourceViewStruct) SetText(text string) + func (svs *SourceViewStruct) StyleChooserDialog() string + func (svs *SourceViewStruct) UpdateCss()