aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/DocumentAccessor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/DocumentAccessor.h')
-rw-r--r--src/DocumentAccessor.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/DocumentAccessor.h b/src/DocumentAccessor.h
index ab11544e2..37a9db414 100644
--- a/src/DocumentAccessor.h
+++ b/src/DocumentAccessor.h
@@ -35,7 +35,9 @@ public:
void Flush();
int GetLineState(int line);
int SetLineState(int line, int state);
- PropSet &GetPropSet() { return props; }
+ int GetPropertyInt(const char *key, int defaultValue=0) {
+ return props.GetInt(key, defaultValue);
+ }
void StartAt(unsigned int start, char chMask=31);
void SetFlags(char chFlags_, char chWhile_) {chFlags = chFlags_; chWhile = chWhile_; };