teditor
1.8.0@@fee5e94
Terminal based editor written in C++
|
Functions | |
bool | teditor::Buffer::isRegionActive () const |
std::string | teditor::Buffer::regionAsStr () const |
std::string | teditor::Buffer::regionAsStr (const Point &start, const Point &end) const |
void | teditor::Buffer::startRegion () |
void | teditor::Buffer::stopRegion () |
const Point & | teditor::Buffer::getRegion () const |
|
inline |
|
inline |
checks if there's an active region
std::string teditor::Buffer::regionAsStr | ( | ) | const |
Returns the string that represents the currently highlighted region
helper method to return the string in the given region
|
inline |
start a mark (or region)
|
inline |
stop the currently active mark (or region)