Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PangoMarkup ¶
type PangoMarkup struct { InString string OutString string OutStringSl []string // contains filtered or unexported fields }
func (*PangoMarkup) AddPosition ¶
func (pm *PangoMarkup) AddPosition(pos ...[]int)
Add multiples positions, (where markup is applied)
func (*PangoMarkup) AddTypes ¶
func (pm *PangoMarkup) AddTypes(mType ...[]string)
Add multiples markup types, (the style applied at given positions)
func (*PangoMarkup) Init ¶
func (pm *PangoMarkup) Init(inString string)
func (*PangoMarkup) Markup ¶
func (pm *PangoMarkup) Markup() string
Apply multiples pango markups to the whole text.
func (*PangoMarkup) MarkupAtPos ¶
func (pm *PangoMarkup) MarkupAtPos() string
Apply multiples pango markups to text at specified positions given into 2d slices.
func (*PangoMarkup) MarkupSeparate ¶
func (pm *PangoMarkup) MarkupSeparate() (outStrSl []string)
Apply multiples pango markups to the whole text.
Click to show internal directories.
Click to hide internal directories.