Skip to content
Snippets Groups Projects
user avatar
Leandro Melo authored
This is pretty much a complement of commit 3a684586,
which is an attempt to make editors and indenters a bit more decoupled.

Reviewed-by: Thorbjorn Lindeijer
c8a53a66
History
fakevim is based on eventFilters installed on a QTextEdit or a QPlainTextEdit.
It basically catches all keystrokes and modifies some internal state that
make the resulting text in the editor look like it was using vim.

There are only a few files in here:

  fakevimplugin.{h,cpp}  - interaction with the rest of Creator
  fakevimactions.{h,cpp} - settings
  fakevimhandler.{h,cpp} - the "real" event

There are some more hints for developers in fakevimhandler.cpp