Commit b18cb113 authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Added Document::source()

parent 0af74cd6
......@@ -242,6 +242,9 @@ Document::Ptr Document::create(const QString &fileName)
return doc;
}
QByteArray Document::source() const
{ return _source; }
void Document::setSource(const QByteArray &source)
{
_source = source;
......
......@@ -85,7 +85,9 @@ public:
Symbol *findSymbolAt(unsigned line, unsigned column) const;
QByteArray source() const;
void setSource(const QByteArray &source);
void startSkippingBlocks(unsigned offset);
void stopSkippingBlocks(unsigned offset);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment