Gtk2HsContentsIndex
Graphics.UI.Gtk.SourceView.SourceIter
Portabilityportable (depends on GHC)
Stabilityprovisional
Maintainergtk2hs-users@lists.sourceforge.net
Description

Adds extra useful methods for TextIter for searching forwards and backwards within a region in the buffer and matching brackets.

  • There is no SourceIter object, just extra methods for TextIter
Synopsis
data SourceSearchFlags
= SourceSearchVisibleOnly
| SourceSearchTextOnly
| SourceSearchCaseInsensitive
sourceIterForwardSearch :: TextIter -> String -> [SourceSearchFlags] -> Maybe TextIter -> IO (Maybe (TextIter, TextIter))
sourceIterBackwardSearch :: TextIter -> String -> [SourceSearchFlags] -> Maybe TextIter -> IO (Maybe (TextIter, TextIter))
Documentation
data SourceSearchFlags
Constructors
SourceSearchVisibleOnly
SourceSearchTextOnly
SourceSearchCaseInsensitive
show/hide Instances
sourceIterForwardSearch :: TextIter -> String -> [SourceSearchFlags] -> Maybe TextIter -> IO (Maybe (TextIter, TextIter))
same as textIterForwardSearch but allows case insensitive search and possibly in the future regular expressions.
sourceIterBackwardSearch :: TextIter -> String -> [SourceSearchFlags] -> Maybe TextIter -> IO (Maybe (TextIter, TextIter))
same as textIterForwardSearch but allows case insensitive search and possibly in the future regular expressions.
Produced by Haddock version 0.8