Use GtkSourceView search support
Bug #1319798 reported by
Robert Roth
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Scratch |
Fix Released
|
Wishlist
|
Robert Roth |
Bug Description
While working on replace all functionality, I have observed, that Scratch currently uses custom search and replace code.
Since 3.10, GtkSourceView has built-in support for search, replace, match count, replace all, and other goodies (regexp search, case sensitive/
As Scratch already depends on Gtk+3.10, bumping the SourceView dependency to 3.10 shouldn't be a problem, as they should be available together on most systems.
[1] https:/
Related branches
lp://staging/~evfool/scratch/lp1309291
- Jeremy Wootten: Needs Fixing
- Avi Romanoff (community): Approve
- Danielle Foré: Approve
- Robert Roth (community): Approve
-
Diff: 410 lines (+124/-93)4 files modifiedCMakeLists.txt (+1/-1)
src/MainWindow.vala (+2/-2)
src/Services/Document.vala (+32/-22)
src/Widgets/SearchManager.vala (+89/-68)
Changed in scratch: | |
assignee: | nobody → Robert Roth (evfool) |
status: | New → In Progress |
Changed in scratch: | |
status: | In Progress → Fix Committed |
Changed in scratch: | |
milestone: | none → isis-beta1 |
importance: | Undecided → Wishlist |
tags: | added: bounty |
Changed in scratch: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.