Package peppy :: Package actions :: Module pypefind
[frames] | no frames]

Module pypefind

Adapter pattern that allows the usage of PyPE's search and replace with peppy.

The point of the adapter pattern is to bolt up two different styles of coding without interfering too much with either of them. It is quite possible to add on the methods that pype expects to MajorMode or FundamentalMode, but they are designed differently enough that I want to keep the differences separate.

As a bonus by using the PyPE plugins verbatim, I can grab any updates made there without changing my code here, and perhaps any enhancements I make could be transported to PyPE to benefit both projects.

Classes
  PypeFindReplaceAdapterMixin
Mixin object for both FindBar and ReplaceBar to map some functions that pype requests from the main pype object to our instance of a Minibuffer object.
  PypeFindBar
Peppy adapter for pype FindBar widget.
  PypeReplaceBar
Peppy adapter for pype ReplaceBar widget.
  FindMinibuffer
Adapter for PyPE findbar.
  ReplaceMinibuffer
Adapter for PyPE replacebar.
  FindText
  ReplaceText