Page Menu
Home
Xreate
Search
Configure Global Search
Log In
Docs
Questions
Repository
Issues
Patches
Internal API
Files
F3995763
remarkupplugin.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Jul 8, 1:52 AM
Size
1 KB
Mime Type
text/x-c++
Expires
Fri, Jul 10, 1:52 AM (1 d, 14 h)
Engine
blob
Format
Raw Data
Handle
271633
Attached To
rXR Xreate
remarkupplugin.h
View Options
#ifndef REMARKUPPLUGIN_H
#define REMARKUPPLUGIN_H
#include <QtCore/QObject>
#include "JuffPlugin.h"
#include "remarkupparser.h"
class RemarkupParserThread;
namespace Juff {
class JuffScintilla;
}
class RemarkupPlugin: public QObject, public JuffPlugin{
Q_OBJECT
Q_PLUGIN_METADATA(IID JuffPlugin_iid)
Q_INTERFACES(JuffPlugin)
public:
RemarkupPlugin();
~RemarkupPlugin();
void init();
// info
virtual QString name() const;
virtual QString title() const;
virtual QString description() const;
virtual QString targetEngine() const;
Juff::ActionList mainMenuActions(Juff::MenuID id) const;
signals:
public slots:
void refresh(Juff::Document* doc);
void onDocSyntaxChanged(Juff::Document* doc, QString syntax);
void onTextParsed(const Blocks& blocks, Juff::JuffScintilla* doc);
void onDocOpened(Juff::Document* doc, Juff::PanelIndex panel);
void onDocClosed(Juff::Document* doc);
void setSelectionBold();
void setSelectionItalic();
private:
RemarkupParserThread* threadRemarkupParser;
};
#endif // REMARKUPPLUGIN_H
Event Timeline
Log In to Comment