teditor  1.8.0@@fee5e94
Terminal based editor written in C++
Functions
All methods for moving cursor

Functions

void teditor::Buffer::startOfLine ()
 
void teditor::Buffer::endOfLine ()
 
void teditor::Buffer::left ()
 
void teditor::Buffer::right ()
 
void teditor::Buffer::down ()
 
void teditor::Buffer::up ()
 
void teditor::Buffer::begin ()
 
void teditor::Buffer::end ()
 
void teditor::Buffer::pageDown (int ijump)
 
void teditor::Buffer::pageUp (int ijump)
 
void teditor::Buffer::nextPara ()
 
void teditor::Buffer::previousPara ()
 
void teditor::Buffer::nextWord ()
 
void teditor::Buffer::previousWord ()
 
void teditor::Buffer::gotoLine (int lineNum, const Point &dim)
 

Detailed Description

Function Documentation

◆ begin()

void teditor::Buffer::begin ( )

go to beginning of the buffer

◆ down()

void teditor::Buffer::down ( )

move down

◆ end()

void teditor::Buffer::end ( )

go to end of the buffer

◆ endOfLine()

void teditor::Buffer::endOfLine ( )
inline

move to end of line

◆ gotoLine()

void teditor::Buffer::gotoLine ( int  lineNum,
const Point dim 
)

goto the specified line number

◆ left()

void teditor::Buffer::left ( )

move left

◆ nextPara()

void teditor::Buffer::nextPara ( )

jump to start of next paragraph

◆ nextWord()

void teditor::Buffer::nextWord ( )

jump to next word

◆ pageDown()

void teditor::Buffer::pageDown ( int  ijump)

scroll down a page

◆ pageUp()

void teditor::Buffer::pageUp ( int  ijump)

scroll up a page

◆ previousPara()

void teditor::Buffer::previousPara ( )

jump to start of previous paragraph

◆ previousWord()

void teditor::Buffer::previousWord ( )

jump to previous word

◆ right()

void teditor::Buffer::right ( )

move right

◆ startOfLine()

void teditor::Buffer::startOfLine ( )
inline

move to begining of line

◆ up()

void teditor::Buffer::up ( )

move up