teditor  1.8.0@@fee5e94
Terminal based editor written in C++
Namespaces | Classes | Typedefs | Enumerations | Functions
teditor::todo Namespace Reference

Namespaces

 ops
 

Classes

struct  CalendarItem
 
struct  MatchItem
 
class  Parser
 
class  TodoMode
 
class  TodoShowMode
 

Typedefs

typedef std::vector< CalendarItemCalendarItems
 
typedef std::vector< MatchItemCalendarMatches
 

Enumerations

enum  RepeatType {
  Repeat_None, Repeat_Yearly, Repeat_Monthly, Repeat_Weekly,
  Repeat_Daily
}
 
enum  Tokens {
  Comment = 0, Keywords, Date, String,
  RepeatType, Newline, Space
}
 

Functions

 REGISTER_MODE (TodoMode, "todo")
 
 REGISTER_MODE (TodoShowMode, "todo-show")
 
RepeatType strToRepeatType (const std::string &str)
 
bool compareMatches (const MatchItem &a, const MatchItem &b)
 
CalendarMatches findMatchesIn (const CalendarItems &items, const TimePoint &start, const TimePoint &end)
 
parser::LexergetLexer ()
 

Typedef Documentation

◆ CalendarItems

◆ CalendarMatches

Enumeration Type Documentation

◆ RepeatType

Enumerator
Repeat_None 
Repeat_Yearly 
Repeat_Monthly 
Repeat_Weekly 
Repeat_Daily 

◆ Tokens

Enumerator
Comment 
Keywords 
Date 
String 
RepeatType 
Newline 
Space 

Function Documentation

◆ compareMatches()

bool teditor::todo::compareMatches ( const MatchItem a,
const MatchItem b 
)

◆ findMatchesIn()

CalendarMatches teditor::todo::findMatchesIn ( const CalendarItems items,
const TimePoint start,
const TimePoint end 
)

◆ getLexer()

parser::Lexer& teditor::todo::getLexer ( )

◆ REGISTER_MODE() [1/2]

teditor::todo::REGISTER_MODE ( TodoMode  ,
"todo"   
)

◆ REGISTER_MODE() [2/2]

teditor::todo::REGISTER_MODE ( TodoShowMode  ,
"todo-show"   
)

◆ strToRepeatType()

RepeatType teditor::todo::strToRepeatType ( const std::string &  str)