Dekko
MarkdownDocument Class Reference

Public Types

enum  BulletListMarkerType { Asterisk, Minus, Plus }
 
enum  NumberedListMarkerType { Period, Parenthesis }
 

Public Slots

void indentText ()
 
void unindentText ()
 
void setCursorPosition (int cursorPosition)
 

Signals

void cursorPositionChanged (int cursorPosition)
 

Public Member Functions

 MarkdownDocument (QQuickItem *parent=0)
 
int cursorPosition () const
 

Protected Member Functions

QTextDocument * document () const
 
void keyPressEvent (QKeyEvent *event)
 
void handleCRLF ()
 
bool handleBackspace ()
 
QString getBlockStart (QRegExp &regexp)
 
QString getPreviousIndentation ()
 

Properties

int cursorPosition
 

Detailed Description

Definition at line 14 of file MarkdownDocument.h.

Inheritance diagram for MarkdownDocument:
[legend]
Collaboration diagram for MarkdownDocument:
[legend]

The documentation for this class was generated from the following files: