| ||||||||||||||
| ||||||||||||||
| Description | ||||||||||||||
| This module provides access to text tags inside an editor widget. | ||||||||||||||
| Synopsis | ||||||||||||||
| Documentation | ||||||||||||||
| module Index | ||||||||||||||
| data TextTag | ||||||||||||||
| The TextTag datatype. | ||||||||||||||
| createTextTag | ||||||||||||||
| ||||||||||||||
| addTextTag :: (HasIndex Editor i1 BaseIndex, HasIndex Editor i2 BaseIndex) => TextTag -> i1 -> i2 -> IO () | ||||||||||||||
| lowerTextTag | ||||||||||||||
| ||||||||||||||
| raiseTextTag | ||||||||||||||
| ||||||||||||||
| removeTextTag | ||||||||||||||
| ||||||||||||||
| lmargin1 :: Distance -> Config TextTag | ||||||||||||||
| Sets the normal left intend for a line. | ||||||||||||||
| getLmargin1 :: TextTag -> IO Distance | ||||||||||||||
| Gets the normal left intend for a line. | ||||||||||||||
| lmargin2 :: Distance -> Config TextTag | ||||||||||||||
| Sets the intend for a part of a line that gets wrapped. | ||||||||||||||
| getLmargin2 :: TextTag -> IO Distance | ||||||||||||||
| Gets the intend for a part of a line that gets wrapped. | ||||||||||||||
| rmargin :: Distance -> Config TextTag | ||||||||||||||
| Sets the right-hand margin. | ||||||||||||||
| getRmargin :: TextTag -> IO Distance | ||||||||||||||
| Gets the right-hand margin. | ||||||||||||||
| offset :: Distance -> Config TextTag | ||||||||||||||
| Sets the baseline offset (positive for superscripts). | ||||||||||||||
| getOffset :: TextTag -> IO Distance | ||||||||||||||
| Gets the baseline offset. | ||||||||||||||
| overstrike :: Toggle -> Config TextTag | ||||||||||||||
| If True, the text is drawn with a horizontal line through it. | ||||||||||||||
| getOverstrike :: TextTag -> IO Toggle | ||||||||||||||
| Gets the current overstrike setting. | ||||||||||||||
| underlined :: Toggle -> Config TextTag | ||||||||||||||
| If True, the text is underlined. | ||||||||||||||
| getUnderlined :: TextTag -> IO Toggle | ||||||||||||||
| Gets the current underline setting. | ||||||||||||||
| bgstipple :: BitMapHandle -> Config TextTag | ||||||||||||||
| Sets a stipple pattern for the background colour. | ||||||||||||||
| getBgstipple :: TextTag -> IO BitMapHandle | ||||||||||||||
| Gets the stipple pattern for the background colour. | ||||||||||||||
| fgstipple :: BitMapHandle -> Config TextTag | ||||||||||||||
| Sets a stipple pattern for the foreground colour. | ||||||||||||||
| getFgstipple :: TextTag -> IO BitMapHandle | ||||||||||||||
| Gets the stipple pattern for the foreground colour. | ||||||||||||||
| Produced by Haddock version 0.3 | ||||||||||||||