Gtk2::S...w2::Iter(3)
π Gtk2::SourceView2::Iter π
okay so bestie, welcome to Gtk2::SourceView2::Iter β she's a lil class from the User Contributed Perl Documentation corner of the universe, and she is literally just here to do search things inside a Gtk2::SourceView2 buffer. that's it. that's her whole job. and she eats. π
β¨ NAME β¨
Gtk2::SourceView2::Iter β no cap, that's the name, that's the whole vibe. π¦
πΈ METHODS πΈ
(match_start, match_end) = Gtk2::SourceView2::Iter->backward_search ($iter, $str, $flags, $limit=NULL)
(match_start, match_end) = Gtk2::SourceView2::Iter->backward_search ($iter, $str, $flags, $limit=NULL)
bestie she looks backwards π and hands you back a pair β match_start and match_end. iconic behaviour honestly.
$iterβ aGtk2::TextIter, the lil starting point she searches from π$strβ astring, the thing you're hunting for π$flagsβ aGtk2::SourceView2::SearchFlags, aka your search settings βοΈ
also she takes a$limit=NULLwhich defaults toNULL, so if you don't pass one, she just does her thing. π«Ά
Gtk2::SourceView2::Iter->forward_search ($iter, $str, $flags)
Gtk2::SourceView2::Iter->forward_search ($iter, $str, $flags)
and this one goes forward β‘οΈ because sometimes you're looking ahead, main character energy, eyes on the future. β¨
$iterβ aGtk2::TextIterπΈ$strβ astringπΈ$flagsβ aGtk2::SourceView2::SearchFlagsπΈ
π ENUMS AND FLAGS π
flags Gtk2::SourceView2::SearchFlags
the vibe check menu, choose your fighter:
'visible-only'/'GTK_SOURCE_SEARCH_VISIBLE_ONLY'β only the visible stuff, nothing sneaky π'text-only'/'GTK_SOURCE_SEARCH_TEXT_ONLY'β text only, periodt π'case-insensitive'/'GTK_SOURCE_SEARCH_CASE_INSENSITIVE'β she does NOT care about your capitalisation, lowercase, uppercase, whatever, all the same to her, so real of her π
π SEE ALSO π
Gtk2::SourceView2β her mother, her origin story, go read that one too π§
π COPYRIGHT π
Copyright (C) 2009 by Emmanuel Rodriguez
like, respectfully, give credit where credit is due. π«Ά
so yeah, that's the whole page, bestie β perl v5.42.0, dated 2025-07-25, from the Gtk2::S...w2::Iter(3) era of the manual, and she ATE. mwah. πβ¨
π¦ where this page comes from
- fedora 43: perl-Gtk2-SourceView2 0.12-18.fc43 Β· GPL-2.0-or-later OR Artistic-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms