Here is Chapter 6 of #hecto: Build your own text editor in #rustlang . It adds a basic incremental search to your text editor.
flenker.blog/hecto-chapter-6/