[gedit-list] New search and replace API in GtkSourceView
- From: Sébastien Wilmet <swilmet gnome org>
- To: gedit-list gnome org
- Subject: [gedit-list] New search and replace API in GtkSourceView
- Date: Sat, 21 Sep 2013 17:42:13 +0200
Hello gedit plugins developers,
The search and replace functions in GeditDocument are now deprecated:
https://developer.gnome.org/gedit/unstable/gedit-gedit-document.html
You are encouraged to use the new API in GtkSourceView:
https://developer.gnome.org/gtksourceview/unstable/GtkSourceSearchContext.html
Note that regular expression searches (and replaces!) is now integrated
directly in gedit.
For more information, read these two blog posts:
http://blogs.gnome.org/swilmet/2013/07/15/search-and-replace-in-gedit-and-gtksourceview/
http://blogs.gnome.org/swilmet/2013/08/19/regex-search-in-gedit-and-gtksourceview-finally/
You can use the new API for background, non-highlighted searches too. It
is used for example by the spell plugin for the Replace All.
Have a nice week-end,
Sébastien
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]