[−][src]Trait sourceview::SearchContextExt
Required methods
fn backward(&self, iter: &TextIter) -> Option<(TextIter, TextIter)>
fn backward2(&self, iter: &TextIter) -> Option<(TextIter, TextIter, bool)>
fn backward_async<P: IsA<Cancellable>, Q: FnOnce(Result<(TextIter, TextIter), Error>) + Send + 'static>(
&self,
iter: &TextIter,
cancellable: Option<&P>,
callback: Q
)
&self,
iter: &TextIter,
cancellable: Option<&P>,
callback: Q
)
fn backward_async_future(
&self,
iter: &TextIter
) -> Pin<Box_<dyn Future<Output = Result<(TextIter, TextIter), Error>> + 'static>>
&self,
iter: &TextIter
) -> Pin<Box_<dyn Future<Output = Result<(TextIter, TextIter), Error>> + 'static>>
fn forward(&self, iter: &TextIter) -> Option<(TextIter, TextIter)>
fn forward2(&self, iter: &TextIter) -> Option<(TextIter, TextIter, bool)>
fn forward_async<P: IsA<Cancellable>, Q: FnOnce(Result<(TextIter, TextIter), Error>) + Send + 'static>(
&self,
iter: &TextIter,
cancellable: Option<&P>,
callback: Q
)
&self,
iter: &TextIter,
cancellable: Option<&P>,
callback: Q
)
fn forward_async_future(
&self,
iter: &TextIter
) -> Pin<Box_<dyn Future<Output = Result<(TextIter, TextIter), Error>> + 'static>>
&self,
iter: &TextIter
) -> Pin<Box_<dyn Future<Output = Result<(TextIter, TextIter), Error>> + 'static>>
fn get_buffer(&self) -> Option<Buffer>
fn get_highlight(&self) -> bool
fn get_match_style(&self) -> Option<Style>
fn get_occurrence_position(
&self,
match_start: &TextIter,
match_end: &TextIter
) -> i32
&self,
match_start: &TextIter,
match_end: &TextIter
) -> i32
fn get_occurrences_count(&self) -> i32
fn get_regex_error(&self) -> Option<Error>
fn get_settings(&self) -> Option<SearchSettings>
fn replace(
&self,
match_start: &TextIter,
match_end: &TextIter,
replace: &str
) -> Result<(), Error>
&self,
match_start: &TextIter,
match_end: &TextIter,
replace: &str
) -> Result<(), Error>
fn replace2(
&self,
match_start: &mut TextIter,
match_end: &mut TextIter,
replace: &str
) -> Result<(), Error>
&self,
match_start: &mut TextIter,
match_end: &mut TextIter,
replace: &str
) -> Result<(), Error>
fn replace_all(&self, replace: &str) -> Result<u32, Error>
fn set_highlight(&self, highlight: bool)
fn set_match_style(&self, match_style: Option<&Style>)
fn set_settings<P: IsA<SearchSettings>>(&self, settings: Option<&P>)
fn connect_property_highlight_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_match_style_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_occurrences_count_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_regex_error_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_settings_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
Implementors
impl<O: IsA<SearchContext>> SearchContextExt for O
[src]
fn backward(&self, iter: &TextIter) -> Option<(TextIter, TextIter)>
[src]
fn backward2(&self, iter: &TextIter) -> Option<(TextIter, TextIter, bool)>
[src]
fn backward_async<P: IsA<Cancellable>, Q: FnOnce(Result<(TextIter, TextIter), Error>) + Send + 'static>(
&self,
iter: &TextIter,
cancellable: Option<&P>,
callback: Q
)
[src]
&self,
iter: &TextIter,
cancellable: Option<&P>,
callback: Q
)
fn backward_async_future(
&self,
iter: &TextIter
) -> Pin<Box_<dyn Future<Output = Result<(TextIter, TextIter), Error>> + 'static>>
[src]
&self,
iter: &TextIter
) -> Pin<Box_<dyn Future<Output = Result<(TextIter, TextIter), Error>> + 'static>>
fn forward(&self, iter: &TextIter) -> Option<(TextIter, TextIter)>
[src]
fn forward2(&self, iter: &TextIter) -> Option<(TextIter, TextIter, bool)>
[src]
fn forward_async<P: IsA<Cancellable>, Q: FnOnce(Result<(TextIter, TextIter), Error>) + Send + 'static>(
&self,
iter: &TextIter,
cancellable: Option<&P>,
callback: Q
)
[src]
&self,
iter: &TextIter,
cancellable: Option<&P>,
callback: Q
)
fn forward_async_future(
&self,
iter: &TextIter
) -> Pin<Box_<dyn Future<Output = Result<(TextIter, TextIter), Error>> + 'static>>
[src]
&self,
iter: &TextIter
) -> Pin<Box_<dyn Future<Output = Result<(TextIter, TextIter), Error>> + 'static>>
fn get_buffer(&self) -> Option<Buffer>
[src]
fn get_highlight(&self) -> bool
[src]
fn get_match_style(&self) -> Option<Style>
[src]
fn get_occurrence_position(
&self,
match_start: &TextIter,
match_end: &TextIter
) -> i32
[src]
&self,
match_start: &TextIter,
match_end: &TextIter
) -> i32
fn get_occurrences_count(&self) -> i32
[src]
fn get_regex_error(&self) -> Option<Error>
[src]
fn get_settings(&self) -> Option<SearchSettings>
[src]
fn replace(
&self,
match_start: &TextIter,
match_end: &TextIter,
replace: &str
) -> Result<(), Error>
[src]
&self,
match_start: &TextIter,
match_end: &TextIter,
replace: &str
) -> Result<(), Error>
fn replace2(
&self,
match_start: &mut TextIter,
match_end: &mut TextIter,
replace: &str
) -> Result<(), Error>
[src]
&self,
match_start: &mut TextIter,
match_end: &mut TextIter,
replace: &str
) -> Result<(), Error>
fn replace_all(&self, replace: &str) -> Result<u32, Error>
[src]
fn set_highlight(&self, highlight: bool)
[src]
fn set_match_style(&self, match_style: Option<&Style>)
[src]
fn set_settings<P: IsA<SearchSettings>>(&self, settings: Option<&P>)
[src]
fn connect_property_highlight_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_match_style_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_occurrences_count_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_regex_error_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_settings_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId