Qeditor can save snippets of code for latter use

Saving a snippet

When the code is highlighted hit the "add button"

Image not found
add button

Inserting a snippet