|
| CmdMsgBar () |
|
void | insert (char c) override |
|
void | insert (const std::string &str) override |
|
void | draw (Editor &ed, const Window &win) override |
|
int | drawLine (int y, const std::string &line, Editor &ed, int lineNum, const Window &win) override |
|
void | load (const std::string &file, int line=0) override |
|
bool | save (const std::string &fName="") override |
|
void | clear () override |
|
void | setMinLoc (int loc) |
|
int | getMinStartLoc () const override |
|
int | totalLinesNeeded (const Point &dim) const override |
|
void | setChoices (Choices *ch) |
|
void | clearChoices () |
|
bool | usingChoices () const |
|
std::string | getStr () const |
|
std::string | getFinalChoice () const |
|
void | down () |
|
void | up () |
|
void | updateChoices () |
|
int | getOptLoc () const |
|
void | setOptLoc (int loc) |
|
void | lineUp (const Point &dim) override |
|
void | lineDown () override |
|
void | setStartLine (int line) |
|
| Buffer (const std::string &name="", bool noUndoRedo=false) |
|
virtual | ~Buffer () |
|
void | remove (bool removeCurrent=false) |
| main remove method More...
|
|
std::string | removeAndCopy () |
|
std::string | removeRegion (const Point &start, const Point &end) |
| removes region between start and end More...
|
|
std::string | killLine (bool pushToStack=true) |
|
void | sortRegion () |
|
void | keepRemoveLines (parser::NFA ®ex, bool keep) |
| Keep/Remove lines that match the input regex. More...
|
|
bool | undo () |
| undo the previous operation More...
|
|
bool | redo () |
| redo the previously undid operation. More...
|
|
bool | matchCurrentParen () |
| find matching paren at the current location More...
|
|
int | length () const |
|
Line & | at (int idx) |
|
const Line & | at (int idx) const |
|
Point | buffer2screen (const Point &loc, const Point &start, const Point &dim) const |
|
Point | screen2buffer (const Point &loc, const Point &start, const Point &dim) const |
|
char | charAt (const Point &pos) const |
|
void | drawPoint (Editor &ed, const AttrColor &bg, const Window &win) |
|
void | startOfLine () |
|
void | endOfLine () |
|
void | left () |
|
void | right () |
|
void | down () |
|
void | up () |
|
void | begin () |
|
void | end () |
|
void | pageDown (int ijump) |
|
void | pageUp (int ijump) |
|
void | nextPara () |
|
void | previousPara () |
|
void | nextWord () |
|
void | previousWord () |
|
void | gotoLine (int lineNum, const Point &dim) |
|
bool | hasPointOn (int line) const |
|
const Point & | getPoint () const |
|
void | setPoint (const Point &p) |
|
bool | isRegionActive () const |
|
std::string | regionAsStr () const |
|
std::string | regionAsStr (const Point &start, const Point &end) const |
|
void | startRegion () |
|
void | stopRegion () |
|
const Point & | getRegion () const |
|
int | lengthOf (int i) const |
|
void | indent () |
|
void | lineReset () |
|
void | lineEnd (const Point &start, const Point &dim) |
|
const std::string & | bufferName () const |
|
const std::string & | getFileName () const |
|
const std::string & | pwd () const |
|
bool | isRO () const |
|
bool | isModified () const |
|
std::string | dirModeGetFileAtLine (int line) |
|
void | reload () |
|
const AttrColor & | getColor (const std::string &name) const |
|
const std::string & | getWord () const |
|
const std::string & | modeName () const |
|
void | makeReadOnly () |
|
void | setMode (ModePtr m) |
|
template<typename ModeT > |
ModeT * | getMode (const std::string &name) |
|
Strings | cmdNames () const |
|