wex
v21.04.0
|
Offers a blame class for some vcs. More...
#include <wex/blame.h>
Public Member Functions | |
blame (const pugi::xml_node &node=pugi::xml_node()) | |
Default constructor using xml node. | |
std::tuple< bool, const std::string, lexers::margin_style_t, int > | get (const std::string &text) const |
Returns a tuple with result, blame info, style type and line number for blame text. | |
bool | use () const |
Returns true if blame is on. | |
Offers a blame class for some vcs.
The vcs used is configured using the xml_node constructor (see wex-menus.xml), the kind of info returned by get is configurable using blame_get_author, blame_get_id, blame_get_date.